bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
public Object handleCreateConnectionDelegate(Invocation inv) throws Throwable { ConnectionFactoryDelegate cfd = (ConnectionFactoryDelegate)inv.getTargetObject(); CreateConnectionResult res = (CreateConnectionResult)inv.invokeNext(); ClientConnectionDelegate connectionDelegate = (ClientConnectionDele... | public Object handleCreateConnectionDelegate(Invocation inv) throws Throwable { ConnectionFactoryDelegate cfd = (ConnectionFactoryDelegate)inv.getTargetObject(); CreateConnectionResult res = (CreateConnectionResult)inv.invokeNext(); ClientConnectionDelegate connectionDelegate = (ClientConnectionDele... | 56,871 |
public Object handleCreateConnectionDelegate(Invocation inv) throws Throwable { ConnectionFactoryDelegate cfd = (ConnectionFactoryDelegate)inv.getTargetObject(); CreateConnectionResult res = (CreateConnectionResult)inv.invokeNext(); ClientConnectionDelegate connectionDelegate = (ClientConnectionDele... | public Object handleCreateConnectionDelegate(Invocation inv) throws Throwable { ConnectionFactoryDelegate cfd = (ConnectionFactoryDelegate)inv.getTargetObject(); CreateConnectionResult res = (CreateConnectionResult)inv.invokeNext(); ClientConnectionDelegate connectionDelegate = (ClientConnectionDele... | 56,872 |
public JList() { init(); } | public JList() { init(new DefaultListModel()); } | 56,873 |
public Rectangle getCellBounds(int index0, int index1) { return getUI().getCellBounds(this, index0, index1); } | public Rectangle getCellBounds(int index0, int index1) { ListUI ui = getUI(); Rectangle bounds = null; if (ui != null) { bounds = ui.getCellBounds(this, index0, index1); } return bounds; } | 56,874 |
public int getMinSelectionIndex() { return selectionModel.getMaxSelectionIndex(); } | public int getMinSelectionIndex() { return selectionModel.getMinSelectionIndex(); } | 56,875 |
void init() { dragEnabled = false; fixedCellHeight = -1; fixedCellWidth = -1; layoutOrientation = VERTICAL; opaque = true; valueIsAdjusting = false; visibleRowCount = 7; cellRenderer = new DefaultListCellRenderer(); listListener = new ListListener(); setModel(new DefaultListModel()); ... | private void init(ListModel m) { dragEnabled = false; fixedCellHeight = -1; fixedCellWidth = -1; layoutOrientation = VERTICAL; opaque = true; valueIsAdjusting = false; visibleRowCount = 7; cellRenderer = new DefaultListCellRenderer(); listListener = new ListListener(); setModel(new Defa... | 56,876 |
void init() { dragEnabled = false; fixedCellHeight = -1; fixedCellWidth = -1; layoutOrientation = VERTICAL; opaque = true; valueIsAdjusting = false; visibleRowCount = 7; cellRenderer = new DefaultListCellRenderer(); listListener = new ListListener(); setModel(new DefaultListModel()); ... | void init() { dragEnabled = false; fixedCellHeight = -1; fixedCellWidth = -1; layoutOrientation = VERTICAL; opaque = true; valueIsAdjusting = false; visibleRowCount = 7; cellRenderer = new DefaultListCellRenderer(); listListener = new ListListener(); setModel(new DefaultListModel()); ... | 56,877 |
public void setFixedCellHeight(int h) { if (fixedCellHeight == h) return; int old = fixedCellHeight; fixedCellHeight = h; firePropertyChange("fixedCellWidth", old, h); } | public void setFixedCellHeight(int h) { if (fixedCellHeight == h) return; int old = fixedCellHeight; fixedCellHeight = h; firePropertyChange("fixedCellHeight", old, h); } | 56,878 |
public void setListData(final Object[] listData) { setModel(new AbstractListModel() { public int getSize() { return listData.length; } public Object getElementAt(int i) { return listData[i]; } }); } | public void setListData(Object[] listData) { setModel(new AbstractListModel() { public int getSize() { return listData.length; } public Object getElementAt(int i) { return listData[i]; } }); } | 56,879 |
public void setListData(final Object[] listData) { setModel(new AbstractListModel() { public int getSize() { return listData.length; } public Object getElementAt(int i) { return listData[i]; } }); } | public void setListData(final Object[] listData) { setModel(new AbstractListModel() { public int getSize() { return listData.length; } public Object getElementAt(int i) { return listData[i]; } }); } | 56,880 |
public Object getElementAt(int i) { return listData[i]; } | public Object getElementAt(int i) { return listData[i]; } | 56,881 |
public int getSize() { return listData.length; } | public int getSize() { return listData.length; } | 56,882 |
public Object getElementAt(int i) { return listData.elementAt(i); } | public Object getElementAt(int i) { return items.get(i); } | 56,883 |
public int getSize() { return listData.size(); } | public int getSize() { return listData.size(); } | 56,884 |
public SplitPaneUI() { // TODO } // SplitPaneUI() | public SplitPaneUI() { // TODO } // SplitPaneUI() | 56,885 |
boolean cancel(Delivery d) throws Throwable; | boolean cancel(Delivery d) throws Throwable; | 56,886 |
ServerConsumerEndpoint(String id, Channel channel, InvokerCallbackHandler callbackHandler, ServerSessionEndpoint sessionEndpoint, String selector, boolean noLocal) throws InvalidSelectorException { log.debug("creating ConsumerEndp... | ServerConsumerEndpoint(String id, Channel channel, InvokerCallbackHandler callbackHandler, ServerSessionEndpoint sessionEndpoint, String selector, boolean noLocal) throws InvalidSelectorException { log.debug("creating ConsumerEndp... | 56,888 |
ServerConsumerEndpoint(String id, Channel channel, InvokerCallbackHandler callbackHandler, ServerSessionEndpoint sessionEndpoint, String selector, boolean noLocal) throws InvalidSelectorException { log.debug("creating ConsumerEndp... | ServerConsumerEndpoint(String id, Channel channel, InvokerCallbackHandler callbackHandler, ServerSessionEndpoint sessionEndpoint, String selector, boolean noLocal) throws InvalidSelectorException { log.debug("creating ConsumerEndp... | 56,889 |
synchronized void acknowledge(String messageID, Transaction tx) throws JMSException { if (log.isTraceEnabled()) { log.trace("acknowledging " + messageID); } try { for(Iterator i = deliveries.iterator(); i.hasNext(); ) { SingleReceiverDelivery d = (SingleReceiverDeliv... | void acknowledge(String messageID, Transaction tx) throws JMSException { if (log.isTraceEnabled()) { log.trace("acknowledging " + messageID); } try { for(Iterator i = deliveries.iterator(); i.hasNext(); ) { SingleReceiverDelivery d = (SingleReceiverDelivery)i.next();... | 56,890 |
synchronized void acknowledge(String messageID, Transaction tx) throws JMSException { if (log.isTraceEnabled()) { log.trace("acknowledging " + messageID); } try { for(Iterator i = deliveries.iterator(); i.hasNext(); ) { SingleReceiverDelivery d = (SingleReceiverDeliv... | synchronized void acknowledge(String messageID, Transaction tx) throws JMSException { if (log.isTraceEnabled()) { log.trace("acknowledging " + messageID); } SingleReceiverDelivery d = null; if (tx == null) { for(Iterator i = deliveries.iterator(); i.hasNext(); ) { S... | 56,891 |
synchronized void acknowledge(String messageID, Transaction tx) throws JMSException { if (log.isTraceEnabled()) { log.trace("acknowledging " + messageID); } try { for(Iterator i = deliveries.iterator(); i.hasNext(); ) { SingleReceiverDelivery d = (SingleReceiverDeliv... | synchronized void acknowledge(String messageID, Transaction tx) throws JMSException { if (log.isTraceEnabled()) { log.trace("acknowledging " + messageID); } try { d = (SingleReceiverDelivery)deliveries.remove(messageID); } else { d = (SingleReceiverDelivery)deliveries.get(messageID);... | 56,892 |
synchronized void acknowledge(String messageID, Transaction tx) throws JMSException { if (log.isTraceEnabled()) { log.trace("acknowledging " + messageID); } try { for(Iterator i = deliveries.iterator(); i.hasNext(); ) { SingleReceiverDelivery d = (SingleReceiverDeliv... | synchronized void acknowledge(String messageID, Transaction tx) throws JMSException { if (log.isTraceEnabled()) { log.trace("acknowledging " + messageID); } try { for(Iterator i = deliveries.iterator(); i.hasNext(); ) { SingleReceiverDelivery d = (SingleReceiverDeliv... | 56,893 |
synchronized void acknowledge(String messageID, Transaction tx) throws JMSException { if (log.isTraceEnabled()) { log.trace("acknowledging " + messageID); } try { for(Iterator i = deliveries.iterator(); i.hasNext(); ) { SingleReceiverDelivery d = (SingleReceiverDeliv... | synchronized void acknowledge(String messageID, Transaction tx) throws JMSException { if (log.isTraceEnabled()) { log.trace("acknowledging " + messageID); } try { for(Iterator i = deliveries.iterator(); i.hasNext(); ) { SingleReceiverDelivery d = (SingleReceiverDeliv... | 56,894 |
synchronized void acknowledge(String messageID, Transaction tx) throws JMSException { if (log.isTraceEnabled()) { log.trace("acknowledging " + messageID); } try { for(Iterator i = deliveries.iterator(); i.hasNext(); ) { SingleReceiverDelivery d = (SingleReceiverDeliv... | synchronized void acknowledge(String messageID, Transaction tx) throws JMSException { if (log.isTraceEnabled()) { log.trace("acknowledging " + messageID); } try { for(Iterator i = deliveries.iterator(); i.hasNext(); ) { SingleReceiverDelivery d = (SingleReceiverDeliv... | 56,895 |
synchronized void acknowledgeAll() throws JMSException { try { for(Iterator i = deliveries.iterator(); i.hasNext(); ) { SingleReceiverDelivery d = (SingleReceiverDelivery)i.next(); d.acknowledge(null); i.remove(); } } cat... | synchronized void acknowledgeAll() throws JMSException { try { for(Iterator i = deliveries.iterator(); i.hasNext(); ) { SingleReceiverDelivery d = (SingleReceiverDelivery)i.next(); d.acknowledge(null); i.remove(); } } cat... | 56,897 |
synchronized void acknowledgeAll() throws JMSException { try { for(Iterator i = deliveries.iterator(); i.hasNext(); ) { SingleReceiverDelivery d = (SingleReceiverDelivery)i.next(); d.acknowledge(null); i.remove(); } } cat... | synchronized void acknowledgeAll() throws JMSException { try { for(Iterator i = deliveries.values().iterator(); i.hasNext(); ) { SingleReceiverDelivery d = (SingleReceiverDelivery)i.next(); d.acknowledge(null); i.remove(); } }... | 56,898 |
synchronized void acknowledgeAll() throws JMSException { try { for(Iterator i = deliveries.iterator(); i.hasNext(); ) { SingleReceiverDelivery d = (SingleReceiverDelivery)i.next(); d.acknowledge(null); i.remove(); } } cat... | synchronized void acknowledgeAll() throws JMSException { try { for(Iterator i = deliveries.iterator(); i.hasNext(); ) { SingleReceiverDelivery d = (SingleReceiverDelivery)i.next(); d.acknowledge(null); i.remove(); } } cat... | 56,899 |
public synchronized void activate() throws JMSException { if (closed) { //Do nothing return; } active = true; if (log.isTraceEnabled()) { log.trace(this + " just activated"); } promptDelivery(); } | public void activate() throws JMSException { if (closed) { //Do nothing return; } active = true; if (log.isTraceEnabled()) { log.trace(this + " just activated"); } promptDelivery(); } | 56,901 |
public synchronized void activate() throws JMSException { if (closed) { //Do nothing return; } active = true; if (log.isTraceEnabled()) { log.trace(this + " just activated"); } promptDelivery(); } | public synchronized void activate() throws JMSException { synchronized (channel) { //Do nothing return; } active = true; if (log.isTraceEnabled()) { log.trace(this + " just activated"); } promptDelivery(); } | 56,902 |
public synchronized void activate() throws JMSException { if (closed) { //Do nothing return; } active = true; if (log.isTraceEnabled()) { log.trace(this + " just activated"); } promptDelivery(); } | public synchronized void activate() throws JMSException { if (closed) { //Do nothing if (closed) { return; } active = true; if (log.isTraceEnabled()) { log.trace(this + " just activated"); } promptDelivery(); } active = true; if (log.isTraceEnabled()) { log.trace(this + "... | 56,903 |
public synchronized void activate() throws JMSException { if (closed) { //Do nothing return; } active = true; if (log.isTraceEnabled()) { log.trace(this + " just activated"); } promptDelivery(); } | public synchronized void activate() throws JMSException { if (closed) { //Do nothing return; } active = true; if (log.isTraceEnabled()) { log.trace(this + " just activated"); } promptDelivery(); } | 56,904 |
synchronized void cancelAllDeliveries() throws JMSException { 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 the correct order in the channel ... | void cancelAllDeliveries() throws JMSException { 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 the correct order in the channel for (int i =... | 56,905 |
synchronized void cancelAllDeliveries() throws JMSException { 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 the correct order in the channel ... | synchronized void cancelAllDeliveries() throws JMSException { 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 the correct order in the channel ... | 56,906 |
synchronized void cancelAllDeliveries() throws JMSException { 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 the correct order in the channel ... | synchronized void cancelAllDeliveries() throws JMSException { 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 the correct order in the channel ... | 56,907 |
synchronized void cancelAllDeliveries() throws JMSException { 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 the correct order in the channel ... | synchronized void cancelAllDeliveries() throws JMSException { 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 the correct order in the channel ... | 56,908 |
synchronized void cancelAllDeliveries() throws JMSException { 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 the correct order in the channel ... | synchronized void cancelAllDeliveries() throws JMSException { 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 the correct order in the channel ... | 56,909 |
synchronized void cancelAllDeliveries() throws JMSException { 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 the correct order in the channel ... | synchronized void cancelAllDeliveries() throws JMSException { 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 the correct order in the channel ... | 56,910 |
synchronized void cancelAllDeliveries() throws JMSException { 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 the correct order in the channel ... | synchronized void cancelAllDeliveries() throws JMSException { 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 the correct order in the channel ... | 56,911 |
public synchronized void cancelMessage(Serializable messageID) throws JMSException { boolean cancelled = false; Iterator iter = deliveries.iterator(); try { while (iter.hasNext()) { SingleReceiverDelivery del = (SingleReceiverDelivery)iter.next(); ... | public synchronized void cancelMessage(Serializable messageID) throws JMSException { boolean cancelled = false; Iterator iter = deliveries.iterator(); try { while (iter.hasNext()) { SingleReceiverDelivery del = (SingleReceiverDelivery)iter.next(); ... | 56,912 |
public synchronized void cancelMessage(Serializable messageID) throws JMSException { boolean cancelled = false; Iterator iter = deliveries.iterator(); try { while (iter.hasNext()) { SingleReceiverDelivery del = (SingleReceiverDelivery)iter.next(); ... | public synchronized void cancelMessage(Serializable messageID) throws JMSException { boolean cancelled = false; Iterator iter = deliveries.iterator(); try { try { SingleReceiverDelivery del = (SingleReceiverDelivery)iter.next(); if (del.getRe... | 56,913 |
public synchronized void cancelMessage(Serializable messageID) throws JMSException { boolean cancelled = false; Iterator iter = deliveries.iterator(); try { while (iter.hasNext()) { SingleReceiverDelivery del = (SingleReceiverDelivery)iter.next(); ... | public synchronized void cancelMessage(Serializable messageID) throws JMSException { boolean cancelled = false; Iterator iter = deliveries.iterator(); try { while (iter.hasNext()) { SingleReceiverDelivery del = (SingleReceiverDelivery)iter.next(); ... | 56,914 |
public synchronized void cancelMessage(Serializable messageID) throws JMSException { boolean cancelled = false; Iterator iter = deliveries.iterator(); try { while (iter.hasNext()) { SingleReceiverDelivery del = (SingleReceiverDelivery)iter.next(); ... | public synchronized void cancelMessage(Serializable messageID) throws JMSException { boolean cancelled = false; Iterator iter = deliveries.iterator(); try { while (iter.hasNext()) { SingleReceiverDelivery del = (SingleReceiverDelivery)iter.next(); ... | 56,915 |
public synchronized void cancelMessage(Serializable messageID) throws JMSException { boolean cancelled = false; Iterator iter = deliveries.iterator(); try { while (iter.hasNext()) { SingleReceiverDelivery del = (SingleReceiverDelivery)iter.next(); ... | public synchronized void cancelMessage(Serializable messageID) throws JMSException { boolean cancelled = false; Iterator iter = deliveries.iterator(); try { while (iter.hasNext()) { SingleReceiverDelivery del = (SingleReceiverDelivery)iter.next(); ... | 56,916 |
public synchronized void close() throws JMSException { if (closed) { throw new IllegalStateException("Consumer is already closed"); } if (log.isTraceEnabled()) { log.trace(this + " close"); } closed = true; // On close we only disconnect the consumer from the... | public void close() throws JMSException { if (closed) { throw new IllegalStateException("Consumer is already closed"); } if (log.isTraceEnabled()) { log.trace(this + " close"); } closed = true; // On close we only disconnect the consumer from the Channel we d... | 56,917 |
public synchronized void closing() throws JMSException { if (log.isTraceEnabled()) { log.trace(this + " closing"); } } | public void closing() throws JMSException { if (log.isTraceEnabled()) { log.trace(this + " closing"); } } | 56,918 |
public synchronized void deactivate() throws JMSException { active = false; if (log.isTraceEnabled()) { log.trace(this + " deactivated"); } } | public void deactivate() throws JMSException { active = false; if (log.isTraceEnabled()) { log.trace(this + " deactivated"); } } | 56,919 |
public synchronized void deactivate() throws JMSException { active = false; if (log.isTraceEnabled()) { log.trace(this + " deactivated"); } } | public synchronized void deactivate() throws JMSException { active = false; if (log.isTraceEnabled()) { log.trace(this + " deactivated"); } } | 56,920 |
public synchronized 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)toGrab; ... | public synchronized 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)toGrab; ... | 56,921 |
public synchronized 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)toGrab; ... | public synchronized 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)toGrab; ... | 56,922 |
public synchronized Delivery handle(DeliveryObserver observer, Routable reference, Transaction tx) { if (log.isTraceEnabled()) { log.trace(this + " receives reference " + Util.guidToString(reference.getMessageID()) + " for delivery"); } if (!isReady()) { if (log.isTraceEnabled()) { log.trace... | public Delivery handle(DeliveryObserver observer, Routable reference, Transaction tx) { if (log.isTraceEnabled()) { log.trace(this + " receives reference " + Util.guidToString(reference.getMessageID()) + " for delivery"); } if (!isReady()) { if (log.isTraceEnabled()) { log.trace(this + " rej... | 56,923 |
public synchronized Delivery handle(DeliveryObserver observer, Routable reference, Transaction tx) { if (log.isTraceEnabled()) { log.trace(this + " receives reference " + Util.guidToString(reference.getMessageID()) + " for delivery"); } if (!isReady()) { if (log.isTraceEnabled()) { log.trace... | public synchronized Delivery handle(DeliveryObserver observer, Routable reference, Transaction tx) { if (log.isTraceEnabled()) { log.trace(this + " receives reference " + Util.guidToString(reference.getMessageID()) + " for delivery"); } if (!isReady()) { if (log.isTraceEnabled()) { log.trace... | 56,924 |
public synchronized Delivery handle(DeliveryObserver observer, Routable reference, Transaction tx) { if (log.isTraceEnabled()) { log.trace(this + " receives reference " + Util.guidToString(reference.getMessageID()) + " for delivery"); } if (!isReady()) { if (log.isTraceEnabled()) { log.trace... | public synchronized Delivery handle(DeliveryObserver observer, Routable reference, Transaction tx) { if (log.isTraceEnabled()) { log.trace(this + " receives reference " + Util.guidToString(reference.getMessageID()) + " for delivery"); } if (!isReady()) { if (log.isTraceEnabled()) { log.trace... | 56,925 |
public synchronized Delivery handle(DeliveryObserver observer, Routable reference, Transaction tx) { if (log.isTraceEnabled()) { log.trace(this + " receives reference " + Util.guidToString(reference.getMessageID()) + " for delivery"); } if (!isReady()) { if (log.isTraceEnabled()) { log.trace... | public synchronized Delivery handle(DeliveryObserver observer, Routable reference, Transaction tx) { if (log.isTraceEnabled()) { log.trace(this + " receives reference " + Util.guidToString(reference.getMessageID()) + " for delivery"); } if (!isReady()) { if (log.isTraceEnabled()) { log.trace... | 56,926 |
public synchronized Delivery handle(DeliveryObserver observer, Routable reference, Transaction tx) { if (log.isTraceEnabled()) { log.trace(this + " receives reference " + Util.guidToString(reference.getMessageID()) + " for delivery"); } if (!isReady()) { if (log.isTraceEnabled()) { log.trace... | publicsynchronizedDeliveryhandle(DeliveryObserverobserver,Routablereference,Transactiontx){if(log.isTraceEnabled()){log.trace(this+"receivesreference"+Util.guidToString(reference.getMessageID())+"fordelivery");}if(!isReady()){if(log.isTraceEnabled()){log.trace(this+"rejects"+Util.guidToString(reference.getMessageID()))... | 56,927 |
synchronized void remove() throws JMSException { if (log.isTraceEnabled()) log.trace("attempting to remove receiver " + this + " from destination " + channel); for(Iterator i = deliveries.iterator(); i.hasNext(); ) { SingleReceiverDelivery d = (SingleReceiverDelivery)i.next(); ... | void remove() throws JMSException { if (log.isTraceEnabled()) log.trace("attempting to remove receiver " + this + " from destination " + channel); for(Iterator i = deliveries.iterator(); i.hasNext(); ) { SingleReceiverDelivery d = (SingleReceiverDelivery)i.next(); try {... | 56,928 |
synchronized void remove() throws JMSException { if (log.isTraceEnabled()) log.trace("attempting to remove receiver " + this + " from destination " + channel); for(Iterator i = deliveries.iterator(); i.hasNext(); ) { SingleReceiverDelivery d = (SingleReceiverDelivery)i.next(); ... | synchronized void remove() throws JMSException { if (log.isTraceEnabled()) log.trace("attempting to remove receiver " + this + " from destination " + channel); for(Iterator i = deliveries.values().iterator(); i.hasNext(); ) { SingleReceiverDelivery d = (SingleReceiverDelivery)i.next();... | 56,929 |
synchronized void remove() throws JMSException { if (log.isTraceEnabled()) log.trace("attempting to remove receiver " + this + " from destination " + channel); for(Iterator i = deliveries.iterator(); i.hasNext(); ) { SingleReceiverDelivery d = (SingleReceiverDelivery)i.next(); ... | synchronized void remove() throws JMSException { if (log.isTraceEnabled()) log.trace("attempting to remove receiver " + this + " from destination " + channel); for(Iterator i = deliveries.iterator(); i.hasNext(); ) { SingleReceiverDelivery d = (SingleReceiverDelivery)i.next(); ... | 56,930 |
synchronized void setStarted(boolean started) { if (log.isTraceEnabled()) { log.trace(this + (started ? " started" : " stopped")); } this.started = started; if (started) { //need to prompt delivery promptDelivery(); } } | void setStarted(boolean started) { if (log.isTraceEnabled()) { log.trace(this + (started ? " started" : " stopped")); } this.started = started; if (started) { //need to prompt delivery promptDelivery(); } } | 56,932 |
protected Message createMessage(byte i, boolean reliable) throws Exception { HashMap coreHeaders = generateFilledMap(true); HashMap jmsProperties = generateFilledMap(false); JBossTextMessage m = new JBossTextMessage(i, reliable, Syst... | protected Message createMessage(byte i, boolean reliable) throws Exception { HashMap coreHeaders = generateFilledMap(true); HashMap jmsProperties = generateFilledMap(false); JBossTextMessage m = new JBossTextMessage(i, reliable, Syst... | 56,933 |
public void close() throws JMSException { log.debug("close"); } | public void close() throws JMSException { this.setStarted(false); } | 56,934 |
public void closing() throws JMSException { log.debug("closing"); } | public void closing() throws JMSException { } | 56,935 |
public Exception getRootCause() { return rootCause; } | public Throwable getRootCause() { return rootCause; } | 56,936 |
private void compileFormat(String pattern) { // Any alphabetical characters are treated as pattern characters // unless enclosed in single quotes. char thisChar; int pos; int field; CompiledField current = null; for (int i=0; i<pattern.length(); i++) { thisChar = pattern.charAt(i); fi... | private void compileFormat(String pattern) { // Any alphabetical characters are treated as pattern characters // unless enclosed in single quotes. char thisChar; int pos; int field; CompiledField current = null; for (int i = 0; i < pattern.length(); i++) { thisChar = pattern.charAt(i); ... | 56,937 |
private void compileFormat(String pattern) { // Any alphabetical characters are treated as pattern characters // unless enclosed in single quotes. char thisChar; int pos; int field; CompiledField current = null; for (int i=0; i<pattern.length(); i++) { thisChar = pattern.charAt(i); fi... | private void compileFormat(String pattern) { // Any alphabetical characters are treated as pattern characters // unless enclosed in single quotes. char thisChar; int pos; int field; CompiledField current = null; for (int i=0; i<pattern.length(); i++) { thisChar = pattern.charAt(i); fi... | 56,938 |
private void compileFormat(String pattern) { // Any alphabetical characters are treated as pattern characters // unless enclosed in single quotes. char thisChar; int pos; int field; CompiledField current = null; for (int i=0; i<pattern.length(); i++) { thisChar = pattern.charAt(i); fi... | private void compileFormat(String pattern) { // Any alphabetical characters are treated as pattern characters // unless enclosed in single quotes. char thisChar; int pos; int field; CompiledField current = null; for (int i=0; i<pattern.length(); i++) { thisChar = pattern.charAt(i); fi... | 56,939 |
private void compileFormat(String pattern) { // Any alphabetical characters are treated as pattern characters // unless enclosed in single quotes. char thisChar; int pos; int field; CompiledField current = null; for (int i=0; i<pattern.length(); i++) { thisChar = pattern.charAt(i); fi... | private void compileFormat(String pattern) { // Any alphabetical characters are treated as pattern characters // unless enclosed in single quotes. char thisChar; int pos; int field; CompiledField current = null; for (int i=0; i<pattern.length(); i++) { thisChar = pattern.charAt(i); fi... | 56,940 |
private void compileFormat(String pattern) { // Any alphabetical characters are treated as pattern characters // unless enclosed in single quotes. char thisChar; int pos; int field; CompiledField current = null; for (int i=0; i<pattern.length(); i++) { thisChar = pattern.charAt(i); fi... | private void compileFormat(String pattern) { // Any alphabetical characters are treated as pattern characters // unless enclosed in single quotes. char thisChar; int pos; int field; CompiledField current = null; for (int i=0; i<pattern.length(); i++) { thisChar = pattern.charAt(i); fi... | 56,941 |
private void compileFormat(String pattern) { // Any alphabetical characters are treated as pattern characters // unless enclosed in single quotes. char thisChar; int pos; int field; CompiledField current = null; for (int i=0; i<pattern.length(); i++) { thisChar = pattern.charAt(i); fi... | private void compileFormat(String pattern) { // Any alphabetical characters are treated as pattern characters // unless enclosed in single quotes. char thisChar; int pos; int field; CompiledField current = null; for (int i=0; i<pattern.length(); i++) { thisChar = pattern.charAt(i); fi... | 56,942 |
private void compileFormat(String pattern) { // Any alphabetical characters are treated as pattern characters // unless enclosed in single quotes. char thisChar; int pos; int field; CompiledField current = null; for (int i=0; i<pattern.length(); i++) { thisChar = pattern.charAt(i); fi... | private void compileFormat(String pattern) { // Any alphabetical characters are treated as pattern characters // unless enclosed in single quotes. char thisChar; int pos; int field; CompiledField current = null; for (int i=0; i<pattern.length(); i++) { thisChar = pattern.charAt(i); fi... | 56,943 |
private void compileFormat(String pattern) { // Any alphabetical characters are treated as pattern characters // unless enclosed in single quotes. char thisChar; int pos; int field; CompiledField current = null; for (int i=0; i<pattern.length(); i++) { thisChar = pattern.charAt(i); fi... | private void compileFormat(String pattern) { // Any alphabetical characters are treated as pattern characters // unless enclosed in single quotes. char thisChar; int pos; int field; CompiledField current = null; for (int i=0; i<pattern.length(); i++) { thisChar = pattern.charAt(i); fi... | 56,944 |
private void compileFormat(String pattern) { // Any alphabetical characters are treated as pattern characters // unless enclosed in single quotes. char thisChar; int pos; int field; CompiledField current = null; for (int i=0; i<pattern.length(); i++) { thisChar = pattern.charAt(i); fi... | private void compileFormat(String pattern) { // Any alphabetical characters are treated as pattern characters // unless enclosed in single quotes. char thisChar; int pos; int field; CompiledField current = null; for (int i=0; i<pattern.length(); i++) { thisChar = pattern.charAt(i); fi... | 56,945 |
private void compileFormat(String pattern) { // Any alphabetical characters are treated as pattern characters // unless enclosed in single quotes. char thisChar; int pos; int field; CompiledField current = null; for (int i=0; i<pattern.length(); i++) { thisChar = pattern.charAt(i); fi... | private void compileFormat(String pattern) { // Any alphabetical characters are treated as pattern characters // unless enclosed in single quotes. char thisChar; int pos; int field; CompiledField current = null; for (int i=0; i<pattern.length(); i++) { thisChar = pattern.charAt(i); fi... | 56,946 |
private void compileFormat(String pattern) { // Any alphabetical characters are treated as pattern characters // unless enclosed in single quotes. char thisChar; int pos; int field; CompiledField current = null; for (int i=0; i<pattern.length(); i++) { thisChar = pattern.charAt(i); fi... | private void compileFormat(String pattern) { // Any alphabetical characters are treated as pattern characters // unless enclosed in single quotes. char thisChar; int pos; int field; CompiledField current = null; for (int i=0; i<pattern.length(); i++) { thisChar = pattern.charAt(i); fi... | 56,947 |
public DefaultDeviceManager(ExtensionPoint findersEP, ExtensionPoint mappersEP) { if (findersEP == null) { throw new IllegalArgumentException( "finders extension-point cannot be null"); } if (mappersEP == null) { throw new IllegalArgumentException( "mappers ext... | public DefaultDeviceManager(ExtensionPoint findersEP, ExtensionPoint mappersEP) { if (findersEP == null) { throw new IllegalArgumentException( "finders extension-point cannot be null"); } if (mappersEP == null) { throw new IllegalArgumentException( "mappers ext... | 56,948 |
protected void configureNetwork(Device device, BOOTPHeader hdr) throws NetworkException { log.info("Got Client IP address : " + hdr.getClientIPAddress()); log.info("Got Your IP address : " + hdr.getYourIPAddress()); log.info("Got Server IP address : " + hdr.getServerIPAddress()); log.info("Got ... | protected void configureNetwork(Device device, BOOTPHeader hdr) throws NetworkException { log.info("Got Client IP address : " + hdr.getClientIPAddress()); log.info("Got Your IP address : " + hdr.getYourIPAddress()); log.info("Got Server IP address : " + hdr.getServerIPAddress()); log.info("Got ... | 56,949 |
protected void configureNetwork(Device device, BOOTPHeader hdr) throws NetworkException { log.info("Got Client IP address : " + hdr.getClientIPAddress()); log.info("Got Your IP address : " + hdr.getYourIPAddress()); log.info("Got Server IP address : " + hdr.getServerIPAddress()); log.info("Got ... | protected void configureNetwork(Device device, BOOTPHeader hdr) throws NetworkException { log.info("Got Client IP address : " + hdr.getClientIPAddress()); log.info("Got Your IP address : " + hdr.getYourIPAddress()); log.info("Got Server IP address : " + hdr.getServerIPAddress()); log.info("Got ... | 56,950 |
public static void layoutContent(LayoutContext c, Box box, List contentList) { int maxAvailableWidth = c.getExtents().width; int remainingWidth = maxAvailableWidth; int minimumLineHeight = (int) c.getCurrentStyle().getLineHeight(c); LineBox currentLine = newLine(c, null, box); Lin... | public static void layoutContent(LayoutContext c, Box box, List contentList) { int maxAvailableWidth = c.getExtents().width; int remainingWidth = maxAvailableWidth; int minimumLineHeight = (int) c.getCurrentStyle().getLineHeight(c); LineBox currentLine = newLine(c, null, box); Lin... | 56,951 |
private static int processOutOfFlowContent(LayoutContext c, Content content, LineBox current, int available, List pendingFloats) { int result = 0; c.pushStyle(content.getStyle()); if (content instanceof AbsolutelyPositionedContent) { LayoutUtil.generateAbsolute(c, content, current); ... | private static int processOutOfFlowContent(LayoutContext c, Content content, LineBox current, int available, List pendingFloats) { int result = 0; c.pushStyle(content.getStyle()); if (content instanceof AbsolutelyPositionedContent) { BlockBox abs = LayoutUtil.generateAbsolute(c, cont... | 56,954 |
private static int processOutOfFlowContent(LayoutContext c, Content content, LineBox current, int available, List pendingFloats) { int result = 0; c.pushStyle(content.getStyle()); if (content instanceof AbsolutelyPositionedContent) { LayoutUtil.generateAbsolute(c, content, current); ... | private static int processOutOfFlowContent(LayoutContext c, Content content, LineBox current, int available, List pendingFloats) { int result = 0; c.pushStyle(content.getStyle()); if (content instanceof AbsolutelyPositionedContent) { LayoutUtil.generateAbsolute(c, content, current); ... | 56,955 |
private static void saveLine(final LineBox current, LineBox previous, final LayoutContext c, Box block, int minHeight, final int maxAvailableWidth, List elementStack, List pendingFloats, boolean hasFirstLinePCs, ... | private static void saveLine(final LineBox current, LineBox previous, final LayoutContext c, Box block, int minHeight, final int maxAvailableWidth, List elementStack, List pendingFloats, boolean hasFirstLinePCs, ... | 56,957 |
public ServerConnectionDelegate getConnectionDelegate(Serializable connectionID) { return (ServerConnectionDelegate)connections.get(connectionID); } | public ServerConnectionDelegate getConnectionDelegate(Serializable connectionID) { return (ServerConnectionDelegate)connections.get(connectionID); } | 56,958 |
public ServerConnectionDelegate putConnectionDelegate(Serializable connectionID, ServerConnectionDelegate d) { return (ServerConnectionDelegate)connections.put(connectionID, d); } | public ServerConnectionDelegate putConnectionDelegate(Serializable connectionID, ServerConnectionDelegate d) { return (ServerConnectionDelegate)connections.put(connectionID, d); } | 56,959 |
public void removeConnectionDelegate(Serializable connectionID) { connections.remove(connectionID); } | public void removeConnectionDelegate(Serializable connectionID) { connections.remove(connectionID); } | 56,960 |
public String[] asStringArray() { if ( _stringAsArray == null ) { String str = getStringValue(); _stringAsArray = ( str == null ? new String[0] : str.split( "," )); } return _stringAsArray; } | public String[] asStringArray() { if ( _stringAsArray == null ) { String str = getStringValue(); _stringAsArray = ( str == null ? new String[0] : str.split( "," )); } return _stringAsArray; } | 56,961 |
public void testDurableSubscriptionReconnect() throws Exception { final String CLIENT_ID1 = "test-client-id1"; Connection conn1 = null; Connection conn2 = null; try { conn1 = cf.createConnection(); conn1.setClientID(CLIENT_ID1); Session sess1 = conn1.createSession(f... | public void testDurableSubscriptionReconnect() throws Exception { final String CLIENT_ID1 = "test-client-id1"; Connection conn1 = null; Connection conn2 = null; try { conn1 = cf.createConnection(); conn1.setClientID(CLIENT_ID1); Session sess1 = conn1.createSession(f... | 56,962 |
public void setUp() throws Exception { super.setUp(); sc = new ServiceContainer("all,-remoting,-security"); sc.start(); pm = new JDBCPersistenceManager(sc.getDataSource(), sc.getTransactionManager(), null, true, true, true, 100); pm.st... | public void setUp() throws Exception { super.setUp(); sc = new ServiceContainer("all,-remoting,-security"); sc.start(); pm = new JDBCPersistenceManager(sc.getDataSource(), sc.getTransactionManager(), null, true, true, true, 100); pm.st... | 56,963 |
public void tearDown() throws Exception { sc.stop(); sc = null; ms = null; tr = null; super.tearDown(); } | public void tearDown() throws Exception { sc.stop(); ms = null; tr = null; super.tearDown(); } | 56,964 |
public void startProduction (ImageConsumer ic) { if (!isConsumer(ic)) addConsumer(ic); Vector list = (Vector) consumers.clone (); try { // Create the input stream here rather than in the // ImageDecoder constructors so that exceptions cause // imageComplete to be called with an appropriate error ... | publicvoidstartProduction(ImageConsumeric){if(!isConsumer(ic))addConsumer(ic);Vectorlist=(Vector)consumers.clone();try{ //Createtheinputstreamhereratherthaninthe //ImageDecoderconstructorssothatexceptionscause //imageCompletetobecalledwithanappropriateerror //status. if(url!=null) input=url.openStream(); else { if(file... | 56,966 |
private boolean canCreateDurableSub(Connection conn, Topic topic, String subName) throws Exception { Session sess = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); try { sess.createDurableSubscriber(topic, subName); sess.unsubscribe(subName); log.trace("Successfully crea... | private boolean canCreateDurableSub(Connection conn, Topic topic, String subName) throws Exception { Session sess = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); try { MessageConsumer cons = sess.createDurableSubscriber(topic, subName); cons.close(); sess.unsubscribe(subName);... | 56,968 |
public String getUIClassID() { return "ViewportUI"; } | public String getUIClassID() { return "ViewportUI"; } | 56,969 |
public void updateUI() { ViewportUI vp = (ViewportUI) UIManager.getUI(this); setUI(vp); } | public void updateUI() { ViewportUI vp = (ViewportUI) UIManager.getUI(this); setUI(vp); } | 56,970 |
protected void chartExecution(XYSeriesCollection dataset, Execution execution) throws Exception { String providerName = execution.getProviderName(); XYSeries series = new XYSeries(providerName); for(Iterator i = execution.iterator(); i.hasNext(); ) { List measurement = (List)i.next(); ... | protected void chartExecution(XYSeriesCollection dataset, Execution execution, int mode) throws Exception { String providerName = execution.getProviderName(); XYSeries series = new XYSeries(providerName); for(Iterator i = execution.iterator(); i.hasNext(); ) { List measurement = (List)i... | 56,971 |
protected void chartExecution(XYSeriesCollection dataset, Execution execution) throws Exception { String providerName = execution.getProviderName(); XYSeries series = new XYSeries(providerName); for(Iterator i = execution.iterator(); i.hasNext(); ) { List measurement = (List)i.next(); ... | protected void chartExecution(XYSeriesCollection dataset, Execution execution) throws Exception { String providerName = execution.getProviderName(); XYSeries series = new XYSeries(providerName); for(Iterator i = execution.iterator(); i.hasNext(); ) { List measurement = (List)i.next(); ... | 56,972 |
protected void chartExecution(XYSeriesCollection dataset, Execution execution) throws Exception { String providerName = execution.getProviderName(); XYSeries series = new XYSeries(providerName); for(Iterator i = execution.iterator(); i.hasNext(); ) { List measurement = (List)i.next(); ... | protected void chartExecution(XYSeriesCollection dataset, Execution execution) throws Exception { String providerName = execution.getProviderName(); XYSeries series = new XYSeries(providerName); for(Iterator i = execution.iterator(); i.hasNext(); ) { List measurement = (List)i.next(); ... | 56,973 |
protected void chartExecution(XYSeriesCollection dataset, Execution execution) throws Exception { String providerName = execution.getProviderName(); XYSeries series = new XYSeries(providerName); for(Iterator i = execution.iterator(); i.hasNext(); ) { List measurement = (List)i.next(); ... | protected void chartExecution(XYSeriesCollection dataset, Execution execution) throws Exception { String providerName = execution.getProviderName(); XYSeries series = new XYSeries(providerName); for(Iterator i = execution.iterator(); i.hasNext(); ) { List measurement = (List)i.next(); ... | 56,974 |
protected void chartExecution(XYSeriesCollection dataset, Execution execution) throws Exception { String providerName = execution.getProviderName(); XYSeries series = new XYSeries(providerName); for(Iterator i = execution.iterator(); i.hasNext(); ) { List measurement = (List)i.next(); ... | protected void chartExecution(XYSeriesCollection dataset, Execution execution) throws Exception { String providerName = execution.getProviderName(); XYSeries series = new XYSeries(providerName); for(Iterator i = execution.iterator(); i.hasNext(); ) { List measurement = (List)i.next(); ... | 56,975 |
protected void chartPerformanceTest(PerformanceTest pt) throws Exception { // a chart depicts more executions String testName = pt.getName(); XYSeriesCollection dataset = new XYSeriesCollection(); for(Iterator i = pt.getExecutions().iterator(); i.hasNext(); ) { Execution e = (Execu... | protected void chartPerformanceTest(PerformanceTest pt) throws Exception { // a chart depicts more executions String testName = pt.getName(); XYSeriesCollection dataset = new XYSeriesCollection(); for(Iterator i = pt.getExecutions().iterator(); i.hasNext(); ) { Execution e = (Execu... | 56,976 |
protected void chartPerformanceTest(PerformanceTest pt) throws Exception { // a chart depicts more executions String testName = pt.getName(); XYSeriesCollection dataset = new XYSeriesCollection(); for(Iterator i = pt.getExecutions().iterator(); i.hasNext(); ) { Execution e = (Execu... | protected void chartPerformanceTest(PerformanceTest pt) throws Exception { // a chart depicts more executions String testName = pt.getName(); XYSeriesCollection dataset = new XYSeriesCollection(); for(Iterator i = pt.getExecutions().iterator(); i.hasNext(); ) { Execution e = (Execu... | 56,977 |
public RenderingContext() { setMedia("screen"); setContext(new Context()); getContext().ctx = this; getContext().css = new TBStyleReference(new NaiveUserAgent()); XRLog.render("Using CSS implementation from: " + getContext().css.getClass().getName()); layout_factory = new L... | public RenderingContext() { setMedia("screen"); setContext(new Context()); getContext().ctx = this; getContext().css = new StyleReference(new NaiveUserAgent()); XRLog.render("Using CSS implementation from: " + getContext().css.getClass().getName()); layout_factory = new Lay... | 56,978 |
public String getMedia() { return this.media; } | public String getMedia() { return this.media; } | 56,979 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.