bugged
stringlengths
6
599k
fixed
stringlengths
10
599k
__index_level_0__
int64
0
1.13M
public OfbizWorkflow(String caller) throws FactoryException { super.context = new OfbizWorkflowContext(caller); loadConfig(); }
public OfbizWorkflow(String caller) { super.context = new OfbizWorkflowContext(caller); loadConfig(); }
26,315
public OfbizWorkflow(String caller) throws FactoryException { super.context = new OfbizWorkflowContext(caller); loadConfig(); }
public OfbizWorkflow(String caller) throws FactoryException { super.context = new OfbizWorkflowContext(caller); try { loadConfig(); } catch (FactoryException e) { log.fatal("Could not initialize workflow", e); } }
26,316
public boolean canModifyEntryState(long id, int newState) throws WorkflowException;
public boolean canModifyEntryState(long id, int newState);
26,317
public int[] getAvailableActions(long id) throws WorkflowException;
public int[] getAvailableActions(long id);
26,318
public List getCurrentSteps(long id) throws WorkflowException;
public List getCurrentSteps(long id);
26,319
public int getEntryState(long id) throws WorkflowException;
public int getEntryState(long id);
26,320
public List getHistorySteps(long id) throws WorkflowException;
public List getHistorySteps(long id);
26,321
public PropertySet getPropertySet(long id) throws WorkflowException;
public PropertySet getPropertySet(long id);
26,322
public List getSecurityPermissions(long id) throws WorkflowException;
public List getSecurityPermissions(long id);
26,323
public WorkflowDescriptor getWorkflowDescriptor(String workflowName) throws WorkflowException;
public WorkflowDescriptor getWorkflowDescriptor(String workflowName);
26,324
public String getWorkflowName(long id) throws WorkflowException;
public String getWorkflowName(long id);
26,325
String[] getWorkflowNames() throws FactoryException;
String[] getWorkflowNames();
26,326
protected SetOfIntegerSyntax(int lowerBound, int upperBound) { // We only want to reject non-null ranges where lower<0. if (lowerBound <= upperBound && lowerBound < 0) throw new IllegalArgumentException(); members = (lowerBound <= upperBound ? new int[][]{{lowerBound, upperBound}} ...
protected SetOfIntegerSyntax(int member) { // We only want to reject non-null ranges where lower<0. if (lowerBound <= upperBound && lowerBound < 0) throw new IllegalArgumentException(); members = (lowerBound <= upperBound ? new int[][]{{lowerBound, upperBound}} ...
26,327
protected SetOfIntegerSyntax(int lowerBound, int upperBound) { // We only want to reject non-null ranges where lower<0. if (lowerBound <= upperBound && lowerBound < 0) throw new IllegalArgumentException(); members = (lowerBound <= upperBound ? new int[][]{{lowerBound, upperBound}} ...
protected SetOfIntegerSyntax(int lowerBound, int upperBound) { // We only want to reject non-null ranges where lower<0. if (lowerBound <= upperBound && lowerBound < 0) throw new IllegalArgumentException(); members = (lowerBound <= upperBound ? new int[][]{{lowerBound, upperBound}} ...
26,328
protected SetOfIntegerSyntax(int lowerBound, int upperBound) { // We only want to reject non-null ranges where lower<0. if (lowerBound <= upperBound && lowerBound < 0) throw new IllegalArgumentException(); members = (lowerBound <= upperBound ? new int[][]{{lowerBound, upperBound}} ...
protected SetOfIntegerSyntax(int lowerBound, int upperBound) { // We only want to reject non-null ranges where lower<0. if (lowerBound <= upperBound && lowerBound < 0) throw new IllegalArgumentException(); members = (lowerBound <= upperBound ? new int[][]{{lowerBound, upperBound}} ...
26,329
public Object getResult() { return !failed ? new JobTimings(initTime, testTime) : null; }
public JobResult getResult() { return !failed ? new JobTimings(initTime, testTime) : null; }
26,330
public Object getResult() { return !failed ? new JobTimings(initTime, testTime) : null; }
public Object getResult() { log.info("Getting result"); JobResult res = new JobResult(); res.failed = failed; if (res.failed) { log.info("Failed"); res.throwables = throwables; } else { log.info("Didn't fail"); res.initTime = initTime; res.testTime = testTime; } return res; }
26,331
public void run() { try { startTime = System.currentTimeMillis(); log.info("==============Running job:" + this); setup(); logInfo(); runTest(); tearDown(); log.info("================Finished running job"); } catch (Except...
public void run() { try { startTime = System.currentTimeMillis(); log.info("==============Running job:" + this); setup(); logInfo(); runTest(); tearDown(); log.info("================Finished running job"); } catch (Throwa...
26,332
public void run() { try { startTime = System.currentTimeMillis(); log.info("==============Running job:" + this); setup(); logInfo(); runTest(); tearDown(); log.info("================Finished running job"); } catch (Except...
public void run() { try { startTime = System.currentTimeMillis(); log.info("==============Running job:" + this); setup(); logInfo(); runTest(); tearDown(); log.info("================Finished running job"); } catch (Except...
26,333
protected void runTest() throws Exception { failed = false; Thread[] servitorThreads = new Thread[numSessions]; Servitor[] servitors = new Servitor[numSessions]; for (int i = 0; i < numSessions; i++) { Servitor servitor = createServitor(numMessages); servi...
protected void runTest() throws Exception { failed = false; Thread[] servitorThreads = new Thread[numSessions]; Servitor[] servitors = new Servitor[numSessions]; for (int i = 0; i < numSessions; i++) { Servitor servitor = createServitor(numMessages); servi...
26,334
protected void runTest() throws Exception { failed = false; Thread[] servitorThreads = new Thread[numSessions]; Servitor[] servitors = new Servitor[numSessions]; for (int i = 0; i < numSessions; i++) { Servitor servitor = createServitor(numMessages); servi...
protected void runTest() throws Exception { failed = false; Thread[] servitorThreads = new Thread[numSessions]; Servitor[] servitors = new Servitor[numSessions]; for (int i = 0; i < numSessions; i++) { Servitor servitor = createServitor(numMessages); servi...
26,335
Object getResult();
JobResult getResult();
26,337
public void mousePressed( MouseEvent evt ) { Box box = panel.findBox( evt.getX(), evt.getY() ); if ( box == null ) { return; } u.p( "pressed " + box ); if ( box.node != null ) { Node node = box.node; if ( node.getNodeType() == node.TEXT_NODE ) { ...
public void mousePressed( MouseEvent evt ) { Box box = panel.findBox( evt.getX(), evt.getY() ); if ( box == null ) { return; } u.p( "pressed " + box ); if ( box.node != null ) { Node node = box.node; if ( node.getNodeType() == node.TEXT_NODE ) { ...
26,338
public void mouseReleased( MouseEvent evt ) { Box box = panel.findBox( evt.getX(), evt.getY() ); if ( box == null ) { return; } u.p( "pressed " + box ); if ( box.node != null ) { Node node = box.node; if ( node.getNodeType() == node.TEXT_NODE ) { ...
public void mouseReleased( MouseEvent evt ) { Box box = panel.findBox( evt.getX(), evt.getY() ); if ( box == null ) { return; } u.p( "pressed " + box ); if ( box.node != null ) { Node node = box.node; if ( node.getNodeType() == node.TEXT_NODE ) { ...
26,339
public static void checkPermission(Permission perm) throws AccessControlException, PragmaCheckPermission { if (!Unsafe.getCurrentProcessor().isThreadSwitchActive()) { //getContext().checkPermission(perm); // This is an optimized version of // getContext().checkPerm...
public static void checkPermission(Permission perm) throws AccessControlException, PragmaCheckPermission { if (!Unsafe.getCurrentProcessor().isThreadSwitchActive()) { //getContext().checkPermission(perm); // This is an optimized version of // getContext().checkPerm...
26,340
public static void checkPermission(Permission perm) throws AccessControlException, PragmaCheckPermission { if (!Unsafe.getCurrentProcessor().isThreadSwitchActive()) { //getContext().checkPermission(perm); // This is an optimized version of // getContext().checkPerm...
public static void checkPermission(Permission perm) throws AccessControlException, PragmaCheckPermission { if (!Unsafe.getCurrentProcessor().isThreadSwitchActive()) { //getContext().checkPermission(perm); // This is an optimized version of // getContext().checkPerm...
26,341
public InitialContextFactory createInitialContextFactory (Hashtable environment) throws NamingException;
InitialContextFactory createInitialContextFactory (Hashtable environment) throws NamingException;
26,342
private java.util.Iterator getMatchedRulesets(final List mappedSelectors) { return new java.util.Iterator() { java.util.Iterator selectors = mappedSelectors.iterator(); public boolean hasNext() { return selectors.hasNext(); ...
private static java.util.Iterator getMatchedRulesets(final List mappedSelectors) { return new java.util.Iterator() { java.util.Iterator selectors = mappedSelectors.iterator(); public boolean hasNext() { return selectors.hasNext(); ...
26,343
private java.util.Iterator getSelectedRulesets(java.util.List selectorList) { final java.util.List sl = selectorList; return new java.util.Iterator() { java.util.Iterator selectors = sl.iterator(); public boolean hasNext() { r...
private static java.util.Iterator getSelectedRulesets(java.util.List selectorList) { final java.util.List sl = selectorList; return new java.util.Iterator() { java.util.Iterator selectors = sl.iterator(); public boolean hasNext() { ...
26,344
public Ruleset parseStyleDeclaration(int origin, String styleDeclaration) { try { java.io.StringReader reader = new java.io.StringReader("* {" + styleDeclaration + "}"); InputSource is = new InputSource(reader); CSSStyleSheet style = parser.parseStyleSheet(is); rea...
public Ruleset parseStyleDeclaration(int origin, String styleDeclaration) { try { java.io.StringReader reader = new java.io.StringReader("* {" + styleDeclaration + "}"); InputSource is = new InputSource(reader); CSSStyleSheet style = parser.parseStyleSheet(is); rea...
26,345
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...
26,348
private void layoutAlternateFlows(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.isR...
private void layoutAlternateFlows(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.isR...
26,349
public void collect( RenderingContext c, Shape clip, Box master, List blockContent, List inlineContent) { collect(c, clip, master, master, blockContent, inlineContent); }
public void collect( CssContext c, Shape clip, Box master, List blockContent, List inlineContent) { collect(c, clip, master, master, blockContent, inlineContent); }
26,350
public void paintListMarker(RenderingContext c) { if (getStyle().isHidden()) { return; } if (getStyle().isListItem()) { ListItemPainter.paint(c, this); } }
public void paintListMarker(RenderingContext c) { if (! getStyle().isVisible()) { return; } if (getStyle().isListItem()) { ListItemPainter.paint(c, this); } }
26,351
public void addAsfMessage(Message m, String receiverID);
public void addAsfMessage(Message m, String receiverID, ConsumerDelegate cons);
26,352
public static void postChildrenLayout(Context c, Box block) { c.getBlockFormattingContext().doFinalAdjustments(); c.popBFC(); }
public static void postChildrenLayout(Context c) { c.getBlockFormattingContext().doFinalAdjustments(); c.popBFC(); }
26,353
public static void setupAbsolute(Box box, Context c) { CalculatedStyle style = c.getCurrentStyle(); if (style.isIdent(CSSName.POSITION, IdentValue.ABSOLUTE)) { if (style.hasProperty(CSSName.RIGHT)) { //Uu.p("prop = " + c.css.getProperty(box.getRealElement(),"right",false)); ...
public static void setupAbsolute(Box box, Context c) { CalculatedStyle style = c.getCurrentStyle(); if (style.isIdent(CSSName.POSITION, IdentValue.ABSOLUTE)) { if (style.hasProperty(CSSName.RIGHT)) { //Uu.p("prop = " + c.css.getProperty(box.getRealElement(),"right",false)); ...
26,354
public static void setupAbsolute(Box box, Context c) { CalculatedStyle style = c.getCurrentStyle(); if (style.isIdent(CSSName.POSITION, IdentValue.ABSOLUTE)) { if (style.hasProperty(CSSName.RIGHT)) { //Uu.p("prop = " + c.css.getProperty(box.getRealElement(),"right",false)); ...
public static void setupAbsolute(Box box, Context c) { CalculatedStyle style = c.getCurrentStyle(); if (style.isIdent(CSSName.POSITION, IdentValue.ABSOLUTE)) { if (style.hasProperty(CSSName.RIGHT)) { //Uu.p("prop = " + c.css.getProperty(box.getRealElement(),"right",false)); ...
26,355
public static void setupAbsolute(Box box, Context c) { CalculatedStyle style = c.getCurrentStyle(); if (style.isIdent(CSSName.POSITION, IdentValue.ABSOLUTE)) { if (style.hasProperty(CSSName.RIGHT)) { //Uu.p("prop = " + c.css.getProperty(box.getRealElement(),"right",false)); ...
public static void setupAbsolute(Box box, Context c) { CalculatedStyle style = c.getCurrentStyle(); if (style.isIdent(CSSName.POSITION, IdentValue.ABSOLUTE)) { if (style.hasProperty(CSSName.RIGHT)) { //Uu.p("prop = " + c.css.getProperty(box.getRealElement(),"right",false)); ...
26,356
public static void setupAbsolute(Box box, Context c) { CalculatedStyle style = c.getCurrentStyle(); if (style.isIdent(CSSName.POSITION, IdentValue.ABSOLUTE)) { if (style.hasProperty(CSSName.RIGHT)) { //Uu.p("prop = " + c.css.getProperty(box.getRealElement(),"right",false)); ...
public static void setupAbsolute(Box box, Context c) { CalculatedStyle style = c.getCurrentStyle(); if (style.isIdent(CSSName.POSITION, IdentValue.ABSOLUTE)) { if (style.hasProperty(CSSName.RIGHT)) { //Uu.p("prop = " + c.css.getProperty(box.getRealElement(),"right",false)); ...
26,357
public static Box layout(Context c, Content content) { return layout(c, content, null); }
public static Box layout(Context c, Content content) { Box block = preLayout(c, content); if (c.shouldStop()) return block; return realLayout(c, block, content); }
26,358
public void setUp() throws Exception { super.setUp(); ServerManagement.start("all"); InitialContext initialContext = new InitialContext(ServerManagement.getJNDIEnvironment()); cf = (JBossConnectionFactory)initialContext.lookup("/ConnectionFactory"); ServerManagement.undeployQueue("Qu...
public void setUp() throws Exception { super.setUp(); ServerManagement.start("all"); InitialContext initialContext = new InitialContext(ServerManagement.getJNDIEnvironment()); cf = (JBossConnectionFactory)initialContext.lookup("/ConnectionFactory"); ServerManagement.undeployQueue("Qu...
26,359
boolean cancel() throws Throwable;
void cancel() throws Throwable;
26,360
public URL(String spec) throws MalformedURLException { this((URL) null, spec != null ? spec : "", (URLStreamHandler) null); }
public URL(String protocol, String host, int port, String file) throws MalformedURLException { this((URL) null, spec != null ? spec : "", (URLStreamHandler) null); }
26,361
public URL(String spec) throws MalformedURLException { this((URL) null, spec != null ? spec : "", (URLStreamHandler) null); }
public URL(String spec) throws MalformedURLException { this((URL) null, spec != null ? spec : "", (URLStreamHandler) null); }
26,362
void redeliver() throws JMSException { // TODO I need to do this atomically, otherwise only some of the messages may be redelivered // TODO and some old deliveries may be lost if (log.isTraceEnabled()) { log.trace("redeliver"); } List old = new ArrayList(); sy...
void redeliver() throws JMSException { // TODO I need to do this atomically, otherwise only some of the messages may be redelivered // TODO and some old deliveries may be lost if (log.isTraceEnabled()) { log.trace("redeliver"); } List old = new ArrayList(); sy...
26,363
void redeliver() throws JMSException { // TODO I need to do this atomically, otherwise only some of the messages may be redelivered // TODO and some old deliveries may be lost if (log.isTraceEnabled()) { log.trace("redeliver"); } List old = new ArrayList(); sy...
void redeliver() throws JMSException { // TODO I need to do this atomically, otherwise only some of the messages may be redelivered // TODO and some old deliveries may be lost if (log.isTraceEnabled()) { log.trace("redeliver"); } List old = new ArrayList(); sy...
26,364
void redeliver() throws JMSException { // TODO I need to do this atomically, otherwise only some of the messages may be redelivered // TODO and some old deliveries may be lost if (log.isTraceEnabled()) { log.trace("redeliver"); } List old = new ArrayList(); sy...
void redeliver() throws JMSException { // TODO I need to do this atomically, otherwise only some of the messages may be redelivered // TODO and some old deliveries may be lost if (log.isTraceEnabled()) { log.trace("redeliver"); } List old = new ArrayList(); sy...
26,365
void redeliver() throws JMSException { // TODO I need to do this atomically, otherwise only some of the messages may be redelivered // TODO and some old deliveries may be lost if (log.isTraceEnabled()) { log.trace("redeliver"); } List old = new ArrayList(); sy...
void redeliver() throws JMSException { // TODO I need to do this atomically, otherwise only some of the messages may be redelivered // TODO and some old deliveries may be lost if (log.isTraceEnabled()) { log.trace("redeliver"); } List old = new ArrayList(); sy...
26,366
public boolean accept(Routable routable);
boolean accept(Routable routable);
26,367
public SimpleDelivery(DeliveryObserver observer, MessageReference ref) { this(observer, ref, false); }
public SimpleDelivery() { this(observer, ref, false); }
26,368
public SimpleDelivery(DeliveryObserver observer, MessageReference ref) { this(observer, ref, false); }
public SimpleDelivery(DeliveryObserver observer, MessageReference ref) { this(null, null, false); }
26,369
public InternalWorkflowException(String s, Exception rootCause) { super(s); this.rootCause = rootCause; }
public InternalWorkflowException(String s, Exception rootCause) { super(s); this.rootCause = rootCause; }
26,370
public Exception getRootCause() { return rootCause; }
public Throwable getRootCause() { return rootCause; }
26,371
public static Box findElementBox(Box box, int x, int y, BlockFormattingContext bfc) {//TODO: why is this used? //A better way? should be in a render util? //Uu.p("find element box: " + x + " " + y + " " + box + " " + bfc); if (box == null) { return...
public static Box findElementBox(Box box, int x, int y, BlockFormattingContext bfc) {//TODO: why is this used? //A better way? should be in a render util? //Uu.p("find element box: " + x + " " + y + " " + box + " " + bfc); if (box == null) { return...
26,372
public static Box findElementBox2(Box box, int x, int y, BlockFormattingContext bfc) { //Uu.p("find element box: " + x + " " + y + " " + box + " " + bfc); //if(box.element != null) { Uu.p("elem : " + box.element.getNodeName()); } // skip if no box to look at if (box == null) { ...
public static Box findElementBox2(Box box, int x, int y, BlockFormattingContext bfc) { //Uu.p("find element box: " + x + " " + y + " " + box + " " + bfc); //if(box.element != null) { Uu.p("elem : " + box.element.getNodeName()); } // skip if no box to look at if (box == null) { ...
26,373
public static void layout( Level level, String msg ) { log( LAYOUT, level, msg ); }
public static void layout( Level level, String msg ) { log( LAYOUT, level, msg ); }
26,374
public ColorUIResource(int r, int g, int b) { super(r, g, b, 255); }
public ColorUIResource(int r, int g, int b) { super(r, g, b); }
26,376
protected void calcLayout() { // set body box to null to trigger new layout Uu.p("calc layout null was called"); body_box = null; }
protected void calcLayout() { // set body box to null to trigger new layout body_box = null; }
26,377
public void componentResized(ComponentEvent e) { Uu.p("resized!"); calcLayout(); }
public void componentResized(ComponentEvent e) { calcLayout(); }
26,378
protected void doRender(Context c) { // paint the normal swing background first // but only if we aren't printing. Graphics g = c.getGraphics(); if (!(g instanceof PrinterGraphics)) { g.setColor(getBackground()); g.fillRect(0, 0, getWidth(), getHeight()); } ...
protected void doRender(Context c) { // paint the normal swing background first // but only if we aren't printing. Graphics g = c.getGraphics(); if (!(g instanceof PrinterGraphics)) { g.setColor(getBackground()); g.fillRect(0, 0, getWidth(), getHeight()); } ...
26,379
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 first time p...
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 first time p...
26,380
public void setSize(Dimension d) { XRLog.layout(Level.FINEST, "set size called"); Uu.p("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! }
26,381
public RenderingContext() { setMedia("screen"); setContext(new Context()); getContext().ctx = this; getContext().css = new TBStyleReference(new NaiveUserAgent()); XRLog.render("Using CSS implementation from: " + getContext().css.getClass().getName()); layout_factory = new L...
public RenderingContext() { setMedia("print"); setContext(new Context()); getContext().ctx = this; getContext().css = new TBStyleReference(new NaiveUserAgent()); XRLog.render("Using CSS implementation from: " + getContext().css.getClass().getName()); layout_factory = new La...
26,382
void setString(int parameterIndex, String x) throws SQLException;
void setString(int index, String value) throws SQLException;
26,384
DurableSubscription createDurableSubscription(String topicName, String clientID, String subscriptionName, String selector) throws JMSException;
DurableSubscription createDurableSubscription(String topicName, String clientID, String subscriptionName, String selector, boolean noLocal) throws JMSException;
26,385
public void contentsChanged(ListDataEvent event);
void contentsChanged(ListDataEvent event);
26,387
public void intervalAdded(ListDataEvent event);
void intervalAdded(ListDataEvent event);
26,388
public void intervalRemoved(ListDataEvent event);
void intervalRemoved(ListDataEvent event);
26,389
public BasicPanel(UserAgentCallback uac) { ctx = new RenderingContext(uac); init(); }
public BasicPanel(UserAgentCallback uac) { ctx = new RenderingContext(uac); init(); }
26,390
public void setDocument(String url) { setDocument(loadDocument(url), url, new NoNamespaceHandler()); }
public void setDocument(String url) { setDocument(loadDocument(url), url, new NoNamespaceHandler()); }
26,391
public void setDocument(Document doc, String url, NamespaceHandler nsh) { resetScrollPosition(); this.doc = doc; //have to do this first getRenderingContext().setBaseURL(url); getContext().setNamespaceHandler(nsh); getRenderingContext().getStyleReference().setDocumentContex...
public void setDocument(Document doc, String url, NamespaceHandler nsh) { resetScrollPosition(); this.doc = doc; //have to do this first getRenderingContext().setBaseURL(url); getContext().setNamespaceHandler(nsh); getRenderingContext().getStyleReference().setDocumentContex...
26,392
public static Box layout(LayoutContext c, BlockBox outerBox, Content content) { boolean set_bfc = false; if (content instanceof TableContent) { } else { XRLog.layout(Level.WARNING, "Unsupported table type " + content.getClass().getName()); return null; } // i...
public static Box layout(LayoutContext c, BlockBox outerBox, Content content) { boolean set_bfc = false; if (content instanceof TableContent) { } else { XRLog.layout(Level.WARNING, "Unsupported table type " + content.getClass().getName()); return null; } // i...
26,394
private static CellBox layoutCell(LayoutContext 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); } ...
private static CellBox layoutCell(LayoutContext 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); } ...
26,395
public static Box layoutChildren(Context c, Box box, Content content) { List contentList = content.getChildContent(c); box.setState(box.CHILDREN_FLUX); if (contentList == null) { return box; } if (contentList.size() == 0) { return box; }//we can do thi...
public static Box layoutChildren(Context c, Box box, Content content) { List contentList = content.getChildContent(c); box.setState(Box.CHILDREN_FLUX); if (contentList == null) { return box; } if (contentList.size() == 0) { return box; }//we can do thi...
26,396
public static Box layoutChildren(Context c, Box box, Content content) { List contentList = content.getChildContent(c); box.setState(box.CHILDREN_FLUX); if (contentList == null) { return box; } if (contentList.size() == 0) { return box; }//we can do thi...
public static Box layoutChildren(Context c, Box box, Content content) { List contentList = content.getChildContent(c); box.setState(box.CHILDREN_FLUX); if (contentList == null) { return box; } if (contentList.size() == 0) { return box; }//we can do thi...
26,397
public List getChildContent(Context c) { LinkedList contentList = new LinkedList(); FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; StringBuffer textContent = null; if (_elem != null) { if (ContentUtil.mayHaveFirstLine(_style)) { ...
public List getChildContent(Context c) { LinkedList contentList = new LinkedList(); FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; if (_elem != null) { if (ContentUtil.mayHaveFirstLine(_style)) { //put in a marker if ther...
26,398
public List getChildContent(Context c) { LinkedList contentList = new LinkedList(); FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; StringBuffer textContent = null; if (_elem != null) { if (ContentUtil.mayHaveFirstLine(_style)) { ...
public List getChildContent(Context c) { LinkedList contentList = new LinkedList(); FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; StringBuffer textContent = null; if (_elem != null) { if (ContentUtil.mayHaveFirstLine(_style)) { ...
26,399
public List getChildContent(Context c) { LinkedList contentList = new LinkedList(); FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; StringBuffer textContent = null; if (_elem != null) { if (ContentUtil.mayHaveFirstLine(_style)) { ...
public List getChildContent(Context c) { LinkedList contentList = new LinkedList(); FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; StringBuffer textContent = null; if (_elem != null) { if (ContentUtil.mayHaveFirstLine(_style)) { ...
26,400
public AccessibleRole getAccessibleRole() { return null; }
public AccessibleRole getAccessibleRole() { return AccessibleRole.SPLIT_PANE; }
26,401
public AccessibleStateSet getAccessibleStateSet() { return null; }
public AccessibleStateSet getAccessibleStateSet() { AccessibleStateSet result = super.getAccessibleStateSet(); if (getOrientation() == HORIZONTAL_SPLIT) { result.add(AccessibleState.HORIZONTAL); } else if (getOrientation() == VERTICAL_SPLIT) { result.add(AccessibleState.VERTICAL); } return result; }
26,402
public Number getCurrentAccessibleValue() { return null; }
public Number getCurrentAccessibleValue() { return new Integer(getDividerLocation()); }
26,403
public Number getMaximumAccessibleValue() { return null; }
public Number getMaximumAccessibleValue() { return new Integer(getMaximumDividerLocation()); }
26,404
public Number getMinimumAccessibleValue() { return null; }
public Number getMinimumAccessibleValue() { return new Integer(getMinimumDividerLocation()); }
26,405
public abstract int getDividerLocation(JSplitPane splitpane);
public abstract int getDividerLocation(JSplitPane pane);
26,409
public abstract int getMaximumDividerLocation(JSplitPane splitpane);
public abstract int getMaximumDividerLocation(JSplitPane pane);
26,410
public abstract int getMinimumDividerLocation(JSplitPane splitpane);
public abstract int getMinimumDividerLocation(JSplitPane pane);
26,411
public abstract void finishedPaintingChildren(JSplitPane splitpane, Graphics graphics);
public abstract void finishedPaintingChildren(JSplitPane splitpane, Graphics graphics);
26,412
public abstract void resetToPreferredSizes(JSplitPane splitpane);
public abstract void resetToPreferredSizes(JSplitPane pane);
26,413
public abstract void setDividerLocation(JSplitPane splitpane, int location);
public abstract void setDividerLocation(JSplitPane splitpane, int location);
26,414
public void paint(Graphics g, JComponent c) { AbstractButton b = (AbstractButton) c; Rectangle tr = new Rectangle(); Rectangle ir = new Rectangle(); Rectangle vr = new Rectangle(); Font f = c.getFont(); g.setFont(f); FontMetrics fm = SwingUtilities.getFontMetrics(f); Insets i = ...
public void paint(Graphics g, JComponent c) { AbstractButton b = (AbstractButton) c; Rectangle tr = new Rectangle(); Rectangle ir = new Rectangle(); Rectangle vr = new Rectangle(); Font f = c.getFont(); g.setFont(f); FontMetrics fm = SwingUtilities.getFontMetrics(f); Insets i = ...
26,416
public void paint(Graphics g, JComponent c) { AbstractButton b = (AbstractButton) c; Rectangle tr = new Rectangle(); Rectangle ir = new Rectangle(); Rectangle vr = new Rectangle(); Font f = c.getFont(); g.setFont(f); FontMetrics fm = SwingUtilities.getFontMetrics(f); Insets i = ...
public void paint(Graphics g, JComponent c) { AbstractButton b = (AbstractButton) c; Rectangle tr = new Rectangle(); Rectangle ir = new Rectangle(); Rectangle vr = new Rectangle(); Font f = c.getFont(); g.setFont(f); FontMetrics fm = SwingUtilities.getFontMetrics(f); Insets i = ...
26,417
public void paint(Graphics g, JComponent c) { AbstractButton b = (AbstractButton) c; Rectangle tr = new Rectangle(); Rectangle ir = new Rectangle(); Rectangle vr = new Rectangle(); Font f = c.getFont(); g.setFont(f); FontMetrics fm = SwingUtilities.getFontMetrics(f); Insets i = ...
public void paint(Graphics g, JComponent c) { AbstractButton b = (AbstractButton) c; Rectangle tr = new Rectangle(); Rectangle ir = new Rectangle(); Rectangle vr = new Rectangle(); Font f = c.getFont(); g.setFont(f); FontMetrics fm = SwingUtilities.getFontMetrics(f); Insets i = ...
26,418
public PageBox getLastPage(CssContext c, Box box) { return getPage(c, box.getAbsY() + box.getHeight()); }
public PageBox getLastPage(CssContext c, Box box) { return getPage(c, box.getAbsY() + box.getHeight() - 1); }
26,419
public void testDeployDestinationAdministratively() throws Exception { ObjectName serverPeerObjectName = ServerManagement.getServerPeerObjectName(); String config = "<mbean code=\"org.jboss.jms.server.destination.@TOREPLACE@\" " + " name=\"somedomain:service=@TOREPLACE@,name=Kirkwoo...
public void testDeployDestinationAdministratively() throws Exception { ObjectName serverPeerObjectName = ServerManagement.getServerPeerObjectName(); String config = "<mbean code=\"org.jboss.jms.server.destination.@TOREPLACE@\" " + " name=\"somedomain:service=@TOREPLACE@,name=Kirkwoo...
26,420
public void testDeployDestinationProgramatically() throws Exception { ObjectName serverPeerObjectName = ServerManagement.getServerPeerObjectName(); String destinationType = isQueue() ? "Queue" : "Topic"; String createMethod = "create" + destinationType; String destroyMethod = "destroy" + destin...
public void testDeployDestinationProgramatically() throws Exception { ObjectName serverPeerObjectName = ServerManagement.getServerPeerObjectName(); String destinationType = isQueue() ? "Queue" : "Topic"; String createMethod = "create" + destinationType; String destroyMethod = "destroy" + destin...
26,421
public static void assertEquivalent(Node node, Node node2) { if (node == null) { throw new XMLRuntimeException("the first node to be compared is null"); } if (node2 == null) { throw new XMLRuntimeException("the second node to be compared is null"); } if (!node.get...
public static void assertEquivalent(Node node, Node node2) { if (node == null) { throw new XMLRuntimeException("the first node to be compared is null"); } if (node2 == null) { throw new XMLRuntimeException("the second node to be compared is null"); } if (!node.get...
26,422
public static void assertEquivalent(Node node, Node node2) { if (node == null) { throw new XMLRuntimeException("the first node to be compared is null"); } if (node2 == null) { throw new XMLRuntimeException("the second node to be compared is null"); } if (!node.get...
public static void assertEquivalent(Node node, Node node2) { if (node == null) { throw new XMLRuntimeException("the first node to be compared is null"); } if (node2 == null) { throw new XMLRuntimeException("the second node to be compared is null"); } if (!node.get...
26,423
public static void assertEquivalent(Node node, Node node2) { if (node == null) { throw new XMLRuntimeException("the first node to be compared is null"); } if (node2 == null) { throw new XMLRuntimeException("the second node to be compared is null"); } if (!node.get...
public static void assertEquivalent(Node node, Node node2) { if (node == null) { throw new XMLRuntimeException("the first node to be compared is null"); } if (node2 == null) { throw new XMLRuntimeException("the second node to be compared is null"); } if (!node.get...
26,424
public static void assertEquivalent(Node node, Node node2) { if (node == null) { throw new XMLRuntimeException("the first node to be compared is null"); } if (node2 == null) { throw new XMLRuntimeException("the second node to be compared is null"); } if (!node.get...
public static void assertEquivalent(Node node, Node node2) { if (node == null) { throw new XMLRuntimeException("the first node to be compared is null"); } if (node2 == null) { throw new XMLRuntimeException("the second node to be compared is null"); } if (!node.get...
26,425