rem stringlengths 0 477k | add stringlengths 0 313k | context stringlengths 6 599k |
|---|---|---|
assertNull(state.remove()); | assertNull(state.removeFirst()); | public void testNonRecoverableState_remove_6() throws Throwable { if (state.isRecoverable()) { // only non-recoverable state is tested now return; } if (!state.acceptReliableMessages()) { // only state that accepts reliable messages is tested now return; ... |
state.add(ref, null); | state.add(ref); | public void testNonRecoverableState_remove_6_mixed() throws Throwable { if (state.isRecoverable()) { // only non-recoverable state is tested now return; } if (!state.acceptReliableMessages()) { // only state that accepts reliable messages is tested now retur... |
MessageReference ref = state.remove(); | MessageReference ref = state.removeFirst(); | public void testNonRecoverableState_remove_6_mixed() throws Throwable { if (state.isRecoverable()) { // only non-recoverable state is tested now return; } if (!state.acceptReliableMessages()) { // only state that accepts reliable messages is tested now retur... |
assertNull(state.remove()); | assertNull(state.removeFirst()); | public void testNonRecoverableState_remove_6_mixed() throws Throwable { if (state.isRecoverable()) { // only non-recoverable state is tested now return; } if (!state.acceptReliableMessages()) { // only state that accepts reliable messages is tested now retur... |
state.add(ref, null); | state.add(ref); | public void testRecoverableState_43() throws Throwable { if (!state.isRecoverable()) { // only recoverable state is tested now return; } MessageReference ref = ms.reference(MessageFactory.createMessage("message0", false, "payload0")); // recoverable state, unreliable messag... |
state.add(refs[i], null); | state.add(refs[i]); | public void testRecoverableState_44() throws Throwable { if (!state.isRecoverable()) { // only recoverable state is tested now return; } MessageReference[] refs = new MessageReference[NUMBER_OF_MESSAGES]; for(int i = 0; i < NUMBER_OF_MESSAGES; i++) { refs[i] = ... |
state.add(ref, null); | state.add(ref); | public void testRecoverableState_45() throws Throwable { if (!state.isRecoverable()) { // only recoverable state is tested now return; } MessageReference ref = ms.reference(MessageFactory.createMessage("message0", true, "payload0")); // recoverable state, reliable message, ... |
state.add(refs[i], null); | state.add(refs[i]); | public void testRecoverableState_46() throws Throwable { if (!state.isRecoverable()) { // only recoverable state is tested now return; } MessageReference[] refs = new MessageReference[NUMBER_OF_MESSAGES]; for(int i = 0; i < NUMBER_OF_MESSAGES; i++) { refs[i] = ... |
state.add(d); | state.deliver(d); | public void testRecoverableState_55() throws Throwable { if (!state.isRecoverable()) { // only recoverable state is tested now return; } MessageReference ref = ms.reference(MessageFactory.createMessage("message0", false, "payload0")); Delivery d = new SimpleDelivery(channel... |
state.add(d); | state.deliver(d); | public void testRecoverableState_56() throws Throwable { if (!state.isRecoverable()) { // only recoverable state is tested now return; } MessageReference[] refs = new MessageReference[NUMBER_OF_MESSAGES]; for(int i = 0; i < NUMBER_OF_MESSAGES; i++) { refs[i] = ... |
state.add(d); | state.deliver(d); | public void testRecoverableState_57() throws Throwable { if (!state.isRecoverable()) { // only recoverable state is tested now return; } MessageReference ref = ms.reference(MessageFactory.createMessage("message0", true, "payload0")); Delivery d = new SimpleDelivery(channel,... |
state.add(d); | state.deliver(d); | public void testRecoverableState_58() throws Throwable { if (!state.isRecoverable()) { // only recoverable state is tested now return; } MessageReference[] refs = new MessageReference[NUMBER_OF_MESSAGES]; for(int i = 0; i < NUMBER_OF_MESSAGES; i++) { refs[i] = ... |
state.add(d); | state.deliver(d); | public void testRecoverableState_59() throws Throwable { if (!state.isRecoverable()) { // only recoverable state is tested now return; } MessageReference ref = ms.reference(MessageFactory.createMessage("message0", false, "payload0")); Delivery d = new SimpleDelivery(channel... |
state.remove(d, null); | state.acknowledge(d); | public void testRecoverableState_59() throws Throwable { if (!state.isRecoverable()) { // only recoverable state is tested now return; } MessageReference ref = ms.reference(MessageFactory.createMessage("message0", false, "payload0")); Delivery d = new SimpleDelivery(channel... |
state.add(deliveries[i]); | state.deliver(deliveries[i]); | public void testRecoverableState_60() throws Throwable { if (!state.isRecoverable()) { // only recoverable state is tested now return; } Delivery[] deliveries = new Delivery[NUMBER_OF_MESSAGES]; for(int i = 0; i < NUMBER_OF_MESSAGES; i++) { MessageReference ref... |
state.remove(deliveries[i], null); | state.acknowledge(deliveries[i]); | public void testRecoverableState_60() throws Throwable { if (!state.isRecoverable()) { // only recoverable state is tested now return; } Delivery[] deliveries = new Delivery[NUMBER_OF_MESSAGES]; for(int i = 0; i < NUMBER_OF_MESSAGES; i++) { MessageReference ref... |
state.add(d); | state.deliver(d); | public void testRecoverableState_61() throws Throwable { if (!state.isRecoverable()) { // only recoverable state is tested now return; } MessageReference ref = ms.reference(MessageFactory.createMessage("message0", true, "payload0")); Delivery d = new SimpleDelivery(channel,... |
state.remove(d, null); | state.acknowledge(d); | public void testRecoverableState_61() throws Throwable { if (!state.isRecoverable()) { // only recoverable state is tested now return; } MessageReference ref = ms.reference(MessageFactory.createMessage("message0", true, "payload0")); Delivery d = new SimpleDelivery(channel,... |
state.add(deliveries[i]); | state.deliver(deliveries[i]); | public void testRecoverableState_62() throws Throwable { if (!state.isRecoverable()) { // only recoverable state is tested now return; } Delivery[] deliveries = new Delivery[NUMBER_OF_MESSAGES]; for(int i = 0; i < NUMBER_OF_MESSAGES; i++) { MessageReference ref... |
state.remove(deliveries[i], null); | state.acknowledge(deliveries[i]); | public void testRecoverableState_62() throws Throwable { if (!state.isRecoverable()) { // only recoverable state is tested now return; } Delivery[] deliveries = new Delivery[NUMBER_OF_MESSAGES]; for(int i = 0; i < NUMBER_OF_MESSAGES; i++) { MessageReference ref... |
state.add(d); | state.deliver(d); | public void testRecoverableState_63() throws Throwable { if (!state.isRecoverable()) { // only recoverable state is tested now return; } MessageReference ref = ms.reference(MessageFactory.createMessage("message0", false, "payload0")); Delivery d = new SimpleDelivery(channel... |
state.remove(d, tx); | state.acknowledge(d, tx); | public void testRecoverableState_63() throws Throwable { if (!state.isRecoverable()) { // only recoverable state is tested now return; } MessageReference ref = ms.reference(MessageFactory.createMessage("message0", false, "payload0")); Delivery d = new SimpleDelivery(channel... |
state.add(deliveries[i]); | state.deliver(deliveries[i]); | public void testRecoverableState_64() throws Throwable { if (!state.isRecoverable()) { // only recoverable state is tested now return; } Delivery[] deliveries = new Delivery[NUMBER_OF_MESSAGES]; for(int i = 0; i < NUMBER_OF_MESSAGES; i++) { MessageReference ref... |
state.remove(deliveries[i], tx); | state.acknowledge(deliveries[i], tx); | public void testRecoverableState_64() throws Throwable { if (!state.isRecoverable()) { // only recoverable state is tested now return; } Delivery[] deliveries = new Delivery[NUMBER_OF_MESSAGES]; for(int i = 0; i < NUMBER_OF_MESSAGES; i++) { MessageReference ref... |
state.add(d); | state.deliver(d); | public void testRecoverableState_65() throws Throwable { if (!state.isRecoverable()) { // only recoverable state is tested now return; } MessageReference ref = ms.reference(MessageFactory.createMessage("message0", true, "payload0")); Delivery d = new SimpleDelivery(channel,... |
state.remove(d, tx); | state.acknowledge(d, tx); | public void testRecoverableState_65() throws Throwable { if (!state.isRecoverable()) { // only recoverable state is tested now return; } MessageReference ref = ms.reference(MessageFactory.createMessage("message0", true, "payload0")); Delivery d = new SimpleDelivery(channel,... |
state.add(deliveries[i]); | state.deliver(deliveries[i]); | public void testRecoverableState_66() throws Throwable { if (!state.isRecoverable()) { // only recoverable state is tested now return; } Delivery[] deliveries = new Delivery[NUMBER_OF_MESSAGES]; for(int i = 0; i < NUMBER_OF_MESSAGES; i++) { MessageReference ref... |
state.remove(deliveries[i], tx); | state.acknowledge(deliveries[i], tx); | public void testRecoverableState_66() throws Throwable { if (!state.isRecoverable()) { // only recoverable state is tested now return; } Delivery[] deliveries = new Delivery[NUMBER_OF_MESSAGES]; for(int i = 0; i < NUMBER_OF_MESSAGES; i++) { MessageReference ref... |
state.add(d); | state.deliver(d); | public void testRecoverableState_67() throws Throwable { if (!state.isRecoverable()) { // only recoverable state is tested now return; } MessageReference ref = ms.reference(MessageFactory.createMessage("message0", false, "payload0")); Delivery d = new SimpleDelivery(channel... |
state.remove(d, tx); | state.acknowledge(d, tx); | public void testRecoverableState_67() throws Throwable { if (!state.isRecoverable()) { // only recoverable state is tested now return; } MessageReference ref = ms.reference(MessageFactory.createMessage("message0", false, "payload0")); Delivery d = new SimpleDelivery(channel... |
state.add(deliveries[i]); | state.deliver(deliveries[i]); | public void testRecoverableState_68() throws Throwable { if (!state.isRecoverable()) { // only recoverable state is tested now return; } MessageReference[] refs = new MessageReference[NUMBER_OF_MESSAGES]; Delivery[] deliveries = new Delivery[NUMBER_OF_MESSAGES]; for(in... |
state.remove(deliveries[i], tx); | state.acknowledge(deliveries[i], tx); | public void testRecoverableState_68() throws Throwable { if (!state.isRecoverable()) { // only recoverable state is tested now return; } MessageReference[] refs = new MessageReference[NUMBER_OF_MESSAGES]; Delivery[] deliveries = new Delivery[NUMBER_OF_MESSAGES]; for(in... |
state.add(d); | state.deliver(d); | public void testRecoverableState_69() throws Throwable { if (!state.isRecoverable()) { // only recoverable state is tested now return; } MessageReference ref = ms.reference(MessageFactory.createMessage("message0", true, "payload0")); Delivery d = new SimpleDelivery(channel,... |
state.remove(d, tx); | state.acknowledge(d, tx); | public void testRecoverableState_69() throws Throwable { if (!state.isRecoverable()) { // only recoverable state is tested now return; } MessageReference ref = ms.reference(MessageFactory.createMessage("message0", true, "payload0")); Delivery d = new SimpleDelivery(channel,... |
state.add(deliveries[i]); | state.deliver(deliveries[i]); | public void testRecoverableState_70() throws Throwable { if (!state.isRecoverable()) { // only recoverable state is tested now return; } MessageReference[] refs = new MessageReference[NUMBER_OF_MESSAGES]; Delivery[] deliveries = new Delivery[NUMBER_OF_MESSAGES]; for(in... |
state.remove(deliveries[i], tx); | state.acknowledge(deliveries[i], tx); | public void testRecoverableState_70() throws Throwable { if (!state.isRecoverable()) { // only recoverable state is tested now return; } MessageReference[] refs = new MessageReference[NUMBER_OF_MESSAGES]; Delivery[] deliveries = new Delivery[NUMBER_OF_MESSAGES]; for(in... |
state.add(ref, null); | state.add(ref); | public void testRecoverableState_remove_10() throws Throwable { if (!state.isRecoverable()) { // only recoverable state is tested now return; } for(int i = 0; i < NUMBER_OF_MESSAGES; i++) { MessageReference ref = ms.reference(MessageFactory.createMessa... |
MessageReference ref = state.remove(); | MessageReference ref = state.removeFirst(); | public void testRecoverableState_remove_10() throws Throwable { if (!state.isRecoverable()) { // only recoverable state is tested now return; } for(int i = 0; i < NUMBER_OF_MESSAGES; i++) { MessageReference ref = ms.reference(MessageFactory.createMessa... |
assertNull(state.remove()); | assertNull(state.removeFirst()); | public void testRecoverableState_remove_10() throws Throwable { if (!state.isRecoverable()) { // only recoverable state is tested now return; } for(int i = 0; i < NUMBER_OF_MESSAGES; i++) { MessageReference ref = ms.reference(MessageFactory.createMessa... |
state.add(ref, null); | state.add(ref); | public void testRecoverableState_remove_10_mixed() throws Throwable { if (!state.isRecoverable()) { // only recoverable state is tested now return; } for(int i = 0; i < NUMBER_OF_MESSAGES; i++) { MessageReference ref = ms.reference(MessageFactory.creat... |
MessageReference ref = state.remove(); | MessageReference ref = state.removeFirst(); | public void testRecoverableState_remove_10_mixed() throws Throwable { if (!state.isRecoverable()) { // only recoverable state is tested now return; } for(int i = 0; i < NUMBER_OF_MESSAGES; i++) { MessageReference ref = ms.reference(MessageFactory.creat... |
assertNull(state.remove()); | assertNull(state.removeFirst()); | public void testRecoverableState_remove_10_mixed() throws Throwable { if (!state.isRecoverable()) { // only recoverable state is tested now return; } for(int i = 0; i < NUMBER_OF_MESSAGES; i++) { MessageReference ref = ms.reference(MessageFactory.creat... |
state.add(ref, null); | state.add(ref); | public void testRecoverableState_remove_7() throws Throwable { if (!state.isRecoverable()) { // only recoverable state is tested now return; } MessageReference ref = ms.reference(MessageFactory.createMessage("message0", false, "payload0")); state.add(ref, null); Messag... |
MessageReference rref = state.remove(); | MessageReference rref = state.removeFirst(); | public void testRecoverableState_remove_7() throws Throwable { if (!state.isRecoverable()) { // only recoverable state is tested now return; } MessageReference ref = ms.reference(MessageFactory.createMessage("message0", false, "payload0")); state.add(ref, null); Messag... |
assertNull(state.remove()); | assertNull(state.removeFirst()); | public void testRecoverableState_remove_7() throws Throwable { if (!state.isRecoverable()) { // only recoverable state is tested now return; } MessageReference ref = ms.reference(MessageFactory.createMessage("message0", false, "payload0")); state.add(ref, null); Messag... |
state.add(ref, null); | state.add(ref); | public void testRecoverableState_remove_8() throws Throwable { if (!state.isRecoverable()) { // only recoverable state is tested now return; } for(int i = 0; i < NUMBER_OF_MESSAGES; i++) { MessageReference ref = ms.reference(MessageFactory.createMessag... |
MessageReference ref = state.remove(); | MessageReference ref = state.removeFirst(); | public void testRecoverableState_remove_8() throws Throwable { if (!state.isRecoverable()) { // only recoverable state is tested now return; } for(int i = 0; i < NUMBER_OF_MESSAGES; i++) { MessageReference ref = ms.reference(MessageFactory.createMessag... |
assertNull(state.remove()); | assertNull(state.removeFirst()); | public void testRecoverableState_remove_8() throws Throwable { if (!state.isRecoverable()) { // only recoverable state is tested now return; } for(int i = 0; i < NUMBER_OF_MESSAGES; i++) { MessageReference ref = ms.reference(MessageFactory.createMessag... |
state.add(ref, null); | state.add(ref); | public void testRecoverableState_remove_9() throws Throwable { if (!state.isRecoverable()) { // only recoverable state is tested now return; } MessageReference ref = ms.reference(MessageFactory.createMessage("message0", true, "payload0")); state.add(ref, null); Message... |
MessageReference rref = state.remove(); | MessageReference rref = state.removeFirst(); | public void testRecoverableState_remove_9() throws Throwable { if (!state.isRecoverable()) { // only recoverable state is tested now return; } MessageReference ref = ms.reference(MessageFactory.createMessage("message0", true, "payload0")); state.add(ref, null); Message... |
assertNull(state.remove()); | assertNull(state.removeFirst()); | public void testRecoverableState_remove_9() throws Throwable { if (!state.isRecoverable()) { // only recoverable state is tested now return; } MessageReference ref = ms.reference(MessageFactory.createMessage("message0", true, "payload0")); state.add(ref, null); Message... |
String message = "Evaluation error while running BSH script"; | String message = "Evaluation error while running BSH function script"; | public void execute(Map transientVars, Map args, PropertySet ps) throws WorkflowException { String script = (String) args.get(AbstractWorkflow.BSH_SCRIPT); Interpreter i = null; ClassLoader loader = null; WorkflowContext context = (WorkflowContext) transientVars.get("context"); Wo... |
if ((i != null) && (loader != null)) { | if (loader != null) { | public void execute(Map transientVars, Map args, PropertySet ps) throws WorkflowException { String script = (String) args.get(AbstractWorkflow.BSH_SCRIPT); Interpreter i = null; ClassLoader loader = null; WorkflowContext context = (WorkflowContext) transientVars.get("context"); Wo... |
if (c.getBlockFormattingContext() == null) { BlockFormattingContext bfc = new BlockFormattingContext(outerBox, c); c.pushBFC(bfc); set_bfc = true; bfc.setWidth((int) c.getExtents().getWidth()); } | public static Box layout(LayoutContext c, BlockBox outerBox, Content content) { boolean set_bfc = false; if (content instanceof TableContent) { // install a block formatting context for the body, // ie. if it's null. // set up the outtermost bfc if (c.getBlo... | |
if (c.getBlockFormattingContext() == null) { BlockFormattingContext bfc = new BlockFormattingContext(outerBox, c); c.pushBFC(bfc); set_bfc = true; bfc.setWidth((int) c.getExtents().getWidth()); } | public static Box layout(LayoutContext c, BlockBox outerBox, Content content) { boolean set_bfc = false; if (content instanceof TableContent) { // install a block formatting context for the body, // ie. if it's null. // set up the outtermost bfc if (c.getBlo... | |
if (whitespace == IdentValue.NORMAL || whitespace == IdentValue.NOWRAP || whitespace == IdentValue.PRE) { text = linefeed_space_collapse.matcher(text).replaceAll(EOL); } | text = collapseWhitespace(whitespace, text, collapseLeading); | static boolean stripWhitespace(CalculatedStyle style, boolean collapseLeading, TextContent tc) { IdentValue whitespace = style.getIdent(CSSName.WHITE_SPACE); String text = tc.getText(); // do step 1 if (whitespace == IdentValue.NORMAL || whitespace == IdentValue.NOWRAP || whitespace == I... |
if (whitespace == IdentValue.NORMAL || whitespace == IdentValue.NOWRAP) { text = linefeed_to_space.matcher(text).replaceAll(SPACE); } if (whitespace == IdentValue.NORMAL || whitespace == IdentValue.NOWRAP || whitespace == IdentValue.PRE) { text = tab_to_space.matcher(text).replaceAll(SPACE); text = space_collapse.mat... | static boolean stripWhitespace(CalculatedStyle style, boolean collapseLeading, TextContent tc) { IdentValue whitespace = style.getIdent(CSSName.WHITE_SPACE); String text = tc.getText(); // do step 1 if (whitespace == IdentValue.NORMAL || whitespace == IdentValue.NOWRAP || whitespace == I... | |
0, | protected Message createMessage(byte i, boolean reliable) throws Exception { HashMap coreHeaders = generateFilledMap(true); HashMap jmsProperties = generateFilledMap(false); JBossStreamMessage m = new JBossStreamMessage(i, reliable, ... | |
public Delivery handle(DeliveryObserver observer, Routable routable, Transaction tx) | public Delivery handle(DeliveryObserver observer, Routable reference, Transaction tx) | public Delivery handle(DeliveryObserver observer, Routable routable, Transaction tx) { // deliver the message on a different thread than the core thread that brought it here Delivery delivery = null; try { Message message = routable.getMessage(); try { message... |
Message message = routable.getMessage(); | Message message = reference.getMessage(); | public Delivery handle(DeliveryObserver observer, Routable routable, Transaction tx) { // deliver the message on a different thread than the core thread that brought it here Delivery delivery = null; try { Message message = routable.getMessage(); try { message... |
if (routable.isRedelivered()) | if (reference.isRedelivered()) | public Delivery handle(DeliveryObserver observer, Routable routable, Transaction tx) { // deliver the message on a different thread than the core thread that brought it here Delivery delivery = null; try { Message message = routable.getMessage(); try { message... |
delivery = new SimpleDelivery(observer, (MessageReference)routable); deliveries.put(routable.getMessageID(), delivery); | delivery = new SimpleDelivery(observer, (MessageReference)reference); deliveries.put(reference.getMessageID(), delivery); | public Delivery handle(DeliveryObserver observer, Routable routable, Transaction tx) { // deliver the message on a different thread than the core thread that brought it here Delivery delivery = null; try { Message message = routable.getMessage(); try { message... |
modify(i); | modify(rows[i]); | private void modify() { int[] rows = conditionsTable.getSelectedRows(); for(int i = 0; i < rows.length; i++) { modify(i); } } |
postmodify(i); | postmodify(rows[i]); | private void postmodify() { int[] rows = postFunctionsTable.getSelectedRows(); for(int i = 0; i < rows.length; i++) { postmodify(i); } } |
postFunctionsModel.remove(i); | postFunctionsModel.remove(rows[i]); | private void postremove() { int[] rows = postFunctionsTable.getSelectedRows(); for(int i = 0; i < rows.length; i++) { postFunctionsModel.remove(i); } } |
premodify(i); | premodify(rows[i]); | private void premodify() { int[] rows = preFunctionsTable.getSelectedRows(); for(int i = 0; i < rows.length; i++) { premodify(i); } } |
preFunctionsModel.remove(i); | preFunctionsModel.remove(rows[i]); | private void preremove() { int[] rows = preFunctionsTable.getSelectedRows(); for(int i = 0; i < rows.length; i++) { preFunctionsModel.remove(i); } } |
conditionsModel.remove(i); | conditionsModel.remove(rows[i]); | private void remove() { int[] rows = conditionsTable.getSelectedRows(); for(int i = 0; i < rows.length; i++) { conditionsModel.remove(i); } } |
return toString(1, "um"); | return getXMicrometers() + "x" + getYMicrometers() + " um"; | public String toString() { return toString(1, "um"); } |
public void postDeliver(String messageID, String receiverID); | public void postDeliver(String messageID, String receiverID) throws JMSException; | public void postDeliver(String messageID, String receiverID); |
public void preDeliver(String messageID, String receiverID); | public void preDeliver(String messageID, String receiverID) throws JMSException; | public void preDeliver(String messageID, String receiverID); |
if ( c.debugDrawFontMetrics() ) { g.setColor(Color.red); g.drawLine(ix,iy, ix+inline.width, iy); iy += lm.getDescent(); g.drawLine(ix,iy, ix+inline.width, iy); iy -= lm.getDescent(); iy -= lm.getAscent(); g.drawLine(ix,iy, ix+inline.width, iy); } | private void paintInline( Context c, InlineBox inline, int lx, int ly, LineBox line ) { if ( InlineLayout.isReplaced( inline.node ) ) { //u.p("painting a replaced block: " + inline); c.translate( line.x, line.y + ( line.baseline - inline.height ) ); Renderer rend = LayoutFact... | |
this.autoExecute = "true".equals(action.getAttribute("auto")); this.finish = "true".equals(action.getAttribute("finish")); | this.autoExecute = "true".equalsIgnoreCase(action.getAttribute("auto")); this.finish = "true".equalsIgnoreCase(action.getAttribute("finish")); | protected void init(Element action) { try { setId(Integer.parseInt(action.getAttribute("id"))); } catch (Exception ex) { throw new IllegalArgumentException("Invalid action id value " + action.getAttribute("id")); } this.name = action.getAttribute("name"); thi... |
if(e.getCell() != null && (e.getCell() instanceof WorkflowCell || e.getCell() instanceof WorkflowEdge)) | int index = e.getCells().length; Object lastModified = e.getCells()[index - 1]; if(lastModified instanceof WorkflowCell || lastModified instanceof WorkflowEdge) | public void valueChanged(GraphSelectionEvent e) { if(e.getCell() != null && (e.getCell() instanceof WorkflowCell || e.getCell() instanceof WorkflowEdge)) { showDetails(e.getCell()); } else if(e.getCell() != null) { log.debug("unhandled selection:" + e.getCell().getClass()); } } |
showDetails(e.getCell()); | if(e.isAddedCell(index - 1)) { showDetails(lastModified); } | public void valueChanged(GraphSelectionEvent e) { if(e.getCell() != null && (e.getCell() instanceof WorkflowCell || e.getCell() instanceof WorkflowEdge)) { showDetails(e.getCell()); } else if(e.getCell() != null) { log.debug("unhandled selection:" + e.getCell().getClass()); } } |
else if(e.getCell() != null) | else if(lastModified != null) | public void valueChanged(GraphSelectionEvent e) { if(e.getCell() != null && (e.getCell() instanceof WorkflowCell || e.getCell() instanceof WorkflowEdge)) { showDetails(e.getCell()); } else if(e.getCell() != null) { log.debug("unhandled selection:" + e.getCell().getClass()); } } |
log.debug("unhandled selection:" + e.getCell().getClass()); | log.debug("unhandled selection:" + lastModified.getClass()); | public void valueChanged(GraphSelectionEvent e) { if(e.getCell() != null && (e.getCell() instanceof WorkflowCell || e.getCell() instanceof WorkflowEdge)) { showDetails(e.getCell()); } else if(e.getCell() != null) { log.debug("unhandled selection:" + e.getCell().getClass()); } } |
Queue queue1 = new Queue(1, ms, pm, true, true, 100, 20, 10, new QueuedExecutor(), null); Queue queue2 = new Queue(2, ms, pm, true, true, 50, 10, 5, new QueuedExecutor(), null); | Queue queue1 = new Queue(1, ms, pm, true, true, 100, 20, 10, new QueuedExecutor()); Queue queue2 = new Queue(2, ms, pm, true, true, 50, 10, 5, new QueuedExecutor()); | public void test1() throws Throwable { Queue queue1 = new Queue(1, ms, pm, true, true, 100, 20, 10, new QueuedExecutor(), null); Queue queue2 = new Queue(2, ms, pm, true, true, 50, 10, 5, new QueuedExecutor(), null); Message[] msgs = new Message[150]; ... |
remove(); | disconnect(); | public void close() throws JMSException { if (log.isTraceEnabled()) { log.trace(this.id + " close"); } remove(); } |
boolean removed = destination.remove(this); if (log.isTraceEnabled()) log.trace("receiver " + (removed ? "" : "NOT ") + "removed"); | if (!disconnected) { disconnect(); } | void remove() { if (log.isTraceEnabled()) log.trace("attempting to remove receiver from destination: " + destination); for(Iterator i = deliveries.keySet().iterator(); i.hasNext(); ) { Object messageID = i.next(); Delivery d = (Delivery)deliveries.get(messageID); try ... |
this.sessionEndpoint.consumers.remove(id); | void remove() { if (log.isTraceEnabled()) log.trace("attempting to remove receiver from destination: " + destination); for(Iterator i = deliveries.keySet().iterator(); i.hasNext(); ) { Object messageID = i.next(); Delivery d = (Delivery)deliveries.get(messageID); try ... | |
typeNamePattern, String attributeNamePattern) throws SQLException; | typePattern, String attributePattern) throws SQLException; | ResultSet getAttributes(String catalog, String schemaPattern, String typeNamePattern, String attributeNamePattern) throws SQLException; |
String table, int scope, boolean nullable) throws SQLException; | String tableName, int scope, boolean nullable) throws SQLException; | ResultSet getBestRowIdentifier(String catalog, String schema, String table, int scope, boolean nullable) throws SQLException; |
table, String columnNamePattern) throws SQLException; | tableName, String columnPattern) throws SQLException; | ResultSet getColumnPrivileges(String catalog, String schema, String table, String columnNamePattern) throws SQLException; |
tableNamePattern, String columnNamePattern) throws SQLException; | tablePattern, String columnPattern) throws SQLException; | ResultSet getColumns(String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern) throws SQLException; |
primarySchema, String primaryTable, String foreignCatalog, String foreignSchema, String foreignTable) throws SQLException; | primarySchema, String primaryTableName, String foreignCatalog, String foreignSchema, String foreignTableName) throws SQLException; | ResultSet getCrossReference(String primaryCatalog, String primarySchema, String primaryTable, String foreignCatalog, String foreignSchema, String foreignTable) throws SQLException; |
String table) throws SQLException; | String tableName) throws SQLException; | ResultSet getExportedKeys(String catalog, String schema, String table) throws SQLException; |
String table) throws SQLException; | String tableName) throws SQLException; | ResultSet getImportedKeys(String catalog, String schema, String table) throws SQLException; |
ResultSet getIndexInfo(String catalog, String schema, String table, | ResultSet getIndexInfo(String catalog, String schema, String tableName, | ResultSet getIndexInfo(String catalog, String schema, String table, boolean unique, boolean approximate) throws SQLException; |
ResultSet getPrimaryKeys(String catalog, String schema, String table) | ResultSet getPrimaryKeys(String catalog, String schema, String tableName) | ResultSet getPrimaryKeys(String catalog, String schema, String table) throws SQLException; |
String procedureNamePattern, String columnNamePattern) throws | String procedurePattern, String columnPattern) throws | ResultSet getProcedureColumns(String catalog, String schemaPattern, String procedureNamePattern, String columnNamePattern) throws SQLException; |
procedureNamePattern) throws SQLException; | procedurePattern) throws SQLException; | ResultSet getProcedures(String catalog, String schemaPattern, String procedureNamePattern) throws SQLException; |
String tableNamePattern) throws SQLException; | String tablePattern) throws SQLException; | ResultSet getSuperTables(String catalog, String schemaPattern, String tableNamePattern) throws SQLException; |
String typeNamePattern) throws SQLException; | String typePattern) throws SQLException; | ResultSet getSuperTypes(String catalog, String schemaPattern, String typeNamePattern) throws SQLException; |
String tableNamePattern) throws SQLException; | String tablePattern) throws SQLException; | ResultSet getTablePrivileges(String catalog, String schemaPattern, String tableNamePattern) throws SQLException; |
tableNamePattern, String[] types) throws SQLException; | tablePattern, String[] types) throws SQLException; | ResultSet getTables(String catalog, String schemaPattern, String tableNamePattern, String[] types) throws SQLException; |
typeNamePattern, int[] types) throws SQLException; | typePattern, int[] types) throws SQLException; | ResultSet getUDTs(String catalog, String schemaPattern, String typeNamePattern, int[] types) throws SQLException; |
String table) throws SQLException; | String tableName) throws SQLException; | ResultSet getVersionColumns(String catalog, String schema, String table) throws SQLException; |
boolean incremented = false; | public void addReference(long channelID, MessageReference ref, Transaction tx) throws Exception { if (tx != null) { //In a tx so we just add the ref in the tx in memory for now TransactionCallback callback = getCallback(tx); callback.addReferenceToAdd(channelID, ref); }... | |
if (trace) | if (trace) { log.trace("Inserted " + rows + " rows"); } log.info("Inserted " + rows + " rows"); if (!m.isPersisted()) | public void addReference(long channelID, MessageReference ref, Transaction tx) throws Exception { if (tx != null) { //In a tx so we just add the ref in the tx in memory for now TransactionCallback callback = getCallback(tx); callback.addReferenceToAdd(channelID, ref); }... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.