bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
public void commit(Xid xid, boolean onePhase, ConnectionDelegate connection) throws XAException { if (trace) { log.trace("commiting xid " + xid + ", onePhase=" + onePhase); } TxState tx = removeTx(xid); if (onePhase) { //Invalid xid if (tx == null) { ...
public void commit(Xid xid, boolean onePhase, ConnectionDelegate connection) throws XAException { if (trace) { log.trace("commiting xid " + xid + ", onePhase=" + onePhase); } TxState tx = removeTx(xid); if (onePhase) { //Invalid xid if (tx == null) { ...
51,372
private void sendTransactionXA(TransactionRequest request, ConnectionDelegate connection) throws XAException { try { connection.sendTransaction(request); } catch (TransactionRolledBackException e) { log.error("An error occurred in sending transaction and the transactio...
private void sendTransactionXA(TransactionRequest request, ConnectionDelegate connection) throws XAException { try { connection.sendTransaction(request); } catch (TransactionRolledBackException e) { log.error("An error occurred in sending transaction and the transactio...
51,373
private void sendTransactionXA(TransactionRequest request, ConnectionDelegate connection) throws XAException { try { connection.sendTransaction(request); } catch (TransactionRolledBackException e) { log.error("An error occurred in sending transaction and the transactio...
private void sendTransactionXA(TransactionRequest request, ConnectionDelegate connection) throws XAException { try { connection.sendTransaction(request); } catch (TransactionRolledBackException e) { log.error("An error occurred in sending transaction and the transactio...
51,374
public synchronized void startLayout(Graphics g) { if(isLayoutDone()) { u.p("really starting new thread"); u.p("threaded = " + threaded); done = false; graphics = g; if(threaded) { new Thread(this).start(); } else { ...
public synchronized void startLayout(Graphics g) { if(isLayoutDone()) { u.p("really starting new thread"); u.p("threaded = " + threaded); done = false; graphics = g; if(threaded) { new Thread(this).start(); } else { ...
51,375
public synchronized void startRender(Graphics g) { g.setColor(Color.black); if(this.isLayoutDone()) { if(panel.body_box != null) { //u.p("really painting: " + panel.body_box); try { panel.doRender(); } catch (Throwable thr) { ...
publicsynchronizedvoidstartRender(Graphicsg){g.setColor(Color.black);if(this.isLayoutDone()){if(panel.body_box!=null){//u.p("reallypainting:"+panel.body_box);try{panel.doRender();}catch(Throwablethr){u.p("currentthread="+Thread.currentThread());u.p(thr);thr.printStackTrace();}}else{g.drawString("bodyboxisnull",50,50);u...
51,376
protected void startLayout(Graphics g) { this.removeAll(); if ( g == null ) { return; } if ( doc == null ) { return; } Element html = (Element)doc.getDocumentElement(); //Element body = x.child( html, "body" ); //body = html; // se...
public void startLayout(Graphics g) { this.removeAll(); if ( g == null ) { return; } if ( doc == null ) { return; } Element html = (Element)doc.getDocumentElement(); //Element body = x.child( html, "body" ); //body = html; // set u...
51,377
public void doRender() { layout.getRenderer().paint( getRenderingContext().getContext(), body_box ); }
protected void doRender() { layout.getRenderer().paint( getRenderingContext().getContext(), body_box ); }
51,378
public static void paintAbsoluteBox(Context c, Box block, boolean restyle) { Rectangle rect = c.getExtents(); //why this? int xoff = 0; int yoff = 0; BlockFormattingContext bfc = c.getBlockFormattingContext(); xoff += bfc.getX(); yoff += bfc.getY(); xoff += ...
public static void paintAbsoluteBox(Context c, Box block, boolean restyle) { Rectangle rect = c.getExtents(); //why this? int xoff = 0; int yoff = 0; BlockFormattingContext bfc = c.getBlockFormattingContext(); xoff += bfc.getX(); yoff += bfc.getY(); xoff...
51,379
public static void paintAbsoluteBox(Context c, Box block, boolean restyle) { Rectangle rect = c.getExtents(); //why this? int xoff = 0; int yoff = 0; BlockFormattingContext bfc = c.getBlockFormattingContext(); xoff += bfc.getX(); yoff += bfc.getY(); xoff += ...
public static void paintAbsoluteBox(Context c, Box block, boolean restyle) { Rectangle rect = c.getExtents(); //why this? int xoff = 0; int yoff = 0; BlockFormattingContext bfc = c.getBlockFormattingContext(); xoff += bfc.getX(); yoff += bfc.getY(); xoff += ...
51,380
public static void paintAbsoluteBox(Context c, Box block, boolean restyle) { Rectangle rect = c.getExtents(); //why this? int xoff = 0; int yoff = 0; BlockFormattingContext bfc = c.getBlockFormattingContext(); xoff += bfc.getX(); yoff += bfc.getY(); xoff += ...
public static void paintAbsoluteBox(Context c, Box block, boolean restyle) { Rectangle rect = c.getExtents(); //why this? int xoff = 0; int yoff = 0; BlockFormattingContext bfc = c.getBlockFormattingContext(); xoff += bfc.getX(); yoff += bfc.getY(); xoff += ...
51,381
MessageHolder(MessageReference ref, Message msg) { this.ref = ref; this.msg = msg; }
private MessageHolder(Message msg) { this.ref = ref; this.msg = msg; }
51,383
MessageHolder(MessageReference ref, Message msg) { this.ref = ref; this.msg = msg; }
MessageHolder(MessageReference ref, Message msg) { this.msg = msg; }
51,384
public MessageReference reference(Routable r) { if (r.isReference()) { if (log.isTraceEnabled()) { log.trace("routable " + r + " is already a reference"); } return (MessageReference)r; } if (r.isReliable() && !acceptReliableMessages) { throw new IllegalStateExcepti...
public MessageReference reference(Message m) { if (r.isReference()) { if (log.isTraceEnabled()) { log.trace("routable " + r + " is already a reference"); } return (MessageReference)r; } if (r.isReliable() && !acceptReliableMessages) { throw new IllegalStateExceptio...
51,386
public MessageReference reference(Routable r) { if (r.isReference()) { if (log.isTraceEnabled()) { log.trace("routable " + r + " is already a reference"); } return (MessageReference)r; } if (r.isReliable() && !acceptReliableMessages) { throw new IllegalStateExcepti...
public MessageReference reference(Routable r) { if (m.isReliable() && !acceptReliableMessages) { if (log.isTraceEnabled()) { log.trace("routable " + r + " is already a reference"); } return (MessageReference)r; } if (r.isReliable() && !acceptReliableMessages) { thr...
51,387
public MessageReference reference(Routable r) { if (r.isReference()) { if (log.isTraceEnabled()) { log.trace("routable " + r + " is already a reference"); } return (MessageReference)r; } if (r.isReliable() && !acceptReliableMessages) { throw new IllegalStateExcepti...
public MessageReference reference(Routable r) { if (r.isReference()) { if (log.isTraceEnabled()) { log.trace("routable " + r + " is already a reference"); } return (MessageReference)r; } if (r.isReliable() && !acceptReliableMessages) { throw new IllegalStateExcepti...
51,388
public MessageReference reference(Routable r) { if (r.isReference()) { if (log.isTraceEnabled()) { log.trace("routable " + r + " is already a reference"); } return (MessageReference)r; } if (r.isReliable() && !acceptReliableMessages) { throw new IllegalStateExcepti...
public MessageReference reference(Routable r) { if (r.isReference()) { if (log.isTraceEnabled()) { log.trace("routable " + r + " is already a reference"); } return (MessageReference)r; } if (r.isReliable() && !acceptReliableMessages) { throw new IllegalStateExcepti...
51,389
public void remove(MessageReference ref) throws Throwable { //Nothing is referencing the message reference any more so we can remove it // and the message from the maps if (log.isTraceEnabled()) { log.trace("removing " + ref.getMessageID() + " from memory cache"); } messages.remove(...
protected void remove(String messageId, boolean reliable) throws Exception { //Nothing is referencing the message reference any more so we can remove it // and the message from the maps if (log.isTraceEnabled()) { log.trace("removing " + ref.getMessageID() + " from memory cache"); } ...
51,390
public void remove(MessageReference ref) throws Throwable { //Nothing is referencing the message reference any more so we can remove it // and the message from the maps if (log.isTraceEnabled()) { log.trace("removing " + ref.getMessageID() + " from memory cache"); } messages.remove(...
public void remove(MessageReference ref) throws Throwable { //Nothing is referencing the message reference any more so we can remove it // and the message from the maps if (log.isTraceEnabled()) { log.trace("removing " + ref.getMessageID() + " from memory cache"); } messages.remove(...
51,391
public boolean canModifyEntryState(long id, int newState) { try { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); int currentState = entry.getState(); boolean result = false; switch (newState) { case Workflow...
public boolean canModifyEntryState(long id, int newState) { try { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); int currentState = entry.getState(); boolean result = false; switch (newState) { case Workflow...
51,392
public boolean canModifyEntryState(long id, int newState) { try { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); int currentState = entry.getState(); boolean result = false; switch (newState) { case Workflow...
public boolean canModifyEntryState(long id, int newState) { try { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); int currentState = entry.getState(); boolean result = false; switch (newState) { case Workflow...
51,393
public void changeEntryState(long id, int newState) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); if (entry.getState() == newState) { return; } if (canModifyEntryState(id, newState)) { if ((newSt...
public void changeEntryState(long id, int newState) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); if (entry.getState() == newState) { return; } if (canModifyEntryState(id, newState)) { if (newSta...
51,394
protected void checkImplicitFinish(long id) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); WorkflowDescriptor wf = getConfiguration().getWorkflow(entry.getWorkflowName()); Collection currentSteps = store.findCurrentSteps(id);...
protected void checkImplicitFinish(long id) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); WorkflowDescriptor wf = getConfiguration().getWorkflow(entry.getWorkflowName()); Collection currentSteps = store.findCurrentSteps(id);...
51,395
private Step createNewCurrentStep(ResultDescriptor theResult, WorkflowEntry entry, WorkflowStore store, int actionId, Step currentStep, long[] previousIds, Map transientVars, PropertySet ps) throws WorkflowException { try { int nextStep = theResult.getStep(); if (nextStep == -1) { ...
private Step createNewCurrentStep(ResultDescriptor theResult, WorkflowEntry entry, WorkflowStore store, int actionId, Step currentStep, long[] previousIds, Map transientVars, PropertySet ps) throws WorkflowException { try { int nextStep = theResult.getStep(); if (nextStep == -1) { ...
51,396
private Step createNewCurrentStep(ResultDescriptor theResult, WorkflowEntry entry, WorkflowStore store, int actionId, Step currentStep, long[] previousIds, Map transientVars, PropertySet ps) throws WorkflowException { try { int nextStep = theResult.getStep(); if (nextStep == -1) { ...
private Step createNewCurrentStep(ResultDescriptor theResult, WorkflowEntry entry, WorkflowStore store, int actionId, Step currentStep, long[] previousIds, Map transientVars, PropertySet ps) throws WorkflowException { try { int nextStep = theResult.getStep(); if (nextStep == -1) { ...
51,397
private Step createNewCurrentStep(ResultDescriptor theResult, WorkflowEntry entry, WorkflowStore store, int actionId, Step currentStep, long[] previousIds, Map transientVars, PropertySet ps) throws WorkflowException { try { int nextStep = theResult.getStep(); if (nextStep == -1) { ...
private Step createNewCurrentStep(ResultDescriptor theResult, WorkflowEntry entry, WorkflowStore store, int actionId, Step currentStep, long[] previousIds, Map transientVars, PropertySet ps) throws WorkflowException { try { int nextStep = theResult.getStep(); if (nextStep == -1) { ...
51,398
protected List getAvailableActionsForStep(WorkflowDescriptor wf, Step step, Map transientVars, PropertySet ps) throws WorkflowException { List l = new ArrayList(); StepDescriptor s = wf.getStep(step.getStepId()); if (s == null) { log.warn("getAvailableActionsForStep called for non-ex...
protected List getAvailableActionsForStep(WorkflowDescriptor wf, Step step, Map transientVars, PropertySet ps) throws WorkflowException { List l = new ArrayList(); StepDescriptor s = wf.getStep(step.getStepId()); if (s == null) { log.warn("getAvailableActionsForStep called for non-ex...
51,399
protected int[] getAvailableAutoActions(long id, Map inputs) { try { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); if (entry == null) { throw new IllegalArgumentException("No such workflow id " + id); } ...
protected int[] getAvailableAutoActions(long id, Map inputs) { try { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); if (entry == null) { throw new IllegalArgumentException("No such workflow id " + id); } ...
51,400
protected List getAvailableAutoActionsForStep(WorkflowDescriptor wf, Step step, Map transientVars, PropertySet ps) throws WorkflowException { List l = new ArrayList(); StepDescriptor s = wf.getStep(step.getStepId()); if (s == null) { log.warn("getAvailableAutoActionsForStep called fo...
protected List getAvailableAutoActionsForStep(WorkflowDescriptor wf, Step step, Map transientVars, PropertySet ps) throws WorkflowException { List l = new ArrayList(); StepDescriptor s = wf.getStep(step.getStepId()); if (s == null) { log.warn("getAvailableAutoActionsForStep called fo...
51,401
public Configuration getConfiguration() { Configuration config = (configuration != null) ? configuration : DefaultConfiguration.INSTANCE; if (!config.isInitialized()) { try { config.load(null); } catch (FactoryException e) { log.fatal("Error initiali...
public Configuration getConfiguration() { Configuration config = configuration != null ? configuration : DefaultConfiguration.INSTANCE; if (!config.isInitialized()) { try { config.load(null); } catch (FactoryException e) { log.fatal("Error initialisi...
51,402
protected boolean passesCondition(ConditionDescriptor conditionDesc, Map transientVars, PropertySet ps, int currentStepId) throws WorkflowException { String type = conditionDesc.getType(); Map args = new HashMap(conditionDesc.getArgs()); for (Iterator iterator = args.entrySet().iterator(); ...
protected boolean passesCondition(ConditionDescriptor conditionDesc, Map transientVars, PropertySet ps, int currentStepId) throws WorkflowException { String type = conditionDesc.getType(); Map args = new HashMap(conditionDesc.getArgs()); for (Iterator iterator = args.entrySet().iterator(); ...
51,403
protected boolean passesConditions(String conditionType, List conditions, Map transientVars, PropertySet ps, int currentStepId) throws WorkflowException { if ((conditions == null) || (conditions.size() == 0)) { return true; } boolean and = "AND".equals(conditionType); boolean ...
protected boolean passesConditions(String conditionType, List conditions, Map transientVars, PropertySet ps, int currentStepId) throws WorkflowException { if (conditions == null || conditions.size() == 0) { return true; } boolean and = "AND".equals(conditionType); boolean or =...
51,404
private boolean transitionWorkflow(WorkflowEntry entry, List currentSteps, WorkflowStore store, WorkflowDescriptor wf, ActionDescriptor action, Map transientVars, Map inputs, PropertySet ps) throws WorkflowException { Step step = getCurrentStep(wf, action.getId(), currentSteps, transientVars, ps); // ...
private boolean transitionWorkflow(WorkflowEntry entry, List currentSteps, WorkflowStore store, WorkflowDescriptor wf, ActionDescriptor action, Map transientVars, Map inputs, PropertySet ps) throws WorkflowException { Step step = getCurrentStep(wf, action.getId(), currentSteps, transientVars, ps); // ...
51,405
private boolean transitionWorkflow(WorkflowEntry entry, List currentSteps, WorkflowStore store, WorkflowDescriptor wf, ActionDescriptor action, Map transientVars, Map inputs, PropertySet ps) throws WorkflowException { Step step = getCurrentStep(wf, action.getId(), currentSteps, transientVars, ps); // ...
private boolean transitionWorkflow(WorkflowEntry entry, List currentSteps, WorkflowStore store, WorkflowDescriptor wf, ActionDescriptor action, Map transientVars, Map inputs, PropertySet ps) throws WorkflowException { Step step = getCurrentStep(wf, action.getId(), currentSteps, transientVars, ps); // ...
51,406
private boolean transitionWorkflow(WorkflowEntry entry, List currentSteps, WorkflowStore store, WorkflowDescriptor wf, ActionDescriptor action, Map transientVars, Map inputs, PropertySet ps) throws WorkflowException { Step step = getCurrentStep(wf, action.getId(), currentSteps, transientVars, ps); // ...
private boolean transitionWorkflow(WorkflowEntry entry, List currentSteps, WorkflowStore store, WorkflowDescriptor wf, ActionDescriptor action, Map transientVars, Map inputs, PropertySet ps) throws WorkflowException { Step step = getCurrentStep(wf, action.getId(), currentSteps, transientVars, ps); // ...
51,407
public static void positionFixedChild(Context c, Box box) { if (LayoutUtil.isFixed(c, box)) { Point origin = c.getOriginOffset(); box.x = 0; box.y = 0; box.x -= origin.x; box.y -= origin.y; } }
public static void positionFixedChild(Context c, Box box) { if (LayoutUtil.isFixed(box.getContent().getStyle())) { Point origin = c.getOriginOffset(); box.x = 0; box.y = 0; box.x -= origin.x; box.y -= origin.y; } }
51,408
public static void setupFixed(Context c, Box box) { if (LayoutUtil.isFixed(c, box)) { box.fixed = true; box.setChildrenExceedBounds(true); CalculatedStyle style = c.css.getStyle(box.getNode()); if (style.hasProperty("top")) { box.top = (int) style.ge...
public static void setupFixed(Context c, Box box) { if (LayoutUtil.isFixed(box.getContent().getStyle())) { box.fixed = true; box.setChildrenExceedBounds(true); CalculatedStyle style = c.css.getStyle(box.getNode()); if (style.hasProperty("top")) { box...
51,409
public void focusGained(FocusEvent e) { // TODO: Implement this properly. }
repaintLeadRow(); repaintLeadRow(); repaintLeadRow(); repaintLeadRow(); publicrepaintLeadRow(); voidrepaintLeadRow(); focusGained(FocusEventrepaintLeadRow(); e)repaintLeadRow(); repaintLeadRow(); repaintLeadRow(); repaintLeadRow(); {repaintLeadRow(); repaintLeadRow(); repaintLeadRow(); repaintLeadRow(); repaintLeadRow(...
51,410
public void focusLost(FocusEvent e) { // TODO: Implement this properly. }
repaintLeadRow(); repaintLeadRow(); repaintLeadRow(); repaintLeadRow(); publicrepaintLeadRow(); voidrepaintLeadRow(); focusLost(FocusEventrepaintLeadRow(); e)repaintLeadRow(); repaintLeadRow(); repaintLeadRow(); repaintLeadRow(); {repaintLeadRow(); repaintLeadRow(); repaintLeadRow(); repaintLeadRow(); repaintLeadRow();...
51,411
public void mousePressed(MouseEvent e) { // Any mouse click cancels the previous waiting edit action, initiated // by the single click on the selected node. if (startEditTimer != null) { startEditTimer.stop(); startEditTimer = null; } Point click = e.getP...
public void mousePressed(MouseEvent e) { // Any mouse click cancels the previous waiting edit action, initiated // by the single click on the selected node. if (startEditTimer != null) { startEditTimer.stop(); startEditTimer = null; } Point click = e.getP...
51,412
public void mousePressed(MouseEvent e) { // Any mouse click cancels the previous waiting edit action, initiated // by the single click on the selected node. if (startEditTimer != null) { startEditTimer.stop(); startEditTimer = null; } Point click = e.getP...
public void mousePressed(MouseEvent e) { // Any mouse click cancels the previous waiting edit action, initiated // by the single click on the selected node. if (startEditTimer != null) { startEditTimer.stop(); startEditTimer = null; } Point click = e.getP...
51,413
public void mousePressed(MouseEvent e) { // Any mouse click cancels the previous waiting edit action, initiated // by the single click on the selected node. if (startEditTimer != null) { startEditTimer.stop(); startEditTimer = null; } Point click = e.getP...
public void mousePressed(MouseEvent e) { // Any mouse click cancels the previous waiting edit action, initiated // by the single click on the selected node. if (startEditTimer != null) { startEditTimer.stop(); startEditTimer = null; } Point click = e.getP...
51,414
public void actionPerformed( ActionEvent e) { startEditing(editPath, ...
public void actionPerformed( ActionEvent e) { startEditing(editPath, ...
51,416
public void actionPerformed( ActionEvent e) { startEditing(editPath, ...
public void actionPerformed( ActionEvent e) { startEditing(editPath, ...
51,417
protected int getRowX(int row, int depth) { return depth * rightChildIndent; }
protected int getRowX(int row, int depth) { int iw = getCurrentControlIcon(null).getIconWidth(); return depth * (rightChildIndent + iw/2); }
51,418
public void propertyChange(PropertyChangeEvent event) { if ((event.getPropertyName()).equals("rootVisible")) { validCachedPreferredSize = false; treeState.setRootVisible(tree.isRootVisible()); tree.repaint(); } }
public void propertyChange(PropertyChangeEvent event) { String property = event.getPropertyName(); if (property.equals(JTree.ROOT_VISIBLE_PROPERTY)) { validCachedPreferredSize = false; treeState.setRootVisible(tree.isRootVisible()); tree.repaint(); } }
51,419
public void actionPerformed(ActionEvent e) { String command = e.getActionCommand(); TreePath lead = tree.getLeadSelectionPath(); if (command.equals("selectPreviousChangeLead") || command.equals("selectPreviousExtendSelection") || command.equals("selectPrevious") || command.equals...
public void actionPerformed(ActionEvent e) { String command = e.getActionCommand(); TreePath lead = tree.getLeadSelectionPath(); if (command.equals("selectPreviousChangeLead") || command.equals("selectPreviousExtendSelection") || command.equals("selectPrevious") || command.equals...
51,421
public void actionPerformed(ActionEvent e) { TreePath currentPath = tree.getLeadSelectionPath(); int currentRow; if (currentPath != null) currentRow = treeState.getRowForPath(currentPath); else currentRow = 0; int rows = treeState.getRowCount(); int nextRow = currentRo...
public void actionPerformed(ActionEvent e) { TreePath currentPath = tree.getLeadSelectionPath(); int currentRow; if (currentPath != null) currentRow = treeState.getRowForPath(currentPath); else currentRow = 0; int rows = treeState.getRowCount(); int nextRow = currentRo...
51,424
public void actionPerformed(ActionEvent e) { TreePath currentPath = tree.getLeadSelectionPath(); int currentRow; if (currentPath != null) currentRow = treeState.getRowForPath(currentPath); else currentRow = 0; int rows = treeState.getRowCount(); int nextRow = currentRo...
public void actionPerformed(ActionEvent e) { TreePath currentPath = tree.getLeadSelectionPath(); int currentRow; if (currentPath != null) currentRow = treeState.getRowForPath(currentPath); else currentRow = 0; int rows = treeState.getRowCount(); int nextRow = currentRo...
51,425
public void actionPerformed(ActionEvent e) { TreePath currentPath = tree.getLeadSelectionPath(); int currentRow; if (currentPath != null) currentRow = treeState.getRowForPath(currentPath); else currentRow = 0; int rows = treeState.getRowCount(); int nextRow = currentRo...
public void actionPerformed(ActionEvent e) { TreePath currentPath = tree.getLeadSelectionPath(); int currentRow; if (currentPath != null) currentRow = treeState.getRowForPath(currentPath); else currentRow = 0; int rows = treeState.getRowCount(); int nextRow = currentRo...
51,426
public void actionPerformed(ActionEvent e) { TreePath currentPath = tree.getLeadSelectionPath(); int currentRow; if (currentPath != null) currentRow = treeState.getRowForPath(currentPath); else currentRow = 0; int rows = treeState.getRowCount(); int nextRow = currentRo...
public void actionPerformed(ActionEvent e) { TreePath currentPath = tree.getLeadSelectionPath(); int currentRow; if (currentPath != null) currentRow = treeState.getRowForPath(currentPath); else currentRow = 0; int rows = treeState.getRowCount(); int nextRow = currentRo...
51,427
public void valueChanged(TreeSelectionEvent event) { if (tree.isEditing()) tree.stopEditing(); }
public void valueChanged(TreeSelectionEvent event) { if (tree.isEditing()) tree.cancelEditing(); TreePath op = event.getOldLeadSelectionPath(); TreePath np = event.getNewLeadSelectionPath(); if (op != np) { Rectangle o = treeState.getBounds(event.getOldLeadSelectionPath(), new Rectangle()); Rectan...
51,428
public void actionPerformed(ActionEvent e) { TreePath current = tree.getLeadSelectionPath(); if (current == null) return; if (e.getActionCommand().equals("selectParent")) selectPath(tree, current.getParentPath()); else if (e.getActionCommand().equals("selectChild")) { ...
public void actionPerformed(ActionEvent e) { TreePath current = tree.getLeadSelectionPath(); if (current == null) return; if (e.getActionCommand().equals("selectParent")) { if (current == null) return; if (tree.isExpanded(current)) { tree.collapsePath(current); } else { TreePath ...
51,429
public void actionPerformed(ActionEvent e) { TreePath current = tree.getLeadSelectionPath(); if (current == null) return; if (e.getActionCommand().equals("selectParent")) selectPath(tree, current.getParentPath()); else if (e.getActionCommand().equals("selectChild")) { ...
public void actionPerformed(ActionEvent e) { TreePath current = tree.getLeadSelectionPath(); if (current == null) return; if (e.getActionCommand().equals("selectParent")) selectPath(tree, current.getParentPath()); else if (e.getActionCommand().equals("selectChild")) { ...
51,430
void finish() { editingPath = null; editingRow = - 1; stopEditingInCompleteEditing = false; isEditing = false; tree.removeAll(); validCachedPreferredSize = false; // Repaint the region, where was the editing component. tree.repaint(editingComponent.getParent().getBounds()); editingComp...
voidfinish(){editingPath=null;editingRow=-1;stopEditingInCompleteEditing=false;isEditing=false;tree.removeAll();validCachedPreferredSize=false;//Repainttheregion,wherewastheeditingcomponent.tree.repaint(editingComponent.getParent().getBounds());editingComponent=null;}
51,431
void finish() { editingPath = null; editingRow = - 1; stopEditingInCompleteEditing = false; isEditing = false; tree.removeAll(); validCachedPreferredSize = false; // Repaint the region, where was the editing component. tree.repaint(editingComponent.getParent().getBounds()); editingComp...
void finish() { editingPath = null; editingRow = - 1; stopEditingInCompleteEditing = false; isEditing = false; tree.removeAll(); validCachedPreferredSize = false; // Repaint the region, where was the editing component. tree.repaint(bounds); editingComponent = null; }
51,432
public void installUI(JComponent c) { tree = (JTree) c; prepareForUIInstall(); super.installUI(c); installDefaults(); installComponents(); installKeyboardActions(); installListeners(); setCellEditor(createDefaultCellEditor()); createdCellEditor = true; isEditing = false; setModel...
publicvoidinstallUI(JComponentc){tree=(JTree)c;prepareForUIInstall();super.installUI(c);installDefaults();installComponents();installKeyboardActions();installListeners();setCellEditor(createDefaultCellEditor());createdCellEditor=true;isEditing=false;setModel(tree.getModel());treeSelectionModel=tree.getSelectionModel();...
51,435
protected boolean isMultiSelectEvent(MouseEvent event) { return (tree.getSelectionModel().getSelectionMode() == TreeSelectionModel.CONTIGUOUS_TREE_SELECTION); }
protected boolean isMultiSelectEvent(MouseEvent event) { return (tree.getSelectionModel().getSelectionMode() != TreeSelectionModel.SINGLE_TREE_SELECTION) && ((event.getModifiersEx() & InputEvent.SHIFT_DOWN_MASK) != 0); }
51,436
protected boolean isToggleSelectionEvent(MouseEvent event) { return (tree.getSelectionModel().getSelectionMode() == TreeSelectionModel.SINGLE_TREE_SELECTION); }
protected boolean isToggleSelectionEvent(MouseEvent event) { return (tree.getSelectionModel().getSelectionMode() != TreeSelectionModel.SINGLE_TREE_SELECTION) && ((event.getModifiersEx() & InputEvent.CTRL_DOWN_MASK) != 0); }
51,437
public void paint(Graphics g, JComponent c) { JTree tree = (JTree) c; Rectangle clip = g.getClipBounds(); Insets insets = tree.getInsets(); if (clip != null && treeModel != null) { int startIndex = tree.getClosestRowForLocation(clip.x, clip.y); int endIndex = tree.getClosestRowForLocat...
public void paint(Graphics g, JComponent c) { JTree tree = (JTree) c; Rectangle clip = g.getClipBounds(); Insets insets = tree.getInsets(); if (clip != null && treeModel != null) { int startIndex = tree.getClosestRowForLocation(clip.x, clip.y); int endIndex = tree.getClosestRowForLocat...
51,438
protected void paintExpandControl(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf) { if (shouldPaintExpand...
protected void paintExpandControl(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf) { if (shouldPaintExpand...
51,440
protected void paintHorizontalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boo...
protected void paintHorizontalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boo...
51,441
protected void paintRow(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf) { boolean selected = tree.isPathSelected(path); boolean hasI...
protected void paintRow(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf) { boolean selected = tree.isPathSelected(path); boolean hasI...
51,442
protected void paintVerticalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, TreePath path) { Rectangle bounds = getPathBounds(tree, path); TreePath parent = path.getParentPath(); if (parent != null) { Rectangle parentBounds = getPathBounds(tr...
protected void paintVerticalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, TreePath path) { Rectangle bounds = getPathBounds(tree, path); TreePath parent = path.getParentPath(); if (parent != null) { Rectangle parentBounds = getPathBounds(tr...
51,443
void selectPath(JTree tree, TreePath path) { if (path != null) { if (tree.getSelectionModel().getSelectionMode() == TreeSelectionModel.SINGLE_TREE_SELECTION) { tree.getSelectionModel().clearSelection(); tree.addSelectionPath(path); tree.setLeadSelectionPath(pa...
void selectPath(JTree tree, TreePath path) { if (path != null) { if (tree.getSelectionModel().getSelectionMode() == TreeSelectionModel.SINGLE_TREE_SELECTION) { tree.getSelectionModel().clearSelection(); tree.addSelectionPath(path); tree.setLeadSelectionPath(pa...
51,444
void selectPath(JTree tree, TreePath path) { if (path != null) { if (tree.getSelectionModel().getSelectionMode() == TreeSelectionModel.SINGLE_TREE_SELECTION) { tree.getSelectionModel().clearSelection(); tree.addSelectionPath(path); tree.setLeadSelectionPath(pa...
void selectPath(JTree tree, TreePath path) { if (path != null) { if (tree.getSelectionModel().getSelectionMode() == TreeSelectionModel.SINGLE_TREE_SELECTION) { tree.getSelectionModel().clearSelection(); tree.addSelectionPath(path); tree.setLeadSelectionPath(pa...
51,445
protected void selectPathForEvent(TreePath path, MouseEvent event) { if (isToggleSelectionEvent(event)) { if (tree.isPathSelected(path)) tree.removeSelectionPath(path); else { tree.addSelectionPath(path); tree.setAnchorSelectionPath(path); } ...
protected void selectPathForEvent(TreePath path, MouseEvent event) { if (isToggleSelectionEvent(event)) { if (tree.isPathSelected(path)) tree.removeSelectionPath(path); else { { tree.setSelectionPath(path); tree.setAnchorSelectionPath(path); } tree.setAn...
51,446
protected boolean startEditing(TreePath path, MouseEvent event) { // Force to recalculate the maximal row height. maxHeight = 0; // Force to recalculate the cached preferred size. validCachedPreferredSize = false; updateCellEditor(); TreeCellEditor ed = getCellEditor(); if (ed != null && (event ...
protected boolean startEditing(TreePath path, MouseEvent event) { // Force to recalculate the maximal row height. maxHeight = 0; // Force to recalculate the cached preferred size. validCachedPreferredSize = false; updateCellEditor(); TreeCellEditor ed = getCellEditor(); if (ed != null && (event ...
51,447
public boolean deliver(Receiver r) { boolean delivered = deliver(this, r); if (delivered) { return true; } // this peer has not redelivered any message but other peers may have messages to redeliver if (r instanceof RemoteQueue) { // this was a remote forward requ...
public boolean deliver(Receiver r) { boolean delivered = super.deliver(r); if (delivered) { return true; } // this peer has not redelivered any message but other peers may have messages to redeliver if (r instanceof RemoteQueue) { // this was a remote forward requ...
51,448
public boolean deliver(Receiver r) { boolean delivered = deliver(this, r); if (delivered) { return true; } // this peer has not redelivered any message but other peers may have messages to redeliver if (r instanceof RemoteQueue) { // this was a remote forward requ...
public boolean deliver(Receiver r) { boolean delivered = super.deliver(r); if (delivered) { return true; } // this peer has not redelivered any message but other peers may have messages to redeliver if (r instanceof RemoteQueue) { // this was a remote forward requ...
51,449
private synchronized void checkMarshallers() { if (checked) { return; } // We shouldn't have to do this programmatically - it should pick it up from the params // on the locator uri, but that doesn't seem to work. Marshaller marshaller = new InvocationMarshaller(); UnMars...
private synchronized void checkMarshallers() { if (checked) { return; } // We shouldn't have to do this programmatically - it should pick it up from the params // on the locator uri, but that doesn't seem to work. Marshaller marshaller = new InvocationMarshaller(); UnMars...
51,450
public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); Object[] args = mi.ge...
public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); Object[] args = mi.ge...
51,451
public static void layoutContent(LayoutContext c, Box box, List contentList) { int maxAvailableWidth = c.getExtents().width; int remainingWidth = maxAvailableWidth; int minimumLineHeight = (int) c.getCurrentStyle().getLineHeight(c); LineBox currentLine = newLine(c, null, box); Lin...
public static void layoutContent(LayoutContext c, Box box, List contentList) { int maxAvailableWidth = c.getExtents().width; int remainingWidth = maxAvailableWidth; int minimumLineHeight = (int) c.getCurrentStyle().getLineHeight(c); LineBox currentLine = newLine(c, null, box); Lin...
51,452
public static void layoutContent(LayoutContext c, Box box, List contentList) { int maxAvailableWidth = c.getExtents().width; int remainingWidth = maxAvailableWidth; int minimumLineHeight = (int) c.getCurrentStyle().getLineHeight(c); LineBox currentLine = newLine(c, null, box); Lin...
public static void layoutContent(LayoutContext c, Box box, List contentList) { int maxAvailableWidth = c.getExtents().width; int remainingWidth = maxAvailableWidth; int minimumLineHeight = (int) c.getCurrentStyle().getLineHeight(c); LineBox currentLine = newLine(c, null, box); Lin...
51,453
public static void layoutContent(LayoutContext c, Box box, List contentList) { int maxAvailableWidth = c.getExtents().width; int remainingWidth = maxAvailableWidth; int minimumLineHeight = (int) c.getCurrentStyle().getLineHeight(c); LineBox currentLine = newLine(c, null, box); Lin...
public static void layoutContent(LayoutContext c, Box box, List contentList) { int maxAvailableWidth = c.getExtents().width; int remainingWidth = maxAvailableWidth; int minimumLineHeight = (int) c.getCurrentStyle().getLineHeight(c); LineBox currentLine = newLine(c, null, box); Lin...
51,454
private static void positionVertically(LayoutContext c, Box container, LineBox current) { if (current.getChildCount() == 0) { current.height = 0; } else { LineMetrics strutLM = container.getStyle().getLineMetrics(c); VerticalAlignContext vaContext = new VerticalAlignCo...
private static void positionVertically( LayoutContext c, Box container, LineBox current, MarkerData markerData) { if (current.getChildCount() == 0) { current.height = 0; } else { LineMetrics strutLM = container.getStyle().getLineMetrics(c); VerticalAlignContext vaConte...
51,455
private static void positionVertically(LayoutContext c, Box container, LineBox current) { if (current.getChildCount() == 0) { current.height = 0; } else { LineMetrics strutLM = container.getStyle().getLineMetrics(c); VerticalAlignContext vaContext = new VerticalAlignCo...
private static void positionVertically(LayoutContext c, Box container, LineBox current) { if (current.getChildCount() == 0) { current.height = 0; } else { LineMetrics strutLM = container.getStyle().getLineMetrics(c); VerticalAlignContext vaContext = new VerticalAlignCo...
51,456
private static void positionVertically(LayoutContext c, Box container, LineBox current) { if (current.getChildCount() == 0) { current.height = 0; } else { LineMetrics strutLM = container.getStyle().getLineMetrics(c); VerticalAlignContext vaContext = new VerticalAlignCo...
private static void positionVertically(LayoutContext c, Box container, LineBox current) { if (current.getChildCount() == 0) { current.height = 0; } else { LineMetrics strutLM = container.getStyle().getLineMetrics(c); VerticalAlignContext vaContext = new VerticalAlignCo...
51,457
private static void saveLine(final LineBox current, LineBox previous, final LayoutContext c, Box block, int minHeight, final int maxAvailableWidth, List elementStack, List pendingFloats, boolean hasFirstLinePCs, ...
private static void saveLine(final LineBox current, LineBox previous, final LayoutContext c, Box block, int minHeight, final int maxAvailableWidth, List elementStack, List pendingFloats, boolean hasFirstLinePCs, ...
51,458
private static void saveLine(final LineBox current, LineBox previous, final LayoutContext c, Box block, int minHeight, final int maxAvailableWidth, List elementStack, List pendingFloats, boolean hasFirstLinePCs, ...
private static void saveLine(final LineBox current, LineBox previous, final LayoutContext c, Box block, int minHeight, final int maxAvailableWidth, List elementStack, List pendingFloats, boolean hasFirstLinePCs, ...
51,459
ServerBrowserEndpoint(ServerSessionEndpoint session, int id, Channel destination, String messageSelector) throws JMSException { this.session = session; this.id = id; Filter filter = null; if (messageSelector != null) { filter = new Selector(messag...
ServerBrowserEndpoint(ServerSessionEndpoint session, int id, Channel destination, String messageSelector) throws JMSException { this.session = session; this.id = id; Filter filter = null; if (messageSelector != null) { filter = new Selector(messag...
51,460
public void close() throws JMSException { if (closed) { throw new IllegalStateException("Browser is already closed"); } iterator = null; session.producers.remove(new Integer(this.id)); JMSDispatcher.instance.unregisterTarget(new Integer(id)); closed = true; }
public void close() throws JMSException { if (closed) { throw new IllegalStateException("Browser is already closed"); } iterator = null; session.removeBrowserDelegate(id); JMSDispatcher.instance.unregisterTarget(new Integer(id)); closed = true; }
51,461
private void doRelayout(ReflowEvent evt) throws InterruptedException{ // if layout is already in progress if (root.layoutInProgress) { // Uu.p("layout already in progress. stopping for" + evt); if(root.layout_context != null) { root.layout_context.stopRendering();...
private void doRelayout(ReflowEvent evt) throws InterruptedException { // if layout is already in progress if (root.layoutInProgress) { // Uu.p("layout already in progress. stopping for" + evt); if(root.layout_context != null) { root.layout_context.stopRendering()...
51,462
private void doRelayout(ReflowEvent evt) throws InterruptedException{ // if layout is already in progress if (root.layoutInProgress) { // Uu.p("layout already in progress. stopping for" + evt); if(root.layout_context != null) { root.layout_context.stopRendering();...
private void doRelayout(ReflowEvent evt) throws InterruptedException{ // if layout is already in progress if (root.layoutInProgress) { // Uu.p("layout already in progress. stopping for" + evt); if(root.layout_context != null) { root.layout_context.stopRendering();...
51,463
private void doRelayout(ReflowEvent evt) throws InterruptedException{ // if layout is already in progress if (root.layoutInProgress) { // Uu.p("layout already in progress. stopping for" + evt); if(root.layout_context != null) { root.layout_context.stopRendering();...
private void doRelayout(ReflowEvent evt) throws InterruptedException{ // if layout is already in progress if (root.layoutInProgress) { // Uu.p("layout already in progress. stopping for" + evt); if(root.layout_context != null) { root.layout_context.stopRendering();...
51,464
private void doRelayout(ReflowEvent evt) throws InterruptedException{ // if layout is already in progress if (root.layoutInProgress) { // Uu.p("layout already in progress. stopping for" + evt); if(root.layout_context != null) { root.layout_context.stopRendering();...
private void doRelayout(ReflowEvent evt) throws InterruptedException{ // if layout is already in progress if (root.layoutInProgress) { // Uu.p("layout already in progress. stopping for" + evt); if(root.layout_context != null) { root.layout_context.stopRendering();...
51,465
public void run() { // Uu.p("starting up another thread for layout"); root.layoutInProgress = true; root.doActualLayout(root.getGraphics()); root.layoutInProgress = false; // Uu.p("layout thread finished"); }
public void run() { // Uu.p("starting up another thread for layout"); root.doActualLayout(root.getGraphics()); root.layoutInProgress = false; // Uu.p("layout thread finished"); }
51,466
public void run() { // Uu.p("starting up another thread for layout"); root.layoutInProgress = true; root.doActualLayout(root.getGraphics()); root.layoutInProgress = false; // Uu.p("layout thread finished"); }
public void run() { // Uu.p("starting up another thread for layout"); root.layoutInProgress = true; root.doActualLayout(root.getGraphics()); // Uu.p("layout thread finished"); }
51,467
public void startLayoutLoop() throws InterruptedException { while (true) { //Uu.p("waiting for a layout event"); ReflowEvent evt = root.queue.waitForNextLayoutEvent(); if (evt == null) { return; } Uu.p("got a layout event: " + evt); ...
private void startLayoutLoop() throws InterruptedException { while (true) { //Uu.p("waiting for a layout event"); ReflowEvent evt = root.queue.waitForNextLayoutEvent(); if (evt == null) { return; } Uu.p("got a layout event: " + evt); ...
51,468
public void startLayoutLoop() throws InterruptedException { while (true) { //Uu.p("waiting for a layout event"); ReflowEvent evt = root.queue.waitForNextLayoutEvent(); if (evt == null) { return; } Uu.p("got a layout event: " + evt); ...
public void startLayoutLoop() throws InterruptedException { while (true) { //Uu.p("waiting for a layout event"); ReflowEvent evt = root.queue.waitForNextLayoutEvent(); if (evt == null) { return; } Uu.p("got a layout event: " + evt); ...
51,469
public void startLayoutLoop() throws InterruptedException { while (true) { //Uu.p("waiting for a layout event"); ReflowEvent evt = root.queue.waitForNextLayoutEvent(); if (evt == null) { return; } Uu.p("got a layout event: " + evt); ...
public void startLayoutLoop() throws InterruptedException { while (true) { //Uu.p("waiting for a layout event"); ReflowEvent evt = root.queue.waitForNextLayoutEvent(); if (evt == null) { return; } Uu.p("got a layout event: " + evt); ...
51,470
public void add(MessageReference ref, Transaction tx) throws Throwable { super.add(ref, tx); if (ref.isReliable()) { //Reliable message in a recoverable state - also add to db if (log.isTraceEnabled()) { log.trace("adding " + ref + (tx == null ? " to database non-transactionally" : "...
public void add(MessageReference ref, Transaction tx) throws Throwable { super.add(ref, tx); if (ref.isReliable()) { //Reliable message in a recoverable state - also add to db if (log.isTraceEnabled()) { log.trace("adding " + ref + (tx == null ? " to database non-transactionally" : "...
51,472
public void addFirst(MessageReference ref) throws Throwable { super.addFirst(ref); if (ref.isReliable()) { //Reliable message in a recoverable state - also add to db if (log.isTraceEnabled()) { log.trace("adding " + ref + " to database"); } // TODO Q1 - have a method that enf...
public void addFirst(MessageReference ref) throws Throwable { super.addFirst(ref); if (ref.isReliable()) { //Reliable message in a recoverable state - also add to db if (log.isTraceEnabled()) { log.trace("adding " + ref + " to database"); } // TODO Q1 - have a method that enf...
51,473
public boolean remove(MessageReference ref) throws Throwable { boolean memory = super.remove(ref); if (!memory) { return false; } if (ref.isReliable()) { boolean database = pm.remove(channelID, ref); if (database && log.isTraceEnabled()) { log.trace("removed " ...
public boolean remove(MessageReference ref) throws Throwable { boolean memory = super.remove(ref); if (!memory) { return false; } if (ref.isReliable()) { boolean database = pm.remove(channelID, ref); if (database && log.isTraceEnabled()) { log.trace("removed " ...
51,474
public boolean remove(MessageReference ref) throws Throwable { boolean memory = super.remove(ref); if (!memory) { return false; } if (ref.isReliable()) { boolean database = pm.remove(channelID, ref); if (database && log.isTraceEnabled()) { log.trace("removed " ...
public boolean remove(MessageReference ref) throws Throwable { boolean memory = super.remove(ref); if (!memory) { boolean memory = super.remove(ref); if (!memory) { return false; } if (ref.isReliable()) { boolean database = pm.remove(channelID, ref); if (database && log.isTraceEnabled()) { ...
51,475
public boolean remove(MessageReference ref) throws Throwable { boolean memory = super.remove(ref); if (!memory) { return false; } if (ref.isReliable()) { boolean database = pm.remove(channelID, ref); if (database && log.isTraceEnabled()) { log.trace("removed " ...
public boolean remove(MessageReference ref) throws Throwable { boolean memory = super.remove(ref); if (!memory) { return false; } if (ref.isReliable()) { boolean database = pm.remove(channelID, ref); if (database && log.isTraceEnabled()) { log.trace("removed " ...
51,476
protected Client getClient() { //Use the Client in the Connection's state return ((ConnectionState)state.getParent().getParent()).getClient(); }
protected Client getClient() { //Use the Client in the Connection's state return ((ConnectionState)state.getParent().getParent()).getRemotingConnection().getInvokingClient(); }
51,477
public BlockFormattingContext(PersistentBFC p) { persistentBFC = p; }
public BlockFormattingContext(PersistentBFC p) { persistentBFC = p; }
51,478
public void close() {// if (closed)// {// return Collections.EMPTY_LIST;// } setClosed(true); log.debug("closing " + this); if (receivingThread != null) { if (log.isTraceEnabled()) { log.trace("interrupting receiving thread"); } receivingThread.interrupt()...
public void close() {// if (closed)// {// return Collections.EMPTY_LIST;// } setClosed(true); log.debug("closing " + this); if (receivingThread != null) { if (log.isTraceEnabled()) { log.trace("interrupting receiving thread"); } receivingThread.interrupt(); } // evict messages sitting in the buffer, they ...
51,479
public void close() {// if (closed)// {// return Collections.EMPTY_LIST;// } setClosed(true); log.debug("closing " + this); if (receivingThread != null) { if (log.isTraceEnabled()) { log.trace("interrupting receiving thread"); } receivingThread.interrupt()...
public void close() {//if (closed)//{// return Collections.EMPTY_LIST;//}setClosed(true);log.debug("closing " + this);if (receivingThread != null){ if (log.isTraceEnabled()) { log.trace("interrupting receiving thread"); } receivingThread.interrupt();}// evict messages sitting in the buffer, they need to be "undelivere...
51,480
public void close() {// if (closed)// {// return Collections.EMPTY_LIST;// } setClosed(true); log.debug("closing " + this); if (receivingThread != null) { if (log.isTraceEnabled()) { log.trace("interrupting receiving thread"); } receivingThread.interrupt()...
public void close() {//if (closed)//{// return Collections.EMPTY_LIST;//}setClosed(true);log.debug("closing " + this);if (receivingThread != null){ if (log.isTraceEnabled()) { log.trace("interrupting receiving thread"); } receivingThread.interrupt();}// evict messages sitting in the buffer, they need to be "undelivere...
51,481