bugged
stringlengths
6
599k
fixed
stringlengths
10
599k
__index_level_0__
int64
0
1.13M
public void addReferences(long channelID, List references) throws Exception { Connection conn = null; PreparedStatement psReference = null; PreparedStatement psMessage = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = ds.getConnection(); Iterator...
public void addReferences(long channelID, List references) throws Exception { Connection conn = null; PreparedStatement psReference = null; PreparedStatement psMessage = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = ds.getConnection(); Iterator...
29,276
public void addReferences(long channelID, List references) throws Exception { Connection conn = null; PreparedStatement psReference = null; PreparedStatement psMessage = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = ds.getConnection(); Iterator...
public void addReferences(long channelID, List references) throws Exception { Connection conn = null; PreparedStatement psReference = null; PreparedStatement psMessage = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = ds.getConnection(); Iterator...
29,277
public void addReferences(long channelID, List references) throws Exception { Connection conn = null; PreparedStatement psReference = null; PreparedStatement psMessage = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = ds.getConnection(); Iterator...
public void addReferences(long channelID, List references) throws Exception { Connection conn = null; PreparedStatement psReference = null; PreparedStatement psMessage = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = ds.getConnection(); Iterator...
29,278
public void addReferences(long channelID, List references) throws Exception { Connection conn = null; PreparedStatement psReference = null; PreparedStatement psMessage = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = ds.getConnection(); Iterator...
public void addReferences(long channelID, List references) throws Exception { Connection conn = null; PreparedStatement psReference = null; PreparedStatement psMessage = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = ds.getConnection(); Iterator...
29,279
public void addReferences(long channelID, List references) throws Exception { Connection conn = null; PreparedStatement psReference = null; PreparedStatement psMessage = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = ds.getConnection(); Iterator...
public void addReferences(long channelID, List references) throws Exception { Connection conn = null; PreparedStatement psReference = null; PreparedStatement psMessage = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = ds.getConnection(); Iterator...
29,280
public void addReferences(long channelID, List references) throws Exception { Connection conn = null; PreparedStatement psReference = null; PreparedStatement psMessage = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = ds.getConnection(); Iterator...
public void addReferences(long channelID, List references) throws Exception { Connection conn = null; PreparedStatement psReference = null; PreparedStatement psMessage = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = ds.getConnection(); Iterator...
29,281
public void addReferences(long channelID, List references) throws Exception { Connection conn = null; PreparedStatement psReference = null; PreparedStatement psMessage = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = ds.getConnection(); Iterator...
public void addReferences(long channelID, List references) throws Exception { Connection conn = null; PreparedStatement psReference = null; PreparedStatement psMessage = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = ds.getConnection(); Iterator...
29,282
public void addReferences(long channelID, List references) throws Exception { Connection conn = null; PreparedStatement psReference = null; PreparedStatement psMessage = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = ds.getConnection(); Iterator...
public void addReferences(long channelID, List references) throws Exception { Connection conn = null; PreparedStatement psReference = null; PreparedStatement psMessage = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = ds.getConnection(); Iterator...
29,283
public void addReferences(long channelID, List references) throws Exception { Connection conn = null; PreparedStatement psReference = null; PreparedStatement psMessage = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = ds.getConnection(); Iterator...
public void addReferences(long channelID, List references) throws Exception { Connection conn = null; PreparedStatement psReference = null; PreparedStatement psMessage = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = ds.getConnection(); Iterator...
29,284
public void addReferences(long channelID, List references) throws Exception { Connection conn = null; PreparedStatement psReference = null; PreparedStatement psMessage = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = ds.getConnection(); Iterator...
public void addReferences(long channelID, List references) throws Exception { Connection conn = null; PreparedStatement psReference = null; PreparedStatement psMessage = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = ds.getConnection(); Iterator...
29,285
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(); try ...
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(); try ...
29,288
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(); try ...
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(); try ...
29,289
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(); try ...
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(); try ...
29,290
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(); try ...
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(); try ...
29,291
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(); try ...
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(); try ...
29,292
protected void handleBeforePrepare(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //We insert a tx record and //a row for each ref with + //and update the row for each delivery with "-" PreparedStatement psReference = null; PreparedStatement psMessage = null; Co...
protected void handleBeforePrepare(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //We insert a tx record and //a row for each ref with + //and update the row for each delivery with "-" PreparedStatement psReference = null; PreparedStatement psInsertMessage = null; P...
29,293
protected void handleBeforePrepare(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //We insert a tx record and //a row for each ref with + //and update the row for each delivery with "-" PreparedStatement psReference = null; PreparedStatement psMessage = null; Co...
protected void handleBeforePrepare(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //We insert a tx record and //a row for each ref with + //and update the row for each delivery with "-" PreparedStatement psReference = null; PreparedStatement psMessage = null; Co...
29,294
protected void handleBeforePrepare(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //We insert a tx record and //a row for each ref with + //and update the row for each delivery with "-" PreparedStatement psReference = null; PreparedStatement psMessage = null; Co...
protected void handleBeforePrepare(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //We insert a tx record and //a row for each ref with + //and update the row for each delivery with "-" PreparedStatement psReference = null; PreparedStatement psMessage = null; Co...
29,295
protected void handleBeforePrepare(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //We insert a tx record and //a row for each ref with + //and update the row for each delivery with "-" PreparedStatement psReference = null; PreparedStatement psMessage = null; Co...
protected void handleBeforePrepare(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //We insert a tx record and //a row for each ref with + //and update the row for each delivery with "-" PreparedStatement psReference = null; PreparedStatement psMessage = null; Co...
29,296
protected void handleBeforePrepare(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //We insert a tx record and //a row for each ref with + //and update the row for each delivery with "-" PreparedStatement psReference = null; PreparedStatement psMessage = null; Co...
protected void handleBeforePrepare(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //We insert a tx record and //a row for each ref with + //and update the row for each delivery with "-" PreparedStatement psReference = null; PreparedStatement psMessage = null; Co...
29,297
protected void handleBeforePrepare(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //We insert a tx record and //a row for each ref with + //and update the row for each delivery with "-" PreparedStatement psReference = null; PreparedStatement psMessage = null; Co...
protected void handleBeforePrepare(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //We insert a tx record and //a row for each ref with + //and update the row for each delivery with "-" PreparedStatement psReference = null; PreparedStatement psMessage = null; Co...
29,299
protected void handleBeforePrepare(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //We insert a tx record and //a row for each ref with + //and update the row for each delivery with "-" PreparedStatement psReference = null; PreparedStatement psMessage = null; Co...
protected void handleBeforePrepare(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //We insert a tx record and //a row for each ref with + //and update the row for each delivery with "-" PreparedStatement psReference = null; PreparedStatement psMessage = null; Co...
29,300
protected void handleBeforeRollback(boolean onePhase, List refsToAdd, Transaction tx) throws Exception { //if one phase then do nothing (there is nothing in the db) //if two phase then remove refs marked with + //and update rows marked with - to C if (onePhase) { //NOOP } ...
protected void handleBeforeRollback(List refsToAdd, Transaction tx) throws Exception { //if one phase then do nothing (there is nothing in the db) //if two phase then remove refs marked with + //and update rows marked with - to C if (onePhase) { //NOOP } else { ...
29,301
protected void handleBeforeRollback(boolean onePhase, List refsToAdd, Transaction tx) throws Exception { //if one phase then do nothing (there is nothing in the db) //if two phase then remove refs marked with + //and update rows marked with - to C if (onePhase) { //NOOP } ...
protected void handleBeforeRollback(boolean onePhase, List refsToAdd, Transaction tx) throws Exception { //if one phase then do nothing (there is nothing in the db) //if two phase then remove refs marked with + //and update rows marked with - to C PreparedStatement psDeleteMessage = null; Prepa...
29,302
protected void handleBeforeRollback(boolean onePhase, List refsToAdd, Transaction tx) throws Exception { //if one phase then do nothing (there is nothing in the db) //if two phase then remove refs marked with + //and update rows marked with - to C if (onePhase) { //NOOP } ...
protected void handleBeforeRollback(boolean onePhase, List refsToAdd, Transaction tx) throws Exception { //if one phase then do nothing (there is nothing in the db) //if two phase then remove refs marked with + //and update rows marked with - to C if (onePhase) { //NOOP } ...
29,303
protected void handleBeforeRollback(boolean onePhase, List refsToAdd, Transaction tx) throws Exception { //if one phase then do nothing (there is nothing in the db) //if two phase then remove refs marked with + //and update rows marked with - to C if (onePhase) { //NOOP } ...
protected void handleBeforeRollback(boolean onePhase, List refsToAdd, Transaction tx) throws Exception { //if one phase then do nothing (there is nothing in the db) //if two phase then remove refs marked with + //and update rows marked with - to C if (onePhase) { //NOOP } ...
29,304
protected void handleBeforeRollback(boolean onePhase, List refsToAdd, Transaction tx) throws Exception { //if one phase then do nothing (there is nothing in the db) //if two phase then remove refs marked with + //and update rows marked with - to C if (onePhase) { //NOOP } ...
protected void handleBeforeRollback(boolean onePhase, List refsToAdd, Transaction tx) throws Exception { //if one phase then do nothing (there is nothing in the db) //if two phase then remove refs marked with + //and update rows marked with - to C if (onePhase) { //NOOP } ...
29,305
protected void handleBeforeRollback(boolean onePhase, List refsToAdd, Transaction tx) throws Exception { //if one phase then do nothing (there is nothing in the db) //if two phase then remove refs marked with + //and update rows marked with - to C if (onePhase) { //NOOP } ...
protected void handleBeforeRollback(boolean onePhase, List refsToAdd, Transaction tx) throws Exception { //if one phase then do nothing (there is nothing in the db) //if two phase then remove refs marked with + //and update rows marked with - to C if (onePhase) { //NOOP } ...
29,306
protected void handleBeforeRollback(boolean onePhase, List refsToAdd, Transaction tx) throws Exception { //if one phase then do nothing (there is nothing in the db) //if two phase then remove refs marked with + //and update rows marked with - to C if (onePhase) { //NOOP } ...
protected void handleBeforeRollback(boolean onePhase, List refsToAdd, Transaction tx) throws Exception { //if one phase then do nothing (there is nothing in the db) //if two phase then remove refs marked with + //and update rows marked with - to C if (onePhase) { //NOOP } ...
29,307
protected void handleBeforeRollback(boolean onePhase, List refsToAdd, Transaction tx) throws Exception { //if one phase then do nothing (there is nothing in the db) //if two phase then remove refs marked with + //and update rows marked with - to C if (onePhase) { //NOOP } ...
protected void handleBeforeRollback(boolean onePhase, List refsToAdd, Transaction tx) throws Exception { //if one phase then do nothing (there is nothing in the db) //if two phase then remove refs marked with + //and update rows marked with - to C if (onePhase) { //NOOP } ...
29,308
protected void handleBeforeRollback(boolean onePhase, List refsToAdd, Transaction tx) throws Exception { //if one phase then do nothing (there is nothing in the db) //if two phase then remove refs marked with + //and update rows marked with - to C if (onePhase) { //NOOP } ...
protected void handleBeforeRollback(boolean onePhase, List refsToAdd, Transaction tx) throws Exception { //if one phase then do nothing (there is nothing in the db) //if two phase then remove refs marked with + //and update rows marked with - to C if (onePhase) { //NOOP } ...
29,309
protected void handleBeforeRollback(boolean onePhase, List refsToAdd, Transaction tx) throws Exception { //if one phase then do nothing (there is nothing in the db) //if two phase then remove refs marked with + //and update rows marked with - to C if (onePhase) { //NOOP } ...
protected void handleBeforeRollback(boolean onePhase, List refsToAdd, Transaction tx) throws Exception { //if one phase then do nothing (there is nothing in the db) //if two phase then remove refs marked with + //and update rows marked with - to C if (onePhase) { //NOOP } ...
29,310
protected void handleBeforeRollback(boolean onePhase, List refsToAdd, Transaction tx) throws Exception { //if one phase then do nothing (there is nothing in the db) //if two phase then remove refs marked with + //and update rows marked with - to C if (onePhase) { //NOOP } ...
protected void handleBeforeRollback(boolean onePhase, List refsToAdd, Transaction tx) throws Exception { //if one phase then do nothing (there is nothing in the db) //if two phase then remove refs marked with + //and update rows marked with - to C if (onePhase) { //NOOP } ...
29,311
protected void handleBeforeRollback(boolean onePhase, List refsToAdd, Transaction tx) throws Exception { //if one phase then do nothing (there is nothing in the db) //if two phase then remove refs marked with + //and update rows marked with - to C if (onePhase) { //NOOP } ...
protected void handleBeforeRollback(boolean onePhase, List refsToAdd, Transaction tx) throws Exception { //if one phase then do nothing (there is nothing in the db) //if two phase then remove refs marked with + //and update rows marked with - to C if (onePhase) { //NOOP } ...
29,312
protected void handleBeforeRollback(boolean onePhase, List refsToAdd, Transaction tx) throws Exception { //if one phase then do nothing (there is nothing in the db) //if two phase then remove refs marked with + //and update rows marked with - to C if (onePhase) { //NOOP } ...
protected void handleBeforeRollback(boolean onePhase, List refsToAdd, Transaction tx) throws Exception { //if one phase then do nothing (there is nothing in the db) //if two phase then remove refs marked with + //and update rows marked with - to C if (onePhase) { //NOOP } ...
29,313
protected void handleBeforeRollback(boolean onePhase, List refsToAdd, Transaction tx) throws Exception { //if one phase then do nothing (there is nothing in the db) //if two phase then remove refs marked with + //and update rows marked with - to C if (onePhase) { //NOOP } ...
protected void handleBeforeRollback(boolean onePhase, List refsToAdd, Transaction tx) throws Exception { //if one phase then do nothing (there is nothing in the db) //if two phase then remove refs marked with + //and update rows marked with - to C if (onePhase) { //NOOP } ...
29,314
protected void handleBeforeRollback(boolean onePhase, List refsToAdd, Transaction tx) throws Exception { //if one phase then do nothing (there is nothing in the db) //if two phase then remove refs marked with + //and update rows marked with - to C if (onePhase) { //NOOP } ...
protected void handleBeforeRollback(boolean onePhase, List refsToAdd, Transaction tx) throws Exception { //if one phase then do nothing (there is nothing in the db) //if two phase then remove refs marked with + //and update rows marked with - to C if (onePhase) { //NOOP } ...
29,315
protected void handleBeforeRollback(boolean onePhase, List refsToAdd, Transaction tx) throws Exception { //if one phase then do nothing (there is nothing in the db) //if two phase then remove refs marked with + //and update rows marked with - to C if (onePhase) { //NOOP } ...
protected void handleBeforeRollback(boolean onePhase, List refsToAdd, Transaction tx) throws Exception { //if one phase then do nothing (there is nothing in the db) //if two phase then remove refs marked with + //and update rows marked with - to C if (onePhase) { //NOOP } ...
29,316
protected void handleBeforeRollback(boolean onePhase, List refsToAdd, Transaction tx) throws Exception { //if one phase then do nothing (there is nothing in the db) //if two phase then remove refs marked with + //and update rows marked with - to C if (onePhase) { //NOOP } ...
protected void handleBeforeRollback(boolean onePhase, List refsToAdd, Transaction tx) throws Exception { //if one phase then do nothing (there is nothing in the db) //if two phase then remove refs marked with + //and update rows marked with - to C if (onePhase) { //NOOP } ...
29,317
protected void handleBeforeRollback(boolean onePhase, List refsToAdd, Transaction tx) throws Exception { //if one phase then do nothing (there is nothing in the db) //if two phase then remove refs marked with + //and update rows marked with - to C if (onePhase) { //NOOP } ...
protected void handleBeforeRollback(boolean onePhase, List refsToAdd, Transaction tx) throws Exception { //if one phase then do nothing (there is nothing in the db) //if two phase then remove refs marked with + //and update rows marked with - to C if (onePhase) { //NOOP } ...
29,318
protected void handleBeforeRollback(boolean onePhase, List refsToAdd, Transaction tx) throws Exception { //if one phase then do nothing (there is nothing in the db) //if two phase then remove refs marked with + //and update rows marked with - to C if (onePhase) { //NOOP } ...
protected void handleBeforeRollback(boolean onePhase, List refsToAdd, Transaction tx) throws Exception { //if one phase then do nothing (there is nothing in the db) //if two phase then remove refs marked with + //and update rows marked with - to C if (onePhase) { //NOOP } ...
29,319
protected void initSqlProperties() { insertMessageRef = sqlProperties.getProperty("INSERT_MESSAGE_REF", insertMessageRef); deleteMessageRef = sqlProperties.getProperty("DELETE_MESSAGE_REF", deleteMessageRef); updateMessageRef = sqlProperties.getProperty("UPDATE_MESSAGE_REF", updateMessageRef); ...
protected void initSqlProperties() { insertMessageRef = sqlProperties.getProperty("INSERT_MESSAGE_REF", insertMessageRef); deleteMessageRef = sqlProperties.getProperty("DELETE_MESSAGE_REF", deleteMessageRef); updateMessageRef = sqlProperties.getProperty("UPDATE_MESSAGE_REF", updateMessageRef); ...
29,321
public void removeReference(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.addReferenceToRemove(channelID, ref); }...
public void removeReference(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.addReferenceToRemove(channelID, ref); }...
29,324
public void removeReference(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.addReferenceToRemove(channelID, ref); }...
public void removeReference(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.addReferenceToRemove(channelID, ref); }...
29,325
protected void storeMessage(Message m, PreparedStatement ps) throws Exception { /* Reference counting code commented out until 1.2 // get the reference count from the database // TODO Probably this can be done smarter than that incrementing directly in the database ps = c...
protected void storeMessage(Message m, PreparedStatement ps) throws Exception { /* Reference counting code commented out until 1.2 // get the reference count from the database // TODO Probably this can be done smarter than that incrementing directly in the database ps = c...
29,329
protected void storeMessage(Message m, PreparedStatement ps) throws Exception { /* Reference counting code commented out until 1.2 // get the reference count from the database // TODO Probably this can be done smarter than that incrementing directly in the database ps = c...
protected void storeMessage(Message m, PreparedStatement ps) throws Exception { /* Reference counting code commented out until 1.2 // get the reference count from the database // TODO Probably this can be done smarter than that incrementing directly in the database ps = c...
29,330
protected void storeMessage(Message m, PreparedStatement ps) throws Exception { /* Reference counting code commented out until 1.2 // get the reference count from the database // TODO Probably this can be done smarter than that incrementing directly in the database ps = c...
protected void storeMessage(Message m, PreparedStatement ps) throws Exception { /* Reference counting code commented out until 1.2 // get the reference count from the database // TODO Probably this can be done smarter than that incrementing directly in the database ps = c...
29,331
protected void storeMessage(Message m, PreparedStatement ps) throws Exception { /* Reference counting code commented out until 1.2 // get the reference count from the database // TODO Probably this can be done smarter than that incrementing directly in the database ps = c...
protected void storeMessage(Message m, PreparedStatement ps) throws Exception { /* Reference counting code commented out until 1.2 // get the reference count from the database // TODO Probably this can be done smarter than that incrementing directly in the database ps = c...
29,332
protected void storeMessage(Message m, PreparedStatement ps) throws Exception { /* Reference counting code commented out until 1.2 // get the reference count from the database // TODO Probably this can be done smarter than that incrementing directly in the database ps = c...
protected void storeMessage(Message m, PreparedStatement ps) throws Exception { /* Reference counting code commented out until 1.2 // get the reference count from the database // TODO Probably this can be done smarter than that incrementing directly in the database ps = c...
29,333
protected void storeMessage(Message m, PreparedStatement ps) throws Exception { /* Reference counting code commented out until 1.2 // get the reference count from the database // TODO Probably this can be done smarter than that incrementing directly in the database ps = c...
protected void storeMessage(Message m, PreparedStatement ps) throws Exception { /* Reference counting code commented out until 1.2 // get the reference count from the database // TODO Probably this can be done smarter than that incrementing directly in the database ps = c...
29,334
protected void storeMessage(Message m, PreparedStatement ps) throws Exception { /* Reference counting code commented out until 1.2 // get the reference count from the database // TODO Probably this can be done smarter than that incrementing directly in the database ps = c...
protected void storeMessage(Message m, PreparedStatement ps) throws Exception { /* Reference counting code commented out until 1.2 // get the reference count from the database // TODO Probably this can be done smarter than that incrementing directly in the database ps = c...
29,335
public void close() { throw new NotYetImplementedException(); }
public void close() throws JMSException { throw new NotYetImplementedException(); }
29,336
public void close() { throw new NotYetImplementedException(); }
public void close() { log.trace("In ServerConnectionDelegate.close()"); System.out.println("In ServerConnectionDelegate.close()"); }
29,337
public void closeWorkspace() { for(int i = 0; i < graphTabs.getComponentCount(); i++) { graphTabs.remove(i); } manager.setCurrentWorkspace(null); navigator.setWorkspace(null); Prefs.INSTANCE.remove(Prefs.LAST_WORKSPACE); mlayout.clear(); graphs.clear(); }
public void closeWorkspace() { int count = graphTabs.getComponentCount(); for(int i = count-1; i >= 0; i--) { graphTabs.remove(i); } manager.setCurrentWorkspace(null); navigator.setWorkspace(null); Prefs.INSTANCE.remove(Prefs.LAST_WORKSPACE); mlayout.clear(); graphs.clear(); }
29,338
public LeaseRenewingTask(UnicastRef renewIt) { ref.add(new WeakReference(renewIt)); lease = notifyDGC(renewIt); schedule(lease); }
public LeaseRenewingTask(UnicastRef renewIt) { lease = notifyDGC(renewIt); schedule(lease); }
29,339
public static void scheduleLeases(UnicastRef renewIt) { try { synchronized (existingTasks) { // Check maybe the task for refreshing this remote object already // exists. LeaseRenewingTask task = (LeaseRenewingTask) existingTasks.get(renewIt); if (task != null) { ...
public static void scheduleLeases(UnicastRef renewIt) { try { synchronized (existingTasks) { // Check maybe the task for refreshing this remote object already // exists. LeaseRenewingTask task = (LeaseRenewingTask) existingTasks.get(renewIt); if (task != null) { ...
29,341
public Object handle(Message message) { try { byte[] bytes = message.getBuffer(); ClusterRequest request = readRequest(bytes); request.execute(DefaultClusteredPostOffice.this); } catch (Throwable e) ...
public Object handle(Message message) { try { byte[] bytes = message.getBuffer(); ClusterRequest request = readRequest(bytes); Object result = request.execute(DefaultClusteredPostOffice.this); return result; ...
29,342
public Object handle(Message message) { try { byte[] bytes = message.getBuffer(); ClusterRequest request = readRequest(bytes); request.execute(DefaultClusteredPostOffice.this); } catch (Throwable e) ...
public Object handle(Message message) { try { byte[] bytes = message.getBuffer(); ClusterRequest request = readRequest(bytes); request.execute(DefaultClusteredPostOffice.this); } catch (Throwable e) ...
29,343
PullMessagesRequest(String nodeId, long txId, long checkChannelID, String queueName, int numMessages) { super(nodeId, txId, true, checkChannelID); this.queueName = queueName; this.numMessages = numMessages; }
PullMessagesRequest(String nodeId, long txId, long checkChannelID, String queueName, int numMessages) { super(nodeId, txId, true, checkChannelID); this.queueName = queueName; this.numMessages = numMessages; }
29,345
PullMessagesResponse(int size) { messages = new ArrayList(size); }
PullMessagesResponse() { messages = new ArrayList(size); }
29,346
PullMessagesResponse(int size) { messages = new ArrayList(size); }
PullMessagesResponse(int size) { }
29,347
public DefaultTreeSelectionModel() { setSelectionMode(DISCONTIGUOUS_TREE_SELECTION); listenerList = new EventListenerList(); }
public DefaultTreeSelectionModel() { setSelectionMode(SINGLE_TREE_SELECTION); listenerList = new EventListenerList(); }
29,348
public TreeSelectionEvent(Object source, TreePath path, boolean isNew, TreePath oldLeadSelectionPath, TreePath newLeadSelectionPath) { super(source);//TODO this.paths = new TreePath[1]{path};//TODO this.areNew = new boolean[1]{isNew}; this.oldLeadSelectionPath = oldLeadSelectionPath; this.newLeadSel...
public TreeSelectionEvent(Object source, TreePath path, boolean isNew, TreePath oldLeadSelectionPath, TreePath newLeadSelectionPath) { super(source);//TODO this.paths = new TreePath[1]{path};//TODO this.areNew = new boolean[1]{isNew}; this.oldLeadSelectionPath = oldLeadSelectionPath; this.newLeadSel...
29,349
public void removeChild(Box child) { boxes.remove(child); }
public void removeChild(Box child) { if (boxes != null) { boxes.remove(child); } }
29,350
protected void route(boolean persistentMessage) throws Throwable { PostOffice postOffice = null; try { postOffice = createPostOffice(); PagingFilteredQueue queue1 = new PagingFilteredQueue("queue1", im.getId(), ms, pm, true, false, (QueuedExecutor)pool.get(), null);...
protected void route(boolean persistentMessage) throws Throwable { PostOffice postOffice = null; try { postOffice = createPostOffice(); PagingFilteredQueue queue1 = new PagingFilteredQueue("queue1", channelIdManager.getId(), ms, pm, true, false, (QueuedExecutor)pool...
29,351
protected void route(boolean persistentMessage) throws Throwable { PostOffice postOffice = null; try { postOffice = createPostOffice(); PagingFilteredQueue queue1 = new PagingFilteredQueue("queue1", im.getId(), ms, pm, true, false, (QueuedExecutor)pool.get(), null);...
protected void route(boolean persistentMessage) throws Throwable { PostOffice postOffice = null; try { postOffice = createPostOffice(); PagingFilteredQueue queue1 = new PagingFilteredQueue("queue1", im.getId(), ms, pm, true, false, (QueuedExecutor)pool.get(), null);...
29,352
protected void route(boolean persistentMessage) throws Throwable { PostOffice postOffice = null; try { postOffice = createPostOffice(); PagingFilteredQueue queue1 = new PagingFilteredQueue("queue1", im.getId(), ms, pm, true, false, (QueuedExecutor)pool.get(), null);...
protected void route(boolean persistentMessage) throws Throwable { PostOffice postOffice = null; try { postOffice = createPostOffice(); PagingFilteredQueue queue1 = new PagingFilteredQueue("queue1", im.getId(), ms, pm, true, false, (QueuedExecutor)pool.get(), null);...
29,353
protected void route(boolean persistentMessage) throws Throwable { PostOffice postOffice = null; try { postOffice = createPostOffice(); PagingFilteredQueue queue1 = new PagingFilteredQueue("queue1", im.getId(), ms, pm, true, false, (QueuedExecutor)pool.get(), null);...
protected void route(boolean persistentMessage) throws Throwable { PostOffice postOffice = null; try { postOffice = createPostOffice(); PagingFilteredQueue queue1 = new PagingFilteredQueue("queue1", im.getId(), ms, pm, true, false, (QueuedExecutor)pool.get(), null);...
29,354
protected void route(boolean persistentMessage) throws Throwable { PostOffice postOffice = null; try { postOffice = createPostOffice(); PagingFilteredQueue queue1 = new PagingFilteredQueue("queue1", im.getId(), ms, pm, true, false, (QueuedExecutor)pool.get(), null);...
protected void route(boolean persistentMessage) throws Throwable { PostOffice postOffice = null; try { postOffice = createPostOffice(); PagingFilteredQueue queue1 = new PagingFilteredQueue("queue1", im.getId(), ms, pm, true, false, (QueuedExecutor)pool.get(), null);...
29,355
protected void route(boolean persistentMessage) throws Throwable { PostOffice postOffice = null; try { postOffice = createPostOffice(); PagingFilteredQueue queue1 = new PagingFilteredQueue("queue1", im.getId(), ms, pm, true, false, (QueuedExecutor)pool.get(), null);...
protected void route(boolean persistentMessage) throws Throwable { PostOffice postOffice = null; try { postOffice = createPostOffice(); PagingFilteredQueue queue1 = new PagingFilteredQueue("queue1", im.getId(), ms, pm, true, false, (QueuedExecutor)pool.get(), null);...
29,356
protected void routeTransactional(boolean persistentMessage) throws Throwable { PostOffice postOffice = null; try { postOffice = createPostOffice(); PagingFilteredQueue queue1 = new PagingFilteredQueue("queue1", im.getId(), ms, pm, true, false, (QueuedExecutor)pool....
protected void routeTransactional(boolean persistentMessage) throws Throwable { PostOffice postOffice = null; try { postOffice = createPostOffice(); PagingFilteredQueue queue1 = new PagingFilteredQueue("queue1", channelIdManager.getId(), ms, pm, true, false, (Queued...
29,357
protected void routeTransactional(boolean persistentMessage) throws Throwable { PostOffice postOffice = null; try { postOffice = createPostOffice(); PagingFilteredQueue queue1 = new PagingFilteredQueue("queue1", im.getId(), ms, pm, true, false, (QueuedExecutor)pool....
protected void routeTransactional(boolean persistentMessage) throws Throwable { PostOffice postOffice = null; try { postOffice = createPostOffice(); PagingFilteredQueue queue1 = new PagingFilteredQueue("queue1", im.getId(), ms, pm, true, false, (QueuedExecutor)pool....
29,358
protected void routeWithFilter(boolean persistentMessage) throws Throwable { PostOffice postOffice = null; try { postOffice = createPostOffice(); SimpleFilter filter = new SimpleFilter(2); PagingFilteredQueue queue1 = new PagingFilteredQueue("queue1...
protected void routeWithFilter(boolean persistentMessage) throws Throwable { PostOffice postOffice = null; try { postOffice = createPostOffice(); SimpleFilter filter = new SimpleFilter(2); PagingFilteredQueue queue1 = new PagingFilteredQueue("queue1...
29,359
protected void routeWithFilter(boolean persistentMessage) throws Throwable { PostOffice postOffice = null; try { postOffice = createPostOffice(); SimpleFilter filter = new SimpleFilter(2); PagingFilteredQueue queue1 = new PagingFilteredQueue("queue1...
protected void routeWithFilter(boolean persistentMessage) throws Throwable { PostOffice postOffice = null; try { postOffice = createPostOffice(); SimpleFilter filter = new SimpleFilter(2); PagingFilteredQueue queue1 = new PagingFilteredQueue("queue1...
29,360
protected void routeWithFilter(boolean persistentMessage) throws Throwable { PostOffice postOffice = null; try { postOffice = createPostOffice(); SimpleFilter filter = new SimpleFilter(2); PagingFilteredQueue queue1 = new PagingFilteredQueue("queue1...
protected void routeWithFilter(boolean persistentMessage) throws Throwable { PostOffice postOffice = null; try { postOffice = createPostOffice(); SimpleFilter filter = new SimpleFilter(2); PagingFilteredQueue queue1 = new PagingFilteredQueue("queue1...
29,361
public final void testBind() throws Throwable { PostOffice office1 = null; PostOffice office2 = null; PostOffice office3 = null; try { office1 = createPostOffice(); //Bind one durable Filter filter1 = new Selector("x ...
public final void testBind() throws Throwable { PostOffice office1 = null; PostOffice office2 = null; PostOffice office3 = null; try { office1 = createPostOffice(); //Bind one durable Filter filter1 = new Selector("x ...
29,362
public final void testBind() throws Throwable { PostOffice office1 = null; PostOffice office2 = null; PostOffice office3 = null; try { office1 = createPostOffice(); //Bind one durable Filter filter1 = new Selector("x ...
public final void testBind() throws Throwable { PostOffice office1 = null; PostOffice office2 = null; PostOffice office3 = null; try { office1 = createPostOffice(); //Bind one durable Filter filter1 = new Selector("x ...
29,363
public final void testListBindings() throws Throwable { PostOffice office = null; try { office = createPostOffice(); PagingFilteredQueue queue1 = new PagingFilteredQueue("queue1", im.getId(), ms, pm, true, false, (QueuedExecutor)pool.get(), null); ...
public final void testListBindings() throws Throwable { PostOffice office = null; try { office = createPostOffice(); PagingFilteredQueue queue1 = new PagingFilteredQueue("queue1", channelIdManager.getId(), ms, pm, true, false, (QueuedExecutor)pool.get(), null); ...
29,364
public final void testListBindings() throws Throwable { PostOffice office = null; try { office = createPostOffice(); PagingFilteredQueue queue1 = new PagingFilteredQueue("queue1", im.getId(), ms, pm, true, false, (QueuedExecutor)pool.get(), null); ...
public final void testListBindings() throws Throwable { PostOffice office = null; try { office = createPostOffice(); PagingFilteredQueue queue1 = new PagingFilteredQueue("queue1", im.getId(), ms, pm, true, false, (QueuedExecutor)pool.get(), null); ...
29,365
public final void testListBindings() throws Throwable { PostOffice office = null; try { office = createPostOffice(); PagingFilteredQueue queue1 = new PagingFilteredQueue("queue1", im.getId(), ms, pm, true, false, (QueuedExecutor)pool.get(), null); ...
public final void testListBindings() throws Throwable { PostOffice office = null; try { office = createPostOffice(); PagingFilteredQueue queue1 = new PagingFilteredQueue("queue1", im.getId(), ms, pm, true, false, (QueuedExecutor)pool.get(), null); ...
29,366
public final void testListBindings() throws Throwable { PostOffice office = null; try { office = createPostOffice(); PagingFilteredQueue queue1 = new PagingFilteredQueue("queue1", im.getId(), ms, pm, true, false, (QueuedExecutor)pool.get(), null); ...
public final void testListBindings() throws Throwable { PostOffice office = null; try { office = createPostOffice(); PagingFilteredQueue queue1 = new PagingFilteredQueue("queue1", im.getId(), ms, pm, true, false, (QueuedExecutor)pool.get(), null); ...
29,367
public final void testListBindings() throws Throwable { PostOffice office = null; try { office = createPostOffice(); PagingFilteredQueue queue1 = new PagingFilteredQueue("queue1", im.getId(), ms, pm, true, false, (QueuedExecutor)pool.get(), null); ...
public final void testListBindings() throws Throwable { PostOffice office = null; try { office = createPostOffice(); PagingFilteredQueue queue1 = new PagingFilteredQueue("queue1", im.getId(), ms, pm, true, false, (QueuedExecutor)pool.get(), null); ...
29,368
public final void testListBindings() throws Throwable { PostOffice office = null; try { office = createPostOffice(); PagingFilteredQueue queue1 = new PagingFilteredQueue("queue1", im.getId(), ms, pm, true, false, (QueuedExecutor)pool.get(), null); ...
public final void testListBindings() throws Throwable { PostOffice office = null; try { office = createPostOffice(); PagingFilteredQueue queue1 = new PagingFilteredQueue("queue1", im.getId(), ms, pm, true, false, (QueuedExecutor)pool.get(), null); ...
29,369
public final void testListBindings() throws Throwable { PostOffice office = null; try { office = createPostOffice(); PagingFilteredQueue queue1 = new PagingFilteredQueue("queue1", im.getId(), ms, pm, true, false, (QueuedExecutor)pool.get(), null); ...
public final void testListBindings() throws Throwable { PostOffice office = null; try { office = createPostOffice(); PagingFilteredQueue queue1 = new PagingFilteredQueue("queue1", im.getId(), ms, pm, true, false, (QueuedExecutor)pool.get(), null); ...
29,370
public final void testListBindings() throws Throwable { PostOffice office = null; try { office = createPostOffice(); PagingFilteredQueue queue1 = new PagingFilteredQueue("queue1", im.getId(), ms, pm, true, false, (QueuedExecutor)pool.get(), null); ...
public final void testListBindings() throws Throwable { PostOffice office = null; try { office = createPostOffice(); PagingFilteredQueue queue1 = new PagingFilteredQueue("queue1", im.getId(), ms, pm, true, false, (QueuedExecutor)pool.get(), null); ...
29,371
public final void testRouteInactive() throws Throwable { PostOffice postOffice = null; try { postOffice = createPostOffice(); PagingFilteredQueue queue1 = new PagingFilteredQueue("queue1", im.getId(), ms, pm, true, false, (QueuedExecutor)pool.get(), null); ...
public final void testRouteInactive() throws Throwable { PostOffice postOffice = null; try { postOffice = createPostOffice(); PagingFilteredQueue queue1 = new PagingFilteredQueue("queue1", channelIdManager.getId(), ms, pm, true, false, (QueuedExecutor)pool.get(),...
29,372
public final void testRouteInactive() throws Throwable { PostOffice postOffice = null; try { postOffice = createPostOffice(); PagingFilteredQueue queue1 = new PagingFilteredQueue("queue1", im.getId(), ms, pm, true, false, (QueuedExecutor)pool.get(), null); ...
public final void testRouteInactive() throws Throwable { PostOffice postOffice = null; try { postOffice = createPostOffice(); PagingFilteredQueue queue1 = new PagingFilteredQueue("queue1", im.getId(), ms, pm, true, false, (QueuedExecutor)pool.get(), null); ...
29,373
public final void testRouteInactive() throws Throwable { PostOffice postOffice = null; try { postOffice = createPostOffice(); PagingFilteredQueue queue1 = new PagingFilteredQueue("queue1", im.getId(), ms, pm, true, false, (QueuedExecutor)pool.get(), null); ...
public final void testRouteInactive() throws Throwable { PostOffice postOffice = null; try { postOffice = createPostOffice(); PagingFilteredQueue queue1 = new PagingFilteredQueue("queue1", im.getId(), ms, pm, true, false, (QueuedExecutor)pool.get(), null); ...
29,374
public final void testRouteInactive() throws Throwable { PostOffice postOffice = null; try { postOffice = createPostOffice(); PagingFilteredQueue queue1 = new PagingFilteredQueue("queue1", im.getId(), ms, pm, true, false, (QueuedExecutor)pool.get(), null); ...
public final void testRouteInactive() throws Throwable { PostOffice postOffice = null; try { postOffice = createPostOffice(); PagingFilteredQueue queue1 = new PagingFilteredQueue("queue1", im.getId(), ms, pm, true, false, (QueuedExecutor)pool.get(), null); ...
29,375
public final void testRouteInactive() throws Throwable { PostOffice postOffice = null; try { postOffice = createPostOffice(); PagingFilteredQueue queue1 = new PagingFilteredQueue("queue1", im.getId(), ms, pm, true, false, (QueuedExecutor)pool.get(), null); ...
public final void testRouteInactive() throws Throwable { PostOffice postOffice = null; try { postOffice = createPostOffice(); PagingFilteredQueue queue1 = new PagingFilteredQueue("queue1", im.getId(), ms, pm, true, false, (QueuedExecutor)pool.get(), null); ...
29,376
public final void testRouteInactive() throws Throwable { PostOffice postOffice = null; try { postOffice = createPostOffice(); PagingFilteredQueue queue1 = new PagingFilteredQueue("queue1", im.getId(), ms, pm, true, false, (QueuedExecutor)pool.get(), null); ...
public final void testRouteInactive() throws Throwable { PostOffice postOffice = null; try { postOffice = createPostOffice(); PagingFilteredQueue queue1 = new PagingFilteredQueue("queue1", im.getId(), ms, pm, true, false, (QueuedExecutor)pool.get(), null); ...
29,377
public final void testRouteNoBinding() throws Throwable { PostOffice postOffice = null; try { postOffice = createPostOffice(); PagingFilteredQueue queue1 = new PagingFilteredQueue("queue1", im.getId(), ms, pm, true, false, (QueuedExecutor)pool.get(), null); ...
public final void testRouteNoBinding() throws Throwable { PostOffice postOffice = null; try { postOffice = createPostOffice(); PagingFilteredQueue queue1 = new PagingFilteredQueue("queue1", channelIdManager.getId(), ms, pm, true, false, (QueuedExecutor)pool.get()...
29,378
protected void paintLeftTabBorder(int tabIndex, Graphics g, int x, int y, int w, int h, int btm, int rght, boolean isSelected) { g.translate(x, y); int bottom = h - 1; int right = w - 1; int tabCount = tabPane.getTabCount(); int currentRun = getRunForTab(tabCount, tabIndex); int firstIndex...
protected void paintLeftTabBorder(int tabIndex, Graphics g, int x, int y, int w, int h, int btm, int rght, boolean isSelected) { g.translate(x, y); int bottom = h - 1; int right = w - 1; int tabCount = tabPane.getTabCount(); int currentRun = getRunForTab(tabCount, tabIndex); int firstIndex...
29,380
protected void paintLeftTabBorder(int tabIndex, Graphics g, int x, int y, int w, int h, int btm, int rght, boolean isSelected) { g.translate(x, y); int bottom = h - 1; int right = w - 1; int tabCount = tabPane.getTabCount(); int currentRun = getRunForTab(tabCount, tabIndex); int firstIndex...
protected void paintLeftTabBorder(int tabIndex, Graphics g, int x, int y, int w, int h, int btm, int rght, boolean isSelected) { g.translate(x, y); int bottom = h - 1; int right = w - 1; int tabCount = tabPane.getTabCount(); int currentRun = getRunForTab(tabCount, tabIndex); int firstIndex...
29,381
protected void paintRightTabBorder(int tabIndex, Graphics g, int x, int y, int w, int h, int btm, int rght, boolean isSelected) { g.translate(x, y); int bottom = h - 1; int right = w - 1; int tabCount = tabPane.getTabCount(); int currentRun = getRunForTab(tabCount, tabIndex); int firstIndex = ...
protected void paintRightTabBorder(int tabIndex, Graphics g, int x, int y, int w, int h, int btm, int rght, boolean isSelected) { g.translate(x, y); int bottom = h - 1; int right = w - 1; int tabCount = tabPane.getTabCount(); int currentRun = getRunForTab(tabCount, tabIndex); int firstIndex = ...
29,382
protected void paintRightTabBorder(int tabIndex, Graphics g, int x, int y, int w, int h, int btm, int rght, boolean isSelected) { g.translate(x, y); int bottom = h - 1; int right = w - 1; int tabCount = tabPane.getTabCount(); int currentRun = getRunForTab(tabCount, tabIndex); int firstIndex = ...
protected void paintRightTabBorder(int tabIndex, Graphics g, int x, int y, int w, int h, int btm, int rght, boolean isSelected) { g.translate(x, y); int bottom = h - 1; int right = w - 1; int tabCount = tabPane.getTabCount(); int currentRun = getRunForTab(tabCount, tabIndex); int firstIndex = ...
29,383
public static void breakText(Context c, InlineTextBox inline, InlineBox prev_align, int avail, Font font) { boolean db = false; if (db) { Uu.p("========================="); Uu.p("breaking: " + inline); //Uu.p("breaking : '" + inline.getSubstring() + "'"); //...
public static void breakText(Context c, InlineTextBox inline, InlineBox prev_align, int avail, Font font) { boolean db = false; if (db) { Uu.p("========================="); Uu.p("breaking: " + inline); //Uu.p("breaking : '" + inline.getSubstring() + "'"); //...
29,384
public static void breakText(Context c, InlineTextBox inline, InlineBox prev_align, int avail, Font font) { boolean db = false; if (db) { Uu.p("========================="); Uu.p("breaking: " + inline); //Uu.p("breaking : '" + inline.getSubstring() + "'"); //...
public static void breakText(Context c, InlineTextBox inline, InlineBox prev_align, int avail, Font font) { boolean db = false; if (db) { Uu.p("========================="); Uu.p("breaking: " + inline); //Uu.p("breaking : '" + inline.getSubstring() + "'"); //...
29,385
public Object read(InputStream in, Map map) throws IOException, ClassNotFoundException { DataInputStream dis; if (in instanceof DataInputStream) { dis = (DataInputStream)in; } else { //Further sanity check if (in instanceof Ob...
public Object read(InputStream in, Map map) throws IOException, ClassNotFoundException { DataInputStream dis; if (in instanceof DataInputStream) { dis = (DataInputStream)in; } else { //Further sanity check if (in instanceof Ob...
29,386
public Object read(InputStream in, Map map) throws IOException, ClassNotFoundException { DataInputStream dis; if (in instanceof DataInputStream) { dis = (DataInputStream)in; } else { //Further sanity check if (in instanceof Ob...
public Object read(InputStream in, Map map) throws IOException, ClassNotFoundException { DataInputStream dis; if (in instanceof DataInputStream) { dis = (DataInputStream)in; } else { //Further sanity check if (in instanceof Ob...
29,387