bugged stringlengths 6 599k | fixed stringlengths 10 599k | __index_level_0__ int64 0 1.13M |
|---|---|---|
public void setDot(int dot) { this.dot = dot; this.mark = dot; handleHighlight(); adjustVisibility(this); repaint(); } | public void setDot(int dot) { if (dot >= 0) { this.mark = dot; handleHighlight(); adjustVisibility(this); repaint(); } | 28,350 |
public void setDot(int dot) { this.dot = dot; this.mark = dot; handleHighlight(); adjustVisibility(this); repaint(); } | public void setDot(int dot) { this.dot = dot; this.mark = dot; handleHighlight(); adjustVisibility(this); appear(); } } | 28,351 |
public static void paint(Context c, Box block) { Rectangle box = new Rectangle( block.x + block.margin.left + block.border.left, block.y + block.margin.top + block.border.top, block.width - block.margin.left - block.margin.right - block.border.left - bloc... | public static void paint(Context c, Box block) { Rectangle box = new Rectangle( block.x + block.margin.left + block.border.left, block.y + block.margin.top + block.border.top, block.width - block.margin.left - block.margin.right - block.border.left - bloc... | 28,352 |
public void cancel(Routable r) throws Throwable { Object[] touple = null; Delivery d = null; for (Iterator i = messages.iterator(); i.hasNext(); ) { Object[] o = (Object[])i.next(); Message m = (Message)o[0]; if (m == r) { d = (Delivery)o[1]; ... | public void cancel(Routable r) throws Throwable { Object[] touple = null; Delivery d = null; for (Iterator i = messages.iterator(); i.hasNext(); ) { Object[] o = (Object[])i.next(); Message m = (Message)o[0]; if (m == r) { d = (Delivery)o[1]; ... | 28,354 |
public Delivery handle(DeliveryObserver observer, MessageReference ref, Transaction tx) { log.info(this + " got routable:" + ref); try { if (ref == null) { log.info("Receiver [" + name + "] is rejecting a null reference"); return null; } ... | public Delivery handle(DeliveryObserver observer, MessageReference ref, Transaction tx) { log.trace(this + " got routable:" + ref); try { if (ref == null) { log.info("Receiver [" + name + "] is rejecting a null reference"); return null; } ... | 28,355 |
public Delivery handle(DeliveryObserver observer, MessageReference ref, Transaction tx) { log.info(this + " got routable:" + ref); try { if (ref == null) { log.info("Receiver [" + name + "] is rejecting a null reference"); return null; } ... | public Delivery handle(DeliveryObserver observer, MessageReference ref, Transaction tx) { log.info(this + " got routable:" + ref); try { if (ref == null) { log.trace("Receiver [" + name + "] is rejecting a null reference"); return null; } ... | 28,356 |
public Delivery handle(DeliveryObserver observer, MessageReference ref, Transaction tx) { log.info(this + " got routable:" + ref); try { if (ref == null) { log.info("Receiver [" + name + "] is rejecting a null reference"); return null; } ... | public Delivery handle(DeliveryObserver observer, MessageReference ref, Transaction tx) { log.info(this + " got routable:" + ref); try { if (ref == null) { log.info("Receiver [" + name + "] is rejecting a null reference"); return null; } ... | 28,357 |
public Delivery handle(DeliveryObserver observer, MessageReference ref, Transaction tx) { log.info(this + " got routable:" + ref); try { if (ref == null) { log.info("Receiver [" + name + "] is rejecting a null reference"); return null; } ... | public Delivery handle(DeliveryObserver observer, MessageReference ref, Transaction tx) { log.info(this + " got routable:" + ref); try { if (ref == null) { log.info("Receiver [" + name + "] is rejecting a null reference"); return null; } ... | 28,358 |
public Delivery handle(DeliveryObserver observer, MessageReference ref, Transaction tx) { log.info(this + " got routable:" + ref); try { if (ref == null) { log.info("Receiver [" + name + "] is rejecting a null reference"); return null; } ... | public Delivery handle(DeliveryObserver observer, MessageReference ref, Transaction tx) { log.info(this + " got routable:" + ref); try { if (ref == null) { log.info("Receiver [" + name + "] is rejecting a null reference"); return null; } ... | 28,359 |
public Delivery handle(DeliveryObserver observer, MessageReference ref, Transaction tx) { log.info(this + " got routable:" + ref); try { if (ref == null) { log.info("Receiver [" + name + "] is rejecting a null reference"); return null; } ... | public Delivery handle(DeliveryObserver observer, MessageReference ref, Transaction tx) { log.info(this + " got routable:" + ref); try { if (ref == null) { log.info("Receiver [" + name + "] is rejecting a null reference"); return null; } ... | 28,360 |
public Delivery handle(DeliveryObserver observer, MessageReference ref, Transaction tx) { log.info(this + " got routable:" + ref); try { if (ref == null) { log.info("Receiver [" + name + "] is rejecting a null reference"); return null; } ... | public Delivery handle(DeliveryObserver observer, MessageReference ref, Transaction tx) { log.info(this + " got routable:" + ref); try { if (ref == null) { log.info("Receiver [" + name + "] is rejecting a null reference"); return null; } ... | 28,361 |
public static final String getDefaultType() { // Security reads every property in java.security so it // will return this property if it exists. String tmp = Security.getProperty("keystore.type"); if (tmp == null) tmp = "jks"; return tmp; } | public static final String getDefaultType() { // Security reads every property in java.security so it // will return this property if it exists. String tmp = Security.getProperty("keystore.type"); if (tmp == null) tmp = "gkr"; return tmp; } | 28,362 |
public AckInfo(String messageID, String consumerID) { this.messageID = messageID; this.consumerID = consumerID; } | public AckInfo(String messageID, String consumerID) { this.messageID = messageID; this.consumerID = consumerID; } | 28,363 |
public void markRun(int offset, BlockBox previous, BlockBox current) { RelayoutData previousData = get(offset-1); RelayoutData currentData = get(offset); IdentValue previousAfter = previousAfter = previous.getStyle().getCalculatedStyle().getIdent( ... | public void markRun(int offset, BlockBox previous, BlockBox current) { RelayoutData previousData = get(offset-1); RelayoutData currentData = get(offset); IdentValue previousAfter = previous.getStyle().getCalculatedStyle().getIdent( ... | 28,364 |
public static void layoutContent(final LayoutContext c, final BlockBox block, List contentList) { Boxing.StyleSetListener styleSetListener = new Boxing.StyleSetListener() { public void onStyleSet(BlockBox child) { boolean moved = false; if (child.getStyle(... | public static void layoutContent(final LayoutContext c, final BlockBox block, List contentList) { Boxing.StyleSetListener styleSetListener = new Boxing.StyleSetListener() { public void onStyleSet(BlockBox child) { boolean moved = false; if (child.getStyle(... | 28,365 |
public static void layoutContent(final LayoutContext c, final BlockBox block, List contentList) { Boxing.StyleSetListener styleSetListener = new Boxing.StyleSetListener() { public void onStyleSet(BlockBox child) { boolean moved = false; if (child.getStyle(... | public static void layoutContent(final LayoutContext c, final BlockBox block, List contentList) { Boxing.StyleSetListener styleSetListener = new Boxing.StyleSetListener() { public void onStyleSet(BlockBox child) { boolean moved = false; if (child.getStyle(... | 28,366 |
public static void layoutContent(final LayoutContext c, final BlockBox block, List contentList) { Boxing.StyleSetListener styleSetListener = new Boxing.StyleSetListener() { public void onStyleSet(BlockBox child) { boolean moved = false; if (child.getStyle(... | public static void layoutContent(final LayoutContext c, final BlockBox block, List contentList) { Boxing.StyleSetListener styleSetListener = new Boxing.StyleSetListener() { public void onStyleSet(BlockBox child) { boolean moved = false; if (child.getStyle(... | 28,367 |
private static void processPageBreakAvoidRun(final LayoutContext c, final BlockBox block, List contentList, Boxing.StyleSetListener styleSetListener, int offset, RelayoutDataList relayoutDataList, RelayoutData relayoutData, BlockBox childBox) { if (offset > 0) { ... | private static void processPageBreakAvoidRun(final LayoutContext c, final BlockBox block, List contentList, Boxing.StyleSetListener styleSetListener, int offset, RelayoutDataList relayoutDataList, RelayoutData relayoutData, BlockBox childBox) { if (offset > 0) { ... | 28,368 |
private static void processPageBreakAvoidRun(final LayoutContext c, final BlockBox block, List contentList, Boxing.StyleSetListener styleSetListener, int offset, RelayoutDataList relayoutDataList, RelayoutData relayoutData, BlockBox childBox) { if (offset > 0) { ... | private static void processPageBreakAvoidRun(final LayoutContext c, final BlockBox block, List contentList, Boxing.StyleSetListener styleSetListener, int offset, RelayoutDataList relayoutDataList, RelayoutData relayoutData, BlockBox childBox) { if (offset > 0) { ... | 28,369 |
private static void processPageBreakAvoidRun(final LayoutContext c, final BlockBox block, List contentList, Boxing.StyleSetListener styleSetListener, int offset, RelayoutDataList relayoutDataList, RelayoutData relayoutData, BlockBox childBox) { if (offset > 0) { ... | private static void processPageBreakAvoidRun(final LayoutContext c, final BlockBox block, List contentList, Boxing.StyleSetListener styleSetListener, int offset, RelayoutDataList relayoutDataList, RelayoutData relayoutData, BlockBox childBox) { if (offset > 0) { ... | 28,370 |
private static RelayoutResult relayoutOnNewPage( LayoutContext c, List contentList, BlockBox block, StyleSetListener styleSetListener, RelayoutDataList relayoutDataList, int start, int end) { if (checkForPendingInlines(relayoutDataList, start, end)) { Rel... | private static void relayoutOnNewPage( LayoutContext c, List contentList, BlockBox block, StyleSetListener styleSetListener, RelayoutDataList relayoutDataList, int start, int end) { if (checkForPendingInlines(relayoutDataList, start, end)) { RelayoutResul... | 28,371 |
private static RelayoutResult relayoutOnNewPage( LayoutContext c, List contentList, BlockBox block, StyleSetListener styleSetListener, RelayoutDataList relayoutDataList, int start, int end) { if (checkForPendingInlines(relayoutDataList, start, end)) { Rel... | private static RelayoutResult relayoutOnNewPage( LayoutContext c, List contentList, BlockBox block, StyleSetListener styleSetListener, RelayoutDataList relayoutDataList, int start, int end) { if (checkForPendingInlines(relayoutDataList, start, end)) { Rel... | 28,372 |
private static RelayoutResult relayoutOnNewPage( LayoutContext c, List contentList, BlockBox block, StyleSetListener styleSetListener, RelayoutDataList relayoutDataList, int start, int end) { if (checkForPendingInlines(relayoutDataList, start, end)) { Rel... | private static RelayoutResult relayoutOnNewPage( LayoutContext c, List contentList, BlockBox block, StyleSetListener styleSetListener, RelayoutDataList relayoutDataList, int start, int end) { if (checkForPendingInlines(relayoutDataList, start, end)) { Rel... | 28,373 |
private static RelayoutResult relayoutOnNewPage( LayoutContext c, List contentList, BlockBox block, StyleSetListener styleSetListener, RelayoutDataList relayoutDataList, int start, int end) { if (checkForPendingInlines(relayoutDataList, start, end)) { Rel... | private static RelayoutResult relayoutOnNewPage( LayoutContext c, List contentList, BlockBox block, StyleSetListener styleSetListener, RelayoutDataList relayoutDataList, int start, int end) { if (checkForPendingInlines(relayoutDataList, start, end)) { Rel... | 28,374 |
private static RelayoutResult relayoutOnNewPage( LayoutContext c, List contentList, BlockBox block, StyleSetListener styleSetListener, RelayoutDataList relayoutDataList, int start, int end) { if (checkForPendingInlines(relayoutDataList, start, end)) { Rel... | private static RelayoutResult relayoutOnNewPage( LayoutContext c, List contentList, BlockBox block, StyleSetListener styleSetListener, RelayoutDataList relayoutDataList, int start, int end) { if (checkForPendingInlines(relayoutDataList, start, end)) { Rel... | 28,375 |
private static RelayoutResult relayoutOnNewPage( LayoutContext c, List contentList, BlockBox block, StyleSetListener styleSetListener, RelayoutDataList relayoutDataList, int start, int end) { if (checkForPendingInlines(relayoutDataList, start, end)) { Rel... | private static RelayoutResult relayoutOnNewPage( LayoutContext c, List contentList, BlockBox block, StyleSetListener styleSetListener, RelayoutDataList relayoutDataList, int start, int end) { if (checkForPendingInlines(relayoutDataList, start, end)) { Rel... | 28,376 |
private static RelayoutResult relayoutOnNewPage( LayoutContext c, List contentList, BlockBox block, StyleSetListener styleSetListener, RelayoutDataList relayoutDataList, int start, int end) { if (checkForPendingInlines(relayoutDataList, start, end)) { Rel... | private static RelayoutResult relayoutOnNewPage( LayoutContext c, List contentList, BlockBox block, StyleSetListener styleSetListener, RelayoutDataList relayoutDataList, int start, int end) { if (checkForPendingInlines(relayoutDataList, start, end)) { Rel... | 28,377 |
public boolean acceptsSource(Object edge, Object port) { // if(port==null) return false; // WorkflowCell cell = (WorkflowCell)((WorkflowPort)port).getParent(); return false; } | public boolean acceptsSource(Object edge, Object port) { // if(port==null) if(port == null) return false; return true; // WorkflowCell cell = (WorkflowCell)((WorkflowPort)port).getParent(); if(port == null) return false; return true; } | 28,378 |
public void connectCells(WorkflowCell from, ActionDescriptor action, WorkflowCell to, ResultDescriptor result) { WorkflowPort fromPort = (WorkflowPort)from.getChildAt(0); WorkflowPort toPort = (WorkflowPort)to.getChildAt(0); resultIdGenerator.checkId(result.getId()); if(result.getId() == 0) result.setId(... | public void connectCells(WorkflowCell from, ActionDescriptor action, WorkflowCell to, ResultDescriptor result) { WorkflowPort fromPort = (WorkflowPort)from.getChildAt(0); WorkflowPort toPort = (WorkflowPort)to.getChildAt(0); resultIdGenerator.checkId(result.getId()); if(result.getId() == 0) result.setId(... | 28,379 |
public Collection getActivitiesList() { List l = new ArrayList(); l.addAll(initialActions); l.addAll(stepCells); l.addAll(splitCells); l.addAll(joinCells); Iterator i = l.iterator(); Set edges = new HashSet(); while(i.hasNext()) { WorkflowCell cell = (WorkflowCell)i.next(); //we ... | public Collection getActivitiesList() { List l = new ArrayList(); l.addAll(initialActions); l.addAll(stepCells); l.addAll(splitCells); l.addAll(joinCells); Iterator i = l.iterator(); Map edges = new HashMap(); while(i.hasNext()) { WorkflowCell cell = (WorkflowCell)i.next(); //we ... | 28,380 |
public Collection getActivitiesList() { List l = new ArrayList(); l.addAll(initialActions); l.addAll(stepCells); l.addAll(splitCells); l.addAll(joinCells); Iterator i = l.iterator(); Set edges = new HashSet(); while(i.hasNext()) { WorkflowCell cell = (WorkflowCell)i.next(); //we ... | public Collection getActivitiesList() { List l = new ArrayList(); l.addAll(initialActions); l.addAll(stepCells); l.addAll(splitCells); l.addAll(joinCells); Iterator i = l.iterator(); Set edges = new HashSet(); while(i.hasNext()) { WorkflowCell cell = (WorkflowCell)i.next(); //we ... | 28,381 |
public Collection getActivitiesList() { List l = new ArrayList(); l.addAll(initialActions); l.addAll(stepCells); l.addAll(splitCells); l.addAll(joinCells); Iterator i = l.iterator(); Set edges = new HashSet(); while(i.hasNext()) { WorkflowCell cell = (WorkflowCell)i.next(); //we ... | public Collection getActivitiesList() { List l = new ArrayList(); l.addAll(initialActions); l.addAll(stepCells); l.addAll(splitCells); l.addAll(joinCells); Iterator i = l.iterator(); Set edges = new HashSet(); while(i.hasNext()) { WorkflowCell cell = (WorkflowCell)i.next(); //we ... | 28,382 |
public Collection getActivitiesList() { List l = new ArrayList(); l.addAll(initialActions); l.addAll(stepCells); l.addAll(splitCells); l.addAll(joinCells); Iterator i = l.iterator(); Set edges = new HashSet(); while(i.hasNext()) { WorkflowCell cell = (WorkflowCell)i.next(); //we ... | public Collection getActivitiesList() { List l = new ArrayList(); l.addAll(initialActions); l.addAll(stepCells); l.addAll(splitCells); l.addAll(joinCells); Iterator i = l.iterator(); Set edges = new HashSet(); while(i.hasNext()) { WorkflowCell cell = (WorkflowCell)i.next(); //we ... | 28,383 |
protected void checkEquivalent(Message m1, Message m2) throws Exception { super.checkEquivalent(m1, m2); if (!(m1 instanceof JBossMessage) && !(m2 instanceof JBossMessage)) { fail(); } JBossMessage jm1 = (JBossMessage)m1; JBossMessage jm2 = (JBossMessage)m2; ... | protected void checkEquivalent(Message m1, Message m2) throws Exception { super.checkEquivalent(m1, m2); if (!(m1 instanceof JBossMessage) && !(m2 instanceof JBossMessage)) { fail(); } JBossMessage jm1 = (JBossMessage)m1; JBossMessage jm2 = (JBossMessage)m2; ... | 28,384 |
protected Message createMessage(int i) throws Exception { Map coreHeaders = generateFilledMap(true); Map jmsProperties = generateFilledMap(false); JBossMessage m = new JBossMessage(new GUID().toString(), true, System.currentTimeMillis() + ... | protected Message createMessage(int i) throws Exception { Map coreHeaders = generateFilledMap(true); Map jmsProperties = generateFilledMap(false); JBossMessage m = new JBossMessage(new GUID().toString(), true, System.currentTimeMillis() + ... | 28,385 |
protected Message createMessage(int i) throws Exception { Map coreHeaders = generateFilledMap(true); Map jmsProperties = generateFilledMap(false); JBossMessage m = new JBossMessage(new GUID().toString(), true, System.currentTimeMillis() + ... | protected Message createMessage(int i) throws Exception { Map coreHeaders = generateFilledMap(true); Map jmsProperties = generateFilledMap(false); JBossMessage m = new JBossMessage(new GUID().toString(), true, System.currentTimeMillis() + ... | 28,386 |
public Object registerVariable(WorkflowContext context, WorkflowEntry entry, Map args) throws WorkflowException; | public Object registerVariable(WorkflowContext context, WorkflowEntry entry, Map args, PropertySet ps) throws WorkflowException; | 28,387 |
public JBossSession(SessionDelegate delegate) { this.sessionDelegate = delegate; } | public JBossSession(SessionDelegate delegate, boolean isXA, int sessionType, boolean transacted, int acknowledgeMode) { this.sessionDelegate = delegate; } | 28,388 |
public void close() throws JMSException { throw new NotYetImplementedException(); } | public void close() throws JMSException { sessionDelegate.closing(); sessionDelegate.close(); } | 28,390 |
public void commit() throws JMSException { throw new NotYetImplementedException(); } | public void commit() throws JMSException { if (!transacted) throw new IllegalStateException("Session is not transacted - cannot call commit()"); sessionDelegate.commit(); } | 28,391 |
public MessageConsumer createConsumer(Destination d) throws JMSException { return sessionDelegate.createConsumer(d); } | public MessageConsumer createConsumer(Destination d) throws JMSException { MessageConsumer consumer = sessionDelegate.createConsumer(d); return consumer; } | 28,393 |
public MessageProducer createProducer(Destination d) throws JMSException { ProducerDelegate producerDelegate = sessionDelegate.createProducerDelegate(d); return new JBossMessageProducer(producerDelegate); } | public MessageProducer createProducer(Destination d) throws JMSException { ProducerDelegate producerDelegate = sessionDelegate.createProducerDelegate(d); return new JBossMessageProducer(producerDelegate, d); } | 28,395 |
public int getAcknowledgeMode() throws JMSException { throw new NotYetImplementedException(); } | public int getAcknowledgeMode() throws JMSException { return acknowledgeMode; } | 28,400 |
public boolean getTransacted() throws JMSException { throw new NotYetImplementedException(); } | public boolean getTransacted() throws JMSException { return transacted; } | 28,401 |
public void recover() throws JMSException { throw new NotYetImplementedException(); } | public void recover() throws JMSException { sessionDelegate.recover(); } | 28,402 |
public void rollback() throws JMSException { throw new NotYetImplementedException(); } | public void rollback() throws JMSException { if (!transacted) throw new IllegalStateException("Session is not transacted - cannot call rollback()"); sessionDelegate.rollback(); } | 28,403 |
public Object handlePostDeliver(Invocation invocation) throws Throwable { MethodInvocation mi = (MethodInvocation)invocation; int ackMode = getState(invocation).getAcknowledgeMode(); if (ackMode != Session.SESSION_TRANSACTED && ackMode != Session.CLIENT_ACKNOWLEDGE) { Sessi... | public Object handlePostDeliver(Invocation invocation) throws Throwable { MethodInvocation mi = (MethodInvocation)invocation; int ackMode = getState(invocation).getAcknowledgeMode(); if (ackMode != Session.SESSION_TRANSACTED && ackMode != Session.CLIENT_ACKNOWLEDGE) { Sessi... | 28,405 |
public Object handleRecover(Invocation invocation) throws Throwable { if (log.isTraceEnabled()) { log.trace("recover called"); } int ackMode = getState(invocation).getAcknowledgeMode(); if (ackMode == Session.SESSION_TRANSACTED) { throw new IllegalStateException("Cannot reco... | public Object handleRecover(Invocation invocation) throws Throwable { if (trace) { log.trace("recover called"); } int ackMode = getState(invocation).getAcknowledgeMode(); if (ackMode == Session.SESSION_TRANSACTED) { throw new IllegalStateException("Cannot recover a transacte... | 28,406 |
public Object handleRecover(Invocation invocation) throws Throwable { if (log.isTraceEnabled()) { log.trace("recover called"); } int ackMode = getState(invocation).getAcknowledgeMode(); if (ackMode == Session.SESSION_TRANSACTED) { throw new IllegalStateException("Cannot reco... | public Object handleRecover(Invocation invocation) throws Throwable { if (log.isTraceEnabled()) { log.trace("recover called"); } int ackMode = getState(invocation).getAcknowledgeMode(); if (ackMode == Session.SESSION_TRANSACTED) { throw new IllegalStateException("Cannot reco... | 28,407 |
public Object handleRecover(Invocation invocation) throws Throwable { if (log.isTraceEnabled()) { log.trace("recover called"); } int ackMode = getState(invocation).getAcknowledgeMode(); if (ackMode == Session.SESSION_TRANSACTED) { throw new IllegalStateException("Cannot reco... | public Object handleRecover(Invocation invocation) throws Throwable { if (log.isTraceEnabled()) { log.trace("recover called"); } int ackMode = getState(invocation).getAcknowledgeMode(); if (ackMode == Session.SESSION_TRANSACTED) { throw new IllegalStateException("Cannot reco... | 28,408 |
public void deliver() { if (log.isTraceEnabled()){ log.trace("attempting to deliver " + this + "'s messages"); } List messages = state.undelivered(null); for(Iterator i = messages.iterator(); i.hasNext(); ) { MessageReference r = (MessageReference)i.next(); try { ... | public void deliver(Receiver r) { if (log.isTraceEnabled()){ log.trace("attempting to deliver " + this + "'s messages"); } List messages = state.undelivered(null); for(Iterator i = messages.iterator(); i.hasNext(); ) { MessageReference r = (MessageReference)i.next(); try ... | 28,410 |
public void deliver() { if (log.isTraceEnabled()){ log.trace("attempting to deliver " + this + "'s messages"); } List messages = state.undelivered(null); for(Iterator i = messages.iterator(); i.hasNext(); ) { MessageReference r = (MessageReference)i.next(); try { ... | public void deliver() { if (log.isTraceEnabled()){ log.trace("attempting to deliver " + this + "'s messages"); } List messages = state.undelivered(null); for(Iterator i = messages.iterator(); i.hasNext(); ) { MessageReference r = (MessageReference)i.next(); try { ... | 28,411 |
public final Delivery handle(DeliveryObserver sender, Routable r, Transaction tx) { if (r == null) { return null; } if (log.isTraceEnabled()){ log.trace(this + " handles " + r + (tx == null ? " non-transactionally" : " in transaction: " + tx) ); } MessageReference ref = ref(r); ... | public final Delivery handle(DeliveryObserver sender, Routable r, Transaction tx) { if (r == null) { return null; } if (log.isTraceEnabled()){ log.trace(this + " handles " + r + (tx == null ? " non-transactionally" : " in transaction: " + tx) ); } MessageReference ref = ref(r); ... | 28,412 |
private Delivery handleNoTx(DeliveryObserver sender, Receiver receiver, Routable r) { checkClosed(); if (r == null) { return null; } // don't even attempt synchronous delivery for a reliable message when we have an // non-recoverable state that doesn't accept reliable messages... | private Delivery handleNoTx(DeliveryObserver sender, Receiver receiver, MessageReference ref, boolean delivery) { checkClosed(); if (r == null) { return null; } // don't even attempt synchronous delivery for a reliable message when we have an // non-recoverable state that does... | 28,414 |
private Delivery handleNoTx(DeliveryObserver sender, Receiver receiver, Routable r) { checkClosed(); if (r == null) { return null; } // don't even attempt synchronous delivery for a reliable message when we have an // non-recoverable state that doesn't accept reliable messages... | private Delivery handleNoTx(DeliveryObserver sender, Receiver receiver, Routable r) { checkClosed(); if (r == null) { return null; } // don't even attempt synchronous delivery for a reliable message when we have an // non-recoverable state that doesn't accept reliable messages... | 28,415 |
private Delivery handleNoTx(DeliveryObserver sender, Receiver receiver, Routable r) { checkClosed(); if (r == null) { return null; } // don't even attempt synchronous delivery for a reliable message when we have an // non-recoverable state that doesn't accept reliable messages... | private Delivery handleNoTx(DeliveryObserver sender, Receiver receiver, Routable r) { checkClosed(); if (r == null) { return null; } // don't even attempt synchronous delivery for a reliable message when we have an // non-recoverable state that doesn't accept reliable messages... | 28,416 |
private Delivery handleNoTx(DeliveryObserver sender, Receiver receiver, Routable r) { checkClosed(); if (r == null) { return null; } // don't even attempt synchronous delivery for a reliable message when we have an // non-recoverable state that doesn't accept reliable messages... | private Delivery handleNoTx(DeliveryObserver sender, Receiver receiver, Routable r) { checkClosed(); if (r == null) { return null; } // don't even attempt synchronous delivery for a reliable message when we have an // non-recoverable state that doesn't accept reliable messages... | 28,417 |
private Delivery handleNoTx(DeliveryObserver sender, Receiver receiver, Routable r) { checkClosed(); if (r == null) { return null; } // don't even attempt synchronous delivery for a reliable message when we have an // non-recoverable state that doesn't accept reliable messages... | private Delivery handleNoTx(DeliveryObserver sender, Receiver receiver, Routable r) { checkClosed(); if (r == null) { return null; } // don't even attempt synchronous delivery for a reliable message when we have an // non-recoverable state that doesn't accept reliable messages... | 28,418 |
private Delivery handleNoTx(DeliveryObserver sender, Receiver receiver, Routable r) { checkClosed(); if (r == null) { return null; } // don't even attempt synchronous delivery for a reliable message when we have an // non-recoverable state that doesn't accept reliable messages... | private Delivery handleNoTx(DeliveryObserver sender, Receiver receiver, Routable r) { checkClosed(); if (r == null) { return null; } // don't even attempt synchronous delivery for a reliable message when we have an // non-recoverable state that doesn't accept reliable messages... | 28,419 |
private Delivery handleNoTx(DeliveryObserver sender, Receiver receiver, Routable r) { checkClosed(); if (r == null) { return null; } // don't even attempt synchronous delivery for a reliable message when we have an // non-recoverable state that doesn't accept reliable messages... | private Delivery handleNoTx(DeliveryObserver sender, Receiver receiver, Routable r) { checkClosed(); if (r == null) { return null; } // don't even attempt synchronous delivery for a reliable message when we have an // non-recoverable state that doesn't accept reliable messages... | 28,420 |
private Delivery handleNoTx(DeliveryObserver sender, Receiver receiver, Routable r) { checkClosed(); if (r == null) { return null; } // don't even attempt synchronous delivery for a reliable message when we have an // non-recoverable state that doesn't accept reliable messages... | private Delivery handleNoTx(DeliveryObserver sender, Receiver receiver, Routable r) { checkClosed(); if (r == null) { return null; } // don't even attempt synchronous delivery for a reliable message when we have an // non-recoverable state that doesn't accept reliable messages... | 28,421 |
private Delivery handleNoTx(DeliveryObserver sender, Receiver receiver, Routable r) { checkClosed(); if (r == null) { return null; } // don't even attempt synchronous delivery for a reliable message when we have an // non-recoverable state that doesn't accept reliable messages... | private Delivery handleNoTx(DeliveryObserver sender, Receiver receiver, Routable r) { checkClosed(); if (r == null) { return null; } // don't even attempt synchronous delivery for a reliable message when we have an // non-recoverable state that doesn't accept reliable messages... | 28,422 |
private Delivery handleNoTx(DeliveryObserver sender, Receiver receiver, Routable r) { checkClosed(); if (r == null) { return null; } // don't even attempt synchronous delivery for a reliable message when we have an // non-recoverable state that doesn't accept reliable messages... | private Delivery handleNoTx(DeliveryObserver sender, Receiver receiver, Routable r) { checkClosed(); if (r == null) { return null; } // don't even attempt synchronous delivery for a reliable message when we have an // non-recoverable state that doesn't accept reliable messages... | 28,424 |
private Delivery handleNoTx(DeliveryObserver sender, Receiver receiver, Routable r) { checkClosed(); if (r == null) { return null; } // don't even attempt synchronous delivery for a reliable message when we have an // non-recoverable state that doesn't accept reliable messages... | private Delivery handleNoTx(DeliveryObserver sender, Receiver receiver, Routable r) { checkClosed(); if (r == null) { return null; } // don't even attempt synchronous delivery for a reliable message when we have an // non-recoverable state that doesn't accept reliable messages... | 28,425 |
private Delivery handleNoTx(DeliveryObserver sender, Receiver receiver, Routable r) { checkClosed(); if (r == null) { return null; } // don't even attempt synchronous delivery for a reliable message when we have an // non-recoverable state that doesn't accept reliable messages... | private Delivery handleNoTx(DeliveryObserver sender, Receiver receiver, Routable r) { checkClosed(); if (r == null) { return null; } // don't even attempt synchronous delivery for a reliable message when we have an // non-recoverable state that doesn't accept reliable messages... | 28,427 |
protected MessageReference ref(Routable r) { MessageReference ref = null; if (r.isReference()) { return (MessageReference)r; } else { //Convert to reference try { ref = ms.reference(r); return ref; } catch (Th... | protected MessageReference ref(Routable r) { MessageReference ref = null; try { return (MessageReference)r; } else { //Convert to reference try { ref = ms.reference(r); return ref; } catch (Throwable t) ... | 28,428 |
protected MessageReference ref(Routable r) { MessageReference ref = null; if (r.isReference()) { return (MessageReference)r; } else { //Convert to reference try { ref = ms.reference(r); return ref; } catch (Th... | protected MessageReference ref(Routable r) { MessageReference ref = null; if (r.isReference()) { ref = ms.reference(r); return ref; } else { //Convert to reference try { ref = ms.reference(r); return ref; } ca... | 28,429 |
protected MessageReference ref(Routable r) { MessageReference ref = null; if (r.isReference()) { return (MessageReference)r; } else { //Convert to reference try { ref = ms.reference(r); return ref; } catch (Th... | protected MessageReference ref(Routable r) { MessageReference ref = null; if (r.isReference()) { return (MessageReference)r; } catch (Throwable t) { //Convert to reference try { ref = ms.reference(r); return ref; } ... | 28,430 |
protected MessageReference ref(Routable r) { MessageReference ref = null; if (r.isReference()) { return (MessageReference)r; } else { //Convert to reference try { ref = ms.reference(r); return ref; } catch (Th... | protected MessageReference ref(Routable r) { MessageReference ref = null; if (r.isReference()) { return (MessageReference)r; } else { //Convert to reference try { ref = ms.reference(r); return ref; } catch (Th... | 28,431 |
public boolean selfTest() { if (valid == null) { Sha160 md = new Sha160(); md.update((byte) 0x61); // a md.update((byte) 0x62); // b md.update((byte) 0x63); // c String result = Util.toString(md.digest()); valid = new Boolean(DIGEST0.equals(result)); } return... | public boolean selfTest() { if (valid == null) { Sha160 md = new Sha160(); md.update((byte) 0x61); // a md.update((byte) 0x62); // b md.update((byte) 0x63); // c String result = Util.toString(md.digest()); valid = Boolean.valueOf(DIGEST0.equals(result)); } re... | 28,432 |
public static void setupAbsolute(Box box) { CalculatedStyle style = box.getContent().getStyle(); String position = LayoutUtil.getPosition(style); if (position.equals("absolute")) { if (style.hasProperty("right")) { //u.p("prop = " + c.css.getProperty(box.getRealElement... | public static void setupAbsolute(Box box) { CalculatedStyle style = box.getContent().getStyle(); String position = LayoutUtil.getPosition(style); if (position.equals("absolute")) { if (style.hasProperty("right")) { //u.p("prop = " + c.css.getProperty(box.getRealElement... | 28,434 |
public static void setupFloat(Context c, Box box, CascadedStyle style) { if (ContentUtil.isFloated(style)) { //Uu.p("==== setup float ===="); //Uu.dump_stack(); IdentValue floatVal = style.getIdent(CSSName.FLOAT); if (floatVal == IdentValue.NONE) { r... | public static void setupFloat(Context c, Box box, CascadedStyle style) { if (ContentUtil.isFloated(style)) { //Uu.p("==== setup float ===="); //Uu.dump_stack(); IdentValue floatVal = style.getIdent(CSSName.FLOAT); if (floatVal == IdentValue.NONE) { r... | 28,435 |
public static void setupFloat(Context c, Box box, CascadedStyle style) { if (ContentUtil.isFloated(style)) { //Uu.p("==== setup float ===="); //Uu.dump_stack(); IdentValue floatVal = style.getIdent(CSSName.FLOAT); if (floatVal == IdentValue.NONE) { r... | public static void setupFloat(Context c, Box box, CascadedStyle style) { if (ContentUtil.isFloated(style)) { //Uu.p("==== setup float ===="); //Uu.dump_stack(); IdentValue floatVal = c.getCurrentStyle().getIdent(CSSName.FLOAT); if (floatVal == IdentValue.NONE) { ... | 28,436 |
public void testNonRecoverableChannel_1() throws Exception { if (channel.isRecoverable()) { // we test only non-recoverable channels now return; } // the channel has no receivers assertFalse(channel.iterator().hasNext()); Message m = MessageFactory.createCoreMessage(0,... | public void testNonRecoverableChannel_1() throws Exception { if (channel.isRecoverable()) { // we test only non-recoverable channels now return; } // the channel has no receivers assertFalse(channel.iterator().hasNext()); Message m = MessageFactory.createCoreMessage(0,... | 28,437 |
public void setUp() throws Exception { super.setUp(); channel = new Subscription(null, null, ms); log.debug("setup done"); } | public void setUp() throws Exception { super.setUp(); channel = new Subscription(null, null, false, ms); log.debug("setup done"); } | 28,438 |
public abstract Image getImage(URL url); | public abstract Image getImage(String name); | 28,439 |
public QueueBrowser createBrowser(Queue queue) throws JMSException { //As per spec. section 4.11 if (sessionType == TYPE_TOPIC_SESSION) { throw new IllegalStateException("Cannot create a browser on a TopicSession"); } if (queue == null) { throw new InvalidDestinationEx... | public QueueBrowser createBrowser(Queue queue) throws JMSException { //As per spec. section 4.11 if (sessionType == TYPE_TOPIC_SESSION) { throw new IllegalStateException("Cannot create a browser on a TopicSession"); } if (queue == null) { throw new InvalidDestinationEx... | 28,440 |
public MessageConsumer createConsumer(Destination d) throws JMSException { if (d == null) { throw new InvalidDestinationException("Cannot create a consumer with a null destination"); } ConsumerDelegate consumerDelegate = delegate.createConsumerDelegate(d, null, false, null, false); ... | public MessageConsumer createConsumer(Destination d) throws JMSException { if (d == null) { throw new InvalidDestinationException("Cannot create a consumer with a null destination"); } ConsumerDelegate consumerDelegate = delegate.createConsumerDelegate(d, null, false, null, false); ... | 28,441 |
public MessageProducer createProducer(Destination d) throws JMSException { ProducerDelegate producerDelegate = delegate.createProducerDelegate(d); return new JBossMessageProducer(producerDelegate); } | public MessageProducer createProducer(Destination d) throws JMSException { ProducerDelegate producerDelegate = delegate.createProducerDelegate(d); return new JBossMessageProducer(producerDelegate); } | 28,442 |
void addAsfMessage(MessageProxy m, int consumerID, long channelID, int maxDeliveries); | void addAsfMessage(MessageProxy m, int consumerID, long channelID, int maxDeliveries, SessionDelegate connectionConsumerDelegate); | 28,443 |
public void setDefaultCloseOperation(int operation) { if (operation == DO_NOTHING_ON_CLOSE || operation == HIDE_ON_CLOSE || operation == DISPOSE_ON_CLOSE) close_action = operation; else throw new IllegalArgumentException("Default close operation must be one of DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE, ... | public void setDefaultCloseOperation(int operation) { if (operation == DO_NOTHING_ON_CLOSE || operation == HIDE_ON_CLOSE || operation == DISPOSE_ON_CLOSE) close_action = operation; else close_action = DO_NOTHING_ON_CLOSE; } | 28,444 |
public void testDefaultSecurityConfiguration() throws Exception { String config = "<mbean code=\"org.jboss.jms.server.destination.@TOREPLACE@\" " + " name=\"somedomain:service=@TOREPLACE@,name=DefaultSecurity\"" + " xmbean-dd=\"xmdesc/@TOREPLACE@-xmbean.xml\">" + " ... | public void testDefaultSecurityConfiguration() throws Exception { String config = "<mbean code=\"org.jboss.jms.server.destination.@TOREPLACE@\" " + " name=\"somedomain:service=@TOREPLACE@,name=DefaultSecurity\"" + " xmbean-dd=\"xmdesc/@TOREPLACE@-xmbean.xml\">" + " ... | 28,445 |
public static void assertEquivalent(Node node, Node node2) { if (node == null) { throw new XMLRuntimeException("the first node to be compared is null"); } if (node2 == null) { throw new XMLRuntimeException("the second node to be compared is null"); } if (!node.get... | public static void assertEquivalent(Node node, Node node2) { if (node == null) { throw new XMLRuntimeException("the first node to be compared is null"); } if (node2 == null) { throw new XMLRuntimeException("the second node to be compared is null"); } if (!node.get... | 28,446 |
public static void assertEquivalent(Node node, Node node2) { if (node == null) { throw new XMLRuntimeException("the first node to be compared is null"); } if (node2 == null) { throw new XMLRuntimeException("the second node to be compared is null"); } if (!node.get... | public static void assertEquivalent(Node node, Node node2) { if (node == null) { throw new XMLRuntimeException("the first node to be compared is null"); } if (node2 == null) { throw new XMLRuntimeException("the second node to be compared is null"); } if (!node.get... | 28,447 |
public static void assertEquivalent(Node node, Node node2) { if (node == null) { throw new XMLRuntimeException("the first node to be compared is null"); } if (node2 == null) { throw new XMLRuntimeException("the second node to be compared is null"); } if (!node.get... | public static void assertEquivalent(Node node, Node node2) { if (node == null) { throw new XMLRuntimeException("the first node to be compared is null"); } if (node2 == null) { throw new XMLRuntimeException("the second node to be compared is null"); } if (!node.get... | 28,448 |
protected void runRunners(Runner[] runners) throws Exception { Thread[] threads = new Thread[runners.length]; for (int i = 0; i < runners.length; i++) { threads[i] = new Thread(runners[i]); threads[i].start(); } for (int i = 0; i < runners.length; i++) { ... | protected void runRunners(Runner[] runners) throws Exception { Thread[] threads = new Thread[runners.length]; for (int i = 0; i < runners.length; i++) { threads[i] = new Thread(runners[i]); threads[i].start(); } for (int i = 0; i < runners.length; i++) { ... | 28,452 |
public void tearDown() throws Exception { assertEquals(0, LockMap.instance.getSize()); ServerManagement.undeployQueue("Queue1"); ServerManagement.undeployQueue("Queue2"); ServerManagement.undeployQueue("Queue3"); ServerManagement.undeployQueue("Queue4"); ServerManagement.u... | public void tearDown() throws Exception { assertEquals(0, LockMap.instance.getSize()); ServerManagement.undeployQueue("Queue1"); ServerManagement.undeployQueue("Queue2"); ServerManagement.undeployQueue("Queue3"); ServerManagement.undeployQueue("Queue4"); ServerManagement.u... | 28,453 |
public ClientConnectionFactoryDelegate(int objectID, String serverLocatorURI, Version serverVersion, String serverID, boolean clientPing) { super(objectID); this.serverLocatorURI = serverLocatorURI; this.serverVersion ... | public ClientConnectionFactoryDelegate(int objectID, String serverLocatorURI, Version serverVersion, int serverID, boolean clientPing) { super(objectID); this.serverLocatorURI = serverLocatorURI; this.serverVersion = s... | 28,455 |
public String getServerID() { return serverID; } | public int getServerID() { return serverID; } | 28,456 |
public boolean passesCondition(Map transientVars, Map args, PropertySet ps) throws StoreException { int stepId = 0; String stepIdVal = (String) args.get("stepId"); if (stepIdVal != null) { try { stepId = Integer.parseInt(stepIdVal); } catch (Exception ex) { ... | public boolean passesCondition(Map transientVars, Map args, PropertySet ps) throws StoreException { int stepId = 0; String stepIdVal = (String) args.get("stepId"); if (stepIdVal != null) { try { stepId = Integer.parseInt(stepIdVal); } catch (Exception ex) { ... | 28,457 |
public boolean passesCondition(Map transientVars, Map args, PropertySet ps) throws StoreException { int stepId = 0; String stepIdVal = (String) args.get("stepId"); if (stepIdVal != null) { try { stepId = Integer.parseInt(stepIdVal); } catch (Exception ex) { ... | public boolean passesCondition(Map transientVars, Map args, PropertySet ps) throws StoreException { int stepId = 0; String stepIdVal = (String) args.get("stepId"); if (stepIdVal != null) { try { stepId = Integer.parseInt(stepIdVal); } catch (Exception ex) { ... | 28,458 |
private final void writeInitializeClass(VmConstFieldRef fieldRef) { // Get fieldRef via constantpool to avoid direct object references in // the native code final VmType<?> declClass = fieldRef.getResolvedVmField() .getDeclaringClass(); if (!declClass.isInitialized()) { final Label curInstrLabel = ge... | private final void writeInitializeClass(VmConstFieldRef fieldRef) { // Get fieldRef via constantpool to avoid direct object references in // the native code final VmType<?> declClass = fieldRef.getResolvedVmField() .getDeclaringClass(); if (!declClass.isInitialized()) { final Label curInstrLabel = ge... | 28,461 |
private final void wstore(int jvmType, int index) { final int disp = stackFrame.getEbpOffset(typeSizeInfo, index); wstoreReg = null; // Pin down (load) other references to this local vstack.loadLocal(eContext, disp); // Load final WordItem val = (WordItem) vstack.pop(jvmType); final boolean vconst = val.i... | private final void wstore(int jvmType, int index) { final int disp = stackFrame.getEbpOffset(typeSizeInfo, index); wstoreReg = null; // Pin down (load) other references to this local vstack.loadLocal(eContext, disp); // Load final WordItem val = (WordItem) vstack.pop(jvmType); final boolean vconst = val.i... | 28,462 |
private final void wstore(int jvmType, int index) { final int disp = stackFrame.getEbpOffset(typeSizeInfo, index); wstoreReg = null; // Pin down (load) other references to this local vstack.loadLocal(eContext, disp); // Load final WordItem val = (WordItem) vstack.pop(jvmType); final boolean vconst = val.i... | private final void wstore(int jvmType, int index) { final int disp = stackFrame.getEbpOffset(typeSizeInfo, index); wstoreReg = null; // Pin down (load) other references to this local vstack.loadLocal(eContext, disp); // Load final WordItem val = (WordItem) vstack.pop(jvmType); final boolean vconst = val.i... | 28,463 |
public DestinationManagerImpl(ServerPeer serverPeer) throws Exception { this.serverPeer = serverPeer; //TODO close this inital context when DestinationManager stops initialContext = new InitialContext(); coreDestinationManager = new CoreDestinationManager(this); queueNameToJNDI = new HashM... | public DestinationManagerImpl(ServerPeer serverPeer) throws Exception { this.serverPeer = serverPeer; //TODO close this inital context when DestinationManager stops initialContext = new InitialContext(); coreDestinationManager = new CoreDestinationManager(this); queueNameToJNDI = new HashM... | 28,464 |
public void addTemporaryDestination(Destination jmsDestination) throws JMSException { coreDestinationManager.addCoreDestination(jmsDestination); } | public synchronized void addTemporaryDestination(Destination jmsDestination) throws JMSException { coreDestinationManager.addCoreDestination(jmsDestination); } | 28,465 |
public static String elementToString(Node n) throws Exception { String name = n.getNodeName(); if (name.startsWith("#")) { return ""; } StringBuffer sb = new StringBuffer(); sb.append('<').append(name); NamedNodeMap attrs = n.getAttributes(); if (attrs != null) ... | public static String elementToString(Node n) throws Exception { String name = n.getNodeName(); if (name.startsWith("#")) { return ""; } StringBuffer sb = new StringBuffer(); sb.append('<').append(name); NamedNodeMap attrs = n.getAttributes(); if (attrs != null) ... | 28,467 |
public static Hashtable getJNDIEnvironment(int serverIndex) { log.info("Returning remote context... server index:" + serverIndex); Hashtable env = new Hashtable(); env.put("java.naming.factory.initial", "org.jboss.test.messaging.tools.jndi.RemoteInitialContextFactory"); env.p... | public static Hashtable getJNDIEnvironment(int serverIndex) { Hashtable env = new Hashtable(); env.put("java.naming.factory.initial", "org.jboss.test.messaging.tools.jndi.RemoteInitialContextFactory"); env.put("java.naming.provider.url", ""); env.put("java.naming.factor... | 28,468 |
public RegisterDescriptor(Element register) { init(register); } | public RegisterDescriptor(Element register) { init(register); } | 28,470 |
public StepDescriptor(Element step, AbstractDescriptor parent) { setParent(parent); init(step); } | public StepDescriptor(Element step, AbstractDescriptor parent) { setParent(parent); init(step); } | 28,471 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.