bugged
stringlengths
6
599k
fixed
stringlengths
10
599k
__index_level_0__
int64
0
1.13M
private void resolvePseudoElements(org.w3c.dom.Element e, HashMap pseudoSelectors) { java.util.Iterator si = pseudoSelectors.entrySet().iterator(); if (!si.hasNext()) { return; } java.util.Map pelm = new java.util.HashMap(); while (si.hasNext()) { java.util.M...
private void resolvePseudoElements(org.w3c.dom.Element e, HashMap pseudoSelectors) { java.util.Iterator si = pseudoSelectors.entrySet().iterator(); if (!si.hasNext()) { return; } java.util.Map pelm = new java.util.HashMap(); while (si.hasNext()) { java.util.M...
31,852
public static Box layout(Context c, Content content) { Box outerBox;//the outer box may be block or inline block boolean set_bfc = false; if (content instanceof TableContent) { outerBox = new BlockBox(); // install a block formatting context for the body, // ie....
public static Box layout(Context c, Content content) { Box outerBox;//the outer box may be block or inline block boolean set_bfc = false; if (content instanceof TableContent) { outerBox = new BlockBox(); // install a block formatting context for the body, // ie....
31,854
public static CellBox layoutCell(Context c, CellBox block, Content content, boolean fixed, TableBox table, int col) { //OK, first set up the current style. All depends on this... CascadedStyle pushed = content.getStyle(); if (pushed != null) { c.pushStyle(pushed); } if ...
public static CellBox layoutCell(Context c, CellBox block, Content content, boolean fixed, TableBox table, int col) { //OK, first set up the current style. All depends on this... CascadedStyle pushed = content.getStyle(); if (pushed != null) { c.pushStyle(pushed); } if ...
31,855
public static CellBox layoutCell(Context c, CellBox block, Content content, boolean fixed, TableBox table, int col) { //OK, first set up the current style. All depends on this... CascadedStyle pushed = content.getStyle(); if (pushed != null) { c.pushStyle(pushed); } if ...
public static CellBox layoutCell(Context c, CellBox block, Content content, boolean fixed, TableBox table, int col) { //OK, first set up the current style. All depends on this... CascadedStyle pushed = content.getStyle(); if (pushed != null) { c.pushStyle(pushed); } if ...
31,856
protected boolean processResponse(Device device, NetDeviceAPI api, int transactionID, DatagramPacket packet) throws IOException { DHCPMessage msg = new DHCPMessage(packet); BOOTPHeader hdr = msg.getHeader(); if (hdr.getOpcode() != BOOTPHeader.BOOTREPLY) { // Not a response return false; } if (hdr.getTransacti...
protected boolean processResponse(Device device, NetDeviceAPI api, int transactionID, DatagramPacket packet) throws IOException { DHCPMessage msg = new DHCPMessage(packet); BOOTPHeader hdr = msg.getHeader(); if (hdr.getOpcode() != BOOTPHeader.BOOTREPLY) { // Not a response return false; } if (hdr.getTransacti...
31,857
private static void paintInline( Context c, InlineBox inline, int lx, int ly, LineBox line ) { if ( InlineLayout.isReplaced( inline.node ) ) { //u.p("painting a replaced block: " + inline); c.getGraphics().translate( line.x, line.y + ( line.baseline - inline.height ) ); Rende...
private static void paintInline( Context c, InlineBox inline, int lx, int ly, LineBox line ) { if ( InlineLayout.isReplaced( inline.node ) ) { //u.p("painting a replaced block: " + inline); c.translate( line.x, line.y + ( line.baseline - inline.height ) ); Renderer rend = Lay...
31,858
private static void paintInline( Context c, InlineBox inline, int lx, int ly, LineBox line ) { if ( InlineLayout.isReplaced( inline.node ) ) { //u.p("painting a replaced block: " + inline); c.getGraphics().translate( line.x, line.y + ( line.baseline - inline.height ) ); Rende...
private static void paintInline( Context c, InlineBox inline, int lx, int ly, LineBox line ) { if ( InlineLayout.isReplaced( inline.node ) ) { //u.p("painting a replaced block: " + inline); c.getGraphics().translate( line.x, line.y + ( line.baseline - inline.height ) ); Rende...
31,859
private static void paintInline( Context c, InlineBox inline, int lx, int ly, LineBox line ) { if ( InlineLayout.isReplaced( inline.node ) ) { //u.p("painting a replaced block: " + inline); c.getGraphics().translate( line.x, line.y + ( line.baseline - inline.height ) ); Rende...
private static void paintInline( Context c, InlineBox inline, int lx, int ly, LineBox line ) { if ( InlineLayout.isReplaced( inline.node ) ) { //u.p("painting a replaced block: " + inline); c.getGraphics().translate( line.x, line.y + ( line.baseline - inline.height ) ); Rende...
31,860
private static void paintInline( Context c, InlineBox inline, int lx, int ly, LineBox line ) { if ( InlineLayout.isReplaced( inline.node ) ) { //u.p("painting a replaced block: " + inline); c.getGraphics().translate( line.x, line.y + ( line.baseline - inline.height ) ); Rende...
private static void paintInline( Context c, InlineBox inline, int lx, int ly, LineBox line ) { if ( InlineLayout.isReplaced( inline.node ) ) { //u.p("painting a replaced block: " + inline); c.getGraphics().translate( line.x, line.y + ( line.baseline - inline.height ) ); Rende...
31,861
private static void paintInline( Context c, InlineBox inline, int lx, int ly, LineBox line ) { if ( InlineLayout.isReplaced( inline.node ) ) { //u.p("painting a replaced block: " + inline); c.getGraphics().translate( line.x, line.y + ( line.baseline - inline.height ) ); Rende...
private static void paintInline( Context c, InlineBox inline, int lx, int ly, LineBox line ) { if ( InlineLayout.isReplaced( inline.node ) ) { //u.p("painting a replaced block: " + inline); c.getGraphics().translate( line.x, line.y + ( line.baseline - inline.height ) ); Rende...
31,862
private static void paintInline( Context c, InlineBox inline, int lx, int ly, LineBox line ) { if ( InlineLayout.isReplaced( inline.node ) ) { //u.p("painting a replaced block: " + inline); c.getGraphics().translate( line.x, line.y + ( line.baseline - inline.height ) ); Rende...
private static void paintInline( Context c, InlineBox inline, int lx, int ly, LineBox line ) { if ( InlineLayout.isReplaced( inline.node ) ) { //u.p("painting a replaced block: " + inline); c.getGraphics().translate( line.x, line.y + ( line.baseline - inline.height ) ); Rende...
31,863
public void changeEntryState(long id, int newState) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); if (entry.getState() == newState) { return; } if (canModifyEntryState(id, newState)) { if ((newSt...
public void changeEntryState(long id, int newState) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); if (entry.getState() == newState) { return; } if (canModifyEntryState(id, newState)) { if ((newSt...
31,864
protected void checkImplicitFinish(ActionDescriptor action, long id) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); WorkflowDescriptor wf = getConfiguration().getWorkflow(entry.getWorkflowName()); Collection currentSteps = st...
protected void checkImplicitFinish(ActionDescriptor action, long id) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); WorkflowDescriptor wf = getConfiguration().getWorkflow(entry.getWorkflowName()); Collection currentSteps = st...
31,865
protected void completeEntry(ActionDescriptor action, long id, Collection currentSteps) throws StoreException { getPersistence().setEntryState(id, WorkflowEntry.COMPLETED); Iterator i = new ArrayList(currentSteps).iterator(); while (i.hasNext()) { Step step = (Step) i.next(); ...
protected void completeEntry(ActionDescriptor action, long id, Collection currentSteps) throws StoreException { getPersistence().setEntryState(id, WorkflowEntry.COMPLETED); Iterator i = new ArrayList(currentSteps).iterator(); while (i.hasNext()) { Step step = (Step) i.next(); ...
31,866
protected boolean transitionWorkflow(WorkflowEntry entry, List currentSteps, WorkflowStore store, WorkflowDescriptor wf, ActionDescriptor action, Map transientVars, Map inputs, PropertySet ps) throws WorkflowException { Map cache = (Map) stateCache.get(); if (cache != null) { cache.clear();...
protected boolean transitionWorkflow(WorkflowEntry entry, List currentSteps, WorkflowStore store, WorkflowDescriptor wf, ActionDescriptor action, Map transientVars, Map inputs, PropertySet ps) throws WorkflowException { Map cache = (Map) stateCache.get(); if (cache != null) { cache.clear();...
31,867
public void setParent(InputMap parentMap) { if (! (parentMap instanceof ComponentInputMap)) throw new IllegalArgumentException(); if (((ComponentInputMap) parentMap).getComponent() != component) throw new IllegalArgumentException(); super.setParent(parentMap); // FIXME: Notify component. }
public void setParent(InputMap parentMap) { if (! (parentMap instanceof ComponentInputMap)) throw new IllegalArgumentException(); if (((ComponentInputMap) parentMap).getComponent() != component) throw new IllegalArgumentException(); super.setParent(parentMap); // FIXME: Notify component. }
31,870
public void addDirtyRegion(JComponent component, int x, int y, int w, int h) { if (w <= 0 || h <= 0 || !component.isShowing()) return; Rectangle r = new Rectangle(x, y, w, h); if (dirtyComponents.containsKey(component)) r = r.union((Rectangle) dirtyComponen...
public void addDirtyRegion(JComponent component, int x, int y, int w, int h) { if (w <= 0 || h <= 0 || !component.isShowing()) return; if (! rectCache.isEmpty()) { if (dirtyComponents.containsKey(component)) r = r.union((Rectangle) dirtyComponents.get(compo...
31,873
public void addDirtyRegion(JComponent component, int x, int y, int w, int h) { if (w <= 0 || h <= 0 || !component.isShowing()) return; Rectangle r = new Rectangle(x, y, w, h); if (dirtyComponents.containsKey(component)) r = r.union((Rectangle) dirtyComponen...
public void addDirtyRegion(JComponent component, int x, int y, int w, int h) { if (w <= 0 || h <= 0 || !component.isShowing()) return; Rectangle r = new Rectangle(x, y, w, h); if (dirtyComponents.containsKey(component)) { SwingUtilities.computeUnion(rectCac...
31,874
public void addDirtyRegion(JComponent component, int x, int y, int w, int h) { if (w <= 0 || h <= 0 || !component.isShowing()) return; Rectangle r = new Rectangle(x, y, w, h); if (dirtyComponents.containsKey(component)) r = r.union((Rectangle) dirtyComponen...
public void addDirtyRegion(JComponent component, int x, int y, int w, int h) { if (w <= 0 || h <= 0 || !component.isShowing()) return; Rectangle r = new Rectangle(x, y, w, h); if (dirtyComponents.containsKey(component)) r = r.union((Rectangle) dirtyComponen...
31,875
public void addInvalidComponent(JComponent component) { Component ancestor = component.getParent(); while (ancestor != null && (! (ancestor instanceof JComponent) || ! ((JComponent) ancestor).isValidateRoot() )) ancestor = ancestor.getParent(); if (ancestor != null && anc...
public void addInvalidComponent(JComponent component) { Component ancestor = component; while (ancestor != null && (! (ancestor instanceof JComponent) || ! ((JComponent) ancestor).isValidateRoot() )) ancestor = ancestor.getParent(); if (ancestor != null && ancestor instan...
31,877
public Image getOffscreenBuffer(Component component, int proposedWidth, int proposedHeight) { if (doubleBuffer == null || (((doubleBuffer.getWidth(null) < proposedWidth) || (doubleBuffer.getHeight(null) < proposedHeight)) && (proposedWidth < doubleB...
public Image getOffscreenBuffer(Component component, int proposedWidth, int proposedHeight) { if (doubleBuffer == null || (((doubleBuffer.getWidth(null) < proposedWidth) || (doubleBuffer.getHeight(null) < proposedHeight)) && (proposedWidth < doubleB...
31,878
public Image getOffscreenBuffer(Component component, int proposedWidth, int proposedHeight) { if (doubleBuffer == null || (((doubleBuffer.getWidth(null) < proposedWidth) || (doubleBuffer.getHeight(null) < proposedHeight)) && (proposedWidth < doubleB...
public Image getOffscreenBuffer(Component component, int proposedWidth, int proposedHeight) { if (doubleBuffer == null || (((doubleBuffer.getWidth(null) < proposedWidth) || (doubleBuffer.getHeight(null) < proposedHeight)) && (proposedWidth < doubleB...
31,879
public Image getOffscreenBuffer(Component component, int proposedWidth, int proposedHeight) { if (doubleBuffer == null || (((doubleBuffer.getWidth(null) < proposedWidth) || (doubleBuffer.getHeight(null) < proposedHeight)) && (proposedWidth < doubleB...
public Image getOffscreenBuffer(Component component, int proposedWidth, int proposedHeight) { if (doubleBuffer == null || (((doubleBuffer.getWidth(null) < proposedWidth) || (doubleBuffer.getHeight(null) < proposedHeight)) && (proposedWidth < doubleB...
31,880
public static StepCell createStep(WorkflowDescriptor workflow, WorkflowGraphModel model, Point location) { // create new step String name = JOptionPane.showInputDialog(ResourceManager.getString("step.add.name")); if (name == null || name.trim().length() == 0) return null; StepDescriptor step = Descr...
public static StepCell createStep(WorkflowDescriptor workflow, WorkflowGraphModel model, Point location) { // create new step String name = JOptionPane.showInputDialog(ResourceManager.getString("step.add.name")); if (name == null || name.trim().length() == 0) return null; StepDescriptor step = Descr...
31,882
public JComponent() { super(); super.setLayout(new FlowLayout()); setDropTarget(new DropTarget()); defaultLocale = Locale.getDefault(); debugGraphicsOptions = DebugGraphics.NONE_OPTION; setRequestFocusEnabled(true); }
public JComponent() { super(); setDropTarget(new DropTarget()); defaultLocale = Locale.getDefault(); debugGraphicsOptions = DebugGraphics.NONE_OPTION; setRequestFocusEnabled(true); }
31,883
public void updateUI() { System.out.println("update UI not overwritten in class: " + this); }
public void updateUI() { }
31,884
public AttributeSet getResolveParent() { return attributes.getResolveParent(); }
public AttributeSet getResolveParent() { if (attributes.getResolveParent() != null) return attributes.getResolveParent(); return element_parent.getAttributes(); }
31,885
public int getElementIndex(int offset) { // If we have no children, return -1. if (getElementCount() == 0) return - 1; // XXX: There is surely a better algorithm // as beginning from first element each time. for (int index = 0; index < children.length; ++index) { E...
public int getElementIndex(int offset) { // If we have no children, return -1. if (getElementCount() == 0) return - 1; // XXX: There is surely a better algorithm // as beginning from first element each time. for (int index = 0; index < children.length; ++index) { E...
31,886
public int getElementIndex(int offset) { // If we have no children, return -1. if (getElementCount() == 0) return - 1; // XXX: There is surely a better algorithm // as beginning from first element each time. for (int index = 0; index < children.length; ++index) { E...
public int getElementIndex(int offset) { // If we have no children, return -1. if (getElementCount() == 0) return - 1; // XXX: There is surely a better algorithm // as beginning from first element each time. for (int index = 0; index < children.length - 1; ++index) { ...
31,887
public void doPaint( Graphics g ) { u.p("do paint begin"); if ( body_box == null ) { calcLayout( g ); } if ( doc == null ) { return; } newContext( g ); layout_thread.startRender(g); u.p("do paint end"); }
public void doPaint( Graphics g ) { if ( body_box == null ) { calcLayout( g ); } if ( doc == null ) { return; } newContext( g ); layout_thread.startRender(g); u.p("do paint end"); }
31,890
public void doPaint( Graphics g ) { u.p("do paint begin"); if ( body_box == null ) { calcLayout( g ); } if ( doc == null ) { return; } newContext( g ); layout_thread.startRender(g); u.p("do paint end"); }
public void doPaint( Graphics g ) { u.p("do paint begin"); if ( body_box == null ) { calcLayout( g ); } if ( doc == null ) { return; } newContext( g ); layout_thread.startRender(g); }
31,891
private void newContext( Graphics g ) { u.p("new context begin"); Point origin = new Point( 0, 0 ); Point last = new Point( 0, 0 ); c.canvas = this; c.graphics = g; // set up the dimensions of the html canvas //Rectangle dimensions = new Rectangle(this.getWidth(),thi...
private void newContext( Graphics g ) { Point origin = new Point( 0, 0 ); Point last = new Point( 0, 0 ); c.canvas = this; c.graphics = g; // set up the dimensions of the html canvas //Rectangle dimensions = new Rectangle(this.getWidth(),this.getHeight());//layout.b...
31,892
private void newContext( Graphics g ) { u.p("new context begin"); Point origin = new Point( 0, 0 ); Point last = new Point( 0, 0 ); c.canvas = this; c.graphics = g; // set up the dimensions of the html canvas //Rectangle dimensions = new Rectangle(this.getWidth(),thi...
private void newContext( Graphics g ) { u.p("new context begin"); Point origin = new Point( 0, 0 ); Point last = new Point( 0, 0 ); c.canvas = this; c.graphics = g; // set up the dimensions of the html canvas //Rectangle dimensions = new Rectangle(this.getWidth(),thi...
31,893
public void paintComponent( Graphics g ) { //g.setColor(Color.blue); //g.drawLine(0,0,50,50); u.p("paint() size = " + this.getSize()); //u.p("viewport size = " + this.viewport.getSize()); //u.p("w/o scroll = " + this.viewport.getViewportBorderBounds()); if ( anti_aliased ) ...
public void paintComponent( Graphics g ) { //g.setColor(Color.blue); //g.drawLine(0,0,50,50); u.p("paint() size = " + this.getSize()); //u.p("viewport size = " + this.viewport.getSize()); //u.p("w/o scroll = " + this.viewport.getViewportBorderBounds()); if ( anti_aliased ) ...
31,894
protected void startLayout(Graphics g) { //u.p("calcLayout()"); this.removeAll(); //u.p("this = "); //u.dump_stack(); if ( g == null ) { //u.p("bad first graphics"); return; } //u.p("layout"); //u.p("size = " + this.getSize()); //u...
protected void startLayout(Graphics g) { //u.p("calcLayout()"); this.removeAll(); //u.p("this = "); //u.dump_stack(); if ( g == null ) { //u.p("bad first graphics"); return; } //u.p("layout"); //u.p("size = " + this.getSize()); //u...
31,895
protected void startLayout(Graphics g) { //u.p("calcLayout()"); this.removeAll(); //u.p("this = "); //u.dump_stack(); if ( g == null ) { //u.p("bad first graphics"); return; } //u.p("layout"); //u.p("size = " + this.getSize()); //u...
protected void startLayout(Graphics g) { //u.p("calcLayout()"); this.removeAll(); //u.p("this = "); //u.dump_stack(); if ( g == null ) { //u.p("bad first graphics"); return; } //u.p("layout"); //u.p("size = " + this.getSize()); //u...
31,896
public void run() { u.p("layout thread starting"); //u.p("graphics = " + graphics); try { Thread.currentThread().sleep(3000); } catch (Exception ex) { } panel.startLayout(graphics); this.completeLayout(); }
public void run() { //u.p("graphics = " + graphics); try { Thread.currentThread().sleep(3000); } catch (Exception ex) { } panel.startLayout(graphics); this.completeLayout(); }
31,897
public void run() { u.p("layout thread starting"); //u.p("graphics = " + graphics); try { Thread.currentThread().sleep(3000); } catch (Exception ex) { } panel.startLayout(graphics); this.completeLayout(); }
public void run() { u.p("layout thread starting"); //u.p("graphics = " + graphics); try { Thread.currentThread().sleep(3000); } catch (Exception ex) { } panel.startLayout(graphics); this.completeLayout(); }
31,898
public synchronized void startLayout(Graphics g) { if(isLayoutDone()) { //u.p("really starting new thread"); done = false; graphics = g; new Thread(this).start(); } else { u.p("layout already in progress. skipping layout"); } }
public synchronized void startLayout(Graphics g) { if(isLayoutDone()) { //u.p("really starting new thread"); done = false; graphics = g; new Thread(this).start(); } else { } }
31,899
public synchronized void startRender(Graphics g) { g.setColor(Color.black); if(this.isLayoutDone()) { if(panel.body_box != null) { u.p("really painting"); try { panel.layout.paint( panel.c, panel.body_box ); } catch (Throwable ...
public synchronized void startRender(Graphics g) { g.setColor(Color.black); if(this.isLayoutDone()) { if(panel.body_box != null) { try { panel.layout.paint( panel.c, panel.body_box ); } catch (Throwable thr) { ...
31,900
public synchronized void startRender(Graphics g) { g.setColor(Color.black); if(this.isLayoutDone()) { if(panel.body_box != null) { u.p("really painting"); try { panel.layout.paint( panel.c, panel.body_box ); } catch (Throwable ...
public synchronized void startRender(Graphics g) { g.setColor(Color.black); if(this.isLayoutDone()) { if(panel.body_box != null) { u.p("really painting"); try { panel.layout.paint( panel.c, panel.body_box ); } catch (Throwable ...
31,901
public String getStringValue() { assert( getCssValueType() == CSSValue.CSS_PRIMITIVE_VALUE ); if ( getPrimitiveType() == CSSPrimitiveValue.CSS_IDENT ) { return _domCSSValue.getCssText(); } else { if ( cssSACPrimitiveValueType() == CSSPrimitiveValue.CSS_STRING ){ ...
public String getStringValue() { assert( getCssValueType() == CSSValue.CSS_PRIMITIVE_VALUE ); if ( getPrimitiveType() == CSSPrimitiveValue.CSS_IDENT ) { return _domCSSValue.getCssText(); } else { if ( cssSACPrimitiveValueType() == CSSPrimitiveValue.CSS_STRING ){ ...
31,903
public boolean readBoolean() throws JMSException { checkRead(); try { return m.readBoolean(); } catch (EOFException e) { throw new MessageEOFException(""); } catch (IOException e) { throw new JBossJMSException("IOException", e); } }
public boolean readBoolean() throws JMSException { checkRead(); try { return m.readBoolean(); } catch (EOFException e) { throw new MessageEOFException(""); } catch (IOException e) { throw new MessagingJMSException("IOException", e); } }
31,904
public byte readByte() throws JMSException { checkRead(); try { return m.readByte(); } catch (EOFException e) { throw new MessageEOFException(""); } catch (IOException e) { throw new JBossJMSException("IOException", e); } }
public byte readByte() throws JMSException { checkRead(); try { return m.readByte(); } catch (EOFException e) { throw new MessageEOFException(""); } catch (IOException e) { throw new MessagingJMSException("IOException", e); } }
31,905
public int readBytes(byte[] value) throws JMSException { checkRead(); try { return m.read(value); } catch (IOException e) { throw new JBossJMSException("IOException", e); } }
public int readBytes(byte[] value) throws JMSException { checkRead(); try { return m.read(value); } catch (IOException e) { throw new MessagingJMSException("IOException", e); } }
31,906
public char readChar() throws JMSException { checkRead(); try { return m.readChar(); } catch (EOFException e) { throw new MessageEOFException(""); } catch (IOException e) { throw new JBossJMSException("IOException", e); } }
public char readChar() throws JMSException { checkRead(); try { return m.readChar(); } catch (EOFException e) { throw new MessageEOFException(""); } catch (IOException e) { throw new MessagingJMSException("IOException", e); } }
31,907
public double readDouble() throws JMSException { checkRead(); try { return m.readDouble(); } catch (EOFException e) { throw new MessageEOFException(""); } catch (IOException e) { throw new JBossJMSException("IOException", e); } }
public double readDouble() throws JMSException { checkRead(); try { return m.readDouble(); } catch (EOFException e) { throw new MessageEOFException(""); } catch (IOException e) { throw new MessagingJMSException("IOException", e); } }
31,908
public float readFloat() throws JMSException { checkRead(); try { return m.readFloat(); } catch (EOFException e) { throw new MessageEOFException(""); } catch (IOException e) { throw new JBossJMSException("IOException", e); } }
public float readFloat() throws JMSException { checkRead(); try { return m.readFloat(); } catch (EOFException e) { throw new MessageEOFException(""); } catch (IOException e) { throw new MessagingJMSException("IOException", e); } }
31,909
public int readInt() throws JMSException { checkRead(); try { return m.readInt(); } catch (EOFException e) { throw new MessageEOFException(""); } catch (IOException e) { throw new JBossJMSException("IOException", e); } }
public int readInt() throws JMSException { checkRead(); try { return m.readInt(); } catch (EOFException e) { throw new MessageEOFException(""); } catch (IOException e) { throw new MessagingJMSException("IOException", e); } }
31,910
public long readLong() throws JMSException { checkRead(); try { return m.readLong(); } catch (EOFException e) { throw new MessageEOFException(""); } catch (IOException e) { throw new JBossJMSException("IOException", e); } }
public long readLong() throws JMSException { checkRead(); try { return m.readLong(); } catch (EOFException e) { throw new MessageEOFException(""); } catch (IOException e) { throw new MessagingJMSException("IOException", e); } }
31,911
public short readShort() throws JMSException { checkRead(); try { return m.readShort(); } catch (EOFException e) { throw new MessageEOFException(""); } catch (IOException e) { throw new JBossJMSException("IOException", e); } }
public short readShort() throws JMSException { checkRead(); try { return m.readShort(); } catch (EOFException e) { throw new MessageEOFException(""); } catch (IOException e) { throw new MessagingJMSException("IOException", e); } }
31,912
public String readUTF() throws JMSException { checkRead(); try { return m.readUTF(); } catch (EOFException e) { throw new MessageEOFException(""); } catch (IOException e) { throw new JBossJMSException("IOException", e); } }
public String readUTF() throws JMSException { checkRead(); try { return m.readUTF(); } catch (EOFException e) { throw new MessageEOFException(""); } catch (IOException e) { throw new MessagingJMSException("IOException", e); } }
31,913
public int readUnsignedByte() throws JMSException { checkRead(); try { return m.readUnsignedByte(); } catch (EOFException e) { throw new MessageEOFException(""); } catch (IOException e) { throw new JBossJMSException("IOException", e); } }
public int readUnsignedByte() throws JMSException { checkRead(); try { return m.readUnsignedByte(); } catch (EOFException e) { throw new MessageEOFException(""); } catch (IOException e) { throw new MessagingJMSException("IOException", e); } ...
31,914
public int readUnsignedShort() throws JMSException { checkRead(); try { return m.readUnsignedShort(); } catch (EOFException e) { throw new MessageEOFException(""); } catch (IOException e) { throw new JBossJMSException("IOException", e); } ...
public int readUnsignedShort() throws JMSException { checkRead(); try { return m.readUnsignedShort(); } catch (EOFException e) { throw new MessageEOFException(""); } catch (IOException e) { throw new MessagingJMSException("IOException", e); ...
31,915
public void reset() throws JMSException { if (trace) log.trace("reset()"); try { if (ostream != null) { if (trace) { log.trace("Flushing ostream to array"); } p.flush(); this.setPayload(ostream.toByteArray()); this.clearPayloadAsByteArray(...
public void reset() throws JMSException { if (trace) log.trace("reset()"); try { if (ostream != null) { if (trace) { log.trace("Flushing ostream to array"); } p.flush(); this.setPayload(ostream.toByteArray()); this.clearPayloadAsByteArray(...
31,916
public void writeBoolean(boolean value) throws JMSException { try { p.writeBoolean(value); } catch (IOException e) { throw new JBossJMSException("IOException", e); } }
public void writeBoolean(boolean value) throws JMSException { try { p.writeBoolean(value); } catch (IOException e) { throw new MessagingJMSException("IOException", e); } }
31,917
public void writeByte(byte value) throws JMSException { try { p.writeByte(value); } catch (IOException e) { throw new JBossJMSException("IOException", e); } }
public void writeByte(byte value) throws JMSException { try { p.writeByte(value); } catch (IOException e) { throw new MessagingJMSException("IOException", e); } }
31,918
public void writeBytes(byte[] value) throws JMSException { try { p.write(value, 0, value.length); } catch (IOException e) { throw new JBossJMSException("IOException", e); } }
public void writeBytes(byte[] value) throws JMSException { try { p.write(value, 0, value.length); } catch (IOException e) { throw new MessagingJMSException("IOException", e); } }
31,919
public void writeChar(char value) throws JMSException { try { p.writeChar(value); } catch (IOException e) { throw new JBossJMSException("IOException", e); } }
public void writeChar(char value) throws JMSException { try { p.writeChar(value); } catch (IOException e) { throw new MessagingJMSException("IOException", e); } }
31,920
public void writeDouble(double value) throws JMSException { try { p.writeDouble(value); } catch (IOException e) { throw new JBossJMSException("IOException", e); } }
public void writeDouble(double value) throws JMSException { try { p.writeDouble(value); } catch (IOException e) { throw new MessagingJMSException("IOException", e); } }
31,921
public void writeFloat(float value) throws JMSException { try { p.writeFloat(value); } catch (IOException e) { throw new JBossJMSException("IOException", e); } }
public void writeFloat(float value) throws JMSException { try { p.writeFloat(value); } catch (IOException e) { throw new MessagingJMSException("IOException", e); } }
31,922
public void writeInt(int value) throws JMSException { try { p.writeInt(value); } catch (IOException e) { throw new JBossJMSException("IOException", e); } }
public void writeInt(int value) throws JMSException { try { p.writeInt(value); } catch (IOException e) { throw new MessagingJMSException("IOException", e); } }
31,923
public void writeLong(long value) throws JMSException { try { p.writeLong(value); } catch (IOException e) { throw new JBossJMSException("IOException", e); } }
public void writeLong(long value) throws JMSException { try { p.writeLong(value); } catch (IOException e) { throw new MessagingJMSException("IOException", e); } }
31,924
public void writeObject(Object value) throws JMSException { try { if (value == null) { throw new NullPointerException("Attempt to write a new value"); } if (value instanceof String) { //p.writeChars((String) value); p.writeUTF((Stri...
public void writeObject(Object value) throws JMSException { try { if (value == null) { throw new NullPointerException("Attempt to write a new value"); } if (value instanceof String) { //p.writeChars((String) value); p.writeUTF((Stri...
31,925
public void writeShort(short value) throws JMSException { try { p.writeShort(value); } catch (IOException e) { throw new JBossJMSException("IOException", e); } }
public void writeShort(short value) throws JMSException { try { p.writeShort(value); } catch (IOException e) { throw new MessagingJMSException("IOException", e); } }
31,926
public void writeUTF(String value) throws JMSException { try { p.writeUTF(value); } catch (IOException e) { throw new JBossJMSException("IOException", e); } }
public void writeUTF(String value) throws JMSException { try { p.writeUTF(value); } catch (IOException e) { throw new MessagingJMSException("IOException", e); } }
31,927
public Object handleClose(Invocation invocation) throws Throwable { Object ret = invocation.invokeNext(); //Finished with the connection - we need to shutdown callback server getState(invocation).getRemotingConnection().close(); return ret; }
public Object handleClose(Invocation invocation) throws Throwable { Object ret = invocation.invokeNext(); //Finished with the connection - we need to shutdown callback server state.getRemotingConnection().close(); ResourceManagerFactory.instance.returnResourceManager(state.getServerID()); ...
31,928
public void execute(Map transientVars, Map args, PropertySet ps) { String to = (String) args.get("to"); String from = (String) args.get("from"); String subject = (String) args.get("subject"); String cc = (String) args.get("cc"); String m = (String) args.get("message"); Stri...
public void execute(Map transientVars, Map args, PropertySet ps) { String to = (String) args.get("to"); String from = (String) args.get("from"); String subject = (String) args.get("subject"); String cc = (String) args.get("cc"); String m = (String) args.get("message"); Stri...
31,929
public void execute(Map transientVars, Map args, PropertySet ps) { String to = (String) args.get("to"); String from = (String) args.get("from"); String subject = (String) args.get("subject"); String cc = (String) args.get("cc"); String m = (String) args.get("message"); Stri...
public void execute(Map transientVars, Map args, PropertySet ps) { String to = (String) args.get("to"); String from = (String) args.get("from"); String subject = (String) args.get("subject"); String cc = (String) args.get("cc"); String m = (String) args.get("message"); Stri...
31,930
public void execute(Map transientVars, Map args, PropertySet ps) { String to = (String) args.get("to"); String from = (String) args.get("from"); String subject = (String) args.get("subject"); String cc = (String) args.get("cc"); String m = (String) args.get("message"); Stri...
public void execute(Map transientVars, Map args, PropertySet ps) { String to = (String) args.get("to"); String from = (String) args.get("from"); String subject = (String) args.get("subject"); String cc = (String) args.get("cc"); String m = (String) args.get("message"); Stri...
31,931
public void execute(Map transientVars, Map args, PropertySet ps) { String to = (String) args.get("to"); String from = (String) args.get("from"); String subject = (String) args.get("subject"); String cc = (String) args.get("cc"); String m = (String) args.get("message"); Stri...
public void execute(Map transientVars, Map args, PropertySet ps) { String to = (String) args.get("to"); String from = (String) args.get("from"); String subject = (String) args.get("subject"); String cc = (String) args.get("cc"); String m = (String) args.get("message"); Stri...
31,932
public void actionPerformed(ActionEvent e) { String command = e.getActionCommand(); if("preadd".equals(command)) { preadd(); } else if("preremove".equals(command)) { preremove(); } else if("preedit".equals(command)) { premodify(); } else if("postadd".equals(command)) ...
public void actionPerformed(ActionEvent e) { String command = e.getActionCommand().toLowerCase(); if("preadd".equals(command)) { preadd(); } else if("preremove".equals(command)) { preremove(); } else if("preedit".equals(command)) { premodify(); } else if("postadd".equa...
31,933
public void testBasicCommonAction() throws Exception { URL url = getClass().getResource("/samples/common-actions.xml"); long id = workflow.initialize(url.toString(), 50, null); assertEquals("Unexpected workflow state", WorkflowEntry.ACTIVATED, workflow.getEntryState(id)); //verify that a...
public void testBasicCommonAction() throws Exception { URL url = getClass().getResource("/samples/common-actions.xml"); long id = workflow.initialize(url.toString(), 50, null); assertEquals("Unexpected workflow state", WorkflowEntry.ACTIVATED, workflow.getEntryState(id)); //verify that a...
31,934
public void testBasicGlobalAction() throws Exception { URL url = getClass().getResource("/samples/global-actions.xml"); long id = workflow.initialize(url.toString(), 50, null); int[] availableActions = workflow.getAvailableActions(id, null); Object[] list = new Object[availableActions.le...
public void testBasicGlobalAction() throws Exception { URL url = getClass().getResource("/samples/global-actions.xml"); long id = workflow.initialize(url.toString(), 50, null); int[] availableActions = workflow.getAvailableActions(id, null); Object[] list = new Object[availableActions.le...
31,935
private static Server acquireRemote(int initialRetries, int index) { String name = "//localhost:" + RMITestServer.DEFAULT_REGISTRY_PORT + "/" + RMITestServer.RMI_SERVER_PREFIX + index; Server s = null; int retries = initialRetries; while(s == null && retries > 0) { ...
public static Server acquireRemote(int initialRetries, int index, boolean quiet) { String name = "//localhost:" + RMITestServer.DEFAULT_REGISTRY_PORT + "/" + RMITestServer.RMI_SERVER_PREFIX + index; Server s = null; int retries = initialRetries; while(s == null && retries > 0) ...
31,936
private static Server acquireRemote(int initialRetries, int index) { String name = "//localhost:" + RMITestServer.DEFAULT_REGISTRY_PORT + "/" + RMITestServer.RMI_SERVER_PREFIX + index; Server s = null; int retries = initialRetries; while(s == null && retries > 0) { ...
private static Server acquireRemote(int initialRetries, int index) { String name = "//localhost:" + RMITestServer.DEFAULT_REGISTRY_PORT + "/" + RMITestServer.RMI_SERVER_PREFIX + index; Server s = null; int retries = initialRetries; while(s == null && retries > 0) { ...
31,937
private static Server acquireRemote(int initialRetries, int index) { String name = "//localhost:" + RMITestServer.DEFAULT_REGISTRY_PORT + "/" + RMITestServer.RMI_SERVER_PREFIX + index; Server s = null; int retries = initialRetries; while(s == null && retries > 0) { ...
private static Server acquireRemote(int initialRetries, int index) { String name = "//localhost:" + RMITestServer.DEFAULT_REGISTRY_PORT + "/" + RMITestServer.RMI_SERVER_PREFIX + index; Server s = null; int retries = initialRetries; while(s == null && retries > 0) { ...
31,938
private static Server acquireRemote(int initialRetries, int index) { String name = "//localhost:" + RMITestServer.DEFAULT_REGISTRY_PORT + "/" + RMITestServer.RMI_SERVER_PREFIX + index; Server s = null; int retries = initialRetries; while(s == null && retries > 0) { ...
private static Server acquireRemote(int initialRetries, int index) { String name = "//localhost:" + RMITestServer.DEFAULT_REGISTRY_PORT + "/" + RMITestServer.RMI_SERVER_PREFIX + index; Server s = null; int retries = initialRetries; while(s == null && retries > 0) { ...
31,939
public static void addNotificationListener(int serverIndex, ObjectName on, NotificationListener listener) throws Exception { if (killed[serverIndex]) { log.warn("Server " + serverIndex + " cannot addNotificationListener it has been killed"); ...
public static void addNotificationListener(int serverIndex, ObjectName on, NotificationListener listener) throws Exception { if (killed[serverIndex]) { log.warn("Server " + serverIndex + " cannot addNotificationListener it has been killed"); ...
31,940
public static void addNotificationListener(int serverIndex, ObjectName on, NotificationListener listener) throws Exception { if (killed[serverIndex]) { log.warn("Server " + serverIndex + " cannot addNotificationListener it has been killed"); ...
public static void addNotificationListener(int serverIndex, ObjectName on, NotificationListener listener) throws Exception { if (killed[serverIndex]) { log.warn("Server " + serverIndex + " cannot addNotificationListener it has been killed"); ...
31,941
public static void addServerInvocationHandler(String subsystem, ServerInvocationHandler handler) throws Exception { insureStarted(); servers[0].addServerInvocationHandler(subsystem, handler); }
public static void addServerInvocationHandler(String subsystem, ServerInvocationHandler handler) throws Exception { insureStarted(); servers[0].getServer().addServerInvocationHandler(subsystem, handler); }
31,942
public static void configureSecurityForDestination(String destName, String config) throws Exception { insureStarted(); servers[0].configureSecurityForDestination(destName, config); }
public static void configureSecurityForDestination(String destName, String config) throws Exception { insureStarted(); servers[0].getServer().configureSecurityForDestination(destName, config); }
31,943
public static synchronized void create() throws Exception { create(0); }
public static synchronized Server create() throws Exception { create(0); }
31,944
public static synchronized void create() throws Exception { create(0); }
public static synchronized void create() throws Exception { return create(0); }
31,945
public static void createQueue(String name, String jndiName) throws Exception { insureStarted(); servers[0].createQueue(name, jndiName); }
public static void createQueue(String name, String jndiName) throws Exception { insureStarted(); servers[0].getServer().createQueue(name, jndiName); }
31,946
public static void createTopic(String name, String jndiName) throws Exception { insureStarted(); servers[0].createTopic(name, jndiName); }
public static void createTopic(String name, String jndiName) throws Exception { insureStarted(); servers[0].getServer().createTopic(name, jndiName); }
31,947
public static ObjectName deploy(String mbeanConfiguration) throws Exception { insureStarted(); return servers[0].deploy(mbeanConfiguration); }
public static ObjectName deploy(String mbeanConfiguration) throws Exception { insureStarted(); return servers[0].getServer().deploy(mbeanConfiguration); }
31,948
public static void deployClusteredQueue(String name, int serverIndex) throws Exception { if (killed[serverIndex]) { log.warn("Server " + serverIndex + " cannot deployClusteredQueue it has been killed"); } insureStarted(serverIndex); servers[serverIndex].deployQueue(name, null...
public static void deployClusteredQueue(String name, int serverIndex) throws Exception { if (killed[serverIndex]) { log.warn("Server " + serverIndex + " cannot deployClusteredQueue it has been killed"); } insureStarted(serverIndex); servers[serverIndex].deployQueue(name, null...
31,949
public static void deployClusteredQueue(String name, int serverIndex) throws Exception { if (killed[serverIndex]) { log.warn("Server " + serverIndex + " cannot deployClusteredQueue it has been killed"); } insureStarted(serverIndex); servers[serverIndex].deployQueue(name, null...
public static void deployClusteredQueue(String name, int serverIndex) throws Exception { if (killed[serverIndex]) { log.warn("Server " + serverIndex + " cannot deployClusteredQueue it has been killed"); } insureStarted(serverIndex); servers[serverIndex].getServer().deployQueu...
31,950
public static void deployClusteredTopic(String name, int serverIndex) throws Exception { if (killed[serverIndex]) { log.warn("Server " + serverIndex + " cannot deployClusteredTopic it has been killed"); } insureStarted(serverIndex); servers[serverIndex].deployTopic(name, null...
public static void deployClusteredTopic(String name, int serverIndex) throws Exception { if (killed[serverIndex]) { log.warn("Server " + serverIndex + " cannot deployClusteredTopic it has been killed"); } insureStarted(serverIndex); servers[serverIndex].deployTopic(name, null...
31,951
public static void deployClusteredTopic(String name, int serverIndex) throws Exception { if (killed[serverIndex]) { log.warn("Server " + serverIndex + " cannot deployClusteredTopic it has been killed"); } insureStarted(serverIndex); servers[serverIndex].deployTopic(name, null...
public static void deployClusteredTopic(String name, int serverIndex) throws Exception { if (killed[serverIndex]) { log.warn("Server " + serverIndex + " cannot deployClusteredTopic it has been killed"); } insureStarted(serverIndex); servers[serverIndex].getServer().deployTopi...
31,952
public static void deployConnectionFactory(String objectName, String[] jndiBindings, int prefetchSize, int defaultTempQueueFullSize, int ...
public static void deployConnectionFactory(String objectName, String[] jndiBindings, int prefetchSize, int defaultTempQueueFullSize, int ...
31,953
public static boolean destroyQueue(String name) throws Exception { return servers[0].destroyDestination(true, name); }
public static boolean destroyQueue(String name) throws Exception { return servers[0].getServer().destroyDestination(true, name); }
31,954
public static boolean destroyTopic(String name) throws Exception { return servers[0].destroyDestination(false, name); }
public static boolean destroyTopic(String name) throws Exception { return servers[0].getServer().destroyDestination(false, name); }
31,955
public static Set getConnectorSubsystems() throws Exception { insureStarted(); return servers[0].getConnectorSubsystems(); }
public static Set getConnectorSubsystems() throws Exception { insureStarted(); return servers[0].getServer().getConnectorSubsystems(); }
31,956
public static String getDefaultSecurityConfig() throws Exception { insureStarted(); return servers[0].getDefaultSecurityConfig(); }
public static String getDefaultSecurityConfig() throws Exception { insureStarted(); return servers[0].getServer().getDefaultSecurityConfig(); }
31,957
public static DestinationManager getDestinationManager() throws Exception { insureStarted(); return servers[0].getDestinationManager(); }
public static DestinationManager getDestinationManager() throws Exception { insureStarted(); return servers[0].getServer().getDestinationManager(); }
31,958
public static MessageStore getMessageStore() throws Exception { insureStarted(); return servers[0].getMessageStore(); }
public static MessageStore getMessageStore() throws Exception { insureStarted(); return servers[0].getServer().getMessageStore(); }
31,959
public static PersistenceManager getPersistenceManager() throws Exception { insureStarted(); return servers[0].getPersistenceManager(); }
public static PersistenceManager getPersistenceManager() throws Exception { insureStarted(); return servers[0].getServer().getPersistenceManager(); }
31,960
public static Server getServer() { return getServer(0); }
public synchronized static Server getServer() { return getServer(0); }
31,961