bugged
stringlengths
6
599k
fixed
stringlengths
10
599k
__index_level_0__
int64
0
1.13M
private int getFloatDistance(CssContext cssCtx, BlockFormattingContext bfc, LineBox line, List floatsList, int direction) { if (floatsList.size() == 0) { return 0; } int xoff = 0; Point offset = bfc.getOffset(); Rectangle lineBounds = line.getBounds(...
private int getFloatDistance(CssContext cssCtx, BlockFormattingContext bfc, LineBox line, List floatsList, int direction) { if (floatsList.size() == 0) { return 0; } int xoff = 0; Point offset = bfc.getOffset(); Rectangle lineBounds = line.getBounds(...
35,185
public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.i...
public Object invoke(Invocation invocation) throws Throwable { if (!(invocation instanceof MethodInvocation)) { return invocation.invokeNext(); } MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if (log.i...
35,186
public java.util.Map getCascadedPropertiesMap(Element e) { CascadedStyle cs = _matcher.getCascadedStyle(e, false);//this is only for debug, I think java.util.LinkedHashMap props = new java.util.LinkedHashMap(); for (java.util.Iterator i = cs.getMatchedPropertyDeclarations(); i.hasNext();) { ...
public java.util.Map getCascadedPropertiesMap(Element e) { CascadedStyle cs = _matcher.getCascadedStyle(e, false);//this is only for debug, I think java.util.LinkedHashMap props = new java.util.LinkedHashMap(); for (java.util.Iterator i = cs.getMatchedPropertyDeclarations(); i.hasNext();) { ...
35,188
public void close() throws javax.jms.JMSException { if (trace) { log.trace("close " + this); } closed = true; JMSInvocationHandler handler = (JMSInvocationHandler)Proxy.getInvocationHandler(cons); MessageCallbackHandler messageHandler = (MessageCallbackHandler)handler....
public void close() throws javax.jms.JMSException { if (trace) { log.trace("close " + this); } closed = true; JMSInvocationHandler handler = (JMSInvocationHandler)Proxy.getInvocationHandler(cons); MessageCallbackHandler messageHandler = (MessageCallbackHandler)handler....
35,189
public void run() { if (trace) { log.trace("running connection consumer"); } try { LinkedList queue = new LinkedList(); outer: while (true) { if (closed) { if (trace) { log.trace("Connection consumer is closed, breaking"); } b...
public void run() { if (trace) { log.trace("running connection consumer"); } try { LinkedList queue = new LinkedList(); outer: while (true) { if (closed) { if (trace) { log.trace("Connection consumer is closed, breaking"); } b...
35,191
public void run() { if (trace) { log.trace("running connection consumer"); } try { LinkedList queue = new LinkedList(); outer: while (true) { if (closed) { if (trace) { log.trace("Connection consumer is closed, breaking"); } b...
public void run() { if (trace) { log.trace("running connection consumer"); } try { LinkedList queue = new LinkedList(); outer: while (true) { if (closed) { if (trace) { log.trace("Connection consumer is closed, breaking"); } b...
35,192
public void run() { if (trace) { log.trace("running connection consumer"); } try { LinkedList queue = new LinkedList(); outer: while (true) { if (closed) { if (trace) { log.trace("Connection consumer is closed, breaking"); } b...
public void run() { if (trace) { log.trace("running connection consumer"); } try { LinkedList queue = new LinkedList(); outer: while (true) { if (closed) { if (trace) { log.trace("Connection consumer is closed, breaking"); } b...
35,193
public List getChildContent(Context c) { if (_childContent == null) { _childContent = makeChildContent(c); } return _childContent; }
public List getChildContent(Context c) { if (_childContent == null) { _childContent = makeChildContent(c); } return Collections.unmodifiableList(_childContent); }
35,194
public void stopServerPeer() throws Exception { // if we don't find a ServerPeer instance registered under the serverPeerObjectName // ObjectName, we assume that the server was already stopped and we silently exit if (sc.query(serverPeerObjectName).isEmpty()) { log.warn("ServerPeer alre...
public void stopServerPeer() throws Exception { // if we don't find a ServerPeer instance registered under the serverPeerObjectName // ObjectName, we assume that the server was already stopped and we silently exit if (sc.query(serverPeerObjectName).isEmpty()) { log.warn("ServerPeer alre...
35,195
public FormatFlagsConversionMismatchException(String f, char c) { super("invalid flag " + f + " for conversion " + c); this.f = f; this.c = c; }
public FormatFlagsConversionMismatchException(String f, char c) { super("Invalid flag " + f + " for conversion " + c); if (f == null) throw new NullPointerException("Null flag value passed to constructor."); this.f = f; this.c = c; }
35,196
public BasicSplitPaneDivider createDefaultDivider() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); Color light = defaults.getColor("SplitPane.highlight"); Color dark = defaults.getColor("SplitPane.darkShadow"); return new MetalSplitPaneDivider(this, light, dark); }
public BasicSplitPaneDivider createDefaultDivider() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); Color light = defaults.getColor("SplitPane.highlight"); Color dark = defaults.getColor("SplitPane.darkShadow"); return new MetalSplitPaneDivider(this, light, dark); }
35,197
Mapper mapChild(Object e) { //Mapper childMapper = new Mapper(); java.util.List childAxes = new ArrayList(); java.util.HashMap pseudoSelectors = new java.util.HashMap(); java.util.List mappedSelectors = new java.util.LinkedList(); StringBuffer key = new Str...
Mapper mapChild(Object e) { //Mapper childMapper = new Mapper(); java.util.List childAxes = new ArrayList(); java.util.HashMap pseudoSelectors = new java.util.HashMap(); java.util.List mappedSelectors = new java.util.LinkedList(); StringBuffer key = new Str...
35,199
public static void paintAbsoluteBox(Context c, Box block, boolean restyle) { Rectangle rect = c.getExtents(); //why this? int xoff = 0; int yoff = 0; //Uu.p("xoff = " + xoff + " yoff = " + yoff); BlockFormattingContext bfc = c.getBlockFormattingContext(); //Uu.p("b...
public static void paintAbsoluteBox(Context c, Box block, boolean restyle) { Rectangle rect = c.getExtents(); //why this? int xoff = 0; int yoff = 0; //Uu.p("xoff = " + xoff + " yoff = " + yoff); BlockFormattingContext bfc = c.getBlockFormattingContext(); //Uu.p("b...
35,201
public static void paintFixed(Context c, Box block, boolean restyle) { //Uu.p("painting fixed"); Rectangle rect = c.getFixedRectangle(); int by = c.getBlockFormattingContext().getY(); int bx = c.getBlockFormattingContext().getX(); // the offset is equal to the bfc origin m...
public static void paintFixed(Context c, Box block, boolean restyle) { //Uu.p("painting fixed"); Rectangle rect = c.getFixedRectangle(); int by = c.getBlockFormattingContext().getY(); int bx = c.getBlockFormattingContext().getX(); // the offset is equal to the bfc origin m...
35,202
public int getType() { return JBossMapMessage.TYPE; }
public byte getType() { return JBossMapMessage.TYPE; }
35,203
public HyperlinkEvent(Object source, EventType type, URL url) { super(source); this.type = type; this.url = url; this.description = null; } // HyperlinkEvent()
public HyperlinkEvent(Object source, EventType type, URL url) { super(source); this.type = type; this.url = url; this.description = null; } // HyperlinkEvent()
35,204
public void testSimpleTransactedSend() throws Exception { ConnectionFactory mcf = (ConnectionFactory)ic.lookup("java:/JCAConnectionFactory"); Connection conn = mcf.createConnection(); conn.start(); UserTransaction ut = ServerManagement.getUserTransaction(); ut.begin(); Session s = con...
public void testSimpleTransactedSend() throws Exception { ConnectionFactory mcf = (ConnectionFactory)ic.lookup("java:/JCAConnectionFactory"); Connection conn = mcf.createConnection(); conn.start(); UserTransaction ut = ServerManagement.getUserTransaction(); ut.begin(); Session s = con...
35,205
public CoreDurableSubscription createDurableSubscription(String topicName, String clientID, String subscriptionName, String selector, ...
public CoreDurableSubscription createDurableSubscription(String topicName, String clientID, String subscriptionName, String selector, ...
35,206
public CoreSubscription createSubscription(String topicName, String selector, boolean noLocal, MessageStore ms, PersistenceManager pm) throws JMSException { try { long id = this.getNextId(); Topic topic = (Topic)getCoreDestinationInternal(false, topicName); ...
public CoreSubscription createSubscription(String topicName, String selector, boolean noLocal, MessageStore ms, PersistenceManager pm) throws JMSException { try { long id = this.getNextId(); Topic topic = (Topic)getCoreDestinationInternal(false, topicName); ...
35,207
public void deployCoreDestination(boolean isQueue, String destName, MessageStore ms, PersistenceManager pm, int fullSize, int pageSize...
public void deployCoreDestination(boolean isQueue, String destName, MessageStore ms, PersistenceManager pm, int fullSize, int pageSize...
35,208
protected List loadDurableSubscriptionsForTopic(String topicName, MessageStore ms, PersistenceManager pm) throws JMSException { try { Lis...
protected List loadDurableSubscriptionsForTopic(String topicName, MessageStore ms, PersistenceManager pm) throws JMSException { try { Lis...
35,209
public boolean removeDurableSubscription(String clientID, String subscriptionName) throws JMSException { try { if (log.isTraceEnabled()) { log.trace("removing durable subscription " + subscriptionName); } if (clientID == null) { throw new JMSException("Cli...
public boolean removeDurableSubscription(String clientID, String subscriptionName) throws JMSException { try { if (log.isTraceEnabled()) { log.trace("removing durable subscription " + subscriptionName); } if (clientID == null) { throw new JMSException("Cli...
35,210
public boolean isPhysicalDestination() { return ((low & DESTMOD) == 0); }
public boolean isPhysicalDestination() { return ((low & DESTMOD) == 0); }
35,211
public static Object getUntaggedObj(ByteBuffer bb, Class type) throws JdwpException, IOException { if (type.isPrimitive()) { if (type == byte.class) return new Byte(bb.get()); else if (type == char.class) return new Character(bb.getChar()); else if (type == float.cla...
public static Object getUntaggedObj(ByteBuffer bb, Class type) throws JdwpException, IOException { if (type.isPrimitive()) { if (type == byte.class) return new Byte(bb.get()); else if (type == char.class) return new Character(bb.getChar()); else if (type == float.cla...
35,212
public Insets getInsets() { final Container contentPane = jComponent.getContentPane(); if ((contentPane.getWidth() == 0) || (contentPane.getHeight() == 0)) { jComponent.doLayout(); jComponent.getRootPane().doLayout(); } final int cpWidth = contentPane.getWidth(); ...
public Insets getInsets() { final Container contentPane = jComponent.getContentPane(); if ((contentPane.getWidth() == 0) || (contentPane.getHeight() == 0)) { jComponent.doLayout(); jComponent.getRootPane().doLayout(); } final int cpWidth = contentPane.getWidth(); ...
35,213
public Insets getInsets() { final Container contentPane = jComponent.getContentPane(); if ((contentPane.getWidth() == 0) || (contentPane.getHeight() == 0)) { jComponent.doLayout(); jComponent.getRootPane().doLayout(); } final int cpWidth = contentPane.getWidth(); ...
public Insets getInsets() { final Container contentPane = jComponent.getContentPane(); if ((contentPane.getWidth() == 0) || (contentPane.getHeight() == 0)) { jComponent.doLayout(); jComponent.getRootPane().doLayout(); } final int cpWidth = contentPane.getWidth(); ...
35,214
public void setVisible(final boolean b) { SwingToolkit.invokeNowOrLater(new Runnable() { public void run() { if (b) { jComponent.invalidate(); VMAwtAPI.invalidateTree(component); VMAwtAPI.invalidateTree(jComponent); ...
public void setVisible(final boolean b) { SwingToolkit.invokeNowOrLater(new Runnable() { public void run() { if (b) { jComponent.invalidate(); VMAwtAPI.invalidateTree(component); VMAwtAPI.invalidateTree(jComponent); ...
35,215
public RegisterUsage(Register reg) { this.reg = reg; this.inuse = false; }
public RegisterUsage(Register reg, boolean callerSaved) { this.reg = reg; this.inuse = false; }
35,216
public boolean request(Object owner) { if (this.inuse) { return false; } else { this.owner = owner; this.inuse = true; this.requestTrace = new Exception("Requesttrace of " + reg); //System.out.println("Request of " ...
public boolean request(Object owner) { if (this.inuse) { return false; } else { this.owner = owner; this.inuse = true; //System.out.println("Request of " + reg); return true; } }
35,218
private final RegisterUsage[] initialize() { // The order of this array determines the cost of using the register. // The cost of a register is lower when its index in this // array is higher. return new RegisterUsage[] { new RegisterUsage(Register.EAX), new...
private final RegisterUsage[] initialize() { // The order of this array determines the cost of using the register. // The cost of a register is lower when its index in this // array is higher. return new RegisterUsage[] { new RegisterUsage(Register.EAX), new...
35,219
public Register request(int type, Object owner) { if (type == Operand.LONG || type == Operand.DOUBLE) { return null; } for (int i = regCount-1; i >= 0; i--) { final RegisterUsage ru = registers[i]; if (ru.request(owner)) { return ru.reg; } ...
public Register request(int type, Object owner) { if (type == JvmType.LONG || type == JvmType.DOUBLE) { return null; } for (int i = regCount-1; i >= 0; i--) { final RegisterUsage ru = registers[i]; if (ru.request(owner)) { return ru.reg; } ...
35,220
public HTMLTest(String[] args) throws Exception { super(BASE_TITLE); panel = new XHTMLPanel(); int width = 360; int height = 500; panel.setPreferredSize(new Dimension(width, height)); JScrollPane scroll = new JScrollPane(panel); scroll.setVerticalScrollBar...
public HTMLTest(String[] args) throws Exception { super(BASE_TITLE); panel = new XHTMLPanel(); int width = 360; int height = 500; panel.setPreferredSize(new Dimension(width, height)); JScrollPane scroll = new JScrollPane(panel); scroll.setVerticalScrollBar...
35,221
public ServerConsumerDelegate(String id, Channel channel, InvokerCallbackHandler callbackHandler, ServerSessionDelegate sessionEndpoint, String selector, boolean noLocal) throws InvalidSelectorException { log....
public ServerConsumerDelegate(String id, Channel channel, InvokerCallbackHandler callbackHandler, ServerSessionDelegate sessionEndpoint, String selector, boolean noLocal) throws InvalidSelectorException { log....
35,222
public void activate() throws JMSException { synchronized (deliveryLock) { ready = true; promptDelivery(); } }
public void activate() throws JMSException { try { ready = true; promptDelivery(); } }
35,224
void cancelAllDeliveries() throws JMSException { synchronized (deliveryLock) { 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 i...
void cancelAllDeliveries() throws JMSException { try { 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 t...
35,226
void cancelAllDeliveries() throws JMSException { synchronized (deliveryLock) { 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 i...
void cancelAllDeliveries() throws JMSException { synchronized (deliveryLock) { 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 i...
35,227
public void cancelMessage(Serializable messageID) throws JMSException { boolean cancelled = false; Iterator iter = deliveries.iterator(); try { while (iter.hasNext()) { SingleReceiverDelivery del = (SingleReceiverDelivery)iter.next(); if (del...
public void cancelMessage(Serializable messageID) throws JMSException { boolean cancelled = false; Iterator iter = deliveries.iterator(); try { while (iter.hasNext()) { SingleReceiverDelivery del = (SingleReceiverDelivery)iter.next(); if (del...
35,228
public void cancelMessage(Serializable messageID) throws JMSException { boolean cancelled = false; Iterator iter = deliveries.iterator(); try { while (iter.hasNext()) { SingleReceiverDelivery del = (SingleReceiverDelivery)iter.next(); if (del...
public void cancelMessage(Serializable messageID) throws JMSException { boolean cancelled = false; Iterator iter = deliveries.iterator(); try { while (iter.hasNext()) { SingleReceiverDelivery del = (SingleReceiverDelivery)iter.next(); if (del...
35,229
public void cancelMessage(Serializable messageID) throws JMSException { boolean cancelled = false; Iterator iter = deliveries.iterator(); try { while (iter.hasNext()) { SingleReceiverDelivery del = (SingleReceiverDelivery)iter.next(); if (del...
public void cancelMessage(Serializable messageID) throws JMSException { boolean cancelled = false; Iterator iter = deliveries.iterator(); try { while (iter.hasNext()) { SingleReceiverDelivery del = (SingleReceiverDelivery)iter.next(); if (del...
35,230
public void cancelMessage(Serializable messageID) throws JMSException { boolean cancelled = false; Iterator iter = deliveries.iterator(); try { while (iter.hasNext()) { SingleReceiverDelivery del = (SingleReceiverDelivery)iter.next(); if (del...
public void cancelMessage(Serializable messageID) throws JMSException { boolean cancelled = false; Iterator iter = deliveries.iterator(); try { while (iter.hasNext()) { SingleReceiverDelivery del = (SingleReceiverDelivery)iter.next(); if (del...
35,231
public void cancelMessage(Serializable messageID) throws JMSException { boolean cancelled = false; Iterator iter = deliveries.iterator(); try { while (iter.hasNext()) { SingleReceiverDelivery del = (SingleReceiverDelivery)iter.next(); if (del...
public void cancelMessage(Serializable messageID) throws JMSException { boolean cancelled = false; Iterator iter = deliveries.iterator(); try { while (iter.hasNext()) { SingleReceiverDelivery del = (SingleReceiverDelivery)iter.next(); if (del...
35,232
public void cancelMessage(Serializable messageID) throws JMSException { boolean cancelled = false; Iterator iter = deliveries.iterator(); try { while (iter.hasNext()) { SingleReceiverDelivery del = (SingleReceiverDelivery)iter.next(); if (del...
public void cancelMessage(Serializable messageID) throws JMSException { boolean cancelled = false; Iterator iter = deliveries.iterator(); try { while (iter.hasNext()) { SingleReceiverDelivery del = (SingleReceiverDelivery)iter.next(); if (del...
35,233
public void close() throws JMSException { synchronized (deliveryLock) { 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 { if (closed) { throw new IllegalStateException("Consumer is already closed"); } if (log.isTraceEnabled()) { log.trace(this.id + " close"); } closed = true; //On close we only disconnect the ...
35,234
public synchronized void deactivate() throws JMSException { synchronized (deliveryLock) { ready = false; if (log.isTraceEnabled()) { log.trace("set ready to false"); } } }
public synchronized void deactivate() throws JMSException { try { ready = false; if (log.isTraceEnabled()) { log.trace("set ready to false"); } } }
35,236
public javax.jms.Message getMessageNow() throws JMSException { synchronized (deliveryLock) { try { grabbing = true; //This will always deliver a message (if there is one) on the same thread promptDelivery(); ...
public javax.jms.Message getMessageNow() throws JMSException { try { try { grabbing = true; //This will always deliver a message (if there is one) on the same thread promptDelivery(); javax.jms.Message r...
35,238
public javax.jms.Message getMessageNow() throws JMSException { synchronized (deliveryLock) { try { grabbing = true; //This will always deliver a message (if there is one) on the same thread promptDelivery(); ...
public javax.jms.Message getMessageNow() throws JMSException { synchronized (deliveryLock) { try { grabbing = true; //This will always deliver a message (if there is one) on the same thread promptDelivery(); ...
35,239
public Delivery handle(DeliveryObserver observer, Routable reference, Transaction tx) { //Check if we're ready to handle this reference //We do the check outside of the synchronized block for performance reasons //Then we do the check again once we are inside the block //We don't want a lot of ...
public Delivery handle(DeliveryObserver observer, Routable reference, Transaction tx) { //Check if we're ready to handle this reference //We do the check outside of the synchronized block for performance reasons //Then we do the check again once we are inside the block //We don't want a lot of ...
35,242
public Delivery handle(DeliveryObserver observer, Routable reference, Transaction tx) { //Check if we're ready to handle this reference //We do the check outside of the synchronized block for performance reasons //Then we do the check again once we are inside the block //We don't want a lot of ...
public Delivery handle(DeliveryObserver observer, Routable reference, Transaction tx) { //Check if we're ready to handle this reference //We do the check outside of the synchronized block for performance reasons //Then we do the check again once we are inside the block //We don't want a lot of ...
35,243
public Delivery handle(DeliveryObserver observer, Routable reference, Transaction tx) { //Check if we're ready to handle this reference //We do the check outside of the synchronized block for performance reasons //Then we do the check again once we are inside the block //We don't want a lot of ...
public Delivery handle(DeliveryObserver observer, Routable reference, Transaction tx) { //Check if we're ready to handle this reference //We do the check outside of the synchronized block for performance reasons //Then we do the check again once we are inside the block //We don't want a lot of ...
35,244
public Delivery handle(DeliveryObserver observer, Routable reference, Transaction tx) { //Check if we're ready to handle this reference //We do the check outside of the synchronized block for performance reasons //Then we do the check again once we are inside the block //We don't want a lot of ...
public Delivery handle(DeliveryObserver observer, Routable reference, Transaction tx) { //Check if we're ready to handle this reference //We do the check outside of the synchronized block for performance reasons //Then we do the check again once we are inside the block //We don't want a lot of ...
35,245
public Delivery handle(DeliveryObserver observer, Routable reference, Transaction tx) { //Check if we're ready to handle this reference //We do the check outside of the synchronized block for performance reasons //Then we do the check again once we are inside the block //We don't want a lot of ...
public Delivery handle(DeliveryObserver observer, Routable reference, Transaction tx) { //Check if we're ready to handle this reference //We do the check outside of the synchronized block for performance reasons //Then we do the check again once we are inside the block //We don't want a lot of ...
35,246
public Delivery handle(DeliveryObserver observer, Routable reference, Transaction tx) { //Check if we're ready to handle this reference //We do the check outside of the synchronized block for performance reasons //Then we do the check again once we are inside the block //We don't want a lot of ...
public Delivery handle(DeliveryObserver observer, Routable reference, Transaction tx) { //Check if we're ready to handle this reference //We do the check outside of the synchronized block for performance reasons //Then we do the check again once we are inside the block //We don't want a lot of ...
35,247
public Delivery handle(DeliveryObserver observer, Routable reference, Transaction tx) { //Check if we're ready to handle this reference //We do the check outside of the synchronized block for performance reasons //Then we do the check again once we are inside the block //We don't want a lot of ...
public Delivery handle(DeliveryObserver observer, Routable reference, Transaction tx) { //Check if we're ready to handle this reference //We do the check outside of the synchronized block for performance reasons //Then we do the check again once we are inside the block //We don't want a lot of ...
35,248
protected void promptDelivery() { synchronized (deliveryLock) { if (ready || grabbing) { channel.deliver(this); } } }
protected void promptDelivery() { if (ready || grabbing) { if (ready || grabbing) { channel.deliver(this); } } }
35,249
protected void promptDelivery() { synchronized (deliveryLock) { if (ready || grabbing) { channel.deliver(this); } } }
protected void promptDelivery() { synchronized (deliveryLock) { if (ready || grabbing) { channel.deliver(this); } } }
35,250
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 { ...
void remove() throws JMSException { if (log.isTraceEnabled()) log.trace("attempting to remove receiver " + this + " from destination " + channel); try { SingleReceiverDelivery d = (SingleReceiverDelivery)i.next(); try { d.cancel(); } catch(Throwabl...
35,251
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 { ...
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 { ...
35,252
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 { ...
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 { ...
35,253
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 { ...
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 { ...
35,254
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 { ...
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 { ...
35,255
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 { ...
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 { ...
35,256
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 { ...
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 { ...
35,257
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 { ...
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 { ...
35,258
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 { ...
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 { ...
35,259
void setStarted(boolean started) { if (log.isTraceEnabled()) { log.trace("setStarted: " + started); } 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) { //need to prompt delivery promptDelivery(); } }
35,260
void setStarted(boolean started) { if (log.isTraceEnabled()) { log.trace("setStarted: " + started); } 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) { //need to prompt delivery acquireLock(); this.started = started; if (started) { promptDelivery(); } } finally { release...
35,261
public void layoutContainer(Container parent) { // Sun's implementation simply throws a ClassCastException if // parent is no JScrollPane, so do we. JScrollPane sc = (JScrollPane) parent; JViewport viewport = sc.getViewport(); Dimension viewSize = viewport.getViewSize(); ...
public void layoutContainer(Container parent) { // Sun's implementation simply throws a ClassCastException if // parent is no JScrollPane, so do we. JScrollPane sc = (JScrollPane) parent; JViewport viewport = sc.getViewport(); Dimension viewSize = viewport.getViewSize(); ...
35,262
public void layoutContainer(Container parent) { // Sun's implementation simply throws a ClassCastException if // parent is no JScrollPane, so do we. JScrollPane sc = (JScrollPane) parent; JViewport viewport = sc.getViewport(); Dimension viewSize = viewport.getViewSize(); ...
public void layoutContainer(Container parent) { // Sun's implementation simply throws a ClassCastException if // parent is no JScrollPane, so do we. JScrollPane sc = (JScrollPane) parent; JViewport viewport = sc.getViewport(); Dimension viewSize = viewport.getViewSize(); ...
35,263
public void layoutContainer(Container parent) { // Sun's implementation simply throws a ClassCastException if // parent is no JScrollPane, so do we. JScrollPane sc = (JScrollPane) parent; JViewport viewport = sc.getViewport(); Dimension viewSize = viewport.getViewSize(); ...
public void layoutContainer(Container parent) { // Sun's implementation simply throws a ClassCastException if // parent is no JScrollPane, so do we. JScrollPane sc = (JScrollPane) parent; JViewport viewport = sc.getViewport(); Dimension viewSize = viewport.getViewSize(); ...
35,264
public static Color getBackgroundColor( Context c, Box box ) { return c.getCurrentStyle().getBackgroundColor(); }
public static Color getBackgroundColor(Context c) { return c.getCurrentStyle().getBackgroundColor(); }
35,266
public void paint(Graphics g, Shape s) { super.paint(g, s); }
public void paint(Graphics g, Shape s) { Shape newAlloc = adjustAllocation(s); super.paint(g, newAlloc); }
35,268
public void actionPerformed(ActionEvent e) { String command = e.getActionCommand(); if(command.equals("condadd")) { add(); } else if(command.equals("condremove")) { remove(); } else if(command.equals("condedit")) { modify(); } }
public void actionPerformed(ActionEvent e) { String command = e.getActionCommand().toLowerCase(); if(command.equals("condadd")) { add(); } else if(command.equals("condremove")) { remove(); } else if(command.equals("condedit")) { modify(); } }
35,269
public void init() { log.info("Initialising"); try { Connection conn = getNextConnection(); sess = conn.createSession(transacted, Session.AUTO_ACKNOWLEDGE); //Ackmode doesn't matter prod = null; ...
public void init() { log.info("Initialising"); try { Connection conn = getNextConnection(); sess = conn.createSession(transacted, Session.AUTO_ACKNOWLEDGE); //Ackmode doesn't matter prod = null; ...
35,270
public SenderJob(String slaveURL, Properties jndiProperties, String destinationName, String connectionFactoryJndiName, int numConnections, int numSessions, boolean transacted, int transactionSize, int numMessages, long timeToStart, boolean anon, int messageSize, MessageFactory messag...
public SenderJob(String slaveURL, Properties jndiProperties, String destinationName, String connectionFactoryJndiName, int numConnections, int numSessions, boolean transacted, int transactionSize, int numMessages, long timeToStart, boolean anon, int messageSize, MessageFactory messag...
35,271
public SenderJob(String slaveURL, Properties jndiProperties, String destinationName, String connectionFactoryJndiName, int numConnections, int numSessions, boolean transacted, int transactionSize, int numMessages, long timeToStart, boolean anon, int messageSize, MessageFactory messag...
public SenderJob(String slaveURL, Properties jndiProperties, String destinationName, String connectionFactoryJndiName, int numConnections, int numSessions, boolean transacted, int transactionSize, int numMessages, long timeToStart, boolean anon, int messageSize, MessageFactory messag...
35,272
public SenderJob(String slaveURL, Properties jndiProperties, String destinationName, String connectionFactoryJndiName, int numConnections, int numSessions, boolean transacted, int transactionSize, int numMessages, long timeToStart, boolean anon, int messageSize, MessageFactory messag...
public SenderJob(String slaveURL, Properties jndiProperties, String destinationName, String connectionFactoryJndiName, int numConnections, int numSessions, boolean transacted, int transactionSize, int numMessages, long timeToStart, boolean anon, int messageSize, MessageFactory messag...
35,273
protected void logInfo() { super.logInfo(); log.trace("Use anonymous producer? " + anon); log.trace("Message size: " + msgSize); log.trace("Message type: " + mf.getClass().getName()); log.trace("Delivery Mode:" + (deliveryMode == DeliveryMode.PERSISTENT ? "Persistent" : "Non-persistent"));...
protected void logInfo() { super.logInfo(); log.trace("Use anonymous producer? " + anon); log.trace("Message size: " + msgSize); log.trace("Message type: " + mf.getClass().getName()); log.trace("Delivery Mode:" + (deliveryMode == DeliveryMode.PERSISTENT ? "Persistent" : "Non-persistent"));...
35,274
public void actionPerformed(ActionEvent e) { File output = Utils.promptUserForFile((Component)e.getSource(), JFileChooser.FILES_AND_DIRECTORIES, true, ".png", "PNG files"); if(output==null) return; WorkflowGraph graph = WorkflowDesigner.INSTANCE.getCurrentGraph(); BufferedImage image = Utils.toImage(grap...
public void actionPerformed(ActionEvent e) { File output = Utils.promptUserForFile((Component)e.getSource(), JFileChooser.FILES_AND_DIRECTORIES, true, ".png", ResourceManager.getString("png.files")); if(output==null) return; WorkflowGraph graph = WorkflowDesigner.INSTANCE.getCurrentGraph(); BufferedImage...
35,275
public void assignPagePaintingPositions(CssContext cssCtx, int additionalClearance) { List pages = getPages(); int paintingTop = 0; for (Iterator i = pages.iterator(); i.hasNext(); ) { PageBox page = (PageBox)i.next(); page.setPaintingTop(paintingTop); page.setP...
public void assignPagePaintingPositions(CssContext cssCtx, int additionalClearance) { List pages = getPages(); int paintingTop = additionalClearance; for (Iterator i = pages.iterator(); i.hasNext(); ) { PageBox page = (PageBox)i.next(); page.setPaintingTop(paintingTop); ...
35,276
public void assignPagePaintingPositions(CssContext cssCtx, int additionalClearance) { List pages = getPages(); int paintingTop = 0; for (Iterator i = pages.iterator(); i.hasNext(); ) { PageBox page = (PageBox)i.next(); page.setPaintingTop(paintingTop); page.setP...
public void assignPagePaintingPositions(CssContext cssCtx, int additionalClearance) { List pages = getPages(); int paintingTop = 0; for (Iterator i = pages.iterator(); i.hasNext(); ) { PageBox page = (PageBox)i.next(); page.setPaintingTop(paintingTop); page.setP...
35,277
private void layoutAbsoluteChildren(LayoutContext c) { List children = getChildren(); if (children.size() > 0) { LayoutState state = c.captureLayoutState(); for (int i = 0; i < children.size(); i++) { Layer child = (Layer)children.get(i); if (child.i...
private void layoutAbsoluteChildren(LayoutContext c) { List children = getChildren(); if (children.size() > 0) { LayoutState state = c.captureLayoutState(); for (int i = 0; i < children.size(); i++) { Layer child = (Layer)children.get(i); if (child.i...
35,279
public void paint(RenderingContext c, int originX, int originY) { if (getMaster().getStyle().isFixed()) { positionFixedLayer(c); } if (! isInline() && ((BlockBox)getMaster()).isReplaced()) { paintReplacedElement(c, (BlockBox)getMaster()); } else { List bl...
public void paint(RenderingContext c, int originX, int originY) { if (getMaster().getStyle().isFixed()) { positionFixedLayer(c); } if (! isInline() && ((BlockBox)getMaster()).isReplaced()) { paintReplacedElement(c, (BlockBox)getMaster()); } else { List bl...
35,280
public boolean removeResult(ResultDescriptor result) { Iterator iter = descriptor.getActions().iterator(); while(iter.hasNext()) { ActionDescriptor action = (ActionDescriptor)iter.next(); if(result instanceof ConditionalResultDescriptor) { List list = action.getConditionalResults(); ...
public boolean removeResult(ResultDescriptor result) { Iterator iter = descriptor.getActions().iterator(); while(iter.hasNext()) { ActionDescriptor action = (ActionDescriptor)iter.next(); if(result instanceof ConditionalResultDescriptor) { List list = action.getConditionalResults(); ...
35,281
public boolean removeResult(ResultDescriptor result) { Iterator iter = descriptor.getActions().iterator(); while(iter.hasNext()) { ActionDescriptor action = (ActionDescriptor)iter.next(); if(result instanceof ConditionalResultDescriptor) { List list = action.getConditionalResults(); ...
public boolean removeResult(ResultDescriptor result) { Iterator iter = descriptor.getActions().iterator(); while(iter.hasNext()) { ActionDescriptor action = (ActionDescriptor)iter.next(); if(result instanceof ConditionalResultDescriptor) { List list = action.getConditionalResults(); ...
35,282
public void startLayoutLoop() throws InterruptedException { while (true) { //Uu.p("waiting for a layout event"); ReflowEvent evt = root.queue.waitForNextLayoutEvent(); if (evt == null) { return; } //Uu.p("got a layout event: " + evt); ...
public void startLayoutLoop() throws InterruptedException { while (true) { //Uu.p("waiting for a layout event"); ReflowEvent evt = root.queue.waitForNextLayoutEvent(); if (evt == null) { return; } //Uu.p("got a layout event: " + evt); ...
35,284
public void startLayoutLoop() throws InterruptedException { while (true) { //Uu.p("waiting for a layout event"); ReflowEvent evt = root.queue.waitForNextLayoutEvent(); if (evt == null) { return; } //Uu.p("got a layout event: " + evt); ...
public void startLayoutLoop() throws InterruptedException { while (true) { //Uu.p("waiting for a layout event"); ReflowEvent evt = root.queue.waitForNextLayoutEvent(); if (evt == null) { return; } //Uu.p("got a layout event: " + evt); ...
35,285
public void startLayoutLoop() throws InterruptedException { while (true) { //Uu.p("waiting for a layout event"); ReflowEvent evt = root.queue.waitForNextLayoutEvent(); if (evt == null) { return; } //Uu.p("got a layout event: " + evt); ...
public void startLayoutLoop() throws InterruptedException { while (true) { //Uu.p("waiting for a layout event"); ReflowEvent evt = root.queue.waitForNextLayoutEvent(); if (evt == null) { return; } //Uu.p("got a layout event: " + evt); ...
35,286
public void startLayoutLoop() throws InterruptedException { while (true) { //Uu.p("waiting for a layout event"); ReflowEvent evt = root.queue.waitForNextLayoutEvent(); if (evt == null) { return; } //Uu.p("got a layout event: " + evt); ...
public void startLayoutLoop() throws InterruptedException { while (true) { //Uu.p("waiting for a layout event"); ReflowEvent evt = root.queue.waitForNextLayoutEvent(); if (evt == null) { return; } //Uu.p("got a layout event: " + evt); ...
35,287
public boolean passesCondition(Map transientVars, Map args, PropertySet ps) throws WorkflowException { String ejbLocation = (String) args.get(AbstractWorkflow.EJB_LOCATION); Condition sessionBean = null; try { EJBHome home = (EJBHome) PortableRemoteObject.narrow(new InitialContext()....
public boolean passesCondition(Map transientVars, Map args, PropertySet ps) throws WorkflowException { String ejbLocation = (String) args.get(AbstractWorkflow.EJB_LOCATION); Condition sessionBean = null; try { EJBLocalHome home = (EJBLocalHome) PortableRemoteObject.narrow(new Initial...
35,288
public static void layoutContent(Context c, Box box, List contentList, BlockBox block) { Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; bounds.width -= box.margin.left + box.border.left + box.padding.left + box.padding.right + box.border.right + box.marg...
public static void layoutContent(Context c, Box box, List contentList, BlockBox block) { Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; bounds.width -= box.margin.left + box.border.left + box.padding.left + box.padding.right + box.border.right + box.marg...
35,289
private static synchronized Server spawn(final int i) throws Exception { if(isLocal()) { return null; } StringBuffer sb = new StringBuffer(); sb.append("java").append(' '); sb.append("-Xmx512M").append(' '); String moduleOutput = System.getProperty("module.output"); ...
private static synchronized Server spawn(final int i) throws Exception { if(isLocal()) { return null; } StringBuffer sb = new StringBuffer(); sb.append("java").append(' '); sb.append("-Xmx512M").append(' '); String moduleOutput = System.getProperty("module.output"); ...
35,290
protected ClusteredPostOffice createClusteredPostOffice(String nodeId, String groupName) throws Exception { MessagePullPolicy redistPolicy = new NullMessagePullPolicy(); FilterFactory ff = new SimpleFilterFactory(); ClusterRouterFactory rf = new DefaultRouterFactory(); Default...
protected ClusteredPostOffice createClusteredPostOffice(int nodeId, String groupName) throws Exception { MessagePullPolicy redistPolicy = new NullMessagePullPolicy(); FilterFactory ff = new SimpleFilterFactory(); ClusterRouterFactory rf = new DefaultRouterFactory(); DefaultClu...
35,291
protected void local(boolean persistent) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; ClusteredPostOffice office4 = null; ClusteredPostOffice office5 = null; ClusteredPostOf...
protected void local(boolean persistent) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; ClusteredPostOffice office4 = null; ClusteredPostOffice office5 = null; ClusteredPostOf...
35,292
protected void local(boolean persistent) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; ClusteredPostOffice office4 = null; ClusteredPostOffice office5 = null; ClusteredPostOf...
protected void local(boolean persistent) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; ClusteredPostOffice office4 = null; ClusteredPostOffice office5 = null; ClusteredPostOf...
35,293
protected void local(boolean persistent) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; ClusteredPostOffice office4 = null; ClusteredPostOffice office5 = null; ClusteredPostOf...
protected void local(boolean persistent) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; ClusteredPostOffice office4 = null; ClusteredPostOffice office5 = null; ClusteredPostOf...
35,294
protected void local(boolean persistent) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; ClusteredPostOffice office4 = null; ClusteredPostOffice office5 = null; ClusteredPostOf...
protected void local(boolean persistent) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; ClusteredPostOffice office4 = null; ClusteredPostOffice office5 = null; ClusteredPostOf...
35,295
protected void local(boolean persistent) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; ClusteredPostOffice office4 = null; ClusteredPostOffice office5 = null; ClusteredPostOf...
protected void local(boolean persistent) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; ClusteredPostOffice office4 = null; ClusteredPostOffice office5 = null; ClusteredPostOf...
35,296
protected void local(boolean persistent) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; ClusteredPostOffice office4 = null; ClusteredPostOffice office5 = null; ClusteredPostOf...
protected void local(boolean persistent) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; ClusteredPostOffice office4 = null; ClusteredPostOffice office5 = null; ClusteredPostOf...
35,297
protected void local(boolean persistent) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; ClusteredPostOffice office4 = null; ClusteredPostOffice office5 = null; ClusteredPostOf...
protected void local(boolean persistent) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; ClusteredPostOffice office4 = null; ClusteredPostOffice office5 = null; ClusteredPostOf...
35,298
protected void local(boolean persistent) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; ClusteredPostOffice office4 = null; ClusteredPostOffice office5 = null; ClusteredPostOf...
protected void local(boolean persistent) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; ClusteredPostOffice office4 = null; ClusteredPostOffice office5 = null; ClusteredPostOf...
35,299