bugged
stringlengths
6
599k
fixed
stringlengths
10
599k
__index_level_0__
int64
0
1.13M
public void activate() throws JMSException { try { if (log.isTraceEnabled()) { log.trace("activate:" + this); } acquireLock(); if (closed) { //Do nothing return; } ready = true; promptDelivery(); ...
public void activate() throws JMSException { if (closed) { if (log.isTraceEnabled()) { log.trace("activate:" + this); } acquireLock(); if (closed) { //Do nothing return; } ready = true; promptDelivery...
34,144
public void activate() throws JMSException { try { if (log.isTraceEnabled()) { log.trace("activate:" + this); } acquireLock(); if (closed) { //Do nothing return; } ready = true; promptDelivery(); ...
public void activate() throws JMSException { try { if (log.isTraceEnabled()) { log.trace("activate:" + this); } acquireLock(); if (closed) { //Do nothing return; } ready = true; promptDelivery(); ...
34,145
public void activate() throws JMSException { try { if (log.isTraceEnabled()) { log.trace("activate:" + this); } acquireLock(); if (closed) { //Do nothing return; } ready = true; promptDelivery(); ...
public void activate() throws JMSException { try { if (log.isTraceEnabled()) { log.trace("activate:" + this); } acquireLock(); if (closed) { //Do nothing return; } ready = true; promptDelivery(); ...
34,146
void cancelAllDeliveries() throws JMSException { try { acquireLock(); if (log.isTraceEnabled()) { log.trace(this + " cancels deliveries"); } //Need to cancel starting at the end of the list and working to the front //in order that the messages end up back in...
synchronized void cancelAllDeliveries() throws JMSException { try { acquireLock(); if (log.isTraceEnabled()) { log.trace(this + " cancels deliveries"); } //Need to cancel starting at the end of the list and working to the front //in order that the messages e...
34,147
void cancelAllDeliveries() throws JMSException { try { acquireLock(); if (log.isTraceEnabled()) { log.trace(this + " cancels deliveries"); } //Need to cancel starting at the end of the list and working to the front //in order that the messages end up back in...
void cancelAllDeliveries() throws JMSException { try { acquireLock(); if (log.isTraceEnabled()) { log.trace(this + " cancels deliveries"); } //Need to cancel starting at the end of the list and working to the front //in order that the messages end up back in...
34,148
void cancelAllDeliveries() throws JMSException { try { acquireLock(); if (log.isTraceEnabled()) { log.trace(this + " cancels deliveries"); } //Need to cancel starting at the end of the list and working to the front //in order that the messages end up back in...
void cancelAllDeliveries() throws JMSException { try { acquireLock(); if (log.isTraceEnabled()) { log.trace(this + " cancels deliveries"); } //Need to cancel starting at the end of the list and working to the front //in order that the messages end up back in...
34,149
void cancelAllDeliveries() throws JMSException { try { acquireLock(); if (log.isTraceEnabled()) { log.trace(this + " cancels deliveries"); } //Need to cancel starting at the end of the list and working to the front //in order that the messages end up back in...
void cancelAllDeliveries() throws JMSException { try { acquireLock(); if (log.isTraceEnabled()) { log.trace(this + " cancels deliveries"); } //Need to cancel starting at the end of the list and working to the front //in order that the messages end up back in...
34,150
void cancelAllDeliveries() throws JMSException { try { acquireLock(); if (log.isTraceEnabled()) { log.trace(this + " cancels deliveries"); } //Need to cancel starting at the end of the list and working to the front //in order that the messages end up back in...
void cancelAllDeliveries() throws JMSException { try { acquireLock(); if (log.isTraceEnabled()) { log.trace(this + " cancels deliveries"); } //Need to cancel starting at the end of the list and working to the front //in order that the messages end up back in...
34,151
void cancelAllDeliveries() throws JMSException { try { acquireLock(); if (log.isTraceEnabled()) { log.trace(this + " cancels deliveries"); } //Need to cancel starting at the end of the list and working to the front //in order that the messages end up back in...
void cancelAllDeliveries() throws JMSException { try { acquireLock(); if (log.isTraceEnabled()) { log.trace(this + " cancels deliveries"); } //Need to cancel starting at the end of the list and working to the front //in order that the messages end up back in...
34,152
void cancelAllDeliveries() throws JMSException { try { acquireLock(); if (log.isTraceEnabled()) { log.trace(this + " cancels deliveries"); } //Need to cancel starting at the end of the list and working to the front //in order that the messages end up back in...
void cancelAllDeliveries() throws JMSException { try { acquireLock(); if (log.isTraceEnabled()) { log.trace(this + " cancels deliveries"); } //Need to cancel starting at the end of the list and working to the front //in order that the messages end up back in...
34,153
public void cancelMessage(Serializable messageID) throws JMSException { try { acquireLock(); boolean cancelled = false; Iterator iter = deliveries.iterator(); try { while (iter.hasNext()) { SingleReceiverD...
public synchronized void cancelMessage(Serializable messageID) throws JMSException { try { acquireLock(); boolean cancelled = false; Iterator iter = deliveries.iterator(); try { while (iter.hasNext()) { Si...
34,154
public void cancelMessage(Serializable messageID) throws JMSException { try { acquireLock(); boolean cancelled = false; Iterator iter = deliveries.iterator(); try { while (iter.hasNext()) { SingleReceiverD...
public void cancelMessage(Serializable messageID) throws JMSException { try { acquireLock(); boolean cancelled = false; Iterator iter = deliveries.iterator(); try { while (iter.hasNext()) { SingleReceiverD...
34,155
public void cancelMessage(Serializable messageID) throws JMSException { try { acquireLock(); boolean cancelled = false; Iterator iter = deliveries.iterator(); try { while (iter.hasNext()) { SingleReceiverD...
public void cancelMessage(Serializable messageID) throws JMSException { try { acquireLock(); boolean cancelled = false; Iterator iter = deliveries.iterator(); try { while (iter.hasNext()) { SingleReceiverD...
34,156
public void cancelMessage(Serializable messageID) throws JMSException { try { acquireLock(); boolean cancelled = false; Iterator iter = deliveries.iterator(); try { while (iter.hasNext()) { SingleReceiverD...
public void cancelMessage(Serializable messageID) throws JMSException { try { acquireLock(); boolean cancelled = false; Iterator iter = deliveries.iterator(); try { while (iter.hasNext()) { SingleReceiverD...
34,157
public void cancelMessage(Serializable messageID) throws JMSException { try { acquireLock(); boolean cancelled = false; Iterator iter = deliveries.iterator(); try { while (iter.hasNext()) { SingleReceiverD...
public void cancelMessage(Serializable messageID) throws JMSException { try { acquireLock(); boolean cancelled = false; Iterator iter = deliveries.iterator(); try { while (iter.hasNext()) { SingleReceiverD...
34,158
public void cancelMessage(Serializable messageID) throws JMSException { try { acquireLock(); boolean cancelled = false; Iterator iter = deliveries.iterator(); try { while (iter.hasNext()) { SingleReceiverD...
public void cancelMessage(Serializable messageID) throws JMSException { try { acquireLock(); boolean cancelled = false; Iterator iter = deliveries.iterator(); try { while (iter.hasNext()) { SingleReceiverD...
34,159
public void cancelMessage(Serializable messageID) throws JMSException { try { acquireLock(); boolean cancelled = false; Iterator iter = deliveries.iterator(); try { while (iter.hasNext()) { SingleReceiverD...
public void cancelMessage(Serializable messageID) throws JMSException { try { acquireLock(); boolean cancelled = false; Iterator iter = deliveries.iterator(); try { while (iter.hasNext()) { SingleReceiverD...
34,160
public void close() throws JMSException { try { acquireLock(); if (closed) { throw new IllegalStateException("Consumer is already closed"); } if (log.isTraceEnabled()) { log.trace(this.id + " close"); } closed = true; //On close ...
public synchronized void close() throws JMSException { try { acquireLock(); if (closed) { throw new IllegalStateException("Consumer is already closed"); } if (log.isTraceEnabled()) { log.trace(this.id + " close"); } closed = true; ...
34,161
public void close() throws JMSException { try { acquireLock(); if (closed) { throw new IllegalStateException("Consumer is already closed"); } if (log.isTraceEnabled()) { log.trace(this.id + " close"); } closed = true; //On close ...
public void close() throws JMSException { if (closed) { acquireLock(); if (closed) { throw new IllegalStateException("Consumer is already closed"); } if (log.isTraceEnabled()) { log.trace(this.id + " close"); } closed = true; //O...
34,162
public void close() throws JMSException { try { acquireLock(); if (closed) { throw new IllegalStateException("Consumer is already closed"); } if (log.isTraceEnabled()) { log.trace(this.id + " close"); } closed = true; //On close ...
public void close() throws JMSException { try { acquireLock(); if (closed) { throw new IllegalStateException("Consumer is already closed"); } if (log.isTraceEnabled()) { log.trace(this.id + " close"); } closed = true; //On close ...
34,163
public void close() throws JMSException { try { acquireLock(); if (closed) { throw new IllegalStateException("Consumer is already closed"); } if (log.isTraceEnabled()) { log.trace(this.id + " close"); } closed = true; //On close ...
public void close() throws JMSException { try { acquireLock(); if (closed) { throw new IllegalStateException("Consumer is already closed"); } if (log.isTraceEnabled()) { log.trace(this.id + " close"); } closed = true; //On close ...
34,164
public synchronized void deactivate() throws JMSException { try { acquireLock(); ready = false; if (log.isTraceEnabled()) { log.trace("set ready to false"); } } finally { releaseLock(); } }
public synchronized void deactivate() throws JMSException { try { acquireLock(); ready = false; if (log.isTraceEnabled()) { log.trace("set ready to false"); } } finally { releaseLock(); } }
34,165
public javax.jms.Message getMessageNow() throws JMSException { try { acquireLock(); grabbing = true; //This will always deliver a message (if there is one) on the same thread promptDelivery(); javax.jms.Message ret = (javax.jm...
public javax.jms.Message getMessageNow() throws JMSException { try { acquireLock(); grabbing = true; //This will always deliver a message (if there is one) on the same thread promptDelivery(); javax.jms.Message ret = (javax.jm...
34,166
public javax.jms.Message getMessageNow() throws JMSException { try { acquireLock(); grabbing = true; //This will always deliver a message (if there is one) on the same thread promptDelivery(); javax.jms.Message ret = (javax.jm...
public javax.jms.Message getMessageNow() throws JMSException { try { grabbing = true; //This will always deliver a message (if there is one) on the same thread promptDelivery(); javax.jms.Message ret = (javax.jms.Message)toGr...
34,167
public javax.jms.Message getMessageNow() throws JMSException { try { acquireLock(); grabbing = true; //This will always deliver a message (if there is one) on the same thread promptDelivery(); javax.jms.Message ret = (javax.jm...
public javax.jms.Message getMessageNow() throws JMSException { try { acquireLock(); grabbing = true; //This will always deliver a message (if there is one) on the same thread promptDelivery(); javax.jms.Message ret = (javax.jm...
34,168
public Delivery handle(DeliveryObserver observer, Routable reference, Transaction tx) { if (log.isTraceEnabled()) { log.trace("Attempting to handle ref: " + reference.getMessageID()); } if (!wantReference()) { return null; } try { if (log.isTraceEn...
public synchronized Delivery handle(DeliveryObserver observer, Routable reference, Transaction tx) { if (log.isTraceEnabled()) { log.trace("Attempting to handle ref: " + reference.getMessageID()); } if (!wantReference()) { return null; } try { if (...
34,169
protected void promptDelivery() { if (log.isTraceEnabled()) { log.trace("promptDelivery:" + this); } if (ready || grabbing) { channel.deliver(this); } }
protected void promptDelivery() { if (log.isTraceEnabled()) { log.trace("promptDelivery:" + this); } if (ready || grabbing) { channel.redeliver(this); } }
34,170
void remove() throws JMSException { if (log.isTraceEnabled()) log.trace("attempting to remove receiver " + this + " from destination " + channel); try { acquireLock(); for(Iterator i = deliveries.iterator(); i.hasNext(); ) { SingleReceiverDeliver...
synchronized void remove() throws JMSException { if (log.isTraceEnabled()) log.trace("attempting to remove receiver " + this + " from destination " + channel); try { acquireLock(); for(Iterator i = deliveries.iterator(); i.hasNext(); ) { SingleRe...
34,171
void remove() throws JMSException { if (log.isTraceEnabled()) log.trace("attempting to remove receiver " + this + " from destination " + channel); try { acquireLock(); for(Iterator i = deliveries.iterator(); i.hasNext(); ) { SingleReceiverDeliver...
void remove() throws JMSException { if (log.isTraceEnabled()) log.trace("attempting to remove receiver " + this + " from destination " + channel); for(Iterator i = deliveries.iterator(); i.hasNext(); ) { acquireLock(); for(Iterator i = deliveries.iterator(); i.hasN...
34,172
void remove() throws JMSException { if (log.isTraceEnabled()) log.trace("attempting to remove receiver " + this + " from destination " + channel); try { acquireLock(); for(Iterator i = deliveries.iterator(); i.hasNext(); ) { SingleReceiverDeliver...
void remove() throws JMSException { if (log.isTraceEnabled()) log.trace("attempting to remove receiver " + this + " from destination " + channel); try { acquireLock(); for(Iterator i = deliveries.iterator(); i.hasNext(); ) { SingleReceiverDeliver...
34,173
void remove() throws JMSException { if (log.isTraceEnabled()) log.trace("attempting to remove receiver " + this + " from destination " + channel); try { acquireLock(); for(Iterator i = deliveries.iterator(); i.hasNext(); ) { SingleReceiverDeliver...
void remove() throws JMSException { if (log.isTraceEnabled()) log.trace("attempting to remove receiver " + this + " from destination " + channel); try { acquireLock(); for(Iterator i = deliveries.iterator(); i.hasNext(); ) { SingleReceiverDeliver...
34,174
void remove() throws JMSException { if (log.isTraceEnabled()) log.trace("attempting to remove receiver " + this + " from destination " + channel); try { acquireLock(); for(Iterator i = deliveries.iterator(); i.hasNext(); ) { SingleReceiverDeliver...
void remove() throws JMSException { if (log.isTraceEnabled()) log.trace("attempting to remove receiver " + this + " from destination " + channel); try { acquireLock(); for(Iterator i = deliveries.iterator(); i.hasNext(); ) { SingleReceiverDeliver...
34,175
void remove() throws JMSException { if (log.isTraceEnabled()) log.trace("attempting to remove receiver " + this + " from destination " + channel); try { acquireLock(); for(Iterator i = deliveries.iterator(); i.hasNext(); ) { SingleReceiverDeliver...
void remove() throws JMSException { if (log.isTraceEnabled()) log.trace("attempting to remove receiver " + this + " from destination " + channel); try { acquireLock(); for(Iterator i = deliveries.iterator(); i.hasNext(); ) { SingleReceiverDeliver...
34,176
void remove() throws JMSException { if (log.isTraceEnabled()) log.trace("attempting to remove receiver " + this + " from destination " + channel); try { acquireLock(); for(Iterator i = deliveries.iterator(); i.hasNext(); ) { SingleReceiverDeliver...
void remove() throws JMSException { if (log.isTraceEnabled()) log.trace("attempting to remove receiver " + this + " from destination " + channel); try { acquireLock(); for(Iterator i = deliveries.iterator(); i.hasNext(); ) { SingleReceiverDeliver...
34,177
void remove() throws JMSException { if (log.isTraceEnabled()) log.trace("attempting to remove receiver " + this + " from destination " + channel); try { acquireLock(); for(Iterator i = deliveries.iterator(); i.hasNext(); ) { SingleReceiverDeliver...
void remove() throws JMSException { if (log.isTraceEnabled()) log.trace("attempting to remove receiver " + this + " from destination " + channel); try { acquireLock(); for(Iterator i = deliveries.iterator(); i.hasNext(); ) { SingleReceiverDeliver...
34,178
void remove() throws JMSException { if (log.isTraceEnabled()) log.trace("attempting to remove receiver " + this + " from destination " + channel); try { acquireLock(); for(Iterator i = deliveries.iterator(); i.hasNext(); ) { SingleReceiverDeliver...
void remove() throws JMSException { if (log.isTraceEnabled()) log.trace("attempting to remove receiver " + this + " from destination " + channel); try { acquireLock(); for(Iterator i = deliveries.iterator(); i.hasNext(); ) { SingleReceiverDeliver...
34,179
void setStarted(boolean started) { if (log.isTraceEnabled()) { log.trace("setStarted: " + started); } try { acquireLock(); this.started = started; if (started) { //need to prompt delivery promptDelivery(); ...
synchronized void setStarted(boolean started) { if (log.isTraceEnabled()) { log.trace("setStarted: " + started); } try { acquireLock(); this.started = started; if (started) { //need to prompt delivery promp...
34,181
void setStarted(boolean started) { if (log.isTraceEnabled()) { log.trace("setStarted: " + started); } try { acquireLock(); this.started = started; if (started) { //need to prompt delivery promptDelivery(); ...
void setStarted(boolean started) { if (log.isTraceEnabled()) { log.trace("setStarted: " + started); } this.started = started; if (started) { acquireLock(); this.started = started; if (started) { //need to prompt deliver...
34,182
void setStarted(boolean started) { if (log.isTraceEnabled()) { log.trace("setStarted: " + started); } try { acquireLock(); this.started = started; if (started) { //need to prompt delivery promptDelivery(); ...
void setStarted(boolean started) { if (log.isTraceEnabled()) { log.trace("setStarted: " + started); } try { acquireLock(); this.started = started; if (started) { //need to prompt delivery promptDelivery(); ...
34,183
ServerConnectionEndpoint(ServerPeer serverPeer, String clientID, String username, String password, String clientConnectionId) { this.serverPeer = serverPeer; dm = serverPeer.getDestinationManager(); sm = serverPeer.getSecurityManager(); tr = serverPeer.getTxRepository...
ServerConnectionEndpoint(ServerPeer serverPeer, String clientID, String username, String password) { this.serverPeer = serverPeer; dm = serverPeer.getDestinationManager(); sm = serverPeer.getSecurityManager(); tr = serverPeer.getTxRepository(); cm = serverPeer.ge...
34,184
ServerConnectionEndpoint(ServerPeer serverPeer, String clientID, String username, String password, String clientConnectionId) { this.serverPeer = serverPeer; dm = serverPeer.getDestinationManager(); sm = serverPeer.getSecurityManager(); tr = serverPeer.getTxRepository...
ServerConnectionEndpoint(ServerPeer serverPeer, String clientID, String username, String password, String clientConnectionId) { this.serverPeer = serverPeer; dm = serverPeer.getDestinationManager(); sm = serverPeer.getSecurityManager(); tr = serverPeer.getTxRepository...
34,185
void acknowledge(String messageID, int consumerID, Transaction tx) throws JMSException { if (trace) { log.trace("acknowledging " + messageID + " from consumer " + consumerID + " transactionally on " + tx); } ServerConsumerEndpoint consumer = (ServerConsumerEndpoint)consumers.get(new Integer(consumerID));...
protected void acknowledge(String messageID, int consumerID, Transaction tx) throws JMSException { if (trace) { log.trace("acknowledging " + messageID + " from consumer " + consumerID + " transactionally on " + tx); } ServerConsumerEndpoint consumer = (ServerConsumerEndpoint)consumers.get(new Integer(con...
34,186
void cancel(String messageID, int consumerID) throws JMSException { ServerConsumerEndpoint consumer = (ServerConsumerEndpoint)consumers.get(new Integer(consumerID)); if (consumer == null) { throw new IllegalStateException("Cannot find consumer:" + consumerID); } consumer.cancelMess...
protected void cancel(String messageID, int consumerID) throws JMSException { ServerConsumerEndpoint consumer = (ServerConsumerEndpoint)consumers.get(new Integer(consumerID)); if (consumer == null) { throw new IllegalStateException("Cannot find consumer:" + consumerID); } consumer....
34,187
public void close() throws JMSException { try { closeLock.writeLock().acquire(); } catch (InterruptedException e) { //Ignore } try { if (trace) { log.trace("close()"); } if (closed) { log.warn("Connection is already...
public void close() throws JMSException { try { closeLock.writeLock().acquire(); } catch (InterruptedException e) { //Ignore } try { if (trace) { log.trace("close()"); } if (closed) { log.warn("Connection is already...
34,188
public SessionDelegate createSessionDelegate(boolean transacted, int acknowledgmentMode, boolean isXA) throws JMSException { try { closeLock.readLock().acquire(); } catch (InterruptedExcep...
public SessionDelegate createSessionDelegate(boolean transacted, int acknowledgmentMode, boolean isXA) throws JMSException { try { closeLock.readLock().acquire(); } catch (InterruptedExcep...
34,189
public Client getCallbackClient() { return callbackClient; }
protected Client getCallbackClient() { return callbackClient; }
34,190
public int getConnectionID() { return connectionID; }
protected int getConnectionID() { return connectionID; }
34,191
ServerPeer getServerPeer() { return serverPeer; }
protected ServerPeer getServerPeer() { return serverPeer; }
34,192
public ServerSessionEndpoint getSessionDelegate(int sessionID) { return (ServerSessionEndpoint)sessions.get(new Integer(sessionID)); }
protected ServerSessionEndpoint getSessionDelegate(int sessionID) { return (ServerSessionEndpoint)sessions.get(new Integer(sessionID)); }
34,193
public boolean isStarted() throws JMSException { try { closeLock.readLock().acquire(); } catch (InterruptedException e) { //Ignore } try { if (closed) { throw new IllegalStateException("Connection is closed"); } retu...
protected boolean isStarted() { try { closeLock.readLock().acquire(); } catch (InterruptedException e) { //Ignore } try { if (closed) { throw new IllegalStateException("Connection is closed"); } return started; ...
34,194
public boolean isStarted() throws JMSException { try { closeLock.readLock().acquire(); } catch (InterruptedException e) { //Ignore } try { if (closed) { throw new IllegalStateException("Connection is closed"); } retu...
public boolean isStarted() throws JMSException { try { closeLock.readLock().acquire(); } catch (InterruptedException e) { //Ignore } try { if (closed) { throw new IllegalStateException("Connection is closed"); } retu...
34,195
public ServerSessionEndpoint putSessionDelegate(int sessionID, ServerSessionEndpoint d) { return (ServerSessionEndpoint)sessions.put(new Integer(sessionID), d); }
protected ServerSessionEndpoint putSessionDelegate(int sessionID, ServerSessionEndpoint d) { return (ServerSessionEndpoint)sessions.put(new Integer(sessionID), d); }
34,196
void sendMessage(Message m, Transaction tx) throws JMSException { if (trace) { log.trace("sending " + m + (tx == null ? " non-transactionally" : " transactionally on " + tx)); } //The JMSDestination header must already have been set for each message JBossDestination jmsDestination = (JBossDestinatio...
protected void sendMessage(Message m, Transaction tx) throws JMSException { if (trace) { log.trace("sending " + m + (tx == null ? " non-transactionally" : " transactionally on " + tx)); } //The JMSDestination header must already have been set for each message JBossDestination jmsDestination = (JBoss...
34,197
public static void layoutContent(LayoutContext c, Box box, List contentList) { //Here we should always be inside something that corresponds to a block-level element //for formatting purposes Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; validateBounds(bo...
public static void layoutContent(LayoutContext c, Box box, List contentList) { //Here we should always be inside something that corresponds to a block-level element //for formatting purposes Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; validateBounds(bo...
34,198
public static Address findThrowableHandler(Throwable ex, Address frame, Address address) { try { if (ex == null) { Unsafe.debug("NPE"); throw new NullPointerException(); } if (frame == null) { Unsafe.debug("frame==null")...
public static Address findThrowableHandler(Throwable ex, Address frame, Address address) { try { if (ex == null) { Unsafe.debug("NPE"); throw new NullPointerException(); } if (frame == null) { Unsafe.debug("frame==null")...
34,199
public static Address findThrowableHandler(Throwable ex, Address frame, Address address) { try { if (ex == null) { Unsafe.debug("NPE"); throw new NullPointerException(); } if (frame == null) { Unsafe.debug("frame==null")...
public static Address findThrowableHandler(Throwable ex, Address frame, Address address) { try { if (ex == null) { Unsafe.debug("NPE"); throw new NullPointerException(); } if (frame == null) { Unsafe.debug("frame==null")...
34,200
public PrintStream (OutputStream out, boolean auto_flush) { super (out); try { this.encoding = System.getProperty("file.encoding"); } catch (SecurityException e){ this.encoding = "ISO8859_1"; } catch (IllegalArgumentException e){ this.encoding = "ISO8859_1"; } catch (NullPointerException e){ this.enco...
public PrintStream (File file) throws FileNotFoundException { super (out); try { this.encoding = System.getProperty("file.encoding"); } catch (SecurityException e){ this.encoding = "ISO8859_1"; } catch (IllegalArgumentException e){ this.encoding = "ISO8859_1"; } catch (NullPointerException e){ this.en...
34,201
public PrintStream (OutputStream out, boolean auto_flush) { super (out); try { this.encoding = System.getProperty("file.encoding"); } catch (SecurityException e){ this.encoding = "ISO8859_1"; } catch (IllegalArgumentException e){ this.encoding = "ISO8859_1"; } catch (NullPointerException e){ this.enco...
public PrintStream (OutputStream out, boolean auto_flush) { super (out); try { this.encoding = System.getProperty("file.encoding"); } catch (SecurityException e){ this.encoding = "ISO8859_1"; } catch (IllegalArgumentException e){ this.encoding = "ISO8859_1"; } catch (NullPointerException e){ this.enco...
34,202
public static void layoutContent(LayoutContext c, Box box, List contentList) { //Here we should always be inside something that corresponds to a block-level element //for formatting purposes Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; validateBounds(bo...
public static void layoutContent(LayoutContext c, Box box, List contentList) { //Here we should always be inside something that corresponds to a block-level element //for formatting purposes Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; validateBounds(bo...
34,203
public void mousePressed(MouseEvent e) { if (! toolBar.isFloatable()) return; Point ssd = e.getPoint(); Insets insets = toolBar.getInsets(); // Verify that this click occurs in the top inset. if (toolBar.getOrientation() == SwingConstants.HORIZONTAL) { if (e.getX() > insets.left...
public void mousePressed(MouseEvent e) { if (! toolBar.isFloatable()) return; Point ssd = e.getPoint(); Insets insets = toolBar.getInsets(); // Verify that this click occurs in the top inset. if (toolBar.getOrientation() == SwingConstants.HORIZONTAL) { if (e.getX() > insets.left...
34,205
public CascadedStyle(java.util.Iterator iter) { this(); //do a bucket-sort on importance and origin //properties should already be in order of specificity java.util.List[] buckets = new java.util.List[PropertyDeclaration.IMPORTANCE_AND_ORIGIN_COUNT]; for (int i = 0; i < buckets.le...
CascadedStyle(java.util.Iterator iter) { this(); //do a bucket-sort on importance and origin //properties should already be in order of specificity java.util.List[] buckets = new java.util.List[PropertyDeclaration.IMPORTANCE_AND_ORIGIN_COUNT]; for (int i = 0; i < buckets.length; i...
34,206
public void paintComponent(Graphics g) { if (anti_aliased) { // TODO: // ( (Graphics2D)g ).setRenderingHint( RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON ); } if (doc == null) { return; } //Uu.p("paint component () cal...
public void paintComponent(Graphics g) { if (anti_aliased) { // TODO: // ( (Graphics2D)g ).setRenderingHint( RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON ); } if (doc == null) { return; } //Uu.p("paint component () cal...
34,209
public void setSize(Dimension d) { XRLog.layout(Level.FINEST, "set size called"); super.setSize(d); if (doc != null) RenderQueue.getInstance().dispatchLayoutEvent(new ReflowEvent(ReflowEvent.CANVAS_RESIZED, d)); }
public void setSize(Dimension d) { XRLog.layout(Level.FINEST, "set size called"); super.setSize(d); /* do we need this? if (doc != null && body_box != null) { if(body_box.width != d.width) RenderQueue.getInstance().dispatchLayoutEvent(new ReflowEvent(ReflowEvent.CANVAS_RESIZED, d)); ...
34,210
public void actionPerformed(ActionEvent e) { if(currentWorkspace.getLocation()==null) { File toSave = Utils.promptUserForFile((Component)e.getSource(), JFileChooser.FILES_AND_DIRECTORIES, true, WorkflowDesigner.WORKSPACE_SUFFIX, "Workspace Files"); if(toSave!=null) { currentWorkspace.setL...
public void actionPerformed(ActionEvent e) { if(currentWorkspace.getLocation()==null) { File toSave = Utils.promptUserForFile((Component)e.getSource(), JFileChooser.FILES_AND_DIRECTORIES, true, WorkflowDesigner.WORKSPACE_SUFFIX, ResourceManager.getString("workspace.files")); if(toSave!=null) { ...
34,212
ServerSessionEndpoint(String sessionID, ServerConnectionEndpoint connectionEndpoint, int acknowledgmentMode) { this.sessionID = sessionID; this.acknowledgmentMode = acknowledgmentMode; this.connectionEndpoint = connectionEndpoint; ServerPeer sp = connectionEndpoint.getServerPeer(); dm ...
ServerSessionEndpoint(int sessionID, ServerConnectionEndpoint connectionEndpoint, int acknowledgmentMode) { this.sessionID = sessionID; this.acknowledgmentMode = acknowledgmentMode; this.connectionEndpoint = connectionEndpoint; ServerPeer sp = connectionEndpoint.getServerPeer(); dm = s...
34,215
public void cancelDeliveries() throws JMSException { if (closed) { throw new IllegalStateException("Session is closed"); } if (log.isTraceEnabled()) { log.trace("Cancelling messages"); } for(Iterator i = this.consumers.values().iterator(); i.hasNext(); ) { ServerConsum...
public void cancelDeliveries() throws JMSException { if (closed) { throw new IllegalStateException("Session is closed"); } if (trace) { log.trace("Cancelling messages"); } for(Iterator i = this.consumers.values().iterator(); i.hasNext(); ) { ServerConsumerEndpoint scd ...
34,216
public void close() throws JMSException { if (closed) { throw new IllegalStateException("Session is already closed"); } if (log.isTraceEnabled()) log.trace("close()"); // clone to avoid ConcurrentModificationException HashSet consumerSet = new HashSet(consume...
public void close() throws JMSException { if (closed) { throw new IllegalStateException("Session is already closed"); } if (trace) log.trace("close()"); // clone to avoid ConcurrentModificationException HashSet consumerSet = new HashSet(consumers.values()); ...
34,217
public void close() throws JMSException { if (closed) { throw new IllegalStateException("Session is already closed"); } if (log.isTraceEnabled()) log.trace("close()"); // clone to avoid ConcurrentModificationException HashSet consumerSet = new HashSet(consume...
public void close() throws JMSException { if (closed) { throw new IllegalStateException("Session is already closed"); } if (log.isTraceEnabled()) log.trace("close()"); // clone to avoid ConcurrentModificationException HashSet consumerSet = new HashSet(consume...
34,218
public void close() throws JMSException { if (closed) { throw new IllegalStateException("Session is already closed"); } if (log.isTraceEnabled()) log.trace("close()"); // clone to avoid ConcurrentModificationException HashSet consumerSet = new HashSet(consume...
public void close() throws JMSException { if (closed) { throw new IllegalStateException("Session is already closed"); } if (log.isTraceEnabled()) log.trace("close()"); // clone to avoid ConcurrentModificationException HashSet consumerSet = new HashSet(consume...
34,219
public void closing() throws JMSException { if (log.isTraceEnabled()) log.trace("closing (noop)"); //Currently does nothing }
public void closing() throws JMSException { if (trace) log.trace("closing (noop)"); //Currently does nothing }
34,220
public BrowserDelegate createBrowserDelegate(Destination jmsDestination, String messageSelector) throws JMSException { if (closed) { throw new IllegalStateException("Session is closed"); } if (jmsDestination == null) { throw new InvalidDestinationException("null destination"); } ...
public BrowserDelegate createBrowserDelegate(Destination jmsDestination, String messageSelector) throws JMSException { if (closed) { throw new IllegalStateException("Session is closed"); } if (jmsDestination == null) { throw new InvalidDestinationException("null destination"); } ...
34,221
public BrowserDelegate createBrowserDelegate(Destination jmsDestination, String messageSelector) throws JMSException { if (closed) { throw new IllegalStateException("Session is closed"); } if (jmsDestination == null) { throw new InvalidDestinationException("null destination"); } ...
public BrowserDelegate createBrowserDelegate(Destination jmsDestination, String messageSelector) throws JMSException { if (closed) { throw new IllegalStateException("Session is closed"); } if (jmsDestination == null) { throw new InvalidDestinationException("null destination"); } ...
34,222
public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ...
public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ...
34,223
public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ...
public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ...
34,224
public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ...
public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ...
34,225
public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ...
public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ...
34,226
public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ...
public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ...
34,227
public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ...
public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ...
34,228
public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ...
public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ...
34,229
public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ...
public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ...
34,230
public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ...
public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ...
34,231
public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ...
public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ...
34,232
public ProducerDelegate createProducerDelegate(Destination jmsDestination) throws JMSException { if (closed) { throw new IllegalStateException("Session is closed"); } if (jmsDestination != null) { if (dm.getCoreDestination(jmsDestination) == null) { ...
public ProducerDelegate createProducerDelegate(Destination jmsDestination) throws JMSException { if (closed) { throw new IllegalStateException("Session is closed"); } if (jmsDestination != null) { if (dm.getCoreDestination(jmsDestination) == null) { ...
34,233
public ProducerDelegate createProducerDelegate(Destination jmsDestination) throws JMSException { if (closed) { throw new IllegalStateException("Session is closed"); } if (jmsDestination != null) { if (dm.getCoreDestination(jmsDestination) == null) { ...
public ProducerDelegate createProducerDelegate(Destination jmsDestination) throws JMSException { if (closed) { throw new IllegalStateException("Session is closed"); } if (jmsDestination != null) { if (dm.getCoreDestination(jmsDestination) == null) { ...
34,234
public ServerBrowserEndpoint getBrowserDelegate(String browserID) { return (ServerBrowserEndpoint)browsers.get(browserID); }
public ServerBrowserEndpoint getBrowserDelegate(int browserID) { return (ServerBrowserEndpoint)browsers.get(browserID); }
34,235
public ServerBrowserEndpoint getBrowserDelegate(String browserID) { return (ServerBrowserEndpoint)browsers.get(browserID); }
public ServerBrowserEndpoint getBrowserDelegate(String browserID) { return (ServerBrowserEndpoint)browsers.get(Integer.valueOf(browserID)); }
34,236
public ServerConsumerEndpoint getConsumerDelegate(String consumerID) { return (ServerConsumerEndpoint)consumers.get(consumerID); }
public ServerConsumerEndpoint getConsumerDelegate(int consumerID) { return (ServerConsumerEndpoint)consumers.get(consumerID); }
34,237
public ServerConsumerEndpoint getConsumerDelegate(String consumerID) { return (ServerConsumerEndpoint)consumers.get(consumerID); }
public ServerConsumerEndpoint getConsumerDelegate(String consumerID) { return (ServerConsumerEndpoint)consumers.get(Integer.valueOf(consumerID)); }
34,238
public ServerProducerEndpoint getProducerDelegate(String producerID) { return (ServerProducerEndpoint)producers.get(producerID); }
public ServerProducerEndpoint getProducerDelegate(int producerID) { return (ServerProducerEndpoint)producers.get(producerID); }
34,239
public ServerProducerEndpoint getProducerDelegate(String producerID) { return (ServerProducerEndpoint)producers.get(producerID); }
public ServerProducerEndpoint getProducerDelegate(String producerID) { return (ServerProducerEndpoint)producers.get(Integer.valueOf(producerID)); }
34,240
protected ServerBrowserEndpoint putBrowserDelegate(String browserID, ServerBrowserEndpoint sbd) { return (ServerBrowserEndpoint)browsers.put(browserID, sbd); }
protected ServerBrowserEndpoint putBrowserDelegate(int browserID, ServerBrowserEndpoint sbd) { return (ServerBrowserEndpoint)browsers.put(browserID, sbd); }
34,241
protected ServerBrowserEndpoint putBrowserDelegate(String browserID, ServerBrowserEndpoint sbd) { return (ServerBrowserEndpoint)browsers.put(browserID, sbd); }
protected ServerBrowserEndpoint putBrowserDelegate(String browserID, ServerBrowserEndpoint sbd) { return (ServerBrowserEndpoint)browsers.put(Integer.valueOf(browserID), sbd); }
34,242
protected ServerConsumerEndpoint putConsumerDelegate(String consumerID, ServerConsumerEndpoint d) { return (ServerConsumerEndpoint)consumers.put(consumerID, d); }
protected ServerConsumerEndpoint putConsumerDelegate(int consumerID, ServerConsumerEndpoint d) { return (ServerConsumerEndpoint)consumers.put(consumerID, d); }
34,243
protected ServerConsumerEndpoint putConsumerDelegate(String consumerID, ServerConsumerEndpoint d) { return (ServerConsumerEndpoint)consumers.put(consumerID, d); }
protected ServerConsumerEndpoint putConsumerDelegate(String consumerID, ServerConsumerEndpoint d) { return (ServerConsumerEndpoint)consumers.put(Integer.valueOf(consumerID), d); }
34,244
protected ServerProducerEndpoint putProducerDelegate(String producerID, ServerProducerEndpoint d) { return (ServerProducerEndpoint)producers.put(producerID, d); }
protected ServerProducerEndpoint putProducerDelegate(int producerID, ServerProducerEndpoint d) { return (ServerProducerEndpoint)producers.put(producerID, d); }
34,245
protected ServerProducerEndpoint putProducerDelegate(String producerID, ServerProducerEndpoint d) { return (ServerProducerEndpoint)producers.put(producerID, d); }
protected ServerProducerEndpoint putProducerDelegate(String producerID, ServerProducerEndpoint d) { return (ServerProducerEndpoint)producers.put(Integer.valueOf(producerID), d); }
34,246
public String toString() { return "SessionEndpoint[" + Util.guidToString(sessionID) + "]"; }
public String toString() { return "SessionEndpoint[" + sessionID + "]"; }
34,247
public static Box layoutChildren(Context c, Box box, Content content) { List contentList = content.getChildContent(c); box.setState(Box.CHILDREN_FLUX); if (contentList == null) { return box; } if (contentList.size() == 0) { return box; }//we can do thi...
public static Box layoutChildren(Context c, Box box, Content content) { List contentList = content.getChildContent(c); box.setState(Box.CHILDREN_FLUX); if (contentList == null) { return box; } if (contentList.size() == 0) { return box; }//we can do thi...
34,248
public static Box layoutChildren(Context c, Box box, Content content) { List contentList = content.getChildContent(c); box.setState(Box.CHILDREN_FLUX); if (contentList == null) { return box; } if (contentList.size() == 0) { return box; }//we can do thi...
public static Box layoutChildren(Context c, Box box, Content content) { List contentList = content.getChildContent(c); box.setState(Box.CHILDREN_FLUX); if (contentList == null) { return box; } if (contentList.size() == 0) { return box; }//we can do thi...
34,249
public static Box layoutChildren(Context c, Box box, Content content) { List contentList = content.getChildContent(c); box.setState(Box.CHILDREN_FLUX); if (contentList == null) { return box; } if (contentList.size() == 0) { return box; }//we can do thi...
public static Box layoutChildren(Context c, Box box, Content content) { List contentList = content.getChildContent(c); box.setState(Box.CHILDREN_FLUX); if (contentList == null) { return box; } if (contentList.size() == 0) { return box; }//we can do thi...
34,250