bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
public void println (String str) { print (str == null ? "null" : str, true); }
public void println () { print (str == null ? "null" : str, true); }
41,669
public void println (String str) { print (str == null ? "null" : str, true); }
public void println (String str) { print(line_separator, 0, line_separator.length, false); }
41,670
public boolean canInitialize(String workflowName, int initialState) throws WorkflowException { return new OfbizWorkflow(getRemoteUser()).canInitialize(workflowName, initialState); }
public boolean canInitialize(String workflowName, int initialState) { return new OfbizWorkflow(getRemoteUser()).canInitialize(workflowName, initialState); }
41,671
public boolean canModifyEntryState(long id, int newState) throws WorkflowException { return new OfbizWorkflow(getRemoteUser()).canModifyEntryState(id, newState); }
public boolean canModifyEntryState(long id, int newState) { return new OfbizWorkflow(getRemoteUser()).canModifyEntryState(id, newState); }
41,672
public int[] getAvailableActions(long id) throws WorkflowException { return new OfbizWorkflow(getRemoteUser()).getAvailableActions(id); }
public int[] getAvailableActions(long id) { return new OfbizWorkflow(getRemoteUser()).getAvailableActions(id); }
41,673
public List getCurrentSteps(long id) throws StoreException, FactoryException { return new OfbizWorkflow(getRemoteUser()).getCurrentSteps(id); }
public List getCurrentSteps(long id) { return new OfbizWorkflow(getRemoteUser()).getCurrentSteps(id); }
41,674
public int getEntryState(long id) throws WorkflowException { return new OfbizWorkflow(getRemoteUser()).getEntryState(id); }
public int getEntryState(long id) { return new OfbizWorkflow(getRemoteUser()).getEntryState(id); }
41,675
public List getHistorySteps(long id) throws StoreException, FactoryException { return new OfbizWorkflow(getRemoteUser()).getHistorySteps(id); }
public List getHistorySteps(long id) { return new OfbizWorkflow(getRemoteUser()).getHistorySteps(id); }
41,676
public PropertySet getPropertySet(long id) throws StoreException, FactoryException { return new OfbizWorkflow(getRemoteUser()).getPropertySet(id); }
public PropertySet getPropertySet(long id) { return new OfbizWorkflow(getRemoteUser()).getPropertySet(id); }
41,677
public List getSecurityPermissions(long id) throws WorkflowException { return new OfbizWorkflow(getRemoteUser()).getSecurityPermissions(id); }
public List getSecurityPermissions(long id) { return new OfbizWorkflow(getRemoteUser()).getSecurityPermissions(id); }
41,678
public WorkflowDescriptor getWorkflowDescriptor(String workflowName) throws FactoryException { return new OfbizWorkflow(getRemoteUser()).getWorkflowDescriptor(workflowName); }
public WorkflowDescriptor getWorkflowDescriptor(String workflowName) { return new OfbizWorkflow(getRemoteUser()).getWorkflowDescriptor(workflowName); }
41,679
public String getWorkflowName(long id) throws StoreException, FactoryException { return new OfbizWorkflow(getRemoteUser()).getWorkflowName(id); }
public String getWorkflowName(long id) { return new OfbizWorkflow(getRemoteUser()).getWorkflowName(id); }
41,680
public String[] getWorkflowNames() throws FactoryException { return new OfbizWorkflow(getRemoteUser()).getWorkflowNames(); }
public String[] getWorkflowNames() { return new OfbizWorkflow(getRemoteUser()).getWorkflowNames(); }
41,681
public boolean canInitialize(String workflowName, int initialStep) throws WorkflowException;
public boolean canInitialize(String workflowName, int initialStep) throws WorkflowException;
41,682
public OfbizWorkflow(String caller) throws FactoryException { super.context = new OfbizWorkflowContext(caller); loadConfig(); }
public OfbizWorkflow(String caller) { super.context = new OfbizWorkflowContext(caller); loadConfig(); }
41,683
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); } }
41,684
public boolean canModifyEntryState(long id, int newState) throws WorkflowException;
public boolean canModifyEntryState(long id, int newState) throws WorkflowException;
41,685
public int[] getAvailableActions(long id) throws WorkflowException;
public int[] getAvailableActions(long id) throws WorkflowException;
41,686
public List getCurrentSteps(long id) throws WorkflowException;
public List getCurrentSteps(long id) throws WorkflowException;
41,687
public int getEntryState(long id) throws WorkflowException;
public int getEntryState(long id) throws WorkflowException;
41,688
public List getHistorySteps(long id) throws WorkflowException;
public List getHistorySteps(long id) throws WorkflowException;
41,689
public PropertySet getPropertySet(long id) throws WorkflowException;
public PropertySet getPropertySet(long id) throws WorkflowException;
41,690
public List getSecurityPermissions(long id) throws WorkflowException;
public List getSecurityPermissions(long id) throws WorkflowException;
41,691
public WorkflowDescriptor getWorkflowDescriptor(String workflowName) throws WorkflowException;
public WorkflowDescriptor getWorkflowDescriptor(String workflowName) throws WorkflowException;
41,692
public String getWorkflowName(long id) throws WorkflowException;
public String getWorkflowName(long id) throws WorkflowException;
41,693
String[] getWorkflowNames() throws FactoryException;
String[] getWorkflowNames() throws FactoryException;
41,694
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}} ...
41,695
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}} ...
41,696
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}} ...
41,697
public Object getResult() { return !failed ? new JobTimings(initTime, testTime) : null; }
public JobResult getResult() { return !failed ? new JobTimings(initTime, testTime) : null; }
41,698
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; }
41,699
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...
41,700
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...
41,701
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...
41,702
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...
41,703
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...
41,704
Object getResult();
Object getResult();
41,706
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 ) { ...
41,707
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 ) { ...
41,708
private AccessController() { }
private AccessController() { }
41,709
public static void checkPermission(Permission perm) throws AccessControlException { VmAccessController.checkPermission(perm); }
public static void checkPermission(Permission perm) throws AccessControlException { VmAccessController.checkPermission(perm); }
41,710
public static Object doPrivileged(PrivilegedAction action) { return VmAccessController.doPrivileged(action, null); }
public static Object doPrivileged(PrivilegedAction action) { return VmAccessController.doPrivileged(action, null); }
41,711
public static AccessControlContext getContext() { return new AccessControlContext(VmAccessController.getContext()); // For now just return an new empty context //return new AccessControlContext(new ProtectionDomain[ 0]); }
public static AccessControlContext getContext() { return new AccessControlContext(VmAccessController.getContext()); // For now just return an new empty context //return new AccessControlContext(new ProtectionDomain[ 0]); }
41,712
public static AccessControlContext getContext() { return new AccessControlContext(VmAccessController.getContext()); // For now just return an new empty context //return new AccessControlContext(new ProtectionDomain[ 0]); }
public static AccessControlContext getContext() { return new AccessControlContext(VmAccessController.getContext()); // For now just return an new empty context //return new AccessControlContext(new ProtectionDomain[ 0]); }
41,713
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...
41,714
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...
41,715
public InitialContextFactory createInitialContextFactory (Hashtable environment) throws NamingException;
public InitialContextFactory createInitialContextFactory (Hashtable environment) throws NamingException;
41,716
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(); ...
41,717
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() { ...
41,718
public static void match( String msg ) { match( Level.INFO, msg ); }
public static void match( String msg ) { match( Level.INFO, msg ); }
41,719
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...
41,720
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...
41,723
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...
41,724
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); }
41,725
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); } }
41,726
public void addAsfMessage(Message m, String receiverID);
public void addAsfMessage(Message m, String receiverID);
41,727
public static void postChildrenLayout(Context c, Box block) { c.getBlockFormattingContext().doFinalAdjustments(); c.popBFC(); }
public static void postChildrenLayout(Context c) { c.getBlockFormattingContext().doFinalAdjustments(); c.popBFC(); }
41,728
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)); ...
41,729
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)); ...
41,730
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)); ...
41,731
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)); ...
41,732
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); }
41,733
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...
41,734
public void tearDown() throws Exception { super.tearDown(); }
publicvoidtearDown()throwsException{super.tearDown();}
41,735
boolean cancel() throws Throwable;
boolean cancel() throws Throwable;
41,736
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); }
41,737
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); }
41,738
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...
41,739
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...
41,740
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...
41,741
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...
41,742
public boolean accept(Routable routable);
public boolean accept(Routable routable);
41,743
public SimpleDelivery(DeliveryObserver observer, MessageReference ref) { this(observer, ref, false); }
public SimpleDelivery() { this(observer, ref, false); }
41,744
public SimpleDelivery(DeliveryObserver observer, MessageReference ref) { this(observer, ref, false); }
public SimpleDelivery(DeliveryObserver observer, MessageReference ref) { this(null, null, false); }
41,745
public InternalWorkflowException(String s, Exception rootCause) { super(s); this.rootCause = rootCause; }
public InternalWorkflowException(String s, Exception rootCause) { super(s); this.rootCause = rootCause; }
41,746
public Exception getRootCause() { return rootCause; }
public Throwable getRootCause() { return rootCause; }
41,747
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...
41,748
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) { ...
41,749
public static void layout( Level level, String msg ) { log( LAYOUT, level, msg ); }
public static void layout( Level level, String msg ) { log( LAYOUT, level, msg ); }
41,750
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); }
41,752
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; }
41,753
public void componentResized(ComponentEvent e) { Uu.p("resized!"); calcLayout(); }
public void componentResized(ComponentEvent e) { calcLayout(); }
41,754
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()); } ...
41,755
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...
41,756
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! }
41,757
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...
41,759
public void setupGraphics( Graphics2D graphics );
public void setupGraphics( Graphics2D graphics );
41,760
public JViewport getViewport() { return viewport; }
public JViewport getViewport() { return viewport; }
41,761
void setString(int parameterIndex, String x) throws SQLException;
void setString(int parameterIndex, String x) throws SQLException;
41,763
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;
41,764
public AbstractListModel () { }
public AbstractListModel() { }
41,765
public void addListDataListener(ListDataListener listener) { listenerList.add (ListDataListener.class, listener); }
public void addListDataListener(ListDataListener listener) { listenerList.add (ListDataListener.class, listener); }
41,767
public void addListDataListener(ListDataListener listener) { listenerList.add (ListDataListener.class, listener); }
public void addListDataListener(ListDataListener listener) { listenerList.add(ListDataListener.class, listener); }
41,768
protected void fireContentsChanged(Object source, int startIndex, int endIndex) { // Variables ListDataEvent event; ListDataListener[] listeners; ListDataListener listener; int index; // Create Event event = new ListDataEvent(source, ListDataEvent.CONTENTS_CHANGED, startIndex, endIndex); /...
protected void fireContentsChanged(Object source, int startIndex, int endIndex) { // Variables ListDataEvent event; ListDataListener[] listeners; ListDataListener listener; int index; // Create Event event = new ListDataEvent(source, ListDataEvent.CONTENTS_CHANGED, startIndex, endIndex); /...
41,769
protected void fireContentsChanged(Object source, int startIndex, int endIndex) { // Variables ListDataEvent event; ListDataListener[] listeners; ListDataListener listener; int index; // Create Event event = new ListDataEvent(source, ListDataEvent.CONTENTS_CHANGED, startIndex, endIndex); /...
protected void fireContentsChanged(Object source, int startIndex, int endIndex) { // Variables ListDataEvent event; ListDataListener[] listeners; ListDataListener listener; int index; // Create Event event = new ListDataEvent(source, ListDataEvent.CONTENTS_CHANGED, startIndex, endIndex); /...
41,770
protected void fireContentsChanged(Object source, int startIndex, int endIndex) { // Variables ListDataEvent event; ListDataListener[] listeners; ListDataListener listener; int index; // Create Event event = new ListDataEvent(source, ListDataEvent.CONTENTS_CHANGED, startIndex, endIndex); /...
protected void fireContentsChanged(Object source, int startIndex, int endIndex) { // Variables ListDataEvent event; ListDataListener[] listeners; ListDataListener listener; int index; // Create Event event = new ListDataEvent(source, ListDataEvent.CONTENTS_CHANGED, startIndex, endIndex); /...
41,771
protected void fireIntervalAdded (Object source, int startIndex, int endIndex) { // Variables ListDataEvent event; ListDataListener[] listeners; ListDataListener listener; int index; // Create Event event = new ListDataEvent (source, ListDataEvent.INTERVAL_ADDED, startIndex, ...
protected void fireIntervalAdded(Object source, int startIndex, int endIndex) { // Variables ListDataEvent event; ListDataListener[] listeners; ListDataListener listener; int index; // Create Event event = new ListDataEvent (source, ListDataEvent.INTERVAL_ADDED, startIndex, ...
41,772
protected void fireIntervalAdded (Object source, int startIndex, int endIndex) { // Variables ListDataEvent event; ListDataListener[] listeners; ListDataListener listener; int index; // Create Event event = new ListDataEvent (source, ListDataEvent.INTERVAL_ADDED, startIndex, ...
protected void fireIntervalAdded (Object source, int startIndex, int endIndex) { // Variables ListDataEvent event; ListDataListener[] listeners; ListDataListener listener; int index; // Create Event event = new ListDataEvent (source, ListDataEvent.INTERVAL_ADDED, startIndex, ...
41,773
protected void fireIntervalAdded (Object source, int startIndex, int endIndex) { // Variables ListDataEvent event; ListDataListener[] listeners; ListDataListener listener; int index; // Create Event event = new ListDataEvent (source, ListDataEvent.INTERVAL_ADDED, startIndex, ...
protected void fireIntervalAdded (Object source, int startIndex, int endIndex) { // Variables ListDataEvent event; ListDataListener[] listeners; ListDataListener listener; int index; // Create Event event = new ListDataEvent (source, ListDataEvent.INTERVAL_ADDED, startIndex, ...
41,774
protected void fireIntervalAdded (Object source, int startIndex, int endIndex) { // Variables ListDataEvent event; ListDataListener[] listeners; ListDataListener listener; int index; // Create Event event = new ListDataEvent (source, ListDataEvent.INTERVAL_ADDED, startIndex, ...
protected void fireIntervalAdded (Object source, int startIndex, int endIndex) { // Variables ListDataEvent event; ListDataListener[] listeners; ListDataListener listener; int index; // Create Event event = new ListDataEvent (source, ListDataEvent.INTERVAL_ADDED, startIndex, ...
41,775