bugged stringlengths 6 599k | fixed stringlengths 10 599k | __index_level_0__ int64 0 1.13M |
|---|---|---|
protected void deleteAllData() throws Exception { try { log.info("DELETING ALL DATA FROM DATABASE!"); InitialContext ctx = new InitialContext(); TransactionManager mgr = (TransactionManager)ctx.lookup(TransactionManagerService.JNDI_NAME); DataSource ds = (DataSource)ctx.lo... | protected void deleteAllData() throws Exception { try { log.info("DELETING ALL DATA FROM DATABASE!"); InitialContext ctx = new InitialContext(); TransactionManager mgr = (TransactionManager)ctx.lookup(TransactionManagerService.JNDI_NAME); DataSource ds = (DataSource)ctx.lo... | 28,927 |
protected void deleteAllData() throws Exception { try { log.info("DELETING ALL DATA FROM DATABASE!"); InitialContext ctx = new InitialContext(); TransactionManager mgr = (TransactionManager)ctx.lookup(TransactionManagerService.JNDI_NAME); DataSource ds = (DataSource)ctx.lo... | protected void deleteAllData() throws Exception { try { log.info("DELETING ALL DATA FROM DATABASE!"); InitialContext ctx = new InitialContext(); TransactionManager mgr = (TransactionManager)ctx.lookup(TransactionManagerService.JNDI_NAME); DataSource ds = (DataSource)ctx.lo... | 28,928 |
protected void deleteAllData() throws Exception { try { log.info("DELETING ALL DATA FROM DATABASE!"); InitialContext ctx = new InitialContext(); TransactionManager mgr = (TransactionManager)ctx.lookup(TransactionManagerService.JNDI_NAME); DataSource ds = (DataSource)ctx.lo... | protected void deleteAllData() throws Exception { try { log.info("DELETING ALL DATA FROM DATABASE!"); InitialContext ctx = new InitialContext(); TransactionManager mgr = (TransactionManager)ctx.lookup(TransactionManagerService.JNDI_NAME); DataSource ds = (DataSource)ctx.lo... | 28,929 |
protected void deleteAllData() throws Exception { try { log.info("DELETING ALL DATA FROM DATABASE!"); InitialContext ctx = new InitialContext(); TransactionManager mgr = (TransactionManager)ctx.lookup(TransactionManagerService.JNDI_NAME); DataSource ds = (DataSource)ctx.lo... | protected void deleteAllData() throws Exception { try { log.info("DELETING ALL DATA FROM DATABASE!"); InitialContext ctx = new InitialContext(); TransactionManager mgr = (TransactionManager)ctx.lookup(TransactionManagerService.JNDI_NAME); DataSource ds = (DataSource)ctx.lo... | 28,930 |
protected void deleteAllData() throws Exception { try { log.info("DELETING ALL DATA FROM DATABASE!"); InitialContext ctx = new InitialContext(); TransactionManager mgr = (TransactionManager)ctx.lookup(TransactionManagerService.JNDI_NAME); DataSource ds = (DataSource)ctx.lo... | protected void deleteAllData() throws Exception { try { log.info("DELETING ALL DATA FROM DATABASE!"); InitialContext ctx = new InitialContext(); TransactionManager mgr = (TransactionManager)ctx.lookup(TransactionManagerService.JNDI_NAME); DataSource ds = (DataSource)ctx.lo... | 28,931 |
public int getMessageCount() throws JMSException { if (!started) { log.warn("Queue is stopped."); return 0; } JBossQueue jbq = new JBossQueue(name); ManageableQueue q = (ManageableQueue)cm.getCoreDestination(jbq); return q.getMessageCount(); } | public int getMessageCount() throws JMSException { if (!started) { log.warn("Queue is stopped."); return 0; } JBossQueue jbq = new JBossQueue(name); org.jboss.messaging.core.local.Queue q = (org.jboss.messaging.core.local.Queue)cm.getCoreDestination(jbq); return q.getMessa... | 28,934 |
public List listMessages(String selector) throws JMSException { if (!started) { log.warn("Queue is stopped."); return new ArrayList(); } JBossQueue jbq = new JBossQueue(name); ManageableQueue q = (ManageableQueue)cm.getCoreDestination(jbq); try { return q... | public List listMessages(String selector) throws JMSException { if (!started) { log.warn("Queue is stopped."); return new ArrayList(); } JBossQueue jbq = new JBossQueue(name); org.jboss.messaging.core.local.Queue q = (org.jboss.messaging.core.local.Queue)cm.getCoreDestinati... | 28,935 |
public List listMessages(String selector) throws JMSException { if (!started) { log.warn("Queue is stopped."); return new ArrayList(); } JBossQueue jbq = new JBossQueue(name); ManageableQueue q = (ManageableQueue)cm.getCoreDestination(jbq); try { return q... | public List listMessages(String selector) throws JMSException { if (!started) { log.warn("Queue is stopped."); return new ArrayList(); } JBossQueue jbq = new JBossQueue(name); ManageableQueue q = (ManageableQueue)cm.getCoreDestination(jbq); try { List msg... | 28,936 |
public void removeAllMessages() throws JMSException { if (!started) { log.warn("Queue is stopped."); return; } JBossQueue jbq = new JBossQueue(name); ManageableQueue q = (ManageableQueue)cm.getCoreDestination(jbq); q.removeAllMessages(); } | public void removeAllMessages() throws JMSException { if (!started) { log.warn("Queue is stopped."); return; } JBossQueue jbq = new JBossQueue(name); org.jboss.messaging.core.local.Queue q = (org.jboss.messaging.core.local.Queue)cm.getCoreDestination(jbq); q.removeAllM... | 28,937 |
public InputSource resolveEntity(String publicId, String systemId) throws SAXException, IOException { if (systemId == null) { return null; } URL url = new URL(systemId); String file = url.getFile(); if ((file != null) && (file.indexOf('/') > -1)) { file = fil... | public InputSource resolveEntity(String publicId, String systemId) throws SAXException, IOException { if (systemId == null) { return null; } URL url = new URL(systemId); String file = url.getFile(); if (file != null && file.indexOf('/') > -1) { file = file.su... | 28,938 |
public InputSource resolveEntity(String publicId, String systemId) throws SAXException, IOException { if (systemId == null) { return null; } URL url = new URL(systemId); String file = url.getFile(); if ((file != null) && (file.indexOf('/') > -1)) { file = fil... | public InputSource resolveEntity(String publicId, String systemId) throws SAXException, IOException { if (systemId == null) { return null; } URL url = new URL(systemId); String file = url.getFile(); if ((file != null) && (file.indexOf('/') > -1)) { file = fil... | 28,939 |
public static void paintInlineContext( Context c, Box box ) { BlockBox block = (BlockBox)box; // translate into local coords // account for the origin of the containing box c.getGraphics().translate( box.x, box.y ); // for each line box c.getGraphics().setColor( Color.black... | public static void paintInlineContext( Context c, Box box ) { BlockBox block = (BlockBox)box; // translate into local coords // account for the origin of the containing box c.translate( box.x, box.y ); // for each line box c.getGraphics().setColor( Color.black ); //u... | 28,940 |
public static void paintInlineContext( Context c, Box box ) { BlockBox block = (BlockBox)box; // translate into local coords // account for the origin of the containing box c.getGraphics().translate( box.x, box.y ); // for each line box c.getGraphics().setColor( Color.black... | public static void paintInlineContext( Context c, Box box ) { BlockBox block = (BlockBox)box; // translate into local coords // account for the origin of the containing box c.getGraphics().translate( box.x, box.y ); // for each line box c.getGraphics().setColor( Color.black... | 28,941 |
public MimeTypeMapper() { // Do nothing here. } | public MimeTypeMapper() { // Do nothing here. for (int i = 0; i < mime_strings.length; i++) mime_types.put(mime_strings[i][0], mime_strings[i][1]); try { String file = SystemProperties.getProperty("gnu.classpath.mime.types.file"); if (file != null) fillFromFile(mime_types, file); } catch (IOException ignore) ... | 28,942 |
public Dimension minimumLayoutSize(Container parent) { return null; // TODO } // minimumLayoutSize() | public Dimension minimumLayoutSize(Container parent) { return null; // TODO } // minimumLayoutSize() | 28,945 |
protected void installDefaults() { String prefix = getPropertyPrefix(); LookAndFeel.installBorder(menuItem, prefix + ".border"); LookAndFeel.installColorsAndFont(menuItem, prefix + ".background", prefix + ".foreground", prefix + ".font"); menuItem.setMargin(UIManager.g... | protected void installDefaults() { String prefix = getPropertyPrefix(); LookAndFeel.installBorder(menuItem, prefix + ".border"); LookAndFeel.installColorsAndFont(menuItem, prefix + ".background", prefix + ".foreground", prefix + ".font"); menuItem.setMargin(UIManager.g... | 28,947 |
protected void paintBackground(Graphics g, JMenuItem menuItem, Color bgColor) { Dimension size = getPreferredSize(menuItem); Color foreground = g.getColor(); g.setColor(bgColor); g.drawRect(0, 0, size.width, size.height); g.setColor(foreground); } | protected void paintBackground(Graphics g, JMenuItem menuItem, Color bgColor) { Dimension size = getPreferredSize(menuItem); Color foreground = g.getColor(); g.setColor(bgColor); g.drawRect(0, 0, size.width, size.height); g.setColor(foreground); } | 28,951 |
protected void paintMenuItem(Graphics g, JComponent c, Icon checkIcon, Icon arrowIcon, Color background, Color foreground, int defaultTextIconGap) { JMenuItem m = (JMenuItem) c; Rectangle tr = new Rectangle(); // text rectangle Rectangle ir = new R... | protected void paintMenuItem(Graphics g, JComponent c, Icon checkIcon, Icon arrowIcon, Color background, Color foreground, int defaultTextIconGap) { JMenuItem m = (JMenuItem) c; Rectangle tr = new Rectangle(); // text rectangle Rectangle ir = new R... | 28,952 |
public static void drawString(Graphics g, String text, int underlinedChar, int x, int y) { g.drawString(text, x, y); } | public static void drawString(Graphics g, String text, int underlinedChar, int x, int y) { g.drawString(text, x, y); } | 28,955 |
private void paintPagedView(RenderingContext c, Layer root) { if (root.getLastPage() == null) { return; } root.assignPagePaintingPositions(c, PAGE_PAINTING_CLEARANCE); setPreferredSize(new Dimension( root.getMaxPageWidth(c, PAGE_PAINTING_CLEARANCE), ... | private void paintPagedView(RenderingContext c, Layer root) { if (root.getLastPage() == null) { return; } root.assignPagePaintingPositions(c, PAGE_PAINTING_CLEARANCE); setPreferredSize(new Dimension( root.getMaxPageWidth(c, PAGE_PAINTING_CLEARANCE), ... | 28,956 |
private void paintPagedView(RenderingContext c, Layer root) { if (root.getLastPage() == null) { return; } root.assignPagePaintingPositions(c, PAGE_PAINTING_CLEARANCE); setPreferredSize(new Dimension( root.getMaxPageWidth(c, PAGE_PAINTING_CLEARANCE), ... | private void paintPagedView(RenderingContext c, Layer root) { if (root.getLastPage() == null) { return; } root.assignPagePaintingPositions(c, PAGE_PAINTING_CLEARANCE); setPreferredSize(new Dimension( root.getMaxPageWidth(c, PAGE_PAINTING_CLEARANCE), ... | 28,957 |
public void test1PCReceiveCommit() throws Exception { if (ServerManagement.isRemote()) return; XAConnection conn = null; Connection conn2 = null; try { conn2 = cf.createConnection(); conn2.start(); Session sessProducer = conn2.createSession(false, Sessio... | public void test1PCReceiveCommit() throws Exception { if (ServerManagement.isRemote()) return; XAConnection conn = null; Connection conn2 = null; try { conn2 = cf.createConnection(); conn2.start(); Session sessProducer = conn2.createSession(false, Sessio... | 28,959 |
public void test1PCReceiveCommit() throws Exception { if (ServerManagement.isRemote()) return; XAConnection conn = null; Connection conn2 = null; try { conn2 = cf.createConnection(); conn2.start(); Session sessProducer = conn2.createSession(false, Sessio... | public void test1PCReceiveCommit() throws Exception { if (ServerManagement.isRemote()) return; XAConnection conn = null; Connection conn2 = null; try { conn2 = cf.createConnection(); conn2.start(); Session sessProducer = conn2.createSession(false, Sessio... | 28,960 |
public void test1PCReceiveRollback() throws Exception { if (ServerManagement.isRemote()) return; XAConnection conn = null; Connection conn2 = null; try { conn2 = cf.createConnection(); Session sessProducer = conn2.createSession(false, Session.AUTO_ACKNOWLEDGE); ... | public void test1PCReceiveRollback() throws Exception { if (ServerManagement.isRemote()) return; XAConnection conn = null; Connection conn2 = null; try { conn2 = cf.createConnection(); Session sessProducer = conn2.createSession(false, Session.AUTO_ACKNOWLEDGE); ... | 28,961 |
public void test1PCReceiveRollback() throws Exception { if (ServerManagement.isRemote()) return; XAConnection conn = null; Connection conn2 = null; try { conn2 = cf.createConnection(); Session sessProducer = conn2.createSession(false, Session.AUTO_ACKNOWLEDGE); ... | public void test1PCReceiveRollback() throws Exception { if (ServerManagement.isRemote()) return; XAConnection conn = null; Connection conn2 = null; try { conn2 = cf.createConnection(); Session sessProducer = conn2.createSession(false, Session.AUTO_ACKNOWLEDGE); ... | 28,962 |
public void test1PCSendCommit() throws Exception { if (ServerManagement.isRemote()) return; XAConnection conn = null; Connection conn2 = null; try { conn = cf.createXAConnection(); tm.begin(); XASession sess = conn.createXASession... | public void test1PCSendCommit() throws Exception { if (ServerManagement.isRemote()) return; XAConnection conn = null; Connection conn2 = null; try { conn = cf.createXAConnection(); tm.begin(); XASession sess = conn.createXASession... | 28,963 |
public void test1PCSendRollback() throws Exception { if (ServerManagement.isRemote()) return; XAConnection conn = null; Connection conn2 = null; try { conn = cf.createXAConnection(); tm.begin(); XASession sess = conn.createXASession(); ... | public void test1PCSendRollback() throws Exception { if (ServerManagement.isRemote()) return; XAConnection conn = null; Connection conn2 = null; try { conn = cf.createXAConnection(); tm.begin(); XASession sess = conn.createXASession(); ... | 28,964 |
public void test2PCReceiveCommit() throws Exception { if (ServerManagement.isRemote()) return; XAConnection conn = null; Connection conn2 = null; try { conn2 = cf.createConnection(); conn2.start(); Session sessProducer = conn2.createSession(false, Sessio... | public void test2PCReceiveCommit() throws Exception { if (ServerManagement.isRemote()) return; XAConnection conn = null; Connection conn2 = null; try { conn2 = cf.createConnection(); conn2.start(); Session sessProducer = conn2.createSession(false, Sessio... | 28,965 |
public void test2PCReceiveCommit() throws Exception { if (ServerManagement.isRemote()) return; XAConnection conn = null; Connection conn2 = null; try { conn2 = cf.createConnection(); conn2.start(); Session sessProducer = conn2.createSession(false, Sessio... | public void test2PCReceiveCommit() throws Exception { if (ServerManagement.isRemote()) return; XAConnection conn = null; Connection conn2 = null; try { conn2 = cf.createConnection(); conn2.start(); Session sessProducer = conn2.createSession(false, Sessio... | 28,966 |
public void test2PCReceiveRollback() throws Exception { if (ServerManagement.isRemote()) return; XAConnection conn = null; Connection conn2 = null; try { conn2 = cf.createConnection(); Session sessProducer = conn2.createSession(false, Session.AUTO_ACKNOWLEDGE); ... | public void test2PCReceiveRollback() throws Exception { if (ServerManagement.isRemote()) return; XAConnection conn = null; Connection conn2 = null; try { conn2 = cf.createConnection(); Session sessProducer = conn2.createSession(false, Session.AUTO_ACKNOWLEDGE); ... | 28,967 |
public void test2PCReceiveRollback() throws Exception { if (ServerManagement.isRemote()) return; XAConnection conn = null; Connection conn2 = null; try { conn2 = cf.createConnection(); Session sessProducer = conn2.createSession(false, Session.AUTO_ACKNOWLEDGE); ... | public void test2PCReceiveRollback() throws Exception { if (ServerManagement.isRemote()) return; XAConnection conn = null; Connection conn2 = null; try { conn2 = cf.createConnection(); Session sessProducer = conn2.createSession(false, Session.AUTO_ACKNOWLEDGE); ... | 28,968 |
public void test2PCSendCommit() throws Exception { if (ServerManagement.isRemote()) return; XAConnection conn = null; Connection conn2 = null; try { conn = cf.createXAConnection(); tm.begin(); XASession sess = conn.createXASession... | public void test2PCSendCommit() throws Exception { if (ServerManagement.isRemote()) return; XAConnection conn = null; Connection conn2 = null; try { conn = cf.createXAConnection(); tm.begin(); XASession sess = conn.createXASession... | 28,969 |
public void test2PCSendRollback() throws Exception { if (ServerManagement.isRemote()) return; XAConnection conn = null; Connection conn2 = null; try { conn = cf.createXAConnection(); tm.begin(); XASession sess = conn.createXASession(); ... | public void test2PCSendRollback() throws Exception { if (ServerManagement.isRemote()) return; XAConnection conn = null; Connection conn2 = null; try { conn = cf.createXAConnection(); tm.begin(); XASession sess = conn.createXASession(); ... | 28,970 |
protected JBossSession createSessionInternal(boolean transacted, int acknowledgeMode, boolean isXA, int type) throws JMSException { SessionDelegate sessionDelegate = delegate.createSessionDelegate(transacted, acknowledgeMode); return new JBossSession(this.de... | protected JBossSession createSessionInternal(boolean transacted, int acknowledgeMode, boolean isXA, int type) throws JMSException { SessionDelegate sessionDelegate = delegate.createSessionDelegate(transacted, acknowledgeMode); return new JBossSession(session... | 28,971 |
public Accessible getAccessibleChild(JComponent c, int i) { //Return the nth Accessible child of the object. return null; } | public Accessible getAccessibleChild(JComponent c, int i) { //Return the nth Accessible child of the object. return null; } | 28,972 |
public int getAccessibleChildrenCount(JComponent c) { //Returns the number of accessible children in the object. return 0; } | public int getAccessibleChildrenCount(JComponent c) { //Returns the number of accessible children in the object. return 0; } | 28,973 |
protected Connector startCallbackServer(InvokerLocator serverLocator) throws Exception { if (log.isTraceEnabled()) { log.trace(this + " setting up connection to " + serverLocator); } final int MAX_RETRIES = 50; boolean completed = false; int count = 0; Connector server = null; ... | protected Connector startCallbackServer(InvokerLocator serverLocator) throws Exception { if (log.isTraceEnabled()) { log.trace(this + " setting up connection to " + serverLocator); } final int MAX_RETRIES = 50; boolean completed = false; int count = 0; String thisAddress ... | 28,974 |
protected Connector startCallbackServer(InvokerLocator serverLocator) throws Exception { if (log.isTraceEnabled()) { log.trace(this + " setting up connection to " + serverLocator); } final int MAX_RETRIES = 50; boolean completed = false; int count = 0; Connector server = null; ... | protected Connector startCallbackServer(InvokerLocator serverLocator) throws Exception { if (log.isTraceEnabled()) { log.trace(this + " setting up connection to " + serverLocator); } final int MAX_RETRIES = 50; boolean completed = false; int count = 0; Connector server = null; ... | 28,975 |
protected Connector startCallbackServer(InvokerLocator serverLocator) throws Exception { if (log.isTraceEnabled()) { log.trace(this + " setting up connection to " + serverLocator); } final int MAX_RETRIES = 50; boolean completed = false; int count = 0; Connector server = null; ... | protected Connector startCallbackServer(InvokerLocator serverLocator) throws Exception { if (log.isTraceEnabled()) { log.trace(this + " setting up connection to " + serverLocator); } final int MAX_RETRIES = 50; boolean completed = false; int count = 0; Connector server = null; ... | 28,976 |
public boolean isValid () { return !channel().isOpen(); } | public boolean isValid () { return channel().isOpen(); } | 28,977 |
public synchronized void start() throws Exception { if (started) { return; } loadClientAOPConfig(); loadServerAOPConfig(); log.info(this + " starting"); mbeanServer = findMBeanServer(); JDBCPersistenceManager jpm = new JDBCPersistenceManager()... | public synchronized void start() throws Exception { try { return; } loadClientAOPConfig(); loadServerAOPConfig(); log.info(this + " starting"); mbeanServer = findMBeanServer(); JDBCPersistenceManager jpm = new JDBCPersistenceManager(); jp... | 28,978 |
public synchronized void start() throws Exception { if (started) { return; } loadClientAOPConfig(); loadServerAOPConfig(); log.info(this + " starting"); mbeanServer = findMBeanServer(); JDBCPersistenceManager jpm = new JDBCPersistenceManager()... | public synchronized void start() throws Exception { if (started) { if (started) { return; } loadClientAOPConfig(); loadServerAOPConfig(); log.info(this + " starting"); mbeanServer = findMBeanServer(); JDBCPersistenceManager jpm = new JDBCPersistenceManager(); jpm.start(); pm = jpm; txReposi... | 28,979 |
public synchronized void start() throws Exception { if (started) { return; } loadClientAOPConfig(); loadServerAOPConfig(); log.info(this + " starting"); mbeanServer = findMBeanServer(); JDBCPersistenceManager jpm = new JDBCPersistenceManager()... | public synchronized void start() throws Exception { if (started) { return; } loadClientAOPConfig(); loadServerAOPConfig(); log.info(this + " starting"); mbeanServer = findMBeanServer(); JDBCPersistenceManager jpm = new JDBCPersistenceManager()... | 28,980 |
public boolean doAccessibleAction(int value0) throws NotImplementedException { return false; // TODO } | public boolean doAccessibleAction(int value0) throws NotImplementedException { return false; // TODO } | 28,981 |
public boolean doAccessibleAction(int value0) throws NotImplementedException { return false; // TODO } | public boolean doAccessibleAction(int value0) throws NotImplementedException { boolean retVal = false; if (actionIndex == 0) { doClick(); retVal = true; } return retVal; // TODO } | 28,982 |
public AccessibleAction getAccessibleAction() throws NotImplementedException { return null; // TODO } | public AccessibleAction getAccessibleAction() { return null; // TODO } | 28,983 |
public AccessibleAction getAccessibleAction() throws NotImplementedException { return null; // TODO } | public AccessibleAction getAccessibleAction() throws NotImplementedException { return this; // TODO } | 28,984 |
public int getAccessibleActionCount() throws NotImplementedException { return 0; // TODO } | public int getAccessibleActionCount() throws NotImplementedException { return 1; // TODO } | 28,985 |
public String getAccessibleActionDescription(int value0) throws NotImplementedException { return null; // TODO } | public String getAccessibleActionDescription(int value0) throws NotImplementedException { return null; // TODO } | 28,986 |
public String getAccessibleActionDescription(int value0) throws NotImplementedException { return null; // TODO } | public String getAccessibleActionDescription(int value0) throws NotImplementedException { String descr = null; if (actionIndex == 0) { descr = UIManager.getString("AbstractButton.clickText"); } return descr; // TODO } | 28,987 |
public AccessibleIcon[] getAccessibleIcon() throws NotImplementedException { return null; // TODO } | public AccessibleIcon[] getAccessibleIcon() { return null; // TODO } | 28,988 |
public AccessibleIcon[] getAccessibleIcon() throws NotImplementedException { return null; // TODO } | public AccessibleIcon[] getAccessibleIcon() throws NotImplementedException { AccessibleIcon[] ret = null; Icon icon = getIcon(); if (icon instanceof Accessible) { AccessibleContext ctx = ((Accessible) icon).getAccessibleContext(); if (ctx instanceof AccessibleIcon) { ret = new AccessibleIcon[]{ (Access... | 28,989 |
public AccessibleRelationSet getAccessibleRelationSet() throws NotImplementedException { // TODO: What should be modified here? return super.getAccessibleRelationSet(); } | public AccessibleRelationSet getAccessibleRelationSet() { // TODO: What should be modified here? return super.getAccessibleRelationSet(); } | 28,990 |
public AccessibleRelationSet getAccessibleRelationSet() throws NotImplementedException { // TODO: What should be modified here? return super.getAccessibleRelationSet(); } | public AccessibleRelationSet getAccessibleRelationSet() throws NotImplementedException { // TODO: What should be modified here? AccessibleRelationSet relations = super.getAccessibleRelationSet(); ButtonModel model = getModel(); if (model instanceof DefaultButtonModel) { ButtonGroup group = ((Defau... | 28,991 |
public AccessibleStateSet getAccessibleStateSet() throws NotImplementedException { return null; // TODO } | public AccessibleStateSet getAccessibleStateSet() { return null; // TODO } | 28,992 |
public AccessibleStateSet getAccessibleStateSet() throws NotImplementedException { return null; // TODO } | public AccessibleStateSet getAccessibleStateSet() throws NotImplementedException { AccessibleStateSet state = super.getAccessibleStateSet(); if (getModel().isArmed()) state.add(AccessibleState.ARMED); if (getModel().isPressed()) state.add(AccessibleState.PRESSED); if (isSelected()) state.add(Accessibl... | 28,993 |
public AccessibleText getAccessibleText() throws NotImplementedException { return null; // TODO } | public AccessibleText getAccessibleText() { return null; // TODO } | 28,994 |
public AccessibleText getAccessibleText() throws NotImplementedException { return null; // TODO } | public AccessibleText getAccessibleText() throws NotImplementedException { AccessibleText accessibleText = null; if (getClientProperty(BasicHTML.propertyKey) != null) accessibleText = this; return accessibleText; // TODO } | 28,995 |
public AccessibleValue getAccessibleValue() throws NotImplementedException { return null; // TODO } | public AccessibleValue getAccessibleValue() { return null; // TODO } | 28,996 |
public AccessibleValue getAccessibleValue() throws NotImplementedException { return null; // TODO } | public AccessibleValue getAccessibleValue() throws NotImplementedException { return this; // TODO } | 28,997 |
public int getCaretPosition() throws NotImplementedException { return 0; // TODO } | public int getCaretPosition() { return 0; // TODO } | 28,998 |
public int getCaretPosition() throws NotImplementedException { return 0; // TODO } | public int getCaretPosition() throws NotImplementedException { return -1; // TODO } | 28,999 |
public int getCharCount() throws NotImplementedException { return 0; // TODO } | public int getCharCount() { return 0; // TODO } | 29,000 |
public int getCharCount() throws NotImplementedException { return 0; // TODO } | public int getCharCount() throws NotImplementedException { int charCount; View view = (View) getClientProperty(BasicHTML.propertyKey); if (view != null) { charCount = view.getDocument().getLength(); } else { charCount = getAccessibleName().length(); } return charCount; // TODO } | 29,001 |
public AttributeSet getCharacterAttribute(int value0) throws NotImplementedException { return null; // TODO } | public AttributeSet getCharacterAttribute(int value0) throws NotImplementedException { return null; // TODO } | 29,002 |
public AttributeSet getCharacterAttribute(int value0) throws NotImplementedException { return null; // TODO } | public AttributeSet getCharacterAttribute(int value0) throws NotImplementedException { AttributeSet atts = null; View view = (View) getClientProperty(BasicHTML.propertyKey); if (view != null) { } return atts; // TODO } | 29,003 |
public Rectangle getCharacterBounds(int value0) throws NotImplementedException { return null; // TODO } | public Rectangle getCharacterBounds(int value0) throws NotImplementedException { return null; // TODO } | 29,004 |
public Rectangle getCharacterBounds(int value0) throws NotImplementedException { return null; // TODO } | public Rectangle getCharacterBounds(int value0) throws NotImplementedException { Rectangle rect = null; View view = (View) getClientProperty(BasicHTML.propertyKey); if (view != null) { Rectangle shape = new Rectangle(0, 0, getWidth(), getHeight()); try { Shape s = view.modelToView(i, shape, Position.Bi... | 29,005 |
public Number getCurrentAccessibleValue() throws NotImplementedException { return null; // TODO } | public Number getCurrentAccessibleValue() { return null; // TODO } | 29,006 |
public Number getCurrentAccessibleValue() throws NotImplementedException { return null; // TODO } | public Number getCurrentAccessibleValue() throws NotImplementedException { Integer retVal; if (isSelected()) retVal = new Integer(1); else retVal = new Integer(0); return retVal; // TODO } | 29,007 |
public int getIndexAtPoint(Point value0) throws NotImplementedException { return 0; // TODO } | public int getIndexAtPoint(Point value0) throws NotImplementedException { return 0; // TODO } | 29,008 |
public int getIndexAtPoint(Point value0) throws NotImplementedException { return 0; // TODO } | public int getIndexAtPoint(Point value0) throws NotImplementedException { int index = -1; View view = (View) getClientProperty(BasicHTML.propertyKey); if (view != null) { Rectangle shape = new Rectangle(0, 0, getWidth(), getHeight()); index = view.viewToModel(p.x, p.y, shape, new Position.Bias[1]); } r... | 29,009 |
public Number getMaximumAccessibleValue() throws NotImplementedException { return null; // TODO } | public Number getMaximumAccessibleValue() { return null; // TODO } | 29,010 |
public Number getMaximumAccessibleValue() throws NotImplementedException { return null; // TODO } | public Number getMaximumAccessibleValue() throws NotImplementedException { return new Integer(1); // TODO } | 29,011 |
public Number getMinimumAccessibleValue() throws NotImplementedException { return null; // TODO } | public Number getMinimumAccessibleValue() { return null; // TODO } | 29,012 |
public Number getMinimumAccessibleValue() throws NotImplementedException { return null; // TODO } | public Number getMinimumAccessibleValue() throws NotImplementedException { return new Integer(0); // TODO } | 29,013 |
public String getSelectedText() throws NotImplementedException { return null; // TODO } | public String getSelectedText() throws NotImplementedException { return null; // TODO } | 29,014 |
public int getSelectionEnd() throws NotImplementedException { return 0; // TODO } | public int getSelectionEnd() { return 0; // TODO } | 29,015 |
public int getSelectionEnd() throws NotImplementedException { return 0; // TODO } | public int getSelectionEnd() throws NotImplementedException { return -1; // TODO } | 29,016 |
public int getSelectionStart() throws NotImplementedException { return 0; // TODO } | public int getSelectionStart() { return 0; // TODO } | 29,017 |
public int getSelectionStart() throws NotImplementedException { return 0; // TODO } | public int getSelectionStart() throws NotImplementedException { return -1; // TODO } | 29,018 |
public boolean setCurrentAccessibleValue(Number value0) throws NotImplementedException { return false; // TODO } | public boolean setCurrentAccessibleValue(Number value0) throws NotImplementedException { return false; // TODO } | 29,019 |
public boolean setCurrentAccessibleValue(Number value0) throws NotImplementedException { return false; // TODO } | public boolean setCurrentAccessibleValue(Number value0) throws NotImplementedException { boolean retVal = false; if (value != null) { if (value.intValue() == 0) setSelected(false); else setSelected(true); retVal = true; } return retVal; // TODO } | 29,020 |
protected JobTimings runJob(Job job) { JobTimings timings = sendRequestToSlave(job.getSlaveURL(), new RunRequest(job)); return timings; } | protected JobResult runJob(Job job) { JobTimings timings = sendRequestToSlave(job.getSlaveURL(), new RunRequest(job)); return timings; } | 29,026 |
protected JobTimings runJob(Job job) { JobTimings timings = sendRequestToSlave(job.getSlaveURL(), new RunRequest(job)); return timings; } | protected JobTimings runJob(Job job) { JobTimings timings = sendRequestToSlave(job.getSlaveURL(), new RunRequest(job)); return timings; } | 29,027 |
protected JobTimings[] runJobs(Job[] jobs) { JobRunner[] runners = new JobRunner[jobs.length]; for (int i = 0; i < jobs.length; i++) { runners[i] = new JobRunner(jobs[i]); Thread t = new Thread(runners[i]); runners[i].thread = t; t.start(); } for... | protected JobResult[] runJobs(Job[] jobs) { JobRunner[] runners = new JobRunner[jobs.length]; for (int i = 0; i < jobs.length; i++) { runners[i] = new JobRunner(jobs[i]); Thread t = new Thread(runners[i]); runners[i].thread = t; t.start(); } for ... | 29,028 |
protected JobTimings[] runJobs(Job[] jobs) { JobRunner[] runners = new JobRunner[jobs.length]; for (int i = 0; i < jobs.length; i++) { runners[i] = new JobRunner(jobs[i]); Thread t = new Thread(runners[i]); runners[i].thread = t; t.start(); } for... | protected JobTimings[] runJobs(Job[] jobs) { JobRunner[] runners = new JobRunner[jobs.length]; for (int i = 0; i < jobs.length; i++) { runners[i] = new JobRunner(jobs[i]); Thread t = new Thread(runners[i]); runners[i].thread = t; t.start(); } for... | 29,029 |
protected JobTimings[] runJobs(Job[] jobs) { JobRunner[] runners = new JobRunner[jobs.length]; for (int i = 0; i < jobs.length; i++) { runners[i] = new JobRunner(jobs[i]); Thread t = new Thread(runners[i]); runners[i].thread = t; t.start(); } for... | protected JobTimings[] runJobs(Job[] jobs) { JobRunner[] runners = new JobRunner[jobs.length]; for (int i = 0; i < jobs.length; i++) { runners[i] = new JobRunner(jobs[i]); Thread t = new Thread(runners[i]); runners[i].thread = t; t.start(); } for... | 29,030 |
protected void runMessageTypeJob(Execution execution, MessageFactory mf, String messageType, int type) { runJob(createDefaultDrainJob(queueName)); SenderJob sender = createDefaultSenderJob(queueName); sender.setNumMessages(numMessages); sender.setMsgSize(4096); sender.setMf(mf); sende... | protected void runMessageTypeJob(Execution execution, MessageFactory mf, String messageType, int type) { runJob(createDefaultDrainJob(queueName)); SenderJob sender = createDefaultSenderJob(queueName); sender.setNumMessages(numMessages); sender.setMsgSize(4096); sender.setMf(mf); sende... | 29,031 |
protected void runMessageTypeJob(Execution execution, MessageFactory mf, String messageType, int type) { runJob(createDefaultDrainJob(queueName)); SenderJob sender = createDefaultSenderJob(queueName); sender.setNumMessages(numMessages); sender.setMsgSize(4096); sender.setMf(mf); sende... | protected void runMessageTypeJob(Execution execution, MessageFactory mf, String messageType, int type) { runJob(createDefaultDrainJob(queueName)); SenderJob sender = createDefaultSenderJob(queueName); sender.setNumMessages(numMessages); sender.setMsgSize(4096); sender.setMf(mf); sende... | 29,032 |
protected void runMessageTypeJob(Execution execution, MessageFactory mf, String messageType, int type) { runJob(createDefaultDrainJob(queueName)); SenderJob sender = createDefaultSenderJob(queueName); sender.setNumMessages(numMessages); sender.setMsgSize(4096); sender.setMf(mf); sende... | protected void runMessageTypeJob(Execution execution, MessageFactory mf, String messageType, int type) { runJob(createDefaultDrainJob(queueName)); SenderJob sender = createDefaultSenderJob(queueName); sender.setNumMessages(numMessages); sender.setMsgSize(4096); sender.setMf(mf); sende... | 29,033 |
protected JobTimings sendRequestToSlave(String slaveURL, ServerRequest request) { try { InvokerLocator locator = new InvokerLocator(slaveURL); Client client = new Client(locator, "perftest"); Object res = client.invoke(request); if (res == null) { ... | protected JobResult sendRequestToSlave(String slaveURL, ServerRequest request) { try { InvokerLocator locator = new InvokerLocator(slaveURL); Client client = new Client(locator, "perftest"); Object res = client.invoke(request); if (res == null) { ... | 29,034 |
protected JobTimings sendRequestToSlave(String slaveURL, ServerRequest request) { try { InvokerLocator locator = new InvokerLocator(slaveURL); Client client = new Client(locator, "perftest"); Object res = client.invoke(request); if (res == null) { ... | protected JobTimings sendRequestToSlave(String slaveURL, ServerRequest request) { try { InvokerLocator locator = new InvokerLocator(slaveURL); Client client = new Client(locator, "perftest"); Object res = client.invoke(request); if (res == null) { ... | 29,035 |
public void testMessageSizeThroughput() { log.info("Running test testMessageSizeThroughput"); warmupDestination(topicName, standardMessageSize, false, DeliveryMode.NON_PERSISTENT, Session.AUTO_ACKNOWLEDGE); Execution execution = createExecution("MessageSizeThroughput"); ... | public void testMessageSizeThroughput() { log.info("Running test testMessageSizeThroughput"); Execution execution = createExecution("MessageSizeThroughput"); //int[] msgsSize = new int[] {0, standardMessageSize, 16384, 65536, 262144, 1048576, 8388608}; int[] ... | 29,037 |
public void testMessageSizeThroughput() { log.info("Running test testMessageSizeThroughput"); warmupDestination(topicName, standardMessageSize, false, DeliveryMode.NON_PERSISTENT, Session.AUTO_ACKNOWLEDGE); Execution execution = createExecution("MessageSizeThroughput"); ... | public void testMessageSizeThroughput() { log.info("Running test testMessageSizeThroughput"); warmupDestination(topicName, standardMessageSize, false, DeliveryMode.NON_PERSISTENT, Session.AUTO_ACKNOWLEDGE); Execution execution = createExecution("MessageSizeThroughput"); ... | 29,038 |
public void testMessageSizeThroughput() { log.info("Running test testMessageSizeThroughput"); warmupDestination(topicName, standardMessageSize, false, DeliveryMode.NON_PERSISTENT, Session.AUTO_ACKNOWLEDGE); Execution execution = createExecution("MessageSizeThroughput"); ... | public void testMessageSizeThroughput() { log.info("Running test testMessageSizeThroughput"); warmupDestination(topicName, standardMessageSize, false, DeliveryMode.NON_PERSISTENT, Session.AUTO_ACKNOWLEDGE); Execution execution = createExecution("MessageSizeThroughput"); ... | 29,039 |
public void testMessageTypes() { log.info("Running test MessageTypes"); // First drain the destination warmupDestination(queueName, standardMessageSize, false, DeliveryMode.NON_PERSISTENT, Session.AUTO_ACKNOWLEDGE); Execution execution = createExecution("MessageTypes"); ... | public void testMessageTypes() { log.info("Running test MessageTypes"); // First drain the destination Execution execution = createExecution("MessageTypes"); runMessageTypeJob(execution, new MessageMessageFactory(), "javax.jms.Message", 1); runMessageTypeJob(ex... | 29,040 |
public void testQueue1() { log.info("Running test Queue1"); //First drain the destination runJob(createDefaultDrainJob(queueName)); warmupDestination(queueName, standardMessageSize, false, DeliveryMode.NON_PERSISTENT, Session.AUTO_ACKNOWLEDGE); SenderJob sender = createDefaultS... | public void testQueue1() { log.info("Running test Queue1"); //First drain the destination runJob(createDefaultDrainJob(queueName)); warmupDestination(queueName, standardMessageSize, false, DeliveryMode.NON_PERSISTENT, Session.AUTO_ACKNOWLEDGE); SenderJob sender = createDefaultS... | 29,041 |
public void testQueue10() { log.info("Running test Queue10"); //First drain the destination runJob(createDefaultDrainJob(queueName)); warmupDestination(queueName, standardMessageSize, false, DeliveryMode.PERSISTENT, Session.DUPS_OK_ACKNOWLEDGE); SenderJob sender = createDefault... | public void testQueue10() { log.info("Running test Queue10"); //First drain the destination runJob(createDefaultDrainJob(queueName)); warmupDestination(queueName, standardMessageSize, false, DeliveryMode.PERSISTENT, Session.DUPS_OK_ACKNOWLEDGE); SenderJob sender = createDefault... | 29,042 |
public void testQueue10() { log.info("Running test Queue10"); //First drain the destination runJob(createDefaultDrainJob(queueName)); warmupDestination(queueName, standardMessageSize, false, DeliveryMode.PERSISTENT, Session.DUPS_OK_ACKNOWLEDGE); SenderJob sender = createDefault... | public void testQueue10() { log.info("Running test Queue10"); //First drain the destination runJob(createDefaultDrainJob(queueName)); warmupDestination(queueName, standardMessageSize, false, DeliveryMode.PERSISTENT, Session.DUPS_OK_ACKNOWLEDGE); SenderJob sender = createDefault... | 29,043 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.