bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
private void init() { layout_thread = new LayoutThread( this ); documentListeners = new HashMap(); setBackground( Color.white ); super.setLayout( null ); }
private void init() { layout_thread = new LayoutThread(this); documentListeners = new HashMap(); setBackground( Color.white ); super.setLayout( null ); }
44,484
private void init() { layout_thread = new LayoutThread( this ); documentListeners = new HashMap(); setBackground( Color.white ); super.setLayout( null ); }
private void init() { layout_thread = new LayoutThread( this ); documentListeners = new HashMap(); setBackground( Color.white ); super.setLayout( null ); }
44,485
public boolean isActive( org.w3c.dom.Element e ) { if ( e == active_element ) { return true; } return false; }
public boolean isActive( org.w3c.dom.Element e ) { if ( e == active_element ) { return true; } return false; }
44,486
public boolean isFocus( org.w3c.dom.Element e ) { if ( e == focus_element ) { return true; } return false; }
public boolean isFocus( org.w3c.dom.Element e ) { if ( e == focus_element ) { return true; } return false; }
44,487
public boolean isHover( org.w3c.dom.Element e ) { if ( e == hovered_element ) { return true; } return false; }
public boolean isHover( org.w3c.dom.Element e ) { if ( e == hovered_element ) { return true; } return false; }
44,488
protected Document loadDocument( final URL url ) throws Exception { return XMLResource.load(url).getDocument(); }
protected Document loadDocument( final URL url ) throws Exception { return XMLResource.load(url).getDocument(); }
44,489
private Context newContext( Graphics2D g ) { XRLog.layout( Level.FINEST, "new context begin" ); getContext().setCanvas( this ); getContext().setGraphics( g ); Rectangle extents; if ( enclosingScrollPane != null ) { Rectangle bnds = enclosingScrollPane.ge...
private Context newContext( Graphics2D g ) { XRLog.layout( Level.FINEST, "new context begin" ); getContext().setCanvas( this ); getContext().setGraphics( g ); Rectangle extents; if ( enclosingScrollPane != null ) { Rectangle bnds = enclosingScrollPane.ge...
44,490
private Context newContext( Graphics2D g ) { XRLog.layout( Level.FINEST, "new context begin" ); getContext().setCanvas( this ); getContext().setGraphics( g ); Rectangle extents; if ( enclosingScrollPane != null ) { Rectangle bnds = enclosingScrollPane.ge...
private Context newContext( Graphics2D g ) { XRLog.layout( Level.FINEST, "new context begin" ); getContext().setCanvas( this ); getContext().setGraphics( g ); Rectangle extents; if (enclosingScrollPane != null) { Rectangle bnds = enclosingScrollPane.getV...
44,491
private Context newContext( Graphics2D g ) { XRLog.layout( Level.FINEST, "new context begin" ); getContext().setCanvas( this ); getContext().setGraphics( g ); Rectangle extents; if ( enclosingScrollPane != null ) { Rectangle bnds = enclosingScrollPane.ge...
private Context newContext( Graphics2D g ) { XRLog.layout( Level.FINEST, "new context begin" ); getContext().setCanvas( this ); getContext().setGraphics( g ); Rectangle extents; if ( enclosingScrollPane != null ) { Rectangle bnds = enclosingScrollPane.ge...
44,492
private Context newContext( Graphics2D g ) { XRLog.layout( Level.FINEST, "new context begin" ); getContext().setCanvas( this ); getContext().setGraphics( g ); Rectangle extents; if ( enclosingScrollPane != null ) { Rectangle bnds = enclosingScrollPane.ge...
private Context newContext( Graphics2D g ) { XRLog.layout( Level.FINEST, "new context begin" ); getContext().setCanvas( this ); getContext().setGraphics( g ); Rectangle extents; if ( enclosingScrollPane != null ) { Rectangle bnds = enclosingScrollPane.ge...
44,493
private Context newContext( Graphics2D g ) { XRLog.layout( Level.FINEST, "new context begin" ); getContext().setCanvas( this ); getContext().setGraphics( g ); Rectangle extents; if ( enclosingScrollPane != null ) { Rectangle bnds = enclosingScrollPane.ge...
private Context newContext( Graphics2D g ) { XRLog.layout( Level.FINEST, "new context begin" ); getContext().setCanvas( this ); getContext().setGraphics( g ); Rectangle extents; if ( enclosingScrollPane != null ) { Rectangle bnds = enclosingScrollPane.ge...
44,494
public void paintComponent( Graphics g ) { if ( anti_aliased ) { // TODO: // ( (Graphics2D)g ).setRenderingHint( RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON ); } if ( doc == null ) { return; } // if this is th...
public void paintComponent( Graphics g ) { if ( anti_aliased ) { // TODO: // ( (Graphics2D)g ).setRenderingHint( RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON ); } if ( doc == null ) { return; } // if this is th...
44,495
public void paintComponent( Graphics g ) { if ( anti_aliased ) { // TODO: // ( (Graphics2D)g ).setRenderingHint( RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON ); } if ( doc == null ) { return; } // if this is th...
public void paintComponent( Graphics g ) { if ( anti_aliased ) { // TODO: // ( (Graphics2D)g ).setRenderingHint( RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON ); } if (doc == null) { return; } // if this is the ...
44,496
public void paintComponent( Graphics g ) { if ( anti_aliased ) { // TODO: // ( (Graphics2D)g ).setRenderingHint( RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON ); } if ( doc == null ) { return; } // if this is th...
public void paintComponent( Graphics g ) { if ( anti_aliased ) { // TODO: // ( (Graphics2D)g ).setRenderingHint( RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON ); } if ( doc == null ) { return; } // if this is th...
44,497
public void paintComponent( Graphics g ) { if ( anti_aliased ) { // TODO: // ( (Graphics2D)g ).setRenderingHint( RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON ); } if ( doc == null ) { return; } // if this is th...
public void paintComponent( Graphics g ) { if ( anti_aliased ) { // TODO: // ( (Graphics2D)g ).setRenderingHint( RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON ); } if ( doc == null ) { return; } // if this is th...
44,498
public void printTree() { printTree( this.body_box, "" ); }
public void printTree() { printTree(this.body_box, ""); }
44,499
public void removeNotify() { super.removeNotify(); setEnclosingScrollPane( null ); }
public void removeNotify() { super.removeNotify(); setEnclosingScrollPane(null); }
44,500
public void resetScrollPosition() { if ( this.enclosingScrollPane != null ) { this.enclosingScrollPane.getVerticalScrollBar().setValue( 0 ); } }
public void resetScrollPosition() { if ( this.enclosingScrollPane != null ) { this.enclosingScrollPane.getVerticalScrollBar().setValue( 0 ); } }
44,501
public void setAntiAliased( boolean anti_aliased ) { this.anti_aliased = anti_aliased; }
public void setAntiAliased(boolean anti_aliased) { this.anti_aliased = anti_aliased; }
44,502
public void setDocument( Document doc, URL url, NamespaceHandler nsh ) { resetScrollPosition(); this.doc = doc; this.url = url; //have to do this first getRenderingContext().setBaseURL( url ); getContext().setNamespaceHandler( nsh ); getRenderingContext().get...
public void setDocument(Document doc, URL url, NamespaceHandler nsh) { resetScrollPosition(); this.doc = doc; this.url = url; //have to do this first getRenderingContext().setBaseURL( url ); getContext().setNamespaceHandler( nsh ); getRenderingContext().getSt...
44,503
public void setDocument( Document doc, URL url, NamespaceHandler nsh ) { resetScrollPosition(); this.doc = doc; this.url = url; //have to do this first getRenderingContext().setBaseURL( url ); getContext().setNamespaceHandler( nsh ); getRenderingContext().get...
public void setDocument( Document doc, URL url, NamespaceHandler nsh ) { resetScrollPosition(); this.doc = doc; this.url = url; //have to do this first getRenderingContext().setBaseURL( url ); getContext().setNamespaceHandler( nsh ); getRenderingContext().get...
44,504
protected void setDocumentRelative( String filename ) throws Exception { if ( getContext() != null && ( !filename.startsWith( "http" ) ) ) { URL base = new URL( getRenderingContext().getBaseURL(), filename ); XRLog.load( "Loading URL " + base ); Document dom = XMLResource....
protected void setDocumentRelative( String filename ) throws Exception { if ( getContext() != null && ( !filename.startsWith( "http" ) ) ) { URL base = new URL( getRenderingContext().getBaseURL(), filename ); XRLog.load( "Loading URL " + base ); Document dom = XMLResource....
44,505
protected void setDocumentRelative( String filename ) throws Exception { if ( getContext() != null && ( !filename.startsWith( "http" ) ) ) { URL base = new URL( getRenderingContext().getBaseURL(), filename ); XRLog.load( "Loading URL " + base ); Document dom = XMLResource....
protected void setDocumentRelative( String filename ) throws Exception { if ( getContext() != null && ( !filename.startsWith( "http" ) ) ) { URL base = new URL( getRenderingContext().getBaseURL(), filename ); XRLog.load( "Loading URL " + base ); Document dom = XMLResource....
44,506
protected void setDocumentRelative( String filename ) throws Exception { if ( getContext() != null && ( !filename.startsWith( "http" ) ) ) { URL base = new URL( getRenderingContext().getBaseURL(), filename ); XRLog.load( "Loading URL " + base ); Document dom = XMLResource....
protected void setDocumentRelative( String filename ) throws Exception { if ( getContext() != null && ( !filename.startsWith( "http" ) ) ) { URL base = new URL( getRenderingContext().getBaseURL(), filename ); XRLog.load( "Loading URL " + base ); Document dom = XMLResource....
44,507
private void setEnclosingScrollPane( JScrollPane scrollPane ) { // if a scrollpane is already installed we remove it. if ( enclosingScrollPane != null ) { enclosingScrollPane.removeComponentListener( this ); } enclosingScrollPane = scrollPane; if ( enclo...
private void setEnclosingScrollPane(JScrollPane scrollPane) { // if a scrollpane is already installed we remove it. if ( enclosingScrollPane != null ) { enclosingScrollPane.removeComponentListener( this ); } enclosingScrollPane = scrollPane; if ( enclosi...
44,508
private void setEnclosingScrollPane( JScrollPane scrollPane ) { // if a scrollpane is already installed we remove it. if ( enclosingScrollPane != null ) { enclosingScrollPane.removeComponentListener( this ); } enclosingScrollPane = scrollPane; if ( enclo...
private void setEnclosingScrollPane( JScrollPane scrollPane ) { // if a scrollpane is already installed we remove it. if ( enclosingScrollPane != null ) { enclosingScrollPane.removeComponentListener( this ); } enclosingScrollPane = scrollPane; if ( enclo...
44,509
private void setEnclosingScrollPane( JScrollPane scrollPane ) { // if a scrollpane is already installed we remove it. if ( enclosingScrollPane != null ) { enclosingScrollPane.removeComponentListener( this ); } enclosingScrollPane = scrollPane; if ( enclo...
private void setEnclosingScrollPane( JScrollPane scrollPane ) { // if a scrollpane is already installed we remove it. if ( enclosingScrollPane != null ) { enclosingScrollPane.removeComponentListener( this ); } enclosingScrollPane = scrollPane; if ( enclo...
44,510
private void setEnclosingScrollPane( JScrollPane scrollPane ) { // if a scrollpane is already installed we remove it. if ( enclosingScrollPane != null ) { enclosingScrollPane.removeComponentListener( this ); } enclosingScrollPane = scrollPane; if ( enclo...
private void setEnclosingScrollPane( JScrollPane scrollPane ) { // if a scrollpane is already installed we remove it. if ( enclosingScrollPane != null ) { enclosingScrollPane.removeComponentListener( this ); } enclosingScrollPane = scrollPane; if ( enclo...
44,511
public void setErrorHandler( ErrorHandler error_handler ) { this.error_handler = error_handler; }
public void setErrorHandler(ErrorHandler error_handler) { this.error_handler = error_handler; }
44,512
public void setLayout( LayoutManager l ) { }
public void setLayout( LayoutManager l ) { }
44,513
public void setRenderingContext( RenderingContext ctx ) { this.ctx = ctx; }
public void setRenderingContext(RenderingContext ctx) { this.ctx = ctx; }
44,514
public void setSize( Dimension d ) { XRLog.layout( Level.FINEST, "set size called" ); super.setSize( d ); //this.calcLayout();//this causes a second layout to be done! }
public void setSize( Dimension d ) { XRLog.layout( Level.FINEST, "set size called" ); super.setSize( d ); //this.calcLayout();//this causes a second layout to be done! }
44,515
public void setThreadedLayout( boolean threaded ) { layout_thread.setThreadedLayout( threaded ); }
public void setThreadedLayout( boolean threaded ) { layout_thread.setThreadedLayout( threaded ); }
44,516
public void startLayout( Graphics g ) { this.removeAll(); if ( g == null ) { return; } if ( doc == null ) { return; } // set up CSS Context c = newContext( (Graphics2D)g ); //getContext().setMaxWidth(0); getRenderin...
public void startLayout(Graphics g) { this.removeAll(); if ( g == null ) { return; } if ( doc == null ) { return; } // set up CSS Context c = newContext( (Graphics2D)g ); //getContext().setMaxWidth(0); getRenderingC...
44,517
public void startLayout( Graphics g ) { this.removeAll(); if ( g == null ) { return; } if ( doc == null ) { return; } // set up CSS Context c = newContext( (Graphics2D)g ); //getContext().setMaxWidth(0); getRenderin...
public void startLayout( Graphics g ) { this.removeAll(); if (g == null) { return; } if ( doc == null ) { return; } // set up CSS Context c = newContext( (Graphics2D)g ); //getContext().setMaxWidth(0); getRenderingC...
44,518
public void startLayout( Graphics g ) { this.removeAll(); if ( g == null ) { return; } if ( doc == null ) { return; } // set up CSS Context c = newContext( (Graphics2D)g ); //getContext().setMaxWidth(0); getRenderin...
public void startLayout( Graphics g ) { this.removeAll(); if ( g == null ) { return; } if (doc == null) { return; } // set up CSS Context c = newContext( (Graphics2D)g ); //getContext().setMaxWidth(0); getRenderingC...
44,519
public void startLayout( Graphics g ) { this.removeAll(); if ( g == null ) { return; } if ( doc == null ) { return; } // set up CSS Context c = newContext( (Graphics2D)g ); //getContext().setMaxWidth(0); getRenderin...
public void startLayout( Graphics g ) { this.removeAll(); if ( g == null ) { return; } if ( doc == null ) { return; } // set up CSS Context c = newContext((Graphics2D) g); //getContext().setMaxWidth(0); getRendering...
44,520
public void startLayout( Graphics g ) { this.removeAll(); if ( g == null ) { return; } if ( doc == null ) { return; } // set up CSS Context c = newContext( (Graphics2D)g ); //getContext().setMaxWidth(0); getRenderin...
public void startLayout( Graphics g ) { this.removeAll(); if ( g == null ) { return; } if ( doc == null ) { return; } // set up CSS Context c = newContext( (Graphics2D)g ); //getContext().setMaxWidth(0); getRenderin...
44,521
public void startLayout( Graphics g ) { this.removeAll(); if ( g == null ) { return; } if ( doc == null ) { return; } // set up CSS Context c = newContext( (Graphics2D)g ); //getContext().setMaxWidth(0); getRenderin...
public void startLayout( Graphics g ) { this.removeAll(); if ( g == null ) { return; } if ( doc == null ) { return; } // set up CSS Context c = newContext( (Graphics2D)g ); //getContext().setMaxWidth(0); getRenderin...
44,522
public void startLayout( Graphics g ) { this.removeAll(); if ( g == null ) { return; } if ( doc == null ) { return; } // set up CSS Context c = newContext( (Graphics2D)g ); //getContext().setMaxWidth(0); getRenderin...
public void startLayout( Graphics g ) { this.removeAll(); if ( g == null ) { return; } if ( doc == null ) { return; } // set up CSS Context c = newContext( (Graphics2D)g ); //getContext().setMaxWidth(0); getRenderin...
44,523
public void startLayout( Graphics g ) { this.removeAll(); if ( g == null ) { return; } if ( doc == null ) { return; } // set up CSS Context c = newContext( (Graphics2D)g ); //getContext().setMaxWidth(0); getRenderin...
public void startLayout( Graphics g ) { this.removeAll(); if ( g == null ) { return; } if ( doc == null ) { return; } // set up CSS Context c = newContext( (Graphics2D)g ); //getContext().setMaxWidth(0); getRenderin...
44,524
public void startLayout( Graphics g ) { this.removeAll(); if ( g == null ) { return; } if ( doc == null ) { return; } // set up CSS Context c = newContext( (Graphics2D)g ); //getContext().setMaxWidth(0); getRenderin...
public void startLayout( Graphics g ) { this.removeAll(); if ( g == null ) { return; } if ( doc == null ) { return; } // set up CSS Context c = newContext( (Graphics2D)g ); //getContext().setMaxWidth(0); getRenderin...
44,525
public void startLayout( Graphics g ) { this.removeAll(); if ( g == null ) { return; } if ( doc == null ) { return; } // set up CSS Context c = newContext( (Graphics2D)g ); //getContext().setMaxWidth(0); getRenderin...
public void startLayout( Graphics g ) { this.removeAll(); if ( g == null ) { return; } if ( doc == null ) { return; } // set up CSS Context c = newContext( (Graphics2D)g ); //getContext().setMaxWidth(0); getRenderin...
44,526
public void startLayout( Graphics g ) { this.removeAll(); if ( g == null ) { return; } if ( doc == null ) { return; } // set up CSS Context c = newContext( (Graphics2D)g ); //getContext().setMaxWidth(0); getRenderin...
public void startLayout( Graphics g ) { this.removeAll(); if ( g == null ) { return; } if ( doc == null ) { return; } // set up CSS Context c = newContext( (Graphics2D)g ); //getContext().setMaxWidth(0); getRenderin...
44,527
public void startLayout( Graphics g ) { this.removeAll(); if ( g == null ) { return; } if ( doc == null ) { return; } // set up CSS Context c = newContext( (Graphics2D)g ); //getContext().setMaxWidth(0); getRenderin...
public void startLayout( Graphics g ) { this.removeAll(); if ( g == null ) { return; } if ( doc == null ) { return; } // set up CSS Context c = newContext( (Graphics2D)g ); //getContext().setMaxWidth(0); getRenderin...
44,528
public JBossXAResource(ResourceManager rm) { trace = log.isTraceEnabled(); this.rm = rm; //this.session = session; }
public JBossXAResource(ResourceManager rm, SessionDelegate session) { trace = log.isTraceEnabled(); this.rm = rm; //this.session = session; }
44,529
public JBossXAResource(ResourceManager rm) { trace = log.isTraceEnabled(); this.rm = rm; //this.session = session; }
this.session = session; this.session = session; this.session = session; publicthis.session = session; JBossXAResource(ResourceManagerthis.session = session; rm)this.session = session; this.session = session; this.session = session; {this.session = session; this.session = session; this.session = session; this.session = ...
44,530
private void unsetCurrentTransactionId(final Xid xid) { if (xid == null) throw new org.jboss.util.NullArgumentException("xid"); if (trace) log.trace("Unsetting current tx xid=" + xid + " previous: " + this.currentTxID + " " + this); // Don't unset the xid if it has previously been s...
private void unsetCurrentTransactionId(final Xid xid) { if (xid == null) throw new org.jboss.util.NullArgumentException("xid"); if (trace) log.trace("Unsetting current tx xid=" + xid + " previous: " + this.currentTxID + " " + this); // Don't unset the xid if it has previously been s...
44,532
private List getStylesheets() { java.io.Reader reader; List infos = new LinkedList(); long st = System.currentTimeMillis(); String uri = _nsh.getNamespace(); StylesheetInfo info = new StylesheetInfo(); info.setUri(_nsh.getNamespace()); info.setOrigin(StylesheetInfo.U...
private List getStylesheets() { java.io.InputStream stream; List infos = new LinkedList(); long st = System.currentTimeMillis(); String uri = _nsh.getNamespace(); StylesheetInfo info = new StylesheetInfo(); info.setUri(_nsh.getNamespace()); info.setOrigin(StylesheetI...
44,533
private List getStylesheets() { java.io.Reader reader; List infos = new LinkedList(); long st = System.currentTimeMillis(); String uri = _nsh.getNamespace(); StylesheetInfo info = new StylesheetInfo(); info.setUri(_nsh.getNamespace()); info.setOrigin(StylesheetInfo.U...
private List getStylesheets() { java.io.Reader reader; List infos = new LinkedList(); long st = System.currentTimeMillis(); String uri = _nsh.getNamespace(); StylesheetInfo info = new StylesheetInfo(); info.setUri(_nsh.getNamespace()); info.setOrigin(StylesheetInfo.U...
44,534
public String toString() { return "Context: extents = " + extents //" cursor = " + cursor + //"\n color = " + color + " background color = " + background_color; + " offset = " + xoff + "," + yoff ; }
public String toString() { return "Context: extents = " + "("+extents.x+","+extents.y+") -> ("+extents.width+"x"+extents.height+")" //" cursor = " + cursor + //"\n color = " + color + " background color = " + background_color; + " offset = " + xoff + "," + yoff ;...
44,535
public abstract void parse(Reader reader, ParserCallback callback, boolean ignoreCharSet ) throws IOException;
public abstract void parse(Reader reader, ParserCallback callback, boolean ignoreCharSet ) throws IOException;
44,537
public void handleStartTag(HTML.Tag tag, MutableAttributeSet attributes, int position ) { // TODO: What to do here, if anything? }
public void handleStartTag(HTML.Tag tag, MutableAttributeSet attributes, int position ) { // TODO: What to do here, if anything? }
44,538
public ReceiverJob(String slaveURL, Properties jndiProperties, String destinationName, String connectionFactoryJndiName, int numConnections, int numSessions, boolean transacted, int transactionSize, int numMessages, int ackMode, String subName, String selector, boolean noLocal, boolea...
public ReceiverJob(String slaveURL, Properties jndiProperties, String destinationName, String connectionFactoryJndiName, int numConnections, int numSessions, boolean transacted, int transactionSize, int numMessages, long timeToStart, int ackMode, String subName, String selector, boole...
44,539
public ReceiverJob(String slaveURL, Properties jndiProperties, String destinationName, String connectionFactoryJndiName, int numConnections, int numSessions, boolean transacted, int transactionSize, int numMessages, int ackMode, String subName, String selector, boolean noLocal, boolea...
public ReceiverJob(String slaveURL, Properties jndiProperties, String destinationName, String connectionFactoryJndiName, int numConnections, int numSessions, boolean transacted, int transactionSize, int numMessages, int ackMode, String subName, String selector, boolean noLocal, boolea...
44,540
public SenderJob(String slaveURL, Properties jndiProperties, String destinationName, String connectionFactoryJndiName, int numConnections, int numSessions, boolean transacted, int transactionSize, int numMessages, boolean anon, int messageSize, MessageFactory messageFactory, int deli...
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...
44,541
public SenderJob(String slaveURL, Properties jndiProperties, String destinationName, String connectionFactoryJndiName, int numConnections, int numSessions, boolean transacted, int transactionSize, int numMessages, boolean anon, int messageSize, MessageFactory messageFactory, int deli...
public SenderJob(String slaveURL, Properties jndiProperties, String destinationName, String connectionFactoryJndiName, int numConnections, int numSessions, boolean transacted, int transactionSize, int numMessages, boolean anon, int messageSize, MessageFactory messageFactory, int deli...
44,542
public List getChildContent( Context c ) { return ContentUtil.getChildContentList( c, this ); }
public List getChildContent( Context c ) { return ContentUtil.getChildContentList( c, this ); }
44,544
public String toString() { return "FloatedBlock: " + _elem.getNodeName(); }
public String toString() { return "InlineBlock: " + _elem.getNodeName(); }
44,545
public static InlineBox generateReplacedInlineBox(Context c, Content content, int avail, InlineBox prev_align, LineBox curr_line) { //Uu.p("generating replaced Inline Box"); Rectangle bounds = null; BlockBox block = null; JComponent cc = c.getNamespaceHandler().getCustomComponent(content...
InlineBlockBox box = new InlineBlockBox(); box.element = content.getElement(); CalculatedStyle style = c.getCurrentStyle(); if (prev_align != null && !prev_align.break_after) { box.x = prev_align.x + prev_align.width; } else { box.x = 0; } box.y = 0; VerticalAlign.setupVerticalAlign(c, style, box); c.translate(box.x...
44,546
public static InlineBox generateReplacedInlineBox(Context c, Content content, int avail, InlineBox prev_align, LineBox curr_line) { //Uu.p("generating replaced Inline Box"); Rectangle bounds = null; BlockBox block = null; JComponent cc = c.getNamespaceHandler().getCustomComponent(content...
public static InlineBox generateReplacedInlineBox(Context c, Content content, int avail, InlineBox prev_align, LineBox curr_line) { //Uu.p("generating replaced Inline Box"); Rectangle bounds = null; BlockBox block = null; JComponent cc = c.getNamespaceHandler().getCustomComponent(content...
44,547
public static InlineBox generateReplacedInlineBox(Context c, Content content, int avail, InlineBox prev_align, LineBox curr_line) { //Uu.p("generating replaced Inline Box"); Rectangle bounds = null; BlockBox block = null; JComponent cc = c.getNamespaceHandler().getCustomComponent(content...
public static InlineBox generateReplacedInlineBox(Context c, Content content, int avail, InlineBox prev_align, LineBox curr_line) { //Uu.p("generating replaced Inline Box"); Rectangle bounds = null; BlockBox block = null; JComponent cc = c.getNamespaceHandler().getCustomComponent(content...
44,548
public static InlineBox generateReplacedInlineBox(Context c, Content content, int avail, InlineBox prev_align, LineBox curr_line) { //Uu.p("generating replaced Inline Box"); Rectangle bounds = null; BlockBox block = null; JComponent cc = c.getNamespaceHandler().getCustomComponent(content...
public static InlineBox generateReplacedInlineBox(Context c, Content content, int avail, InlineBox prev_align, LineBox curr_line) { //Uu.p("generating replaced Inline Box"); Rectangle bounds = null; BlockBox block = null; JComponent cc = c.getNamespaceHandler().getCustomComponent(content...
44,549
public static InlineBox generateReplacedInlineBox(Context c, Content content, int avail, InlineBox prev_align, LineBox curr_line) { //Uu.p("generating replaced Inline Box"); Rectangle bounds = null; BlockBox block = null; JComponent cc = c.getNamespaceHandler().getCustomComponent(content...
public static InlineBox generateReplacedInlineBox(Context c, Content content, int avail, InlineBox prev_align, LineBox curr_line) { //Uu.p("generating replaced Inline Box"); Rectangle bounds = null; BlockBox block = null; JComponent cc = c.getNamespaceHandler().getCustomComponent(content...
44,550
public String getNodeId();
public String getNodeId();
44,551
public Component getTreeCellRendererComponent(JTree tree, Object value, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus) { Node node = (Node) value; if (node.getNodeType() == Node.ELEMENT_NODE) { String cls = ""; ...
public Component getTreeCellRendererComponent(JTree tree, Object value, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus) { Node node = (Node) value; if (node.getNodeType() == Node.ELEMENT_NODE) { String cls = ""; ...
44,552
public Component getTreeCellRendererComponent(JTree tree, Object value, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus) { Node node = (Node) value; if (node.getNodeType() == Node.ELEMENT_NODE) { String cls = ""; ...
public Component getTreeCellRendererComponent(JTree tree, Object value, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus) { Node node = (Node) value; if (node.getNodeType() == Node.ELEMENT_NODE) { String cls = ""; ...
44,553
private void setRoot(String rootNodeName) { Node tempRoot = doc.getDocumentElement(); NodeList nl = tempRoot.getChildNodes(); for ( int i=0; i < nl.getLength(); i++ ) { if ( nl.item(i).getNodeName().toLowerCase().equals(rootNodeName)) { this.root = nl.item(i); ...
private void setRoot(String rootNodeName) { Node tempRoot = doc.getDocumentElement(); NodeList nl = tempRoot.getChildNodes(); for ( int i=0; i < nl.getLength(); i++ ) { if ( nl.item(i).getNodeName().toLowerCase().equals(rootNodeName)) { this.root = nl.item(i); ...
44,554
private TableModel tableModel(Node node) throws Exception { if (node.getNodeType() != Node.ELEMENT_NODE) { Toolkit.getDefaultToolkit().beep(); return _defaultTableModel; } Map props = _sr.getCascadedPropertiesMap((Element) node); return new PropertiesTabl...
private TableModel tableModel(Node node) throws Exception { if (node.getNodeType() != Node.ELEMENT_NODE) { Toolkit.getDefaultToolkit().beep(); return _defaultTableModel; } Map props = _sr.getCascadedPropertiesMap((Element) node); return new PropertiesTabl...
44,555
public static Box layout(Context c, BlockBox outerBox, Content content) { boolean set_bfc = false; if (content instanceof TableContent) { // install a block formatting context for the body, // ie. if it's null. // set up the outtermost bfc if (c.getBlockForm...
public static Box layout(Context c, BlockBox outerBox, Content content) { boolean set_bfc = false; if (content instanceof TableContent) { // install a block formatting context for the body, // ie. if it's null. // set up the outtermost bfc if (c.getBlockForm...
44,556
public static Box layout(Context c, BlockBox outerBox, Content content) { boolean set_bfc = false; if (content instanceof TableContent) { // install a block formatting context for the body, // ie. if it's null. // set up the outtermost bfc if (c.getBlockForm...
public static Box layout(Context c, BlockBox outerBox, Content content) { boolean set_bfc = false; if (content instanceof TableContent) { // install a block formatting context for the body, // ie. if it's null. // set up the outtermost bfc if (c.getBlockForm...
44,557
public static Box layout(Context c, BlockBox outerBox, Content content) { boolean set_bfc = false; if (content instanceof TableContent) { // install a block formatting context for the body, // ie. if it's null. // set up the outtermost bfc if (c.getBlockForm...
public static Box layout(Context c, BlockBox outerBox, Content content) { boolean set_bfc = false; if (content instanceof TableContent) { // install a block formatting context for the body, // ie. if it's null. // set up the outtermost bfc if (c.getBlockForm...
44,558
public static Box layout(Context c, BlockBox outerBox, Content content) { boolean set_bfc = false; if (content instanceof TableContent) { // install a block formatting context for the body, // ie. if it's null. // set up the outtermost bfc if (c.getBlockForm...
public static Box layout(Context c, BlockBox outerBox, Content content) { boolean set_bfc = false; if (content instanceof TableContent) { // install a block formatting context for the body, // ie. if it's null. // set up the outtermost bfc if (c.getBlockForm...
44,559
private static CellBox layoutCell(Context c, CellBox cell, 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 ...
private static CellBox layoutCell(Context c, CellBox cell, 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 ...
44,560
private static CellBox layoutCell(Context c, CellBox cell, 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 ...
private static CellBox layoutCell(Context c, CellBox cell, 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 ...
44,561
private static CellBox layoutCell(Context c, CellBox cell, 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 ...
private static CellBox layoutCell(Context c, CellBox cell, 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 ...
44,562
private static CellBox layoutCell(Context c, CellBox cell, 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 ...
private static CellBox layoutCell(Context c, CellBox cell, 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 ...
44,563
private static CellBox layoutCell(Context c, CellBox cell, 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 ...
private static CellBox layoutCell(Context c, CellBox cell, 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 ...
44,564
private static CellBox layoutCell(Context c, CellBox cell, 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 ...
private static CellBox layoutCell(Context c, CellBox cell, 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 ...
44,565
private static RowBox layoutRow(Context c, TableRowContent tableRowContent, TableBox table, boolean fixed, int borderSpacingHorizontal, int borderSpacingVertical) { // copy the extents Rectangle oe = c.getExtents(); c.setExtents(new Rectangle(oe)); RowBox row = new RowBox(); row.s...
private static RowBox layoutRow(Context c, TableRowContent tableRowContent, TableBox table, boolean fixed, int borderSpacingHorizontal, int borderSpacingVertical) { // copy the extents Rectangle oe = c.getExtents(); c.setExtents(new Rectangle(oe)); RowBox row = new RowBox(); ...
44,566
public MenuItemUI() { // TODO } // MenuItemUI()
public MenuItemUI() { // TODO } // MenuItemUI()
44,569
public void tearDown() throws Exception { ServerManagement.stopServerPeer(); super.tearDown(); }
public void tearDown() throws Exception { super.tearDown(); }
44,572
public void testNonContextAlreadyBound() throws Exception { ServerManagement.stopServerPeer(); initialContext.bind("/some-new-context", new Object()); try { ServerManagement.startServerPeer("0", "/some-new-context", null); fail("should throw exception"); } catch(JBossJ...
public void testNonContextAlreadyBound() throws Exception { ServerManagement.stopServerPeer(); initialContext.bind("/some-new-context", new Object()); try { ServerManagement.startServerPeer("0", "/some-new-context", null); fail("should throw exception"); } catch(Messag...
44,573
public Object getContent(Context c) { return _inline; }
public List getContent(Context c) { return _inline; }
44,574
public void testCancelDeliveries() throws Exception { long methodHash = 62365354; int objectId = 54321; List cancels = new ArrayList(); Cancel cancel1 = new Cancel(65654, 43); Cancel cancel2 = new Cancel(65765, 2);...
public void testCancelDeliveries() throws Exception { long methodHash = 62365354; int objectId = 54321; List cancels = new ArrayList(); Cancel cancel1 = new Cancel(65654, 43); Cancel cancel2 = new Cancel(65765, 2);...
44,575
public void testCancelDeliveries() throws Exception { long methodHash = 62365354; int objectId = 54321; List cancels = new ArrayList(); Cancel cancel1 = new Cancel(65654, 43); Cancel cancel2 = new Cancel(65765, 2);...
public void testCancelDeliveries() throws Exception { long methodHash = 62365354; int objectId = 54321; List cancels = new ArrayList(); Cancel cancel1 = new Cancel(65654, 43); Cancel cancel2 = new Cancel(65765, 2);...
44,576
public void testCancelDeliveries() throws Exception { long methodHash = 62365354; int objectId = 54321; List cancels = new ArrayList(); Cancel cancel1 = new Cancel(65654, 43); Cancel cancel2 = new Cancel(65765, 2);...
public void testCancelDeliveries() throws Exception { long methodHash = 62365354; int objectId = 54321; List cancels = new ArrayList(); Cancel cancel1 = new Cancel(65654, 43); Cancel cancel2 = new Cancel(65765, 2);...
44,577
public void testCancelDeliveries() throws Exception { long methodHash = 62365354; int objectId = 54321; List cancels = new ArrayList(); Cancel cancel1 = new Cancel(65654, 43); Cancel cancel2 = new Cancel(65765, 2);...
public void testCancelDeliveries() throws Exception { long methodHash = 62365354; int objectId = 54321; List cancels = new ArrayList(); Cancel cancel1 = new Cancel(65654, 43); Cancel cancel2 = new Cancel(65765, 2);...
44,578
public void testCancelDeliveries() throws Exception { long methodHash = 62365354; int objectId = 54321; List cancels = new ArrayList(); Cancel cancel1 = new Cancel(65654, 43); Cancel cancel2 = new Cancel(65765, 2);...
public void testCancelDeliveries() throws Exception { long methodHash = 62365354; int objectId = 54321; List cancels = new ArrayList(); Cancel cancel1 = new Cancel(65654, 43); Cancel cancel2 = new Cancel(65765, 2);...
44,579
public void testSendTransaction() throws Exception { JBossMessage m = new JBossMessage(123); MessageTest.configureMessage(m); long deliveryId = 89281389; int deliveryCount = 12; MessageProxy proxy = JBossMessage.createThinDelegate(deli...
public void testSendTransaction() throws Exception { JBossMessage m = new JBossMessage(123); MessageTest.configureMessage(m); long deliveryId = 89281389; int deliveryCount = 12; MessageProxy proxy = JBossMessage.createThinDelegate(deli...
44,580
public void setUp() throws Exception { super.setUp(); wf = new TestWireFormat(); Class sessionDelegate = SessionDelegate.class; Class consumerDelegate = ConsumerDelegate.class; Class connectionDelegate = ConnectionDelegate.class; //Session send...
public void setUp() throws Exception { super.setUp(); wf = new TestWireFormat(); Class sessionDelegate = SessionDelegate.class; Class consumerDelegate = ConsumerDelegate.class; Class connectionDelegate = ConnectionDelegate.class; //Session send...
44,581
public void setUp() throws Exception { super.setUp(); wf = new TestWireFormat(); Class sessionDelegate = SessionDelegate.class; Class consumerDelegate = ConsumerDelegate.class; Class connectionDelegate = ConnectionDelegate.class; //Session send...
public void setUp() throws Exception { super.setUp(); wf = new TestWireFormat(); Class sessionDelegate = SessionDelegate.class; Class consumerDelegate = ConsumerDelegate.class; Class connectionDelegate = ConnectionDelegate.class; //Session send...
44,582
public void write(Object obj, OutputStream out) throws IOException { DataOutputStream dos; if (out instanceof DataOutputStream) { dos = (DataOutputStream)out; } else { //TODO - We should get remoting to pass in a DataOutputStream //So we don't h...
public void write(Object obj, OutputStream out) throws IOException { DataOutputStream dos; if (out instanceof DataOutputStream) { dos = (DataOutputStream)out; } else { //TODO - We should get remoting to pass in a DataOutputStream //So we don't h...
44,584
public void write(Object obj, OutputStream out) throws IOException { DataOutputStream dos; if (out instanceof DataOutputStream) { dos = (DataOutputStream)out; } else { //TODO - We should get remoting to pass in a DataOutputStream //So we don't h...
public void write(Object obj, OutputStream out) throws IOException { DataOutputStream dos; if (out instanceof DataOutputStream) { dos = (DataOutputStream)out; } else { //TODO - We should get remoting to pass in a DataOutputStream //So we don't h...
44,585
public void write(Object obj, OutputStream out) throws IOException { DataOutputStream dos; if (out instanceof DataOutputStream) { dos = (DataOutputStream)out; } else { //TODO - We should get remoting to pass in a DataOutputStream //So we don't h...
public void write(Object obj, OutputStream out) throws IOException { DataOutputStream dos; if (out instanceof DataOutputStream) { dos = (DataOutputStream)out; } else { //TODO - We should get remoting to pass in a DataOutputStream //So we don't have...
44,586
public void write(Object obj, OutputStream out) throws IOException { DataOutputStream dos; if (out instanceof DataOutputStream) { dos = (DataOutputStream)out; } else { //TODO - We should get remoting to pass in a DataOutputStream //So we don't h...
public void write(Object obj, OutputStream out) throws IOException { DataOutputStream dos; if (out instanceof DataOutputStream) { dos = (DataOutputStream)out; } else { //TODO - We should get remoting to pass in a DataOutputStream //So we don't h...
44,587
public void write(Object obj, OutputStream out) throws IOException { DataOutputStream dos; if (out instanceof DataOutputStream) { dos = (DataOutputStream)out; } else { //TODO - We should get remoting to pass in a DataOutputStream //So we don't h...
public void write(Object obj, OutputStream out) throws IOException { DataOutputStream dos; if (out instanceof DataOutputStream) { dos = (DataOutputStream)out; } else { //TODO - We should get remoting to pass in a DataOutputStream //So we don't h...
44,588
public void write(Object obj, OutputStream out) throws IOException { DataOutputStream dos; if (out instanceof DataOutputStream) { dos = (DataOutputStream)out; } else { //TODO - We should get remoting to pass in a DataOutputStream //So we don't h...
public void write(Object obj, OutputStream out) throws IOException { DataOutputStream dos; if (out instanceof DataOutputStream) { dos = (DataOutputStream)out; } else { //TODO - We should get remoting to pass in a DataOutputStream //So we don't h...
44,589
public Object read(InputStream in, Map map) throws IOException, ClassNotFoundException { if (in instanceof JBossObjectInputStream) { // Need to explicitly set the classloader ((JBossObjectInputStream)in). setClassLoader(Thread.currentThread().getContextClassLoader()); ...
public Object read(InputStream in, Map map) throws IOException, ClassNotFoundException { if (!(in instanceof MessagingObjectInputStream)) { // Need to explicitly set the classloader ((JBossObjectInputStream)in). setClassLoader(Thread.currentThread().getContextClassLoader...
44,590
public Object read(InputStream in, Map map) throws IOException, ClassNotFoundException { if (in instanceof JBossObjectInputStream) { // Need to explicitly set the classloader ((JBossObjectInputStream)in). setClassLoader(Thread.currentThread().getContextClassLoader()); ...
public Object read(InputStream in, Map map) throws IOException, ClassNotFoundException { if (in instanceof JBossObjectInputStream) { // Need to explicitly set the classloader ((JBossObjectInputStream)in). setClassLoader(Thread.currentThread().getContextClassLoader()); ...
44,591