bugged
stringlengths
6
599k
fixed
stringlengths
10
599k
__index_level_0__
int64
0
1.13M
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...
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...
30,845
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...
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...
30,846
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...
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...
30,847
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...
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); MessageRefere...
30,848
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...
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...
30,849
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...
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...
30,850
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...
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...
30,851
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...
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...
30,852
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...
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...
30,853
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...
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...
30,855
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...
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...
30,856
protected Message createMessage(byte i, boolean reliable) throws Exception { HashMap coreHeaders = generateFilledMap(true); HashMap jmsProperties = generateFilledMap(false); JBossStreamMessage m = new JBossStreamMessage(i, reliable, ...
protected Message createMessage(byte i, boolean reliable) throws Exception { HashMap coreHeaders = generateFilledMap(true); HashMap jmsProperties = generateFilledMap(false); JBossStreamMessage m = new JBossStreamMessage(i, reliable, ...
30,857
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...
public Delivery handle(DeliveryObserver observer, Routable reference, 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 { messag...
30,858
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...
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 = reference.getMessage(); try { messag...
30,859
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...
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...
30,860
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...
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...
30,861
private void modify() { int[] rows = conditionsTable.getSelectedRows(); for(int i = 0; i < rows.length; i++) { modify(i); } }
private void modify() { int[] rows = conditionsTable.getSelectedRows(); for(int i = 0; i < rows.length; i++) { modify(rows[i]); } }
30,862
private void postmodify() { int[] rows = postFunctionsTable.getSelectedRows(); for(int i = 0; i < rows.length; i++) { postmodify(i); } }
private void postmodify() { int[] rows = postFunctionsTable.getSelectedRows(); for(int i = 0; i < rows.length; i++) { postmodify(rows[i]); } }
30,863
private void postremove() { int[] rows = postFunctionsTable.getSelectedRows(); for(int i = 0; i < rows.length; i++) { postFunctionsModel.remove(i); } }
private void postremove() { int[] rows = postFunctionsTable.getSelectedRows(); for(int i = 0; i < rows.length; i++) { postFunctionsModel.remove(rows[i]); } }
30,864
private void premodify() { int[] rows = preFunctionsTable.getSelectedRows(); for(int i = 0; i < rows.length; i++) { premodify(i); } }
private void premodify() { int[] rows = preFunctionsTable.getSelectedRows(); for(int i = 0; i < rows.length; i++) { premodify(rows[i]); } }
30,865
private void preremove() { int[] rows = preFunctionsTable.getSelectedRows(); for(int i = 0; i < rows.length; i++) { preFunctionsModel.remove(i); } }
private void preremove() { int[] rows = preFunctionsTable.getSelectedRows(); for(int i = 0; i < rows.length; i++) { preFunctionsModel.remove(rows[i]); } }
30,866
private void remove() { int[] rows = conditionsTable.getSelectedRows(); for(int i = 0; i < rows.length; i++) { conditionsModel.remove(i); } }
private void remove() { int[] rows = conditionsTable.getSelectedRows(); for(int i = 0; i < rows.length; i++) { conditionsModel.remove(rows[i]); } }
30,867
public String toString() { return toString(1, "um"); }
public String toString() { return getXMicrometers() + "x" + getYMicrometers() + " um"; }
30,868
public void postDeliver(String messageID, String receiverID);
public void postDeliver(String messageID, String receiverID) throws JMSException;
30,869
public void preDeliver(String messageID, String receiverID);
public void preDeliver(String messageID, String receiverID) throws JMSException;
30,870
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...
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...
30,872
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()); } }
public void valueChanged(GraphSelectionEvent e) { int index = e.getCells().length; Object lastModified = e.getCells()[index - 1]; if(lastModified instanceof WorkflowCell || lastModified instanceof WorkflowEdge) { showDetails(e.getCell()); } else if(e.getCell() != null) { log.debug("unhandled...
30,873
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()); } }
public void valueChanged(GraphSelectionEvent e) { if(e.getCell() != null && (e.getCell() instanceof WorkflowCell || e.getCell() instanceof WorkflowEdge)) { if(e.isAddedCell(index - 1)) { showDetails(lastModified); } } else if(e.getCell() != null) { log.debug("unhandled selection:" + e.getCel...
30,874
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()); } }
public void valueChanged(GraphSelectionEvent e) { if(e.getCell() != null && (e.getCell() instanceof WorkflowCell || e.getCell() instanceof WorkflowEdge)) { showDetails(e.getCell()); } else if(lastModified != null) { log.debug("unhandled selection:" + e.getCell().getClass()); } }
30,875
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()); } }
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:" + lastModified.getClass()); } }
30,876
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]; ...
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]; ...
30,877
public void close() throws JMSException { if (log.isTraceEnabled()) { log.trace(this.id + " close"); } remove(); }
public void close() throws JMSException { if (log.isTraceEnabled()) { log.trace(this.id + " close"); } disconnect(); }
30,878
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 ...
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 ...
30,879
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 ...
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 ...
30,880
ResultSet getAttributes(String catalog, String schemaPattern, String typeNamePattern, String attributeNamePattern) throws SQLException;
ResultSet getAttributes(String catalog, String schemaPattern, String typePattern, String attributePattern) throws SQLException;
30,881
ResultSet getBestRowIdentifier(String catalog, String schema, String table, int scope, boolean nullable) throws SQLException;
ResultSet getBestRowIdentifier(String catalog, String schema, String tableName, int scope, boolean nullable) throws SQLException;
30,882
ResultSet getColumnPrivileges(String catalog, String schema, String table, String columnNamePattern) throws SQLException;
ResultSet getColumnPrivileges(String catalog, String schema, String tableName, String columnPattern) throws SQLException;
30,883
ResultSet getColumns(String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern) throws SQLException;
ResultSet getColumns(String catalog, String schemaPattern, String tablePattern, String columnPattern) throws SQLException;
30,884
ResultSet getCrossReference(String primaryCatalog, String primarySchema, String primaryTable, String foreignCatalog, String foreignSchema, String foreignTable) throws SQLException;
ResultSet getCrossReference(String primaryCatalog, String primarySchema, String primaryTable, String foreignCatalog, String foreignSchema, String foreignTable) throws SQLException;
30,885
ResultSet getExportedKeys(String catalog, String schema, String table) throws SQLException;
ResultSet getExportedKeys(String catalog, String schema, String tableName) throws SQLException;
30,886
ResultSet getImportedKeys(String catalog, String schema, String table) throws SQLException;
ResultSet getImportedKeys(String catalog, String schema, String tableName) throws SQLException;
30,887
ResultSet getIndexInfo(String catalog, String schema, String table, boolean unique, boolean approximate) throws SQLException;
ResultSet getIndexInfo(String catalog, String schema, String tableName, boolean unique, boolean approximate) throws SQLException;
30,888
ResultSet getPrimaryKeys(String catalog, String schema, String table) throws SQLException;
ResultSet getPrimaryKeys(String catalog, String schema, String tableName) throws SQLException;
30,889
ResultSet getProcedureColumns(String catalog, String schemaPattern, String procedureNamePattern, String columnNamePattern) throws SQLException;
ResultSet getProcedureColumns(String catalog, String schemaPattern, String procedurePattern, String columnPattern) throws SQLException;
30,890
ResultSet getProcedures(String catalog, String schemaPattern, String procedureNamePattern) throws SQLException;
ResultSet getProcedures(String catalog, String schemaPattern, String procedurePattern) throws SQLException;
30,891
ResultSet getSuperTables(String catalog, String schemaPattern, String tableNamePattern) throws SQLException;
ResultSet getSuperTables(String catalog, String schemaPattern, String tablePattern) throws SQLException;
30,892
ResultSet getSuperTypes(String catalog, String schemaPattern, String typeNamePattern) throws SQLException;
ResultSet getSuperTypes(String catalog, String schemaPattern, String typePattern) throws SQLException;
30,893
ResultSet getTablePrivileges(String catalog, String schemaPattern, String tableNamePattern) throws SQLException;
ResultSet getTablePrivileges(String catalog, String schemaPattern, String tablePattern) throws SQLException;
30,894
ResultSet getTables(String catalog, String schemaPattern, String tableNamePattern, String[] types) throws SQLException;
ResultSet getTables(String catalog, String schemaPattern, String tablePattern, String[] types) throws SQLException;
30,895
ResultSet getUDTs(String catalog, String schemaPattern, String typeNamePattern, int[] types) throws SQLException;
ResultSet getUDTs(String catalog, String schemaPattern, String typePattern, int[] types) throws SQLException;
30,896
ResultSet getVersionColumns(String catalog, String schema, String table) throws SQLException;
ResultSet getVersionColumns(String catalog, String schema, String tableName) throws SQLException;
30,897
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); }...
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); }...
30,898
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); }...
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); }...
30,899
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); }...
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); }...
30,900
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); }...
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); }...
30,901
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); }...
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); }...
30,902
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); }...
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); }...
30,903
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); }...
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); }...
30,904
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); }...
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); }...
30,905
protected Map getDefaultDMLStatements() { Map map = new LinkedHashMap(); //Message reference map.put("INSERT_MESSAGE_REF", "INSERT INTO JMS_MESSAGE_REFERENCE (CHANNELID, MESSAGEID, TRANSACTIONID, STATE, ORD, PAGE_ORD, DELIVERYCOUNT, RELIABLE) " + "VALUES (?,...
protected Map getDefaultDMLStatements() { Map map = new LinkedHashMap(); //Message reference map.put("INSERT_MESSAGE_REF", "INSERT INTO JMS_MESSAGE_REFERENCE (CHANNELID, MESSAGEID, TRANSACTIONID, STATE, ORD, PAGE_ORD, DELIVERYCOUNT, RELIABLE) " + "VALUES (?,...
30,906
public InitialLoadInfo getInitialReferenceInfos(long channelID, int fullSize) throws Exception { if (trace) { log.trace("loading initial reference infos for channel " + channelID); } List refs = new ArrayList(); List extraRefs = new ArrayList(); Conne...
public InitialLoadInfo getInitialReferenceInfos(long channelID, int fullSize) throws Exception { if (trace) { log.trace("loading initial reference infos for channel " + channelID); } List refs = new ArrayList(); Connection conn = null; PreparedS...
30,908
public List getMessages(List messageIds) throws Exception { if (trace) { log.trace("Getting batch of messages for " + messageIds); } Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; TransactionWrapper wrap = new TransactionWrapper(); ...
public List getMessages(List messageIds) throws Exception { if (trace) { log.trace("Getting batch of messages for " + messageIds); } Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; TransactionWrapper wrap = new TransactionWrapper(); ...
30,909
public List getMessages(List messageIds) throws Exception { if (trace) { log.trace("Getting batch of messages for " + messageIds); } Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; TransactionWrapper wrap = new TransactionWrapper(); ...
public List getMessages(List messageIds) throws Exception { if (trace) { log.trace("Getting batch of messages for " + messageIds); } Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; TransactionWrapper wrap = new TransactionWrapper(); ...
30,910
protected void handleBeforeCommit1PC(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //TODO - A slight optimisation - it's possible we have refs referring to the same message //so we will end up acquiring the lock more than once which is unnecessary //If find unique set of...
protected void handleBeforeCommit1PC(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //TODO - A slight optimisation - it's possible we have refs referring to the same message //so we will end up acquiring the lock more than once which is unnecessary //If find unique set of...
30,911
protected void handleBeforeCommit1PC(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //TODO - A slight optimisation - it's possible we have refs referring to the same message //so we will end up acquiring the lock more than once which is unnecessary //If find unique set of...
protected void handleBeforeCommit1PC(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //TODO - A slight optimisation - it's possible we have refs referring to the same message //so we will end up acquiring the lock more than once which is unnecessary //If find unique set of...
30,912
protected void handleBeforeCommit1PC(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //TODO - A slight optimisation - it's possible we have refs referring to the same message //so we will end up acquiring the lock more than once which is unnecessary //If find unique set of...
protected void handleBeforeCommit1PC(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //TODO - A slight optimisation - it's possible we have refs referring to the same message //so we will end up acquiring the lock more than once which is unnecessary //If find unique set of...
30,913
protected void handleBeforeCommit1PC(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //TODO - A slight optimisation - it's possible we have refs referring to the same message //so we will end up acquiring the lock more than once which is unnecessary //If find unique set of...
protected void handleBeforeCommit1PC(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //TODO - A slight optimisation - it's possible we have refs referring to the same message //so we will end up acquiring the lock more than once which is unnecessary //If find unique set of...
30,914
protected void handleBeforeCommit1PC(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //TODO - A slight optimisation - it's possible we have refs referring to the same message //so we will end up acquiring the lock more than once which is unnecessary //If find unique set of...
protected void handleBeforeCommit1PC(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //TODO - A slight optimisation - it's possible we have refs referring to the same message //so we will end up acquiring the lock more than once which is unnecessary //If find unique set of...
30,915
protected void handleBeforeCommit1PC(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //TODO - A slight optimisation - it's possible we have refs referring to the same message //so we will end up acquiring the lock more than once which is unnecessary //If find unique set of...
protected void handleBeforeCommit1PC(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //TODO - A slight optimisation - it's possible we have refs referring to the same message //so we will end up acquiring the lock more than once which is unnecessary //If find unique set of...
30,916
protected void handleBeforeCommit1PC(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //TODO - A slight optimisation - it's possible we have refs referring to the same message //so we will end up acquiring the lock more than once which is unnecessary //If find unique set of...
protected void handleBeforeCommit1PC(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //TODO - A slight optimisation - it's possible we have refs referring to the same message //so we will end up acquiring the lock more than once which is unnecessary //If find unique set of...
30,917
protected void handleBeforeCommit1PC(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //TODO - A slight optimisation - it's possible we have refs referring to the same message //so we will end up acquiring the lock more than once which is unnecessary //If find unique set of...
protected void handleBeforeCommit1PC(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //TODO - A slight optimisation - it's possible we have refs referring to the same message //so we will end up acquiring the lock more than once which is unnecessary //If find unique set of...
30,918
protected void handleBeforeCommit1PC(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //TODO - A slight optimisation - it's possible we have refs referring to the same message //so we will end up acquiring the lock more than once which is unnecessary //If find unique set of...
protected void handleBeforeCommit1PC(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //TODO - A slight optimisation - it's possible we have refs referring to the same message //so we will end up acquiring the lock more than once which is unnecessary //If find unique set of...
30,919
protected void handleBeforeCommit1PC(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //TODO - A slight optimisation - it's possible we have refs referring to the same message //so we will end up acquiring the lock more than once which is unnecessary //If find unique set of...
protected void handleBeforeCommit1PC(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //TODO - A slight optimisation - it's possible we have refs referring to the same message //so we will end up acquiring the lock more than once which is unnecessary //If find unique set of...
30,920
protected void handleBeforeCommit1PC(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //TODO - A slight optimisation - it's possible we have refs referring to the same message //so we will end up acquiring the lock more than once which is unnecessary //If find unique set of...
protected void handleBeforeCommit1PC(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //TODO - A slight optimisation - it's possible we have refs referring to the same message //so we will end up acquiring the lock more than once which is unnecessary //If find unique set of...
30,921
protected void handleBeforeCommit1PC(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //TODO - A slight optimisation - it's possible we have refs referring to the same message //so we will end up acquiring the lock more than once which is unnecessary //If find unique set of...
protected void handleBeforeCommit1PC(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //TODO - A slight optimisation - it's possible we have refs referring to the same message //so we will end up acquiring the lock more than once which is unnecessary //If find unique set of...
30,922
protected void handleBeforeCommit1PC(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //TODO - A slight optimisation - it's possible we have refs referring to the same message //so we will end up acquiring the lock more than once which is unnecessary //If find unique set of...
protected void handleBeforeCommit1PC(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //TODO - A slight optimisation - it's possible we have refs referring to the same message //so we will end up acquiring the lock more than once which is unnecessary //If find unique set of...
30,923
protected void handleBeforeCommit1PC(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //TODO - A slight optimisation - it's possible we have refs referring to the same message //so we will end up acquiring the lock more than once which is unnecessary //If find unique set of...
protected void handleBeforeCommit1PC(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //TODO - A slight optimisation - it's possible we have refs referring to the same message //so we will end up acquiring the lock more than once which is unnecessary //If find unique set of...
30,924
protected void handleBeforeCommit1PC(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //TODO - A slight optimisation - it's possible we have refs referring to the same message //so we will end up acquiring the lock more than once which is unnecessary //If find unique set of...
protected void handleBeforeCommit1PC(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //TODO - A slight optimisation - it's possible we have refs referring to the same message //so we will end up acquiring the lock more than once which is unnecessary //If find unique set of...
30,925
protected void handleBeforeCommit1PC(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //TODO - A slight optimisation - it's possible we have refs referring to the same message //so we will end up acquiring the lock more than once which is unnecessary //If find unique set of...
protected void handleBeforeCommit1PC(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //TODO - A slight optimisation - it's possible we have refs referring to the same message //so we will end up acquiring the lock more than once which is unnecessary //If find unique set of...
30,926
protected void handleBeforeCommit1PC(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //TODO - A slight optimisation - it's possible we have refs referring to the same message //so we will end up acquiring the lock more than once which is unnecessary //If find unique set of...
protected void handleBeforeCommit1PC(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //TODO - A slight optimisation - it's possible we have refs referring to the same message //so we will end up acquiring the lock more than once which is unnecessary //If find unique set of...
30,927
protected void handleBeforeCommit1PC(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //TODO - A slight optimisation - it's possible we have refs referring to the same message //so we will end up acquiring the lock more than once which is unnecessary //If find unique set of...
protected void handleBeforeCommit1PC(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //TODO - A slight optimisation - it's possible we have refs referring to the same message //so we will end up acquiring the lock more than once which is unnecessary //If find unique set of...
30,928
protected void handleBeforeCommit1PC(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //TODO - A slight optimisation - it's possible we have refs referring to the same message //so we will end up acquiring the lock more than once which is unnecessary //If find unique set of...
protected void handleBeforeCommit1PC(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //TODO - A slight optimisation - it's possible we have refs referring to the same message //so we will end up acquiring the lock more than once which is unnecessary //If find unique set of...
30,929
protected void handleBeforeCommit1PC(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //TODO - A slight optimisation - it's possible we have refs referring to the same message //so we will end up acquiring the lock more than once which is unnecessary //If find unique set of...
protected void handleBeforeCommit1PC(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //TODO - A slight optimisation - it's possible we have refs referring to the same message //so we will end up acquiring the lock more than once which is unnecessary //If find unique set of...
30,930
protected void handleBeforeCommit2PC(List refsToRemove, Transaction tx) throws Exception { Connection conn = null; PreparedStatement psUpdateMessage = null; PreparedStatement psDeleteMessage = null; TransactionWrapper wrap = new TransactionWrapper(); List refs = new Ar...
protected void handleBeforeCommit2PC(List refsToRemove, Transaction tx) throws Exception { Connection conn = null; PreparedStatement psUpdateMessage = null; PreparedStatement psDeleteMessage = null; TransactionWrapper wrap = new TransactionWrapper(); List refs = new Ar...
30,931
protected void handleBeforeCommit2PC(List refsToRemove, Transaction tx) throws Exception { Connection conn = null; PreparedStatement psUpdateMessage = null; PreparedStatement psDeleteMessage = null; TransactionWrapper wrap = new TransactionWrapper(); List refs = new Ar...
protected void handleBeforeCommit2PC(List refsToRemove, Transaction tx) throws Exception { Connection conn = null; PreparedStatement psUpdateMessage = null; PreparedStatement psDeleteMessage = null; TransactionWrapper wrap = new TransactionWrapper(); List refs = new Ar...
30,932
protected void handleBeforeCommit2PC(List refsToRemove, Transaction tx) throws Exception { Connection conn = null; PreparedStatement psUpdateMessage = null; PreparedStatement psDeleteMessage = null; TransactionWrapper wrap = new TransactionWrapper(); List refs = new Ar...
protected void handleBeforeCommit2PC(List refsToRemove, Transaction tx) throws Exception { Connection conn = null; PreparedStatement psUpdateMessage = null; PreparedStatement psDeleteMessage = null; TransactionWrapper wrap = new TransactionWrapper(); List refs = new Ar...
30,933
protected void handleBeforeCommit2PC(List refsToRemove, Transaction tx) throws Exception { Connection conn = null; PreparedStatement psUpdateMessage = null; PreparedStatement psDeleteMessage = null; TransactionWrapper wrap = new TransactionWrapper(); List refs = new Ar...
protected void handleBeforeCommit2PC(List refsToRemove, Transaction tx) throws Exception { Connection conn = null; PreparedStatement psUpdateMessage = null; PreparedStatement psDeleteMessage = null; TransactionWrapper wrap = new TransactionWrapper(); List refs = new Ar...
30,934
protected void handleBeforeCommit2PC(List refsToRemove, Transaction tx) throws Exception { Connection conn = null; PreparedStatement psUpdateMessage = null; PreparedStatement psDeleteMessage = null; TransactionWrapper wrap = new TransactionWrapper(); List refs = new Ar...
protected void handleBeforeCommit2PC(List refsToRemove, Transaction tx) throws Exception { Connection conn = null; PreparedStatement psUpdateMessage = null; PreparedStatement psDeleteMessage = null; TransactionWrapper wrap = new TransactionWrapper(); List refs = new Ar...
30,935
protected void handleBeforeCommit2PC(List refsToRemove, Transaction tx) throws Exception { Connection conn = null; PreparedStatement psUpdateMessage = null; PreparedStatement psDeleteMessage = null; TransactionWrapper wrap = new TransactionWrapper(); List refs = new Ar...
protected void handleBeforeCommit2PC(List refsToRemove, Transaction tx) throws Exception { Connection conn = null; PreparedStatement psUpdateMessage = null; PreparedStatement psDeleteMessage = null; TransactionWrapper wrap = new TransactionWrapper(); List refs = new Ar...
30,936
protected void handleBeforeCommit2PC(List refsToRemove, Transaction tx) throws Exception { Connection conn = null; PreparedStatement psUpdateMessage = null; PreparedStatement psDeleteMessage = null; TransactionWrapper wrap = new TransactionWrapper(); List refs = new Ar...
protected void handleBeforeCommit2PC(List refsToRemove, Transaction tx) throws Exception { Connection conn = null; PreparedStatement psUpdateMessage = null; PreparedStatement psDeleteMessage = null; TransactionWrapper wrap = new TransactionWrapper(); List refs = new Ar...
30,937
protected void handleBeforeCommit2PC(List refsToRemove, Transaction tx) throws Exception { Connection conn = null; PreparedStatement psUpdateMessage = null; PreparedStatement psDeleteMessage = null; TransactionWrapper wrap = new TransactionWrapper(); List refs = new Ar...
protected void handleBeforeCommit2PC(List refsToRemove, Transaction tx) throws Exception { Connection conn = null; PreparedStatement psUpdateMessage = null; PreparedStatement psDeleteMessage = null; TransactionWrapper wrap = new TransactionWrapper(); List refs = new Ar...
30,938
protected void handleBeforeCommit2PC(List refsToRemove, Transaction tx) throws Exception { Connection conn = null; PreparedStatement psUpdateMessage = null; PreparedStatement psDeleteMessage = null; TransactionWrapper wrap = new TransactionWrapper(); List refs = new Ar...
protected void handleBeforeCommit2PC(List refsToRemove, Transaction tx) throws Exception { Connection conn = null; PreparedStatement psUpdateMessage = null; PreparedStatement psDeleteMessage = null; TransactionWrapper wrap = new TransactionWrapper(); List refs = new Ar...
30,939
protected void handleBeforeCommit2PC(List refsToRemove, Transaction tx) throws Exception { Connection conn = null; PreparedStatement psUpdateMessage = null; PreparedStatement psDeleteMessage = null; TransactionWrapper wrap = new TransactionWrapper(); List refs = new Ar...
protected void handleBeforeCommit2PC(List refsToRemove, Transaction tx) throws Exception { Connection conn = null; PreparedStatement psUpdateMessage = null; PreparedStatement psDeleteMessage = null; TransactionWrapper wrap = new TransactionWrapper(); List refs = new Ar...
30,940
protected void handleBeforePrepare(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //We only need to lock on the adds List refs = new ArrayList(refsToAdd.size()); Iterator iter = refsToAdd.iterator(); while (iter.hasNext()) { ChannelRefPair pair = (Chann...
protected void handleBeforePrepare(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //We only need to lock on the adds List refs = new ArrayList(refsToAdd.size()); Iterator iter = refsToAdd.iterator(); while (iter.hasNext()) { ChannelRefPair pair = (Chann...
30,941
protected void handleBeforePrepare(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //We only need to lock on the adds List refs = new ArrayList(refsToAdd.size()); Iterator iter = refsToAdd.iterator(); while (iter.hasNext()) { ChannelRefPair pair = (Chann...
protected void handleBeforePrepare(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //We only need to lock on the adds List refs = new ArrayList(refsToAdd.size()); Iterator iter = refsToAdd.iterator(); while (iter.hasNext()) { ChannelRefPair pair = (Chann...
30,942
protected void handleBeforePrepare(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //We only need to lock on the adds List refs = new ArrayList(refsToAdd.size()); Iterator iter = refsToAdd.iterator(); while (iter.hasNext()) { ChannelRefPair pair = (Chann...
protected void handleBeforePrepare(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //We only need to lock on the adds List refs = new ArrayList(refsToAdd.size()); Iterator iter = refsToAdd.iterator(); while (iter.hasNext()) { ChannelRefPair pair = (Chann...
30,943
protected void handleBeforePrepare(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //We only need to lock on the adds List refs = new ArrayList(refsToAdd.size()); Iterator iter = refsToAdd.iterator(); while (iter.hasNext()) { ChannelRefPair pair = (Chann...
protected void handleBeforePrepare(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //We only need to lock on the adds List refs = new ArrayList(refsToAdd.size()); Iterator iter = refsToAdd.iterator(); while (iter.hasNext()) { ChannelRefPair pair = (Chann...
30,944
protected void handleBeforePrepare(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //We only need to lock on the adds List refs = new ArrayList(refsToAdd.size()); Iterator iter = refsToAdd.iterator(); while (iter.hasNext()) { ChannelRefPair pair = (Chann...
protected void handleBeforePrepare(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //We only need to lock on the adds List refs = new ArrayList(refsToAdd.size()); Iterator iter = refsToAdd.iterator(); while (iter.hasNext()) { ChannelRefPair pair = (Chann...
30,945
protected void handleBeforePrepare(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //We only need to lock on the adds List refs = new ArrayList(refsToAdd.size()); Iterator iter = refsToAdd.iterator(); while (iter.hasNext()) { ChannelRefPair pair = (Chann...
protected void handleBeforePrepare(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //We only need to lock on the adds List refs = new ArrayList(refsToAdd.size()); Iterator iter = refsToAdd.iterator(); while (iter.hasNext()) { ChannelRefPair pair = (Chann...
30,946
protected void handleBeforeRollback(List refsToAdd, Transaction tx) throws Exception { //remove refs marked with + //and update rows marked with - to C PreparedStatement psDeleteMessage = null; PreparedStatement psUpdateMessage = null; Connection conn = null; TransactionWr...
protected void handleBeforeRollback(List refsToAdd, Transaction tx) throws Exception { //remove refs marked with + //and update rows marked with - to C PreparedStatement psDeleteMessage = null; PreparedStatement psUpdateMessage = null; Connection conn = null; TransactionWr...
30,947