bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
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... | 52,484 |
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... | 52,486 |
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... | 52,487 |
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(); ... | 52,488 |
protected boolean wantReference() { //If the client side consumer is not ready to accept a message and have it sent to it //or we're not grabbing a message for receiveNoWait //we return null to refuse the message if (!ready && !grabbing) { if (log.isTraceEnabled()) { log.trace("Not... | protected boolean wantReference() { //If the client side consumer is not ready to accept a message and have it sent to it //or we're not grabbing a message for receiveNoWait //we return null to refuse the message if (!ready && !grabbing) { if (log.isTraceEnabled()) { log.trace("Not... | 52,489 |
protected boolean wantReference() { //If the client side consumer is not ready to accept a message and have it sent to it //or we're not grabbing a message for receiveNoWait //we return null to refuse the message if (!ready && !grabbing) { if (log.isTraceEnabled()) { log.trace("Not... | protected boolean wantReference() { //If the client side consumer is not ready to accept a message and have it sent to it //or we're not grabbing a message for receiveNoWait //we return null to refuse the message if (!ready && !grabbing) { if (log.isTraceEnabled()) { log.trace("Not... | 52,490 |
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... | 52,491 |
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... | 52,492 |
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... | 52,493 |
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.... | 52,494 |
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... | 52,495 |
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... | 52,496 |
public Client getCallbackClient() { return callbackClient; } | protected Client getCallbackClient() { return callbackClient; } | 52,497 |
public int getConnectionID() { return connectionID; } | protected int getConnectionID() { return connectionID; } | 52,498 |
ServerPeer getServerPeer() { return serverPeer; } | protected ServerPeer getServerPeer() { return serverPeer; } | 52,499 |
public ServerSessionEndpoint getSessionDelegate(int sessionID) { return (ServerSessionEndpoint)sessions.get(new Integer(sessionID)); } | protected ServerSessionEndpoint getSessionDelegate(int sessionID) { return (ServerSessionEndpoint)sessions.get(new Integer(sessionID)); } | 52,500 |
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; ... | 52,501 |
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... | 52,502 |
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); } | 52,503 |
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... | 52,504 |
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... | 52,505 |
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... | 52,506 |
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... | 52,507 |
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... | 52,508 |
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... | 52,509 |
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... | 52,510 |
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... | 52,511 |
private static void saveLine(LineBox line_to_save, LineBox prev_line, Rectangle bounds, LayoutContext c, Box block, int minHeight, List pushedOnFirstLine, List pendingFloats) { line_to_save.isFirstLine = c.isFirstLine(); c.setFirstLine(fa... | private static void saveLine(LineBox line_to_save, LineBox prev_line, Rectangle bounds, LayoutContext c, Box block, int minHeight, List pushedOnFirstLine, List pendingFloats) { line_to_save.isFirstLine = c.isFirstLine(); c.setFirstLine(fa... | 52,512 |
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")... | 52,513 |
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")... | 52,514 |
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... | 52,515 |
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... | 52,516 |
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... | 52,517 |
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... | 52,521 |
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... | 52,522 |
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... | 52,525 |
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)); ... | 52,526 |
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) { ... | 52,528 |
ServerSessionEndpoint(String sessionID, ServerConnectionEndpoint connectionEndpoint, int acknowledgmentMode) { this.sessionID = sessionID; this.acknowledgmentMode = acknowledgmentMode; this.connectionEndpoint = connectionEndpoint; ServerPeer sp = connectionEndpoint.getServerPeer(); dm ... | ServerSessionEndpoint(String sessionID, ServerConnectionEndpoint connectionEndpoint, int acknowledgmentMode) { this.sessionID = sessionID; this.acknowledgmentMode = acknowledgmentMode; this.connectionEndpoint = connectionEndpoint; ServerPeer sp = connectionEndpoint.getServerPeer(); dm ... | 52,531 |
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 ... | 52,532 |
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()); ... | 52,533 |
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... | 52,534 |
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... | 52,535 |
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 } | 52,536 |
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"); } ... | 52,537 |
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"); } ... | 52,538 |
public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ... | public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ... | 52,539 |
public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ... | public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ... | 52,540 |
public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ... | public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ... | 52,541 |
public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ... | public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ... | 52,542 |
public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ... | public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ... | 52,543 |
public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ... | public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ... | 52,544 |
public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ... | public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ... | 52,545 |
public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ... | public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ... | 52,546 |
public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ... | public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ... | 52,547 |
public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ... | public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ... | 52,548 |
public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ... | public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ... | 52,549 |
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) { ... | 52,550 |
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) { ... | 52,551 |
public ServerBrowserEndpoint getBrowserDelegate(String browserID) { return (ServerBrowserEndpoint)browsers.get(browserID); } | public ServerBrowserEndpoint getBrowserDelegate(int browserID) { return (ServerBrowserEndpoint)browsers.get(browserID); } | 52,552 |
public ServerBrowserEndpoint getBrowserDelegate(String browserID) { return (ServerBrowserEndpoint)browsers.get(browserID); } | public ServerBrowserEndpoint getBrowserDelegate(String browserID) { return (ServerBrowserEndpoint)browsers.get(Integer.valueOf(browserID)); } | 52,553 |
public ServerConsumerEndpoint getConsumerDelegate(String consumerID) { return (ServerConsumerEndpoint)consumers.get(consumerID); } | public ServerConsumerEndpoint getConsumerDelegate(int consumerID) { return (ServerConsumerEndpoint)consumers.get(consumerID); } | 52,554 |
public ServerConsumerEndpoint getConsumerDelegate(String consumerID) { return (ServerConsumerEndpoint)consumers.get(consumerID); } | public ServerConsumerEndpoint getConsumerDelegate(String consumerID) { return (ServerConsumerEndpoint)consumers.get(Integer.valueOf(consumerID)); } | 52,555 |
public ServerProducerEndpoint getProducerDelegate(String producerID) { return (ServerProducerEndpoint)producers.get(producerID); } | public ServerProducerEndpoint getProducerDelegate(int producerID) { return (ServerProducerEndpoint)producers.get(producerID); } | 52,556 |
public ServerProducerEndpoint getProducerDelegate(String producerID) { return (ServerProducerEndpoint)producers.get(producerID); } | public ServerProducerEndpoint getProducerDelegate(String producerID) { return (ServerProducerEndpoint)producers.get(Integer.valueOf(producerID)); } | 52,557 |
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); } | 52,558 |
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); } | 52,559 |
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); } | 52,560 |
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); } | 52,561 |
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); } | 52,562 |
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); } | 52,563 |
public String toString() { return "SessionEndpoint[" + Util.guidToString(sessionID) + "]"; } | public String toString() { return "SessionEndpoint[" + sessionID + "]"; } | 52,564 |
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... | 52,565 |
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... | 52,566 |
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... | 52,567 |
public static Border getBorder(Context c, Box box) { //TODO: can I skip this? if (isBlockOrInlineElementBox(c, box)) { if (box.isInlineElement() || !(box.content instanceof TextContent)) { // Uu.p("setting border for: " + box); if (box.border == null) { box.border ... | public static Border getBorder(Context c, Box box) { //TODO: can I skip this? if (isBlockOrInlineElementBox(c, box)) { if (isBlockOrInlineElementBox(box)) { // Uu.p("setting border for: " + box); if (box.border == null) { box.border = c.getCurrentStyle().getBor... | 52,568 |
public synchronized void startService() throws Exception { try { if (started) { return; } log.debug(this + " starting"); if (queuedExecutorPoolSize < 1) { throw new IllegalArgumentException("queuedExecutorPoolSize mus... | public synchronized void startService() throws Exception { try { if (started) { return; } log.debug(this + " starting"); if (queuedExecutorPoolSize < 1) { throw new IllegalArgumentException("queuedExecutorPoolSize mus... | 52,569 |
public synchronized void startService() throws Exception { try { if (started) { return; } log.debug(this + " starting"); if (queuedExecutorPoolSize < 1) { throw new IllegalArgumentException("queuedExecutorPoolSize mus... | public synchronized void startService() throws Exception { try { if (started) { return; } log.debug(this + " starting"); if (queuedExecutorPoolSize < 1) { throw new IllegalArgumentException("queuedExecutorPoolSize mus... | 52,570 |
public synchronized void stopService() throws Exception { try { if (!started) { return; } log.debug(this + " stopping"); started = false; //removeRecoverable(); shutdownLogger.shutdown(serverPeerID); ... | public synchronized void stopService() throws Exception { try { if (!started) { return; } log.debug(this + " stopping"); started = false; //removeRecoverable(); // Stop the wired components ... | 52,571 |
void checkProperty(String name, Object value) throws JMSException { if (name == null) throw new IllegalArgumentException("The name of a property must not be null."); if (name.equals("")) throw new IllegalArgumentException("The name of a property must not be an empty String."); if (St... | void checkProperty(String name, Object value) throws JMSException { if (name == null) throw new IllegalArgumentException("The name of a property must not be null."); if (name.equals("")) throw new IllegalArgumentException("The name of a property must not be an empty String."); if (St... | 52,572 |
public Enumeration getPropertyNames() throws JMSException { Enumeration names = Collections.enumeration(properties.keySet()); return names; } | public Enumeration getPropertyNames() throws JMSException { HashSet set = new HashSet(); set.addAll(properties.keySet()); set.add("JMSXDeliveryCount"); Enumeration names = Collections.enumeration(set); return names; } | 52,574 |
public boolean propertyExists(String name) throws JMSException { return properties.containsKey(name); } | public boolean propertyExists(String name) throws JMSException { return properties.containsKey(name) || "JMSXDeliveryCount".equals(name); } | 52,575 |
public String getName() { if (protocol == null) return "No Mouse"; return protocol.getName(); } | public String getName() { if (protocol == null) return "No Mouse"; return protocol.getName(); } | 52,577 |
public PointerEvent handleScancode(int scancode) { if (protocol == null) return null; // build the data block data[pos++] = (byte) (scancode & 0xff); pos %= data.length; if (pos != 0) return null; // this debug output is for debugging the mouse protocol /* * String line = ""; for( int i = 0; i < data.leng... | public PointerEvent handleScancode(int scancode) { if (protocol == null) return null; // build the data block data[pos++] = (byte) (scancode & 0xff); pos %= data.length; if (pos != 0) return null; // this debug output is for debugging the mouse protocol /* * String line = ""; for( int i = 0; i < data.leng... | 52,579 |
public PointerEvent handleScancode(int scancode) { if (protocol == null) return null; // build the data block data[pos++] = (byte) (scancode & 0xff); pos %= data.length; if (pos != 0) return null; // this debug output is for debugging the mouse protocol /* * String line = ""; for( int i = 0; i < data.leng... | public PointerEvent handleScancode(int scancode) { if (protocol == null) return null; // build the data block data[pos++] = (byte) (scancode & 0xff); pos %= data.length; if (pos != 0) return null; // this debug output is for debugging the mouse protocol /* * String line = ""; for( int i = 0; i < data.leng... | 52,580 |
public PointerEvent handleScancode(int scancode) { if (protocol == null) return null; // build the data block data[pos++] = (byte) (scancode & 0xff); pos %= data.length; if (pos != 0) return null; // this debug output is for debugging the mouse protocol /* * String line = ""; for( int i = 0; i < data.leng... | public PointerEvent handleScancode(int scancode) { if (protocol == null) return null; // build the data block data[pos++] = (byte) (scancode & 0xff); pos %= data.length; if (pos != 0) return null; // this debug output is for debugging the mouse protocol /* * String line = ""; for( int i = 0; i < data.leng... | 52,581 |
public boolean probe(AbstractPointerDriver d) { try { // reset the mouse if (!d.initPointer()) { log.debug("Reset mouse failed"); return false; } int id = d.getPointerId(); if (id != 0) { // does not seem to be a mouse, more likely a tablet of touch screen log.debug("PointerId == " + id); ret... | public boolean probe(AbstractPointerDriver d) { try { // reset the mouse if (!d.initPointer()) { log.debug("Reset mouse failed"); return false; } int id = d.getPointerId(); if (id != 0) { // does not seem to be a mouse, more likely a tablet of touch screen log.debug("PointerId == " + id); ret... | 52,582 |
public String toString() { return null; // TODO } // toString() | public String toString() { return getClass() + " [Source: " + getSource() + ", TreePath: " + getTreePath() + ", Child Indicies: " + getChildIndices() + ", Children: " + getChildren() + ", Path: " + getPath() +"]"; // TODO } // toString() | 52,583 |
public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName) throws JMSException { // look-... | public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName) throws JMSException { // look-... | 52,584 |
public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName) throws JMSException { // look-... | public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName) throws JMSException { // look-... | 52,585 |
public void testDual() throws Exception { ChainResolver chain = new ChainResolver(); chain.setName("chain"); chain.setIvy(_ivy); chain.setDual(true); MockResolver[] resolvers = new MockResolver[] { MockResolver.buildMockResolver("1", false, null), Mo... | public void testDual() throws Exception { ChainResolver chain = new ChainResolver(); chain.setName("chain"); chain.setIvy(_ivy); chain.setDual(true); MockResolver[] resolvers = new MockResolver[] { MockResolver.buildMockResolver("1", false, null), Mo... | 52,588 |
private synchronized void checkMarshallers() { if (checked) { return; } //We explicitly associate the datatype "jms" with our customer SerializationManager //This is vital for performance reasons. try { SerializationStreamFactory.setManagerClassName( ... | private synchronized void checkMarshallers() { if (checked) { return; } //We explicitly associate the datatype "jms" with our customer SerializationManager //This is vital for performance reasons. try { SerializationStreamFactory.setManagerClassName( ... | 52,589 |
private synchronized void checkMarshallers() { if (checked) { return; } //We explicitly associate the datatype "jms" with our customer SerializationManager //This is vital for performance reasons. try { SerializationStreamFactory.setManagerClassName( ... | private synchronized void checkMarshallers() { if (checked) { return; } //We explicitly associate the datatype "jms" with our customer SerializationManager //This is vital for performance reasons. try { SerializationStreamFactory.setManagerClassName( ... | 52,590 |
public void layoutContainer (Container parent) { synchronized (parent.getTreeLock ()) { int num = parent.getComponentCount (); // This is more efficient than calling getComponents(). Component[] comps = parent.component; Dimension d = parent.getSize (); Insets ins = parent.getInsets (); ComponentOrientation ... | public void layoutContainer (Container parent) { synchronized (parent.getTreeLock ()) { int num = parent.getComponentCount (); // This is more efficient than calling getComponents(). Component[] comps = parent.component; Dimension d = parent.getSize (); Insets ins = parent.getInsets (); ComponentOrientation ... | 52,591 |
public void layoutContainer (Container parent) { synchronized (parent.getTreeLock ()) { int num = parent.getComponentCount (); // This is more efficient than calling getComponents(). Component[] comps = parent.component; Dimension d = parent.getSize (); Insets ins = parent.getInsets (); ComponentOrientation ... | public void layoutContainer (Container parent) { synchronized (parent.getTreeLock ()) { int num = parent.getComponentCount (); // This is more efficient than calling getComponents(). Component[] comps = parent.component; Dimension d = parent.getSize (); Insets ins = parent.getInsets (); ComponentOrientation ... | 52,592 |
public void setAlignment (int align) { if (align != LEFT && align != RIGHT && align != CENTER && align != LEADING && align != TRAILING) throw new IllegalArgumentException ("invalid alignment: " + align); this.align = align; } | public void setAlignment (int align) { if (align != LEFT && align != RIGHT && align != CENTER && align != LEADING && align != TRAILING) throw new IllegalArgumentException ("invalid alignment: " + align); this.align = align; } | 52,593 |
public Font getFont() { return null; // TODO } | public Font getFont() { Font font = super.getFont(); if (font == null) { Component parent = getParent(); if (parent != null) return parent.getFont(); return null; } return font; // TODO } | 52,594 |
public Dimension getPreferredSize() { return null; // TODO } | public Dimension getPreferredSize() { String s = getText(); Font f = getFont(); if (f != null) { FontMetrics fm = getToolkit().getFontMetrics(f); return new Dimension(SwingUtilities.computeStringWidth(fm, s), fm.getHeight()); } return renderer.getPreferredSize(); // TODO } | 52,595 |
public void doLayout() { // TODO } | if (DefaultTreeCellEditor.this.tree.isEditing()) setLocation(offset, 0); super.doLayout(); if (DefaultTreeCellEditor.this.tree.isEditing()) setLocation(offset, 0); super.doLayout(); if (DefaultTreeCellEditor.this.tree.isEditing()) setLocation(offset, 0); super.doLayout(); if (DefaultTreeCellEditor.this.tree.isEditing()... | 52,596 |
public Dimension getPreferredSize() { return null; // TODO } | public Dimension getPreferredSize() { Dimension containerSize = super.getPreferredSize(); containerSize.width += DefaultTreeCellEditor.this.offset; return containerSize; // TODO } | 52,597 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.