bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
public Set handle(DeliveryObserver observer, Routable routable, Transaction tx) { Set deliveries = new HashSet(); boolean selectorRejected = false; synchronized(receivers) { if (receivers.isEmpty()) { return deliveries; } int first... | public Set handle(DeliveryObserver observer, Routable routable, Transaction tx) { Set deliveries = new HashSet(); boolean selectorRejected = false; synchronized(receivers) { if (receivers.isEmpty()) { return deliveries; } int first... | 52,379 |
public Set handle(DeliveryObserver observer, Routable routable, Transaction tx) { Set deliveries = new HashSet(); boolean selectorRejected = false; synchronized(receivers) { if (receivers.isEmpty()) { return deliveries; } int first... | public Set handle(DeliveryObserver observer, Routable routable, Transaction tx) { Set deliveries = new HashSet(); boolean selectorRejected = false; synchronized(receivers) { if (receivers.isEmpty()) { return deliveries; } int first... | 52,380 |
public Set handle(DeliveryObserver observer, Routable routable, Transaction tx) { Set deliveries = new HashSet(); boolean selectorRejected = false; synchronized(receivers) { if (receivers.isEmpty()) { return deliveries; } int first... | public Set handle(DeliveryObserver observer, Routable routable, Transaction tx) { Set deliveries = new HashSet(); boolean selectorRejected = false; synchronized(receivers) { if (receivers.isEmpty()) { return deliveries; } int first... | 52,381 |
public Set handle(DeliveryObserver observer, Routable routable, Transaction tx) { Set deliveries = new HashSet(); boolean selectorRejected = false; synchronized(receivers) { if (receivers.isEmpty()) { return deliveries; } int first... | public Set handle(DeliveryObserver observer, Routable routable, Transaction tx) { Set deliveries = new HashSet(); boolean selectorRejected = false; synchronized(receivers) { if (receivers.isEmpty()) { return deliveries; } int first... | 52,382 |
protected void incPos() { pos++; //Wrap around if (pos == receivers.size()) { pos = 0; } } | protected void incPos() { pos++; //Wrap around if (pos >= receivers.size()) { pos = 0; } } | 52,383 |
protected void reset() { //Reset back to the first one pos = 0; } | protected void reset() { //Reset back to the first one pos = 0; } | 52,384 |
public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTraceEnable... | public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTraceEnable... | 52,385 |
public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTraceEnable... | public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTraceEnable... | 52,386 |
public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTraceEnable... | public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTraceEnable... | 52,387 |
public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTraceEnable... | public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTraceEnable... | 52,388 |
public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTraceEnable... | public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTraceEnable... | 52,389 |
public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTraceEnable... | public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTraceEnable... | 52,390 |
public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTraceEnable... | public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTraceEnable... | 52,391 |
public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTraceEnable... | public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTraceEnable... | 52,392 |
public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTraceEnable... | public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTraceEnable... | 52,393 |
public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTraceEnable... | public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTraceEnable... | 52,394 |
public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTraceEnable... | public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTraceEnable... | 52,395 |
public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTraceEnable... | publicObjectinvoke(Invocationinvocation)throwsThrowable{if(!(invocationinstanceofMethodInvocation)){returninvocation.invokeNext();}MethodInvocationmi=(MethodInvocation)invocation;StringmethodName=mi.getMethod().getName();if(log.isTraceEnabled()){log.trace("InTransactionInterceptor:methodis"+methodName);}if("createSessi... | 52,396 |
public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTraceEnable... | publicObjectinvoke(Invocationinvocation)throwsThrowable{if(!(invocationinstanceofMethodInvocation)){returninvocation.invokeNext();}MethodInvocationmi=(MethodInvocation)invocation;StringmethodName=mi.getMethod().getName();if(log.isTraceEnabled()){log.trace("InTransactionInterceptor:methodis"+methodName);}if("createSessi... | 52,397 |
public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTraceEnable... | public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.isTraceEnable... | 52,398 |
public int getInnerWidth() { return this.inner_width; } | public int getInnerWidth() { return this.inner_width; } | 52,399 |
public String getTestString() { StringBuffer sb = new StringBuffer(); // type sb.append(" " + this.hashCode()+" "); if (this instanceof LineBox) { sb.append("line:"); } else if (this instanceof InlineBox) { sb.append("inline:"); } else { sb.... | public String getTestString() { StringBuffer sb = new StringBuffer(); // type sb.append(" " + this.hashCode() + " "); if (this instanceof LineBox) { sb.append("line:"); } else if (this instanceof InlineBox) { sb.append("inline:"); } else { s... | 52,400 |
public void setFixedDescendant(boolean fixed_descendant) { this.fixed_descendant = fixed_descendant; if(this.getParent() != null && fixed_descendant) { this.getParent().setFixedDescendant(true); } } | public void setFixedDescendant(boolean fixed_descendant) { this.fixed_descendant = fixed_descendant; if (this.getParent() != null && fixed_descendant) { this.getParent().setFixedDescendant(true); } } | 52,401 |
public void setInnerWidth(int width) { this.inner_width = width; } | public void setInnerWidth(int width) { this.inner_width = width; } | 52,402 |
public void setWidth(int width) { this.width = width; } | public void setWidth(int width) { this.width = width; } | 52,403 |
public static String stateToString(int state) { switch(state) { case NOTHING: return "NOTHING"; case FLUX: return "FLUX"; case CHILDREN_FLUX: return "CHILDREN_FLUX"; case DONE: return "DONE"; default: return "unknown"; } } | public static String stateToString(int state) { switch(state) { case NOTHING: return "NOTHING"; case FLUX: return "FLUX"; case CHILDREN_FLUX: return "CHILDREN_FLUX"; case DONE: return "DONE"; default: return "unknown"; } } | 52,404 |
static void paintInlineContext(Context c, Box box, boolean restyle) { //dummy style to make sure that text nodes don't get extra padding and such { LinkedList decorations = c.getDecorations(); c.pushStyle(CascadedStyle.emptyCascadedStyle); //BlockBox block = (BlockBox)... | static void paintInlineContext(Context c, Box box, boolean restyle) { //dummy style to make sure that text nodes don't get extra padding and such { LinkedList decorations = c.getDecorations(); //BlockBox block = (BlockBox)box; // translate into local coord... | 52,408 |
static void paintInlineContext(Context c, Box box, boolean restyle) { //dummy style to make sure that text nodes don't get extra padding and such { LinkedList decorations = c.getDecorations(); c.pushStyle(CascadedStyle.emptyCascadedStyle); //BlockBox block = (BlockBox)... | static void paintInlineContext(Context c, Box box, boolean restyle) { //dummy style to make sure that text nodes don't get extra padding and such { LinkedList decorations = c.getDecorations(); c.pushStyle(CascadedStyle.emptyCascadedStyle); //BlockBox block = (BlockBox)... | 52,409 |
public static void paintLeftPadding(Context c, LineBox line, InlineBox inline, int padX, Border margin, Border border, Border padding) { int padding_yoff = margin.top + border.top + padding.top; //if (padding.left <= 0 && border.left <= 0) return; int ty = line.getBaseline() - inline.y - inline... | public static void paintLeftPadding(Context c, LineBox line, InlineBox inline, int padX, Border margin, Border border, Border padding) { int padding_yoff = margin.top + border.top + padding.top; //if (padding.left <= 0 && border.left <= 0) return; int ty = line.getBaseline() - inline.y - inline... | 52,410 |
public static void paintRightPadding(Context c, LineBox line, InlineBox inline, int padX, Border margin, Border border, Border padding) { int padding_yoff = margin.top + border.top + padding.top; if (padding.right <= 0 && border.right <= 0) return; int ty = line.getBaseline() - inline.y - inlin... | public static void paintRightPadding(Context c, LineBox line, InlineBox inline, int padX, Border margin, Border border, Border padding) { int padding_yoff = margin.top + border.top + padding.top; int ty = line.getBaseline() - inline.y - inline.height - padding_yoff + line.y; LineMetrics... | 52,411 |
static void paintAbsolute(Context c, Box inline) { // Uu.p("paint absolute: " + inline); //c.translate(line.x, line.y + (line.baseline - inline.height)); /*Renderer rend = c.getRenderer(inline.content.getElement()); rend.paint(c, inline);*/ BoxRendering.paint(c, inline); //... | static void paintAbsolute(Context c, Box inline) { // Uu.p("paint absolute: " + inline); //c.translate(line.x, line.y + (line.baseline - inline.height)); /*Renderer rend = c.getRenderer(inline.content.getElement()); rend.paint(c, inline);*/ BoxRendering.paint(c, inline, false); ... | 52,414 |
static void paintFloat(Context c, InlineBox inline) { // Uu.p("painting a float: " + inline); Rectangle oe = c.getExtents(); c.setExtents(new Rectangle(oe.x, 0, oe.width, oe.height)); //int xoff = line.Xx + inline.Xx; int xoff = 0; int yoff = 0;//line.y + ( line.baseline - ... | static void paintFloat(Context c, InlineBox inline) { // Uu.p("painting a float: " + inline); Rectangle oe = c.getExtents(); c.setExtents(new Rectangle(oe.x, 0, oe.width, oe.height)); //int xoff = line.Xx + inline.Xx; int xoff = 0; int yoff = 0;//line.y + ( line.baseline - ... | 52,415 |
static void paintInline(Context c, InlineBox ib, int lx, int ly, LineBox line) { if (ib.floated) { paintFloat(c, ib); debugInlines(c, ib, lx, ly); return; } // Uu.p("paintInline: " + inline); if (ib instanceof InlineBlockBox) { paintReplaced(c,... | static void paintInline(Context c, InlineBox ib, int lx, int ly, LineBox line, int blockLineHeight, LineMetrics blockLineMetrics) { if (ib.floated) { paintFloat(c, ib); debugInlines(c, ib, lx, ly); return; } // Uu.p("paintInline: " + inline); if (ib insta... | 52,416 |
static void paintInline(Context c, InlineBox ib, int lx, int ly, LineBox line) { if (ib.floated) { paintFloat(c, ib); debugInlines(c, ib, lx, ly); return; } // Uu.p("paintInline: " + inline); if (ib instanceof InlineBlockBox) { paintReplaced(c,... | static void paintInline(Context c, InlineBox ib, int lx, int ly, LineBox line) { if (ib.floated) { paintFloat(c, ib); debugInlines(c, ib, lx, ly); return; } // Uu.p("paintInline: " + inline); if (ib instanceof InlineBlockBox) { paintReplaced(c,... | 52,417 |
static void paintInline(Context c, InlineBox ib, int lx, int ly, LineBox line) { if (ib.floated) { paintFloat(c, ib); debugInlines(c, ib, lx, ly); return; } // Uu.p("paintInline: " + inline); if (ib instanceof InlineBlockBox) { paintReplaced(c,... | static void paintInline(Context c, InlineBox ib, int lx, int ly, LineBox line) { if (ib.floated) { paintFloat(c, ib); debugInlines(c, ib, lx, ly); return; } // Uu.p("paintInline: " + inline); if (ib instanceof InlineBlockBox) { paintReplaced(c,... | 52,418 |
static void paintInline(Context c, InlineBox ib, int lx, int ly, LineBox line) { if (ib.floated) { paintFloat(c, ib); debugInlines(c, ib, lx, ly); return; } // Uu.p("paintInline: " + inline); if (ib instanceof InlineBlockBox) { paintReplaced(c,... | static void paintInline(Context c, InlineBox ib, int lx, int ly, LineBox line) { if (ib.floated) { paintFloat(c, ib); debugInlines(c, ib, lx, ly); return; } // Uu.p("paintInline: " + inline); if (ib instanceof InlineBlockBox) { paintReplaced(c,... | 52,419 |
static void paintInline(Context c, InlineBox ib, int lx, int ly, LineBox line) { if (ib.floated) { paintFloat(c, ib); debugInlines(c, ib, lx, ly); return; } // Uu.p("paintInline: " + inline); if (ib instanceof InlineBlockBox) { paintReplaced(c,... | static void paintInline(Context c, InlineBox ib, int lx, int ly, LineBox line) { if (ib.floated) { paintFloat(c, ib); debugInlines(c, ib, lx, ly); return; } // Uu.p("paintInline: " + inline); if (ib instanceof InlineBlockBox) { paintReplaced(c,... | 52,420 |
static void paintInline(Context c, InlineBox ib, int lx, int ly, LineBox line) { if (ib.floated) { paintFloat(c, ib); debugInlines(c, ib, lx, ly); return; } // Uu.p("paintInline: " + inline); if (ib instanceof InlineBlockBox) { paintReplaced(c,... | static void paintInline(Context c, InlineBox ib, int lx, int ly, LineBox line) { if (ib.floated) { paintFloat(c, ib); debugInlines(c, ib, lx, ly); return; } // Uu.p("paintInline: " + inline); if (ib instanceof InlineBlockBox) { paintReplaced(c,... | 52,421 |
static void paintInlineContext(Context c, Box box) { //BlockBox block = (BlockBox)box; // translate into local coords // account for the origin of the containing box c.translate(box.x, box.y); // for each line box BlockBox block = null; if (box instanceof BlockBox) {... | static void paintInlineContext(Context c, Box box) { //BlockBox block = (BlockBox)box; // translate into local coords // account for the origin of the containing box c.translate(box.x, box.y); // for each line box BlockBox block = null; if (box instanceof BlockBox) {... | 52,422 |
static void paintInlineContext(Context c, Box box) { //BlockBox block = (BlockBox)box; // translate into local coords // account for the origin of the containing box c.translate(box.x, box.y); // for each line box BlockBox block = null; if (box instanceof BlockBox) {... | static void paintInlineContext(Context c, Box box) { //BlockBox block = (BlockBox)box; // translate into local coords // account for the origin of the containing box c.translate(box.x, box.y); // for each line box BlockBox block = null; if (box instanceof BlockBox) {... | 52,423 |
static void paintLine(Context c, LineBox line) { // get Xx and y int lx = line.x; int ly = line.y + line.baseline; // for each inline box for (int j = 0; j < line.getChildCount(); j++) { Box child = line.getChild(j); if (child.absolute) { paint... | static void paintLine(Context c, LineBox line, int blockLineHeight, LineMetrics blockLineMetrics) { // get Xx and y int lx = line.x; int ly = line.y + line.baseline; // for each inline box for (int j = 0; j < line.getChildCount(); j++) { Box child = line.getChild(j); ... | 52,424 |
static void paintLine(Context c, LineBox line) { // get Xx and y int lx = line.x; int ly = line.y + line.baseline; // for each inline box for (int j = 0; j < line.getChildCount(); j++) { Box child = line.getChild(j); if (child.absolute) { paint... | static void paintLine(Context c, LineBox line) { // get Xx and y int lx = line.x; int ly = line.y + line.getBaseline(); // for each inline box for (int j = 0; j < line.getChildCount(); j++) { Box child = line.getChild(j); if (child.absolute) { ... | 52,425 |
static void paintLine(Context c, LineBox line) { // get Xx and y int lx = line.x; int ly = line.y + line.baseline; // for each inline box for (int j = 0; j < line.getChildCount(); j++) { Box child = line.getChild(j); if (child.absolute) { paint... | static void paintLine(Context c, LineBox line) { // get Xx and y int lx = line.x; int ly = line.y + line.baseline; // for each inline box for (int j = 0; j < line.getChildCount(); j++) { Box child = line.getChild(j); if (child.absolute) { paint... | 52,426 |
public static void paintPadding(Context c, LineBox line, InlineBox inline) { //Uu.p("painting border: " + inline.border); // paint the background int padding_xoff = 0; int padding_yoff = inline.totalTopPadding(c.getCurrentStyle()); int ty = line.baseline - inline.y - inline.height... | public static void paintPadding(Context c, LineBox line, InlineBox inline) { //Uu.p("painting border: " + inline.border); // paint the background int padding_xoff = 0; int padding_yoff = inline.totalTopPadding(c.getCurrentStyle()); int ty = line.getBaseline() - inline.y - inline.h... | 52,427 |
public static void paintText(Context c, int lx, int ly, int ix, int iy, InlineTextBox inline) { String text = inline.getSubstring(); Graphics g = c.getGraphics(); //adjust font for current settings Font oldfont = c.getGraphics().getFont(); c.getGraphics().setFont(FontUtil.getFont(... | public static void paintText(Context c, int lx, int ly, int ix, int iy, InlineTextBox inline) { String text = inline.getSubstring(); Graphics g = c.getGraphics(); //adjust font for current settings Font oldfont = c.getGraphics().getFont(); c.getGraphics().setFont(FontUtil.getFont(... | 52,428 |
public boolean setCurrentAccessibleValue(Number number) { if (number.intValue() == 0) { setEnabled(false); return false; } setEnabled(true); return true; } | public boolean setCurrentAccessibleValue(Number number) { if (number.intValue() == 0) { setEnabled(false); return false; } setEnabled(true); return true; } | 52,429 |
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { super.readExternal(in); int length = in.readInt(); if (length < 0) { internalArray = null; } else { internalArray = new byte[length]; in.readFully(internalArray); } ... | public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { super.readExternal(in); int length = in.readInt(); if (length < 0) { internalArray = null; } else { internalArray = new byte[length]; in.readFully(internalArray); } ... | 52,430 |
ServerConsumerEndpoint(String id, Channel channel, InvokerCallbackHandler callbackHandler, ServerSessionEndpoint sessionEndpoint, String selector, boolean noLocal) throws InvalidSelectorException { log.debug("... | ServerConsumerEndpoint(String id, Channel channel, InvokerCallbackHandler callbackHandler, ServerSessionEndpoint sessionEndpoint, String selector, boolean noLocal) throws InvalidSelectorException { log.debug("... | 52,431 |
ServerConsumerEndpoint(String id, Channel channel, InvokerCallbackHandler callbackHandler, ServerSessionEndpoint sessionEndpoint, String selector, boolean noLocal) throws InvalidSelectorException { log.debug("... | ServerConsumerEndpoint(String id, Channel channel, InvokerCallbackHandler callbackHandler, ServerSessionEndpoint sessionEndpoint, String selector, boolean noLocal) throws InvalidSelectorException { log.debug("... | 52,432 |
ServerConsumerEndpoint(String id, Channel channel, InvokerCallbackHandler callbackHandler, ServerSessionEndpoint sessionEndpoint, String selector, boolean noLocal) throws InvalidSelectorException { log.debug("... | ServerConsumerEndpoint(String id, Channel channel, InvokerCallbackHandler callbackHandler, ServerSessionEndpoint sessionEndpoint, String selector, boolean noLocal) throws InvalidSelectorException { log.debug("... | 52,433 |
public boolean accept(Routable r) { boolean accept = true; if (messageSelector != null) { accept = messageSelector.accept(r); if (log.isTraceEnabled()) { log.trace("message selector " + (accept ? "accepts " : "DOES NOT accept ") + "the message"); } } if (accept) { ... | public boolean accept(Routable r) { boolean accept = true; if (messageSelector != null) { accept = messageSelector.accept(r); if (log.isTraceEnabled()) { log.trace("message selector " + (accept ? "accepts " : "DOES NOT accept ") + "the message"); } } if (accept) { ... | 52,434 |
public boolean accept(Routable r) { boolean accept = true; if (messageSelector != null) { accept = messageSelector.accept(r); if (log.isTraceEnabled()) { log.trace("message selector " + (accept ? "accepts " : "DOES NOT accept ") + "the message"); } } if (accept) { ... | public boolean accept(Routable r) { boolean accept = true; if (messageSelector != null) { accept = messageSelector.accept(r); if (log.isTraceEnabled()) { log.trace("message selector " + (accept ? "accepts " : "DOES NOT accept ") + "the message"); } } if (accept) { ... | 52,435 |
void acknowledge(String messageID, Transaction tx) throws JMSException { if (log.isTraceEnabled()) { log.trace("acknowledging " + messageID); } try { acquireLock(); for(Iterator i = deliveries.iterator(); i.hasNext(); ) { SingleReceiverDelivery d = (Single... | synchronized void acknowledge(String messageID, Transaction tx) throws JMSException { if (log.isTraceEnabled()) { log.trace("acknowledging " + messageID); } try { acquireLock(); for(Iterator i = deliveries.iterator(); i.hasNext(); ) { SingleReceiverDeliver... | 52,436 |
void acknowledge(String messageID, Transaction tx) throws JMSException { if (log.isTraceEnabled()) { log.trace("acknowledging " + messageID); } try { acquireLock(); for(Iterator i = deliveries.iterator(); i.hasNext(); ) { SingleReceiverDelivery d = (Single... | void acknowledge(String messageID, Transaction tx) throws JMSException { if (log.isTraceEnabled()) { log.trace("acknowledging " + messageID); } try { acquireLock(); for(Iterator i = deliveries.iterator(); i.hasNext(); ) { SingleReceiverDelivery d = (Single... | 52,437 |
void acknowledge(String messageID, Transaction tx) throws JMSException { if (log.isTraceEnabled()) { log.trace("acknowledging " + messageID); } try { acquireLock(); for(Iterator i = deliveries.iterator(); i.hasNext(); ) { SingleReceiverDelivery d = (Single... | void acknowledge(String messageID, Transaction tx) throws JMSException { if (log.isTraceEnabled()) { log.trace("acknowledging " + messageID); } try { for(Iterator i = deliveries.iterator(); i.hasNext(); ) { SingleReceiverDelivery d = (SingleReceiverDelivery... | 52,438 |
void acknowledge(String messageID, Transaction tx) throws JMSException { if (log.isTraceEnabled()) { log.trace("acknowledging " + messageID); } try { acquireLock(); for(Iterator i = deliveries.iterator(); i.hasNext(); ) { SingleReceiverDelivery d = (Single... | void acknowledge(String messageID, Transaction tx) throws JMSException { if (log.isTraceEnabled()) { log.trace("acknowledging " + messageID); } try { acquireLock(); for(Iterator i = deliveries.iterator(); i.hasNext(); ) { SingleReceiverDelivery d = (Single... | 52,439 |
void acknowledgeAll() throws JMSException { try { acquireLock(); for(Iterator i = deliveries.iterator(); i.hasNext(); ) { SingleReceiverDelivery d = (SingleReceiverDelivery)i.next(); d.acknowledge(null); i.remove(); } ... | synchronized void acknowledgeAll() throws JMSException { try { acquireLock(); for(Iterator i = deliveries.iterator(); i.hasNext(); ) { SingleReceiverDelivery d = (SingleReceiverDelivery)i.next(); d.acknowledge(null); i.remove(); ... | 52,440 |
void acknowledgeAll() throws JMSException { try { acquireLock(); for(Iterator i = deliveries.iterator(); i.hasNext(); ) { SingleReceiverDelivery d = (SingleReceiverDelivery)i.next(); d.acknowledge(null); i.remove(); } ... | void acknowledgeAll() throws JMSException { try { acquireLock(); for(Iterator i = deliveries.iterator(); i.hasNext(); ) { SingleReceiverDelivery d = (SingleReceiverDelivery)i.next(); d.acknowledge(null); i.remove(); } ... | 52,441 |
void acknowledgeAll() throws JMSException { try { acquireLock(); for(Iterator i = deliveries.iterator(); i.hasNext(); ) { SingleReceiverDelivery d = (SingleReceiverDelivery)i.next(); d.acknowledge(null); i.remove(); } ... | void acknowledgeAll() throws JMSException { try { acquireLock(); for(Iterator i = deliveries.iterator(); i.hasNext(); ) { SingleReceiverDelivery d = (SingleReceiverDelivery)i.next(); d.acknowledge(null); i.remove(); } ... | 52,442 |
public void activate() throws JMSException { try { if (log.isTraceEnabled()) { log.trace("activate:" + this); } acquireLock(); if (closed) { //Do nothing return; } ready = true; promptDelivery(); ... | public synchronized void activate() throws JMSException { try { if (log.isTraceEnabled()) { log.trace("activate:" + this); } acquireLock(); if (closed) { //Do nothing return; } ready = true; promptDel... | 52,443 |
public void activate() throws JMSException { try { if (log.isTraceEnabled()) { log.trace("activate:" + this); } acquireLock(); if (closed) { //Do nothing return; } ready = true; promptDelivery(); ... | public void activate() throws JMSException { if (closed) { if (log.isTraceEnabled()) { log.trace("activate:" + this); } acquireLock(); if (closed) { //Do nothing return; } ready = true; promptDelivery... | 52,444 |
public void activate() throws JMSException { try { if (log.isTraceEnabled()) { log.trace("activate:" + this); } acquireLock(); if (closed) { //Do nothing return; } ready = true; promptDelivery(); ... | public void activate() throws JMSException { try { if (log.isTraceEnabled()) { log.trace("activate:" + this); } acquireLock(); if (closed) { //Do nothing return; } ready = true; promptDelivery(); ... | 52,445 |
public void activate() throws JMSException { try { if (log.isTraceEnabled()) { log.trace("activate:" + this); } acquireLock(); if (closed) { //Do nothing return; } ready = true; promptDelivery(); ... | public void activate() throws JMSException { try { if (log.isTraceEnabled()) { log.trace("activate:" + this); } acquireLock(); if (closed) { //Do nothing return; } ready = true; promptDelivery(); ... | 52,446 |
void cancelAllDeliveries() throws JMSException { try { acquireLock(); if (log.isTraceEnabled()) { log.trace(this + " cancels deliveries"); } //Need to cancel starting at the end of the list and working to the front //in order that the messages end up back in... | synchronized void cancelAllDeliveries() throws JMSException { try { acquireLock(); if (log.isTraceEnabled()) { log.trace(this + " cancels deliveries"); } //Need to cancel starting at the end of the list and working to the front //in order that the messages e... | 52,447 |
void cancelAllDeliveries() throws JMSException { try { acquireLock(); if (log.isTraceEnabled()) { log.trace(this + " cancels deliveries"); } //Need to cancel starting at the end of the list and working to the front //in order that the messages end up back in... | void cancelAllDeliveries() throws JMSException { try { acquireLock(); if (log.isTraceEnabled()) { log.trace(this + " cancels deliveries"); } //Need to cancel starting at the end of the list and working to the front //in order that the messages end up back in... | 52,448 |
void cancelAllDeliveries() throws JMSException { try { acquireLock(); if (log.isTraceEnabled()) { log.trace(this + " cancels deliveries"); } //Need to cancel starting at the end of the list and working to the front //in order that the messages end up back in... | void cancelAllDeliveries() throws JMSException { try { acquireLock(); if (log.isTraceEnabled()) { log.trace(this + " cancels deliveries"); } //Need to cancel starting at the end of the list and working to the front //in order that the messages end up back in... | 52,449 |
void cancelAllDeliveries() throws JMSException { try { acquireLock(); if (log.isTraceEnabled()) { log.trace(this + " cancels deliveries"); } //Need to cancel starting at the end of the list and working to the front //in order that the messages end up back in... | void cancelAllDeliveries() throws JMSException { try { acquireLock(); if (log.isTraceEnabled()) { log.trace(this + " cancels deliveries"); } //Need to cancel starting at the end of the list and working to the front //in order that the messages end up back in... | 52,450 |
void cancelAllDeliveries() throws JMSException { try { acquireLock(); if (log.isTraceEnabled()) { log.trace(this + " cancels deliveries"); } //Need to cancel starting at the end of the list and working to the front //in order that the messages end up back in... | void cancelAllDeliveries() throws JMSException { try { acquireLock(); if (log.isTraceEnabled()) { log.trace(this + " cancels deliveries"); } //Need to cancel starting at the end of the list and working to the front //in order that the messages end up back in... | 52,451 |
void cancelAllDeliveries() throws JMSException { try { acquireLock(); if (log.isTraceEnabled()) { log.trace(this + " cancels deliveries"); } //Need to cancel starting at the end of the list and working to the front //in order that the messages end up back in... | void cancelAllDeliveries() throws JMSException { try { acquireLock(); if (log.isTraceEnabled()) { log.trace(this + " cancels deliveries"); } //Need to cancel starting at the end of the list and working to the front //in order that the messages end up back in... | 52,452 |
void cancelAllDeliveries() throws JMSException { try { acquireLock(); if (log.isTraceEnabled()) { log.trace(this + " cancels deliveries"); } //Need to cancel starting at the end of the list and working to the front //in order that the messages end up back in... | void cancelAllDeliveries() throws JMSException { try { acquireLock(); if (log.isTraceEnabled()) { log.trace(this + " cancels deliveries"); } //Need to cancel starting at the end of the list and working to the front //in order that the messages end up back in... | 52,453 |
public void cancelMessage(Serializable messageID) throws JMSException { try { acquireLock(); boolean cancelled = false; Iterator iter = deliveries.iterator(); try { while (iter.hasNext()) { SingleReceiverD... | public synchronized void cancelMessage(Serializable messageID) throws JMSException { try { acquireLock(); boolean cancelled = false; Iterator iter = deliveries.iterator(); try { while (iter.hasNext()) { Si... | 52,454 |
public void cancelMessage(Serializable messageID) throws JMSException { try { acquireLock(); boolean cancelled = false; Iterator iter = deliveries.iterator(); try { while (iter.hasNext()) { SingleReceiverD... | public void cancelMessage(Serializable messageID) throws JMSException { try { acquireLock(); boolean cancelled = false; Iterator iter = deliveries.iterator(); try { while (iter.hasNext()) { SingleReceiverD... | 52,455 |
public void cancelMessage(Serializable messageID) throws JMSException { try { acquireLock(); boolean cancelled = false; Iterator iter = deliveries.iterator(); try { while (iter.hasNext()) { SingleReceiverD... | public void cancelMessage(Serializable messageID) throws JMSException { try { acquireLock(); boolean cancelled = false; Iterator iter = deliveries.iterator(); try { while (iter.hasNext()) { SingleReceiverD... | 52,456 |
public void cancelMessage(Serializable messageID) throws JMSException { try { acquireLock(); boolean cancelled = false; Iterator iter = deliveries.iterator(); try { while (iter.hasNext()) { SingleReceiverD... | public void cancelMessage(Serializable messageID) throws JMSException { try { acquireLock(); boolean cancelled = false; Iterator iter = deliveries.iterator(); try { while (iter.hasNext()) { SingleReceiverD... | 52,457 |
public void cancelMessage(Serializable messageID) throws JMSException { try { acquireLock(); boolean cancelled = false; Iterator iter = deliveries.iterator(); try { while (iter.hasNext()) { SingleReceiverD... | public void cancelMessage(Serializable messageID) throws JMSException { try { acquireLock(); boolean cancelled = false; Iterator iter = deliveries.iterator(); try { while (iter.hasNext()) { SingleReceiverD... | 52,458 |
public void cancelMessage(Serializable messageID) throws JMSException { try { acquireLock(); boolean cancelled = false; Iterator iter = deliveries.iterator(); try { while (iter.hasNext()) { SingleReceiverD... | public void cancelMessage(Serializable messageID) throws JMSException { try { acquireLock(); boolean cancelled = false; Iterator iter = deliveries.iterator(); try { while (iter.hasNext()) { SingleReceiverD... | 52,459 |
public void cancelMessage(Serializable messageID) throws JMSException { try { acquireLock(); boolean cancelled = false; Iterator iter = deliveries.iterator(); try { while (iter.hasNext()) { SingleReceiverD... | public void cancelMessage(Serializable messageID) throws JMSException { try { acquireLock(); boolean cancelled = false; Iterator iter = deliveries.iterator(); try { while (iter.hasNext()) { SingleReceiverD... | 52,460 |
public void close() throws JMSException { try { acquireLock(); if (closed) { throw new IllegalStateException("Consumer is already closed"); } if (log.isTraceEnabled()) { log.trace(this.id + " close"); } closed = true; //On close ... | public synchronized void close() throws JMSException { try { acquireLock(); if (closed) { throw new IllegalStateException("Consumer is already closed"); } if (log.isTraceEnabled()) { log.trace(this.id + " close"); } closed = true; ... | 52,461 |
public void close() throws JMSException { try { acquireLock(); if (closed) { throw new IllegalStateException("Consumer is already closed"); } if (log.isTraceEnabled()) { log.trace(this.id + " close"); } closed = true; //On close ... | public void close() throws JMSException { if (closed) { acquireLock(); if (closed) { throw new IllegalStateException("Consumer is already closed"); } if (log.isTraceEnabled()) { log.trace(this.id + " close"); } closed = true; //O... | 52,462 |
public void close() throws JMSException { try { acquireLock(); if (closed) { throw new IllegalStateException("Consumer is already closed"); } if (log.isTraceEnabled()) { log.trace(this.id + " close"); } closed = true; //On close ... | public void close() throws JMSException { try { acquireLock(); if (closed) { throw new IllegalStateException("Consumer is already closed"); } if (log.isTraceEnabled()) { log.trace(this.id + " close"); } closed = true; //On close ... | 52,463 |
public void close() throws JMSException { try { acquireLock(); if (closed) { throw new IllegalStateException("Consumer is already closed"); } if (log.isTraceEnabled()) { log.trace(this.id + " close"); } closed = true; //On close ... | public void close() throws JMSException { try { acquireLock(); if (closed) { throw new IllegalStateException("Consumer is already closed"); } if (log.isTraceEnabled()) { log.trace(this.id + " close"); } closed = true; //On close ... | 52,464 |
public synchronized void deactivate() throws JMSException { try { acquireLock(); ready = false; if (log.isTraceEnabled()) { log.trace("set ready to false"); } } finally { releaseLock(); } } | public synchronized void deactivate() throws JMSException { try { acquireLock(); ready = false; if (log.isTraceEnabled()) { log.trace("set ready to false"); } } finally { releaseLock(); } } | 52,465 |
protected void disconnect() { boolean removed = channel.remove(this); if (log.isTraceEnabled()) log.trace("receiver " + (removed ? "" : "NOT ") + "removed"); if (removed) { disconnected = true; } } | protected void disconnect() { boolean removed = channel.remove(this); if (log.isTraceEnabled()) log.trace("receiver " + (removed ? "" : "NOT ") + "removed"); if (removed) { disconnected = true; } } | 52,466 |
public javax.jms.Message getMessageNow() throws JMSException { try { acquireLock(); grabbing = true; //This will always deliver a message (if there is one) on the same thread promptDelivery(); javax.jms.Message ret = (javax.jm... | public javax.jms.Message getMessageNow() throws JMSException { try { acquireLock(); grabbing = true; //This will always deliver a message (if there is one) on the same thread promptDelivery(); javax.jms.Message ret = (javax.jm... | 52,467 |
public javax.jms.Message getMessageNow() throws JMSException { try { acquireLock(); grabbing = true; //This will always deliver a message (if there is one) on the same thread promptDelivery(); javax.jms.Message ret = (javax.jm... | public javax.jms.Message getMessageNow() throws JMSException { try { grabbing = true; //This will always deliver a message (if there is one) on the same thread promptDelivery(); javax.jms.Message ret = (javax.jms.Message)toGrab... | 52,468 |
public javax.jms.Message getMessageNow() throws JMSException { try { acquireLock(); grabbing = true; //This will always deliver a message (if there is one) on the same thread promptDelivery(); javax.jms.Message ret = (javax.jm... | public javax.jms.Message getMessageNow() throws JMSException { try { acquireLock(); grabbing = true; //This will always deliver a message (if there is one) on the same thread promptDelivery(); javax.jms.Message ret = (javax.jm... | 52,469 |
public Delivery handle(DeliveryObserver observer, Routable reference, Transaction tx) { if (log.isTraceEnabled()) { log.trace("Attempting to handle ref: " + reference.getMessageID()); } if (!wantReference()) { return null; } try { if (log.isTraceEn... | public synchronized Delivery handle(DeliveryObserver observer, Routable reference, Transaction tx) { if (log.isTraceEnabled()) { log.trace("Attempting to handle ref: " + reference.getMessageID()); } if (!wantReference()) { return null; } try { if (... | 52,470 |
public Delivery handle(DeliveryObserver observer, Routable reference, Transaction tx) { if (log.isTraceEnabled()) { log.trace("Attempting to handle ref: " + reference.getMessageID()); } if (!wantReference()) { return null; } try { if (log.isTraceEn... | public Delivery handle(DeliveryObserver observer, Routable reference, Transaction tx) { if (log.isTraceEnabled()) { log.trace("Attempting to handle ref: " + reference.getMessageID()); } if (!wantReference()) { return null; } try { if (log.isTraceEn... | 52,471 |
public Delivery handle(DeliveryObserver observer, Routable reference, Transaction tx) { if (log.isTraceEnabled()) { log.trace("Attempting to handle ref: " + reference.getMessageID()); } if (!wantReference()) { return null; } try { if (log.isTraceEn... | public Delivery handle(DeliveryObserver observer, Routable reference, Transaction tx) { if (log.isTraceEnabled()) { log.trace("Attempting to handle ref: " + reference.getMessageID()); } if (!wantReference()) { return null; } try { if (log.isTraceEn... | 52,472 |
public Delivery handle(DeliveryObserver observer, Routable reference, Transaction tx) { if (log.isTraceEnabled()) { log.trace("Attempting to handle ref: " + reference.getMessageID()); } if (!wantReference()) { return null; } try { if (log.isTraceEn... | public Delivery handle(DeliveryObserver observer, Routable reference, Transaction tx) { if (log.isTraceEnabled()) { log.trace("Attempting to handle ref: " + reference.getMessageID()); } if (!wantReference()) { return null; } try { if (log.isTraceEn... | 52,473 |
public Delivery handle(DeliveryObserver observer, Routable reference, Transaction tx) { if (log.isTraceEnabled()) { log.trace("Attempting to handle ref: " + reference.getMessageID()); } if (!wantReference()) { return null; } try { if (log.isTraceEn... | public Delivery handle(DeliveryObserver observer, Routable reference, Transaction tx) { if (log.isTraceEnabled()) { log.trace("Attempting to handle ref: " + reference.getMessageID()); } if (!wantReference()) { return null; } try { if (log.isTraceEn... | 52,474 |
protected void promptDelivery() { if (log.isTraceEnabled()) { log.trace("promptDelivery:" + this); } if (ready || grabbing) { channel.deliver(this); } } | protected void promptDelivery() { if (log.isTraceEnabled()) { log.trace("promptDelivery:" + this); } if (ready || grabbing) { channel.redeliver(this); } } | 52,475 |
void remove() throws JMSException { if (log.isTraceEnabled()) log.trace("attempting to remove receiver " + this + " from destination " + channel); try { acquireLock(); for(Iterator i = deliveries.iterator(); i.hasNext(); ) { SingleReceiverDeliver... | synchronized void remove() throws JMSException { if (log.isTraceEnabled()) log.trace("attempting to remove receiver " + this + " from destination " + channel); try { acquireLock(); for(Iterator i = deliveries.iterator(); i.hasNext(); ) { SingleRe... | 52,476 |
void remove() throws JMSException { if (log.isTraceEnabled()) log.trace("attempting to remove receiver " + this + " from destination " + channel); try { acquireLock(); for(Iterator i = deliveries.iterator(); i.hasNext(); ) { SingleReceiverDeliver... | void remove() throws JMSException { if (log.isTraceEnabled()) log.trace("attempting to remove receiver " + this + " from destination " + channel); for(Iterator i = deliveries.iterator(); i.hasNext(); ) { acquireLock(); for(Iterator i = deliveries.iterator(); i.hasN... | 52,477 |
void remove() throws JMSException { if (log.isTraceEnabled()) log.trace("attempting to remove receiver " + this + " from destination " + channel); try { acquireLock(); for(Iterator i = deliveries.iterator(); i.hasNext(); ) { SingleReceiverDeliver... | void remove() throws JMSException { if (log.isTraceEnabled()) log.trace("attempting to remove receiver " + this + " from destination " + channel); try { acquireLock(); for(Iterator i = deliveries.iterator(); i.hasNext(); ) { SingleReceiverDeliver... | 52,478 |
void remove() throws JMSException { if (log.isTraceEnabled()) log.trace("attempting to remove receiver " + this + " from destination " + channel); try { acquireLock(); for(Iterator i = deliveries.iterator(); i.hasNext(); ) { SingleReceiverDeliver... | void remove() throws JMSException { if (log.isTraceEnabled()) log.trace("attempting to remove receiver " + this + " from destination " + channel); try { acquireLock(); for(Iterator i = deliveries.iterator(); i.hasNext(); ) { SingleReceiverDeliver... | 52,479 |
void remove() throws JMSException { if (log.isTraceEnabled()) log.trace("attempting to remove receiver " + this + " from destination " + channel); try { acquireLock(); for(Iterator i = deliveries.iterator(); i.hasNext(); ) { SingleReceiverDeliver... | void remove() throws JMSException { if (log.isTraceEnabled()) log.trace("attempting to remove receiver " + this + " from destination " + channel); try { acquireLock(); for(Iterator i = deliveries.iterator(); i.hasNext(); ) { SingleReceiverDeliver... | 52,480 |
void remove() throws JMSException { if (log.isTraceEnabled()) log.trace("attempting to remove receiver " + this + " from destination " + channel); try { acquireLock(); for(Iterator i = deliveries.iterator(); i.hasNext(); ) { SingleReceiverDeliver... | void remove() throws JMSException { if (log.isTraceEnabled()) log.trace("attempting to remove receiver " + this + " from destination " + channel); try { acquireLock(); for(Iterator i = deliveries.iterator(); i.hasNext(); ) { SingleReceiverDeliver... | 52,481 |
void remove() throws JMSException { if (log.isTraceEnabled()) log.trace("attempting to remove receiver " + this + " from destination " + channel); try { acquireLock(); for(Iterator i = deliveries.iterator(); i.hasNext(); ) { SingleReceiverDeliver... | void remove() throws JMSException { if (log.isTraceEnabled()) log.trace("attempting to remove receiver " + this + " from destination " + channel); try { acquireLock(); for(Iterator i = deliveries.iterator(); i.hasNext(); ) { SingleReceiverDeliver... | 52,482 |
void remove() throws JMSException { if (log.isTraceEnabled()) log.trace("attempting to remove receiver " + this + " from destination " + channel); try { acquireLock(); for(Iterator i = deliveries.iterator(); i.hasNext(); ) { SingleReceiverDeliver... | void remove() throws JMSException { if (log.isTraceEnabled()) log.trace("attempting to remove receiver " + this + " from destination " + channel); try { acquireLock(); for(Iterator i = deliveries.iterator(); i.hasNext(); ) { SingleReceiverDeliver... | 52,483 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.