bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
private void pullMessages() throws Throwable { RemoteQueueStub theQueue; int thePullSize; synchronized (pullLock) { if (pullQueue == null) { return; } theQueue = pullQueue; thePullSize = pullSize; } Transa...
private void pullMessages() throws Throwable { RemoteQueueStub theQueue; int thePullSize; synchronized (pullLock) { if (pullQueue == null) { return; } theQueue = pullQueue; thePullSize = pullSize; } Transa...
46,362
private void checkClosed() { if (router == null) { throw new IllegalStateException(this + " closed"); } }
protected void checkClosed() { if (router == null) { throw new IllegalStateException(this + " closed"); } }
46,363
HandleRunnable(Future result, DeliveryObserver sender, MessageReference ref, boolean persist) { this.result = result; this.sender = sender; this.ref = ref; this.persist = persist; }
public HandleRunnable(Future result, DeliveryObserver sender, MessageReference ref, boolean persist) { this.result = result; this.sender = sender; this.ref = ref; this.persist = persist; }
46,364
protected long getNextStepSequence(Connection c) throws SQLException { PreparedStatement stmt = null; ResultSet rset = null; try { stmt = c.prepareStatement(_stepSequenceIncrement); stmt.executeUpdate(); rset = stmt.executeQuery(_stepSequenceRetrieve); ...
protected long getNextStepSequence(Connection c) throws SQLException { PreparedStatement stmt = null; ResultSet rset = null; try { stmt = c.prepareStatement(stepSequenceIncrement); stmt.executeUpdate(); rset = stmt.executeQuery(_stepSequenceRetrieve); ...
46,367
protected long getNextStepSequence(Connection c) throws SQLException { PreparedStatement stmt = null; ResultSet rset = null; try { stmt = c.prepareStatement(_stepSequenceIncrement); stmt.executeUpdate(); rset = stmt.executeQuery(_stepSequenceRetrieve); ...
protected long getNextStepSequence(Connection c) throws SQLException { PreparedStatement stmt = null; ResultSet rset = null; try { stmt = c.prepareStatement(_stepSequenceIncrement); stmt.executeUpdate(); rset = stmt.executeQuery(stepSequenceRetrieve); ...
46,368
public void init(Map props) throws StoreException { super.init(props); _stepSequenceIncrement = (String) props.get("step.sequence.increment"); _stepSequenceRetrieve = (String) props.get("step.sequence.retrieve"); }
public void init(Map props) throws StoreException { super.init(props); _stepSequenceIncrement = (String) props.get("step.sequence.increment"); _stepSequenceRetrieve = (String) props.get("step.sequence.retrieve"); }
46,369
protected JBossSession createSessionInternal(boolean transacted, int acknowledgeMode, boolean isXA, int type) throws JMSException { if (transacted) { acknowledgeMode = Session.SESSION_TRANSACTED; } SessionDelegate sessionDelegate = delegate...
protected JBossSession createSessionInternal(boolean transacted, int acknowledgeMode, boolean isXA, int type) throws JMSException { if (transacted) { acknowledgeMode = Session.SESSION_TRANSACTED; } SessionDelegate sessionDelegate = delegate...
46,370
protected AccessibleJComboBox() { // Nothing to do here. }
public AccessibleJComboBox() { // Nothing to do here. }
46,371
public boolean selectWithKeyChar(char keyChar) throws NotImplementedException { // FIXME: Need to implement return false; }
public boolean selectWithKeyChar(char keyChar) { // FIXME: Need to implement return false; }
46,385
public boolean selectWithKeyChar(char keyChar) throws NotImplementedException { // FIXME: Need to implement return false; }
public boolean selectWithKeyChar(char keyChar) throws NotImplementedException { // FIXME: Need to implement if (keySelectionManager == null) { keySelectionManager = createDefaultKeySelectionManager(); } int index = keySelectionManager.selectionForKey(keyChar, getModel()); boolean retVal = false; if (index >...
46,386
public void run() { try { if (trace) { log.trace("activating consumer endpoint"); } //consumerDelegate.activate(); MessageProxy m = (MessageProxy)consumerDelegate.getMessageNow(true); if (m != null) { handleMessa...
public void run() { try { //consumerDelegate.activate(); MessageProxy m = (MessageProxy)consumerDelegate.getMessageNow(true); if (m != null) { handleMessage(m); } } catch(Throwable t) ...
46,387
public synchronized void handleMessage(MessageProxy md) throws HandleCallbackException { if (trace) { log.trace("receiving message " + md + " from the remoting layer"); } if (closed) { log.warn("Consumer is closed - ignoring message"); // Note - we do not cancel the message if the ha...
public synchronized void handleMessage(MessageProxy md) throws HandleCallbackException { if (trace) { log.trace("receiving message " + md + " from the remoting layer"); } if (closed) { log.warn("Consumer is closed - ignoring message"); // Note - we do not cancel the message if the ha...
46,388
public synchronized void handleMessage(MessageProxy md) throws HandleCallbackException { if (trace) { log.trace("receiving message " + md + " from the remoting layer"); } if (closed) { log.warn("Consumer is closed - ignoring message"); // Note - we do not cancel the message if the ha...
public synchronized void handleMessage(MessageProxy md) throws HandleCallbackException { if (trace) { log.trace("receiving message " + md + " from the remoting layer"); } if (closed) { log.warn("Consumer is closed - ignoring message"); // Note - we do not cancel the message if the ha...
46,389
public synchronized void handleMessage(MessageProxy md) throws HandleCallbackException { if (trace) { log.trace("receiving message " + md + " from the remoting layer"); } if (closed) { log.warn("Consumer is closed - ignoring message"); // Note - we do not cancel the message if the ha...
public synchronized void handleMessage(MessageProxy md) throws HandleCallbackException { if (trace) { log.trace("receiving message " + md + " from the remoting layer"); } if (closed) { log.warn("Consumer is closed - ignoring message"); // Note - we do not cancel the message if the ha...
46,390
public void addInlineChild(Context c, InlineBox ib) { if (ib == null) { throw new NullPointerException("trying to add null child"); } if (getChildCount() == 0 && ib instanceof InlineTextBox) {//first box on line InlineTextBox child = (InlineTextBox) ib; if (chil...
public void addInlineChild(Context c, InlineBox ib) { if (ib == null) { throw new NullPointerException("trying to add null child"); } if (getChildCount() == 0 && ib instanceof InlineTextBox) {//first box on line InlineTextBox child = (InlineTextBox) ib; if (chil...
46,391
public void addInlineChild(Context c, InlineBox ib) { if (ib == null) { throw new NullPointerException("trying to add null child"); } if (getChildCount() == 0 && ib instanceof InlineTextBox) {//first box on line InlineTextBox child = (InlineTextBox) ib; if (chil...
public void addInlineChild(Context c, InlineBox ib) { if (ib == null) { throw new NullPointerException("trying to add null child"); } if (getChildCount() == 0 && ib instanceof InlineTextBox) {//first box on line InlineTextBox child = (InlineTextBox) ib; if (chil...
46,392
public String toString() { final StringBuffer buf = new StringBuffer(); for (int i = 0; i < tos; i++) { if (i != 0) { buf.append(','); } buf.append('('); buf.append(stack[i].getType()); buf.append(','); buf.append(stack[i].getKind()); buf.append(')'); } buf.append("TOS"); return buf.toString(); }
public String toString() { final StringBuffer buf = new StringBuffer(); for (int i = 0; i < tos; i++) { if (i != 0) { buf.append(','); } buf.append('('); buf.append(stack[i].getType()); buf.append(','); buf.append(stack[i].getKind()); buf.append(')'); } buf.append("TOS"); return buf.toString(); }
46,393
public String toString() { final StringBuffer buf = new StringBuffer(); for (int i = 0; i < tos; i++) { if (i != 0) { buf.append(','); } buf.append('('); buf.append(stack[i].getType()); buf.append(','); buf.append(stack[i].getKind()); buf.append(')'); } buf.append("TOS"); return buf.toString(); }
public String toString() { final StringBuffer buf = new StringBuffer(); for (int i = 0; i < tos; i++) { if (i != 0) { buf.append(','); } buf.append('('); buf.append(stack[i].getType()); buf.append(','); buf.append(stack[i].getKind()); buf.append(')'); } buf.append("TOS"); return buf.toString(); }
46,394
public void actionPerformed(ActionEvent e) { String nextPage = null; for (Iterator iter = allDemos.keySet().iterator(); iter.hasNext();) { String s = (String) iter.next(); if (s.equals(lastDemoOpened)) { if (iter.hasNext()) { ...
public void actionPerformed(ActionEvent e) { String nextPage = null; for (Iterator iter = allDemos.keySet().iterator(); iter.hasNext();) { String s = (String) iter.next(); if (s.equals(lastDemoOpened)) { if (iter.hasNext()) { ...
46,395
public void actionPerformed(ActionEvent e) { String priorPage = null; for (Iterator iter = allDemos.keySet().iterator(); iter.hasNext();) { String s = (String) iter.next(); if (s.equals(lastDemoOpened)) { break; } ...
public void actionPerformed(ActionEvent e) { String priorPage = null; for (Iterator iter = allDemos.keySet().iterator(); iter.hasNext();) { String s = (String) iter.next(); if (s.equals(lastDemoOpened)) { break; } ...
46,396
public void createActions() { if (Configuration.isTrue("xr.use.listeners", true)) { SelectionMouseListener ma = new SelectionMouseListener(); root.panel.view.addMouseListener(ma); root.panel.view.addMouseMotionListener(ma); // XXX Is this necessary? Basically ...
public void createActions() { if (Configuration.isTrue("xr.use.listeners", true)) { SelectionMouseListener ma = new SelectionMouseListener(); root.panel.view.addMouseListener(ma); root.panel.view.addMouseMotionListener(ma); // XXX Is this necessary? Basically ...
46,397
public void createActions() { if (Configuration.isTrue("xr.use.listeners", true)) { SelectionMouseListener ma = new SelectionMouseListener(); root.panel.view.addMouseListener(ma); root.panel.view.addMouseMotionListener(ma); // XXX Is this necessary? Basically ...
public void createActions() { if (Configuration.isTrue("xr.use.listeners", true)) { SelectionMouseListener ma = new SelectionMouseListener(); root.panel.view.addMouseListener(ma); root.panel.view.addMouseMotionListener(ma); // XXX Is this necessary? Basically ...
46,398
public void createLayout() { file.add(root.actions.open_file); file.add(root.actions.print); file.add(new JSeparator()); file.add(root.actions.quit); add(file); edit.add(root.actions.cut); edit.add(root.actions.copy); edit.add(root.actions.paste); add(e...
public void createLayout() { file.add(root.actions.open_file); file.add(root.actions.print); file.add(new JSeparator()); file.add(root.actions.quit); add(file); edit.add(root.actions.cut); edit.add(root.actions.copy); edit.add(root.actions.paste); add(e...
46,399
public void createLayout() { file.add(root.actions.open_file); file.add(root.actions.print); file.add(new JSeparator()); file.add(root.actions.quit); add(file); edit.add(root.actions.cut); edit.add(root.actions.copy); edit.add(root.actions.paste); add(e...
public void createLayout() { file.add(root.actions.open_file); file.add(root.actions.print); file.add(new JSeparator()); file.add(root.actions.quit); add(file); edit.add(root.actions.cut); edit.add(root.actions.copy); edit.add(root.actions.paste); add(e...
46,400
public void createLayout() { file.add(root.actions.open_file); file.add(root.actions.print); file.add(new JSeparator()); file.add(root.actions.quit); add(file); edit.add(root.actions.cut); edit.add(root.actions.copy); edit.add(root.actions.paste); add(e...
publicvoidcreateLayout(){file.add(root.actions.open_file);file.add(root.actions.print);file.add(newJSeparator());file.add(root.actions.quit);add(file);edit.add(root.actions.cut);edit.add(root.actions.copy);edit.add(root.actions.paste);add(edit);view.add(view_source);add(view);go.add(root.actions.forward);go.add(root.ac...
46,401
public EmptyAction(String name, Icon icon) { super(name, icon); }
public EmptyAction(String name, Icon icon) { this(name, "", icon); }
46,404
public JRadioButtonMenuItem(Action action) { this(); setAction(action); }
public JRadioButtonMenuItem() { this(); setAction(action); }
46,405
public JRadioButtonMenuItem(Action action) { this(); setAction(action); }
public JRadioButtonMenuItem(Action action) { this(); setAction(action); }
46,406
public JSeparator() { this(HORIZONTAL); } // JSeparator()
public JSeparator() { this(HORIZONTAL); } // JSeparator()
46,407
public PBEKeySpec(char[] password) { this(password, null, 0, 0); }
public PBEKeySpec(char[] password) { setPassword(password); salt = null; iterationCount = 0; keyLength = 0; }
46,409
public final void clearPassword() { if (password == null) return; for (int i = 0; i < password.length; i++) { password[i] = '\u0000'; } }
public final void clearPassword() { if (password == null) return; for (int i = 0; i < password.length; i++) { password[i] = '\u0000'; } }
46,410
public final void clearPassword() { if (password == null) return; for (int i = 0; i < password.length; i++) { password[i] = '\u0000'; } }
public final void clearPassword() if (password == null) return; for (int i = 0; i < password.length; i++) password[i] = '\u0000'; } }
46,411
public final void clearPassword() { if (password == null) return; for (int i = 0; i < password.length; i++) { password[i] = '\u0000'; } }
public final void clearPassword() { if (password == null) return; for (int i = 0; i < password.length; i++) { password[i] = '\u0000'; passwordValid = false; }
46,412
public final char[] getPassword() { return password; }
public final char[] getPassword() { if (! passwordValid) throw new IllegalStateException("clearPassword() has been called, the " + "password is no longer valid"); return (char[]) password.clone(); }
46,413
public final byte[] getSalt() { return salt; }
public final byte[] getSalt() { if (salt != null) return (byte[]) salt.clone(); return null; }
46,414
public void end(Xid xid, int flags) throws XAException { if (trace) { log.trace(this + " end " + xid + ", flags: " + flags); } synchronized (this) { switch (flags) { case TMSUSPEND : unsetCurrentTransactionId(xid); rm.suspendTx(xid); ...
public void end(Xid xid, int flags) throws XAException { if (trace) { log.trace(this + " end " + xid + ", flags: " + flags); } synchronized (this) { switch (flags) { case TMSUSPEND : unsetCurrentTransactionId(xid); rm.suspendTx(xid); ...
46,417
public int getTransactionTimeout() throws XAException { return 0; }
public int getTransactionTimeout() throws XAException { return 600; }
46,418
public void execute() throws BuildException { Ivy ivy = getIvyInstance(); if (_pathid == null) { throw new BuildException("pathid is required in ivy classpath"); } ensureResolved(isHaltonfailure()); _conf = getProperty(_conf, ivy, "ivy.resolved.configurations"); ...
public void execute() throws BuildException { if (_pathid == null) { throw new BuildException("pathid is required in ivy classpath"); } ensureResolved(isHaltonfailure()); _conf = getProperty(_conf, ivy, "ivy.resolved.configurations"); if (_conf.equals("*")) { ...
46,419
public void execute() throws BuildException { Ivy ivy = getIvyInstance(); if (_pathid == null) { throw new BuildException("pathid is required in ivy classpath"); } ensureResolved(isHaltonfailure()); _conf = getProperty(_conf, ivy, "ivy.resolved.configurations"); ...
public void execute() throws BuildException { Ivy ivy = getIvyInstance(); if (_pathid == null) { throw new BuildException("pathid is required in ivy classpath"); } ensureResolved(isHaltonfailure()); _conf = getProperty(_conf, ivy, "ivy.resolved.configurations"); ...
46,420
public void execute() throws BuildException { Ivy ivy = getIvyInstance(); if (_pathid == null) { throw new BuildException("pathid is required in ivy classpath"); } ensureResolved(isHaltonfailure()); _conf = getProperty(_conf, ivy, "ivy.resolved.configurations"); ...
public void execute() throws BuildException { Ivy ivy = getIvyInstance(); if (_pathid == null) { throw new BuildException("pathid is required in ivy classpath"); } ensureResolved(isHaltonfailure()); _conf = getProperty(_conf, ivy, "ivy.resolved.configurations"); ...
46,421
public void execute() throws BuildException { Ivy ivy = getIvyInstance(); if (_pathid == null) { throw new BuildException("pathid is required in ivy classpath"); } ensureResolved(isHaltonfailure()); _conf = getProperty(_conf, ivy, "ivy.resolved.configurations"); ...
public void execute() throws BuildException { Ivy ivy = getIvyInstance(); if (_pathid == null) { throw new BuildException("pathid is required in ivy classpath"); } ensureResolved(isHaltonfailure()); _conf = getProperty(_conf, ivy, "ivy.resolved.configurations"); ...
46,422
public void createComponents() throws Exception { xhtml = new XHTMLPanel(); Uu.p("url = " + getClass().getResource("main.xhtml")); xhtml.setDocument(getClass().getResource("main.xhtml").toExternalForm()); filelistmodel = new FileListModel(); filelist = new JList(filelistmodel); ...
public void createComponents() { xhtml = new XHTMLPanel(); Uu.p("url = " + getClass().getResource("main.xhtml")); xhtml.setDocument(getClass().getResource("main.xhtml").toExternalForm()); filelistmodel = new FileListModel(); filelist = new JList(filelistmodel); }
46,423
public void clear() { // Process Action elements.clear(); // Send event fireIntervalRemoved(this, 0, elements.size()); } // clear()
public void clear() { // Process Action elements.clear(); // Send event fireIntervalRemoved(this, 0, elements.size()); } // clear()
46,424
public void addElement(Object element) { // Process Action elements.add(element); // Send event fireIntervalAdded(this, elements.size(), elements.size()); } // addElement()
public void addElement(Object element) { // Process Action elements.add(element); // Send event fireIntervalAdded(this, elements.size(), elements.size()); } // addElement()
46,425
public void testNonRecoverableMessageStore_1() throws Exception { if (ms.isRecoverable()) { // we only test non-recoverable message stores return; } Message m = MessageFactory.createMessage("message0", false, 777l, 888l, 9, headers, "payload"); // non-recoverable store, non...
public void testNonRecoverableMessageStore_1() throws Exception { if (ms.isRecoverable()) { // we only test non-recoverable message stores return; } Message m = MessageFactory.createMessage("message0", false, 777l, 888l, 9, headers, "payload"); // non-recoverable store, non...
46,426
public void testNonRecoverableMessageStore_2() throws Exception { if (ms.isRecoverable()) { // we only test non-recoverable message stores return; } Message[] m = new Message[NUMBER_OF_MESSAGES]; MessageReference[] refs = new MessageReference[NUMBER_OF_MESSAGES]; for(i...
public void testNonRecoverableMessageStore_2() throws Exception { if (ms.isRecoverable()) { // we only test non-recoverable message stores return; } Message[] m = new Message[NUMBER_OF_MESSAGES]; MessageReference[] refs = new MessageReference[NUMBER_OF_MESSAGES]; for(i...
46,427
public void testRecoverableMessageStore_1() throws Exception { if (!ms.isRecoverable()) { // we only test recoverable message stores return; } Message m = MessageFactory.createMessage("message0", false, 777l, 888l, 9, headers, "payload"); // recoverable store, non-reliable ...
public void testRecoverableMessageStore_1() throws Exception { if (!ms.isRecoverable()) { // we only test recoverable message stores return; } Message m = MessageFactory.createMessage("message0", false, 777l, 888l, 9, headers, "payload"); // recoverable store, non-reliable ...
46,428
public void testRecoverableMessageStore_1() throws Exception { if (!ms.isRecoverable()) { // we only test recoverable message stores return; } Message m = MessageFactory.createMessage("message0", false, 777l, 888l, 9, headers, "payload"); // recoverable store, non-reliable ...
public void testRecoverableMessageStore_1() throws Exception { if (!ms.isRecoverable()) { // we only test recoverable message stores return; } Message m = MessageFactory.createMessage("message0", false, 777l, 888l, 9, headers, "payload"); // recoverable store, non-reliable ...
46,429
public void testRecoverableMessageStore_2() throws Exception { if (!ms.isRecoverable()) { // we only test recoverable message stores return; } Message[] m = new Message[NUMBER_OF_MESSAGES]; MessageReference[] refs = new MessageReference[NUMBER_OF_MESSAGES]; for(int i =...
public void testRecoverableMessageStore_2() throws Exception { if (!ms.isRecoverable()) { // we only test recoverable message stores return; } Message[] m = new Message[NUMBER_OF_MESSAGES]; MessageReference[] refs = new MessageReference[NUMBER_OF_MESSAGES]; for(int i =...
46,430
public void testRecoverableMessageStore_3() throws Exception { if (!ms.isRecoverable()) { // we only test recoverable message stores return; } Message m = MessageFactory.createMessage("message0", true, 777l, 888l, 9, headers, "payload"); // recoverable store, non-reliable m...
public void testRecoverableMessageStore_3() throws Exception { if (!ms.isRecoverable()) { // we only test recoverable message stores return; } Message m = MessageFactory.createMessage("message0", true, 777l, 888l, 9, headers, "payload"); // recoverable store, non-reliable m...
46,431
public void testRecoverableMessageStore_3() throws Exception { if (!ms.isRecoverable()) { // we only test recoverable message stores return; } Message m = MessageFactory.createMessage("message0", true, 777l, 888l, 9, headers, "payload"); // recoverable store, non-reliable m...
public void testRecoverableMessageStore_3() throws Exception { if (!ms.isRecoverable()) { // we only test recoverable message stores return; } Message m = MessageFactory.createMessage("message0", true, 777l, 888l, 9, headers, "payload"); // recoverable store, non-reliable m...
46,432
public void testRecoverableMessageStore_4() throws Exception { if (!ms.isRecoverable()) { // we only test recoverable message stores return; } Message[] m = new Message[NUMBER_OF_MESSAGES]; MessageReference[] refs = new MessageReference[NUMBER_OF_MESSAGES]; for(int i =...
public void testRecoverableMessageStore_4() throws Exception { if (!ms.isRecoverable()) { // we only test recoverable message stores return; } Message[] m = new Message[NUMBER_OF_MESSAGES]; MessageReference[] refs = new MessageReference[NUMBER_OF_MESSAGES]; for(int i =...
46,433
private ConnectionState getConnectionState(Invocation invocation) { if (state==null) { ClientConnectionDelegate currentDelegate = ((ClientConnectionDelegate)invocation.getTargetObject()); state = (ConnectionState)currentDelegate.getState(); } return state; ...
private ConnectionState getConnectionState(Invocation invocation) { if (state == null) { ClientConnectionDelegate currentDelegate = ((ClientConnectionDelegate)invocation.getTargetObject()); state = (ConnectionState)currentDelegate.getState(); } return state; ...
46,434
public Object handleClose(Invocation invocation) throws Throwable { Object ret = invocation.invokeNext(); // Remove any exception listener ConnectionState currentState = getConnectionState(invocation); Client client = getConnectionState(invocation).getRemotingConnection().getInvokin...
public Object handleClose(Invocation invocation) throws Throwable { Object ret = invocation.invokeNext(); // Remove any exception listener ConnectionState currentState = getConnectionState(invocation); Client client = getConnectionState(invocation).getRemotingConnection().getInvokin...
46,436
public Object handleClose(Invocation invocation) throws Throwable { Object ret = invocation.invokeNext(); // Remove any exception listener ConnectionState currentState = getConnectionState(invocation); Client client = getConnectionState(invocation).getRemotingConnection().getInvokin...
JMSRemotingConnection remotingConnection = state.getRemotingConnection(); ConsolidatedRemotingConnectionListener listener = state.getRemotingConnectionListener(); listener.clear(); Client client = remotingConnection.getInvokingClient(); boolean removed = client.removeConnectionListener(listener); log.debug(this + ...
46,437
public Object handleClose(Invocation invocation) throws Throwable { Object ret = invocation.invokeNext(); // Remove any exception listener ConnectionState currentState = getConnectionState(invocation); Client client = getConnectionState(invocation).getRemotingConnection().getInvokin...
public Object handleClose(Invocation invocation) throws Throwable { Object ret = invocation.invokeNext(); // Remove any exception listener ConnectionState currentState = getConnectionState(invocation); Client client = getConnectionState(invocation).getRemotingConnection().getInvokin...
46,438
public Object handleClose(Invocation invocation) throws Throwable { Object ret = invocation.invokeNext(); // Remove any exception listener ConnectionState currentState = getConnectionState(invocation); Client client = getConnectionState(invocation).getRemotingConnection().getInvokin...
public Object handleClose(Invocation invocation) throws Throwable { Object ret = invocation.invokeNext(); // Remove any exception listener ConnectionState currentState = getConnectionState(invocation); Client client = getConnectionState(invocation).getRemotingConnection().getInvokin...
46,439
public Object handleClose(Invocation invocation) throws Throwable { Object ret = invocation.invokeNext(); // Remove any exception listener ConnectionState currentState = getConnectionState(invocation); Client client = getConnectionState(invocation).getRemotingConnection().getInvokin...
public Object handleClose(Invocation invocation) throws Throwable { Object ret = invocation.invokeNext(); // Remove any exception listener ConnectionState currentState = getConnectionState(invocation); Client client = getConnectionState(invocation).getRemotingConnection().getInvokin...
46,440
public Object handleGetExceptionListener(Invocation invocation) throws Throwable { ConnectionState currentState = getConnectionState(invocation); currentState.setJustCreated(false); return currentState.getExceptionListener(); }
public Object handleGetExceptionListener(Invocation invocation) throws Throwable { ConnectionState currentState = getConnectionState(invocation); currentState.setJustCreated(false); return currentState.getExceptionListener(); }
46,441
public Object handleGetExceptionListener(Invocation invocation) throws Throwable { ConnectionState currentState = getConnectionState(invocation); currentState.setJustCreated(false); return currentState.getExceptionListener(); }
public Object handleGetExceptionListener(Invocation invocation) throws Throwable { ConnectionState currentState = getConnectionState(invocation); currentState.setJustCreated(false); return state.getRemotingConnectionListener().getJMSExceptionListener(); }
46,442
public Object handleSetExceptionListener(Invocation invocation) throws Throwable { ConnectionState currentState = getConnectionState(invocation); currentState.setJustCreated(false); MethodInvocation mi = (MethodInvocation)invocation; currentState.setExceptionListener((ExceptionListe...
public Object handleSetExceptionListener(Invocation invocation) throws Throwable { ConnectionState currentState = getConnectionState(invocation); currentState.setJustCreated(false); MethodInvocation mi = (MethodInvocation)invocation; currentState.setExceptionListener((ExceptionListe...
46,443
public Object handleSetExceptionListener(Invocation invocation) throws Throwable { ConnectionState currentState = getConnectionState(invocation); currentState.setJustCreated(false); MethodInvocation mi = (MethodInvocation)invocation; currentState.setExceptionListener((ExceptionListe...
public Object handleSetExceptionListener(Invocation invocation) throws Throwable { ConnectionState currentState = getConnectionState(invocation); currentState.setJustCreated(false); MethodInvocation mi = (MethodInvocation)invocation; currentState.setExceptionListener((ExceptionListe...
46,444
protected void init(Element condition) { type = condition.getAttribute("type"); try { setId(Integer.parseInt(condition.getAttribute("id"))); } catch (NumberFormatException e) { } String n = condition.getAttribute("negate"); if ("true".equalsIgnoreCase(n) || "yes"...
protected void init(Element condition) { type = condition.getAttribute("type"); try { setId(Integer.parseInt(condition.getAttribute("id"))); } catch (NumberFormatException e) { } String n = condition.getAttribute("negate"); if ("true".equalsIgnoreCase(n) || "yes"...
46,445
protected void init(Element condition) { type = condition.getAttribute("type"); try { setId(Integer.parseInt(condition.getAttribute("id"))); } catch (NumberFormatException e) { } String n = condition.getAttribute("negate"); if ("true".equalsIgnoreCase(n) || "yes"...
protected void init(Element condition) { type = condition.getAttribute("type"); try { setId(Integer.parseInt(condition.getAttribute("id"))); } catch (NumberFormatException e) { } String n = condition.getAttribute("negate"); if ("true".equalsIgnoreCase(n) || "yes"...
46,446
public Image getImage(String uri) { Image img = null; uri = resolveURI(uri); img = (Image) imageCache.get(uri); if (img == null) { InputStream is = getInputStream(uri); if (is != null) { try { img = ImageIO.read(is); img = Graph...
public Image getImage(String uri) { Image img = null; uri = resolveURI(uri); img = (Image) imageCache.get(uri); if (img == null) { InputStream is = getInputStream(uri); if (is != null) { try { img = ImageIO.read(is); img = Graph...
46,449
public InputStream getInputStream(String uri) { InputStream is = null; uri = resolveURI(uri); if (uri.startsWith("file://")) { File file = null; try { file = new File(new URI(uri)); } catch (URISyntaxException e) { e.printStackTrace...
public InputStream getInputStream(String uri) { InputStream is = null; uri = resolveURI(uri); if (uri.startsWith("file://")) { File file = null; try { file = new File(new URI(uri)); } catch (URISyntaxException e) { e.printStackTrace...
46,450
public Object registerVariable(WorkflowContext context, WorkflowEntry entry, Map args) throws WorkflowException { String ejbLocation = (String) args.get(AbstractWorkflow.EJB_LOCATION); Register sessionBean = null; try { EJBHome home = (EJBHome) PortableRemoteObject.narrow(new Initial...
public Object registerVariable(WorkflowContext context, WorkflowEntry entry, Map args) throws WorkflowException { String ejbLocation = (String) args.get(AbstractWorkflow.EJB_LOCATION); Register sessionBean = null; try { EJBLocalHome home = (EJBLocalHome) PortableRemoteObject.narrow(n...
46,451
public Delivery handle(DeliveryObserver sender, Routable r, Transaction tx) { if (log.isTraceEnabled()){ log.trace(this + " handles " + r + (tx == null ? " non-transactionally" : " in transaction: " + tx) ); } Set deliveries = router.handle(sender, r, tx); // must insure that all deliveries are comp...
public Delivery handle(DeliveryObserver sender, Routable r, Transaction tx) { if (trace){ log.trace(this + " handles " + r + (tx == null ? " non-transactionally" : " in transaction: " + tx) ); } Set deliveries = router.handle(sender, r, tx); // must insure that all deliveries are completed, otherwis...
46,452
public boolean remove(Receiver receiver) { boolean removed = router.remove(receiver); if (log.isTraceEnabled()) { log.trace(this + (removed ? " removed " : " did NOT remove ") + receiver); } return removed; }
public boolean remove(Receiver receiver) { boolean removed = router.remove(receiver); if (trace) { log.trace(this + (removed ? " removed " : " did NOT remove ") + receiver); } return removed; }
46,453
public Box layoutChildren(Context c, Box box) { BlockBox block = (BlockBox) box; c.shrinkExtents(block); // save the original height in case it // has a fixed height int original_height = block.height; Element elem = (Element) box.getNode(); // prepare for th...
public Box layoutChildren(Context c, Box box) { BlockBox block = (BlockBox) box; c.shrinkExtents(block); // save the original height in case it // has a fixed height Element elem = (Element) box.getNode(); // prepare for the list items int old_counter...
46,454
public Box layoutChildren(Context c, Box box) { BlockBox block = (BlockBox) box; c.shrinkExtents(block); // save the original height in case it // has a fixed height int original_height = block.height; Element elem = (Element) box.getNode(); // prepare for th...
public Box layoutChildren(Context c, Box box) { BlockBox block = (BlockBox) box; c.shrinkExtents(block); // save the original height in case it // has a fixed height int original_height = block.height; Element elem = (Element) box.getNode(); // prepare for th...
46,455
public Box layoutChildren(Context c, Box box) { BlockBox block = (BlockBox) box; c.shrinkExtents(block); // save the original height in case it // has a fixed height int original_height = block.height; Element elem = (Element) box.getNode(); // prepare for th...
public Box layoutChildren(Context c, Box box) { BlockBox block = (BlockBox) box; c.shrinkExtents(block); // save the original height in case it // has a fixed height int original_height = block.height; Element elem = (Element) box.getNode(); // prepare for th...
46,456
public Box layout( Context c, Element parent, Node text ) { this.parent = parent; this.text = text; //Box box = new AnonymousBlockBox(text); Box box = super.layout( c, parent ); //u.p("AnonymousBoxLayout.layout: returning: " + box); return box; }
public Box layout(Context c, Element parent, Node text) { this.parent = parent; this.text = text; //Box box = new AnonymousBlockBox(text); Box box = super.layout( c, parent ); //u.p("AnonymousBoxLayout.layout: returning: " + box); return box; }
46,457
public Box layout( Context c, Element parent, Node text ) { this.parent = parent; this.text = text; //Box box = new AnonymousBlockBox(text); Box box = super.layout( c, parent ); //u.p("AnonymousBoxLayout.layout: returning: " + box); return box; }
public Box layout( Context c, Element parent, Node text ) { this.parent = parent; this.text = text; //Box box = new AnonymousBlockBox(text); Box box = super.layout(c, parent); //u.p("AnonymousBoxLayout.layout: returning: " + box); return box; }
46,458
public ReceiverJob(Element e) throws ConfigurationException { super(e); }
public ReceiverJob() { super(e); }
46,459
public ReceiverJob(Element e) throws ConfigurationException { super(e); }
public ReceiverJob(Element e) throws ConfigurationException { }
46,460
public void testRecoverableChannel_27_race() throws Throwable { if (!queue.isRecoverable()) { // we test only recoverable channels now return; } // add an NACKING receiver to the channel SimpleReceiver r = new SimpleReceiver("NackingReceiver", SimpleReceiver.ACCEPTING); ...
public void testRecoverableChannel_27_race() throws Throwable { if (!queue.isRecoverable()) { // we test only recoverable channels now return; } // add an NACKING receiver to the channel SimpleReceiver r = new SimpleReceiver("NackingReceiver", SimpleReceiver.ACCEPTING); ...
46,461
public void deliver() { log.trace(""); deliveryNotification = true; }
public void deliver(Receiver receiver) { log.trace(""); deliveryNotification = true; }
46,462
private void doFetchDependencies(IvyNode node, String conf) { Configuration c = node.getConfiguration(conf); if (c == null) { Message.warn("configuration not found '"+conf+"' in "+node.getResolvedId()+": ignoring"); if (node.getParent() != null) { Message.warn("it ...
private void doFetchDependencies(IvyNode node, String conf) { Configuration c = node.getConfiguration(conf); if (c == null) { Message.warn("configuration not found '"+conf+"' in "+node.getResolvedId()+": ignoring"); if (node.getParent() != null) { Message.warn("it ...
46,463
private void doFetchDependencies(IvyNode node, String conf) { Configuration c = node.getConfiguration(conf); if (c == null) { Message.warn("configuration not found '"+conf+"' in "+node.getResolvedId()+": ignoring"); if (node.getParent() != null) { Message.warn("it ...
private void doFetchDependencies(IvyNode node, String conf) { Configuration c = node.getConfiguration(conf); if (c == null) { Message.warn("configuration not found '"+conf+"' in "+node.getResolvedId()+": ignoring"); if (node.getParent() != null) { Message.warn("it ...
46,464
private void doFetchDependencies(IvyNode node, String conf) { Configuration c = node.getConfiguration(conf); if (c == null) { Message.warn("configuration not found '"+conf+"' in "+node.getResolvedId()+": ignoring"); if (node.getParent() != null) { Message.warn("it ...
private void doFetchDependencies(IvyNode node, String conf) { Configuration c = node.getConfiguration(conf); if (c == null) { Message.warn("configuration not found '"+conf+"' in "+node.getResolvedId()+": ignoring"); if (node.getParent() != null) { Message.warn("it ...
46,465
private void fetchDependencies(IvyNode node, String conf) { long start = System.currentTimeMillis(); Message.debug(node.getId()+" => resolving dependencies in "+conf); resolveConflict(node, node.getParent()); if (node.loadData(conf)) { node = node.getRealNode(); // if ...
private void fetchDependencies(IvyNode node, String conf, boolean shouldBePublic) { long start = System.currentTimeMillis(); Message.debug(node.getId()+" => resolving dependencies in "+conf); resolveConflict(node, node.getParent()); if (node.loadData(conf)) { node = no...
46,466
private void fetchDependencies(IvyNode node, String conf) { long start = System.currentTimeMillis(); Message.debug(node.getId()+" => resolving dependencies in "+conf); resolveConflict(node, node.getParent()); if (node.loadData(conf)) { node = node.getRealNode(); // if ...
private void fetchDependencies(IvyNode node, String conf) { long start = System.currentTimeMillis(); Message.debug(node.getId()+" => resolving dependencies in "+conf); resolveConflict(node, node.getParent()); if (node.loadData(conf, shouldBePublic)) { node = node.getRe...
46,467
private void fetchDependencies(IvyNode node, String conf) { long start = System.currentTimeMillis(); Message.debug(node.getId()+" => resolving dependencies in "+conf); resolveConflict(node, node.getParent()); if (node.loadData(conf)) { node = node.getRealNode(); // if ...
private void fetchDependencies(IvyNode node, String conf) { long start = System.currentTimeMillis(); Message.debug(node.getId()+" => resolving dependencies in "+conf); resolveConflict(node, node.getParent()); if (node.loadData(conf)) { node = node.getRealNode(); // if ...
46,468
void cancelAllDeliveries() throws JMSException { synchronized (deliveryLock) { if (log.isTraceEnabled()) { log.trace(this + " cancels deliveries"); } for(Iterator i = deliveries.iterator(); i.hasNext(); ) { Delivery d = (Delivery)i.next(); try ...
void cancelAllDeliveries() throws JMSException { synchronized (deliveryLock) { if (log.isTraceEnabled()) { log.trace(this + " cancels deliveries"); } for(Iterator i = deliveries.iterator(); i.hasNext(); ) { Delivery d = (Delivery)i.next(); try ...
46,472
public void cancelMessage(Serializable messageID) throws JMSException { boolean cancelled = false; Iterator iter = deliveries.iterator(); try { while (iter.hasNext()) { Delivery del = (Delivery)iter.next(); if (del.getReference().getMessageID().equ...
public void cancelMessage(Serializable messageID) throws JMSException { boolean cancelled = false; Iterator iter = deliveries.iterator(); try { while (iter.hasNext()) { Delivery del = (Delivery)iter.next(); if (del.getReference().getMessageID().equ...
46,473
private static Clipboard getClipboard(JComponent component) { try { SecurityManager sm = System.getSecurityManager(); if (sm != null) sm.checkSystemClipboardAccess(); // We may access the system clipboard. return component.getToolkit().getSystemClipboard(); ...
private static Clipboard getClipboard(JComponent component) { try { SecurityManager sm = System.getSecurityManager(); if (sm != null) sm.checkSystemClipboardAccess(); // We may access the system clipboard. return component.getToolkit().getSystemClipboard(); ...
46,475
private static Clipboard getClipboard(JComponent component) { try { SecurityManager sm = System.getSecurityManager(); if (sm != null) sm.checkSystemClipboardAccess(); // We may access the system clipboard. return component.getToolkit().getSystemClipboard(); ...
private static Clipboard getClipboard(JComponent component) { try { SecurityManager sm = System.getSecurityManager(); if (sm != null) sm.checkSystemClipboardAccess(); // We may access the system clipboard. return component.getToolkit().getSystemClipboard(); ...
46,476
private static Clipboard getClipboard(JComponent component) { try { SecurityManager sm = System.getSecurityManager(); if (sm != null) sm.checkSystemClipboardAccess(); // We may access the system clipboard. return component.getToolkit().getSystemClipboard(); ...
private static Clipboard getClipboard(JComponent component) { try { SecurityManager sm = System.getSecurityManager(); if (sm != null) sm.checkSystemClipboardAccess(); // We may access the system clipboard. return component.getToolkit().getSystemClipboard(); ...
46,477
protected void ArrangeGrid (Container parent) { Component[] components = parent.getComponents(); if (components.length == 0) return; GridBagLayoutInfo info = getLayoutInfo (parent, PREFERREDSIZE); if (info.cols == 0 && info.rows == 0) return; layoutInfo = info; // DEBU...
protected void ArrangeGrid (Container parent) { Component[] components = parent.getComponents(); if (components.length == 0) return; GridBagLayoutInfo info = getLayoutInfo (parent, PREFERREDSIZE); if (info.cols == 0 && info.rows == 0) return; // DEBUG //dumpLayout...
46,478
protected void ArrangeGrid (Container parent) { Component[] components = parent.getComponents(); if (components.length == 0) return; GridBagLayoutInfo info = getLayoutInfo (parent, PREFERREDSIZE); if (info.cols == 0 && info.rows == 0) return; layoutInfo = info; // DEBU...
protected void ArrangeGrid (Container parent) { Component[] components = parent.getComponents(); if (components.length == 0) return; GridBagLayoutInfo info = getLayoutInfo (parent, PREFERREDSIZE); if (info.cols == 0 && info.rows == 0) return; layoutInfo = info; // DEBU...
46,479
protected void ArrangeGrid (Container parent) { Component[] components = parent.getComponents(); if (components.length == 0) return; GridBagLayoutInfo info = getLayoutInfo (parent, PREFERREDSIZE); if (info.cols == 0 && info.rows == 0) return; layoutInfo = info; // DEBU...
protected void ArrangeGrid (Container parent) { Component[] components = parent.getComponents(); if (components.length == 0) return; GridBagLayoutInfo info = getLayoutInfo (parent, PREFERREDSIZE); if (info.cols == 0 && info.rows == 0) return; layoutInfo = info; // DEBU...
46,480
protected void ArrangeGrid (Container parent) { Component[] components = parent.getComponents(); if (components.length == 0) return; GridBagLayoutInfo info = getLayoutInfo (parent, PREFERREDSIZE); if (info.cols == 0 && info.rows == 0) return; layoutInfo = info; // DEBU...
protected void ArrangeGrid (Container parent) { Component[] components = parent.getComponents(); if (components.length == 0) return; GridBagLayoutInfo info = getLayoutInfo (parent, PREFERREDSIZE); if (info.cols == 0 && info.rows == 0) return; layoutInfo = info; // DEBU...
46,481
protected void ArrangeGrid (Container parent) { Component[] components = parent.getComponents(); if (components.length == 0) return; GridBagLayoutInfo info = getLayoutInfo (parent, PREFERREDSIZE); if (info.cols == 0 && info.rows == 0) return; layoutInfo = info; // DEBU...
protected void ArrangeGrid (Container parent) { Component[] components = parent.getComponents(); if (components.length == 0) return; GridBagLayoutInfo info = getLayoutInfo (parent, PREFERREDSIZE); if (info.cols == 0 && info.rows == 0) return; layoutInfo = info; // DEBU...
46,482
protected void ArrangeGrid (Container parent) { Component[] components = parent.getComponents(); if (components.length == 0) return; GridBagLayoutInfo info = getLayoutInfo (parent, PREFERREDSIZE); if (info.cols == 0 && info.rows == 0) return; layoutInfo = info; // DEBU...
layoutInfo = getLayoutInfo (parent, PREFERREDSIZE); layoutInfo = getLayoutInfo (parent, PREFERREDSIZE); layoutInfo = getLayoutInfo (parent, PREFERREDSIZE); layoutInfo = getLayoutInfo (parent, PREFERREDSIZE); protected layoutInfo = getLayoutInfo (parent, PREFERREDSIZE); void layoutInfo = getLayoutInfo (p...
46,483
public void endElement(String uri, String localName, String qName) throws SAXException { if ((_organisation != null && _module != null && _revision != null) && _md.getModuleRevisionId() == null) { ModuleRevisionId mrid = ModuleRevisionId.newInstance(_organisation, _module, _revision); ...
public void endElement(String uri, String localName, String qName) throws SAXException { if ((_organisation != null && _module != null && _revision != null) && _md.getModuleRevisionId() == null) { ModuleRevisionId mrid = ModuleRevisionId.newInstance(_organisation, _module, _revision); ...
46,484
public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) { if (value != null) { i...
public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) { if (value != null) { i...
46,486
protected Dimension getPreferredMenuItemSize(JComponent c, Icon checkIcon, Icon arrowIcon, int defaultTextIconGap) { JMenuItem m = (JMenuItem) c; Dimension d = BasicGraphicsUtils.getPreferredButtonSize(m, ...
protected Dimension getPreferredMenuItemSize(JComponent c, Icon checkIcon, Icon arrowIcon, int defaultTextIconGap) { JMenuItem m = (JMenuItem) c; Dimension d = BasicGraphicsUtils.getPreferredButtonSize(m, ...
46,488
protected Dimension getPreferredMenuItemSize(JComponent c, Icon checkIcon, Icon arrowIcon, int defaultTextIconGap) { JMenuItem m = (JMenuItem) c; Dimension d = BasicGraphicsUtils.getPreferredButtonSize(m, ...
protected Dimension getPreferredMenuItemSize(JComponent c, Icon checkIcon, Icon arrowIcon, int defaultTextIconGap) { JMenuItem m = (JMenuItem) c; Dimension d = BasicGraphicsUtils.getPreferredButtonSize(m, ...
46,489
protected Dimension getPreferredMenuItemSize(JComponent c, Icon checkIcon, Icon arrowIcon, int defaultTextIconGap) { JMenuItem m = (JMenuItem) c; Dimension d = BasicGraphicsUtils.getPreferredButtonSize(m, ...
protected Dimension getPreferredMenuItemSize(JComponent c, Icon checkIcon, Icon arrowIcon, int defaultTextIconGap) { JMenuItem m = (JMenuItem) c; Dimension d = BasicGraphicsUtils.getPreferredButtonSize(m, ...
46,490