bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
protected void paintPort(Graphics g) { // If Current Port is Valid if(port != null) { // If Not Floating Port... boolean isFloating = (GraphConstants.getOffset(port.getAttributes()) != null); // ...Then use Parent's Bounds Rectangle2D r = isFloating ? port.getBounds() : port.getParentVie...
protected void paintPort(Graphics g) { // If Current Port is Valid if(port != null) { // If Not Floating Port... boolean isFloating = (GraphConstants.getOffset(port.getAttributes()) != null); // ...Then use Parent's Bounds Rectangle2D r = port.getBounds(); // Scale from Model to Sc...
57,648
protected Message createMessage(int i) throws Exception { Map coreHeaders = generateFilledMap(true); Map jmsProperties = generateFilledMap(false); JBossStreamMessage m = new JBossStreamMessage(new GUID().toString(), true, System.currentTim...
protected Message createMessage(byte i) throws Exception { Map coreHeaders = generateFilledMap(true); Map jmsProperties = generateFilledMap(false); JBossStreamMessage m = new JBossStreamMessage(new GUID().toString(), true, System.currentTi...
57,649
protected Message createMessage(int i) throws Exception { Map coreHeaders = generateFilledMap(true); Map jmsProperties = generateFilledMap(false); JBossStreamMessage m = new JBossStreamMessage(new GUID().toString(), true, System.currentTim...
protected Message createMessage(int i) throws Exception { Map coreHeaders = generateFilledMap(true); Map jmsProperties = generateFilledMap(false); JBossStreamMessage m = new JBossStreamMessage(randInt().intValue(), true, System.currentTime...
57,650
public void goBack() throws Exception { root.history.goPrevious(); view.setDocument(root.history.getCurrentDocument(), url.toString()); updateButtons(); }
public void goBack() throws Exception { root.history.goPrevious(); view.setDocument(root.history.getCurrentDocument(), url.toString()); updateButtons(); }
57,651
public void goForward() { root.history.goNext(); view.setDocument(root.history.getCurrentDocument(), url.toString()); updateButtons(); }
public void goForward() { root.history.goNext(); view.setDocument(root.history.getCurrentDocument(), url.toString()); updateButtons(); }
57,652
public void loadPage(String url_text) throws Exception { try { logger.info("Loading Page: " + url_text); view.setDocument(url_text); view.addDocumentListener(this); //root.history.goNewDocument(doc, ref); updateButtons(); setStatus(...
public void loadPage(String url_text) throws Exception { try { logger.info("Loading Page: " + url_text); view.setDocument(url_text); view.addDocumentListener(this); //root.history.goNewDocument(doc, ref); updateButtons(); setStatus(...
57,653
public void loadPage(String url_text) throws Exception { try { logger.info("Loading Page: " + url_text); view.setDocument(url_text); view.addDocumentListener(this); //root.history.goNewDocument(doc, ref); updateButtons(); setStatus(...
publicvoidloadPage(Stringurl_text)throwsException{try{logger.info("LoadingPage:"+url_text);view.setDocument(url_text);view.addDocumentListener(this);//root.history.goNewDocument(doc,ref);updateButtons();setStatus("Successfullyloaded:"+url_text);if(listener!=null){listener.pageLoadSuccess(url_text,view.getDocumentTitle(...
57,654
protected void updateButtons() { if (root.history.hasPrevious()) { root.actions.backward.setEnabled(true); } else { root.actions.backward.setEnabled(false); } if (root.history.hasNext()) { root.actions.forward.setEnabled(true); } else { ...
protected void updateButtons() { if (manager.hasBack()) { root.actions.backward.setEnabled(true); } else { root.actions.backward.setEnabled(false); } if (root.history.hasNext()) { root.actions.forward.setEnabled(true); } else { root.acti...
57,655
protected void updateButtons() { if (root.history.hasPrevious()) { root.actions.backward.setEnabled(true); } else { root.actions.backward.setEnabled(false); } if (root.history.hasNext()) { root.actions.forward.setEnabled(true); } else { ...
protected void updateButtons() { if (root.history.hasPrevious()) { root.actions.backward.setEnabled(true); } else { root.actions.backward.setEnabled(false); } if (manager.hasForward()) { root.actions.forward.setEnabled(true); } else { ro...
57,656
public void paintBorder(RenderingContext c, int additionalClearance) { c.getOutputDevice().paintBorder(c, getStyle().getCalculatedStyle(), getBorderEdge(additionalClearance, getPaintingTop(), c), BorderPainter.ALL); }
public void paintBorder(RenderingContext c, int additionalClearance, short mode) { int top = 0; if (mode == Layer.PAGED_MODE_SCREEN) { top = getPaintingTop(); } c.getOutputDevice().paintBorder(c, getStyle().getCalculatedStyle(), getBorderEdge(additionalClearance, getPaintingTop...
57,658
public void paintBorder(RenderingContext c, int additionalClearance) { c.getOutputDevice().paintBorder(c, getStyle().getCalculatedStyle(), getBorderEdge(additionalClearance, getPaintingTop(), c), BorderPainter.ALL); }
public void paintBorder(RenderingContext c, int additionalClearance) { c.getOutputDevice().paintBorder(c, getStyle().getCalculatedStyle(), getBorderEdge(additionalClearance, top, c), BorderPainter.ALL); }
57,659
public Box layoutChildren( Context c, Box box ) { //u.p("starting to lay out the children"); if ( LayoutUtil.isHiddenNode( box.getElement(), c ) ) { return box; } if ( !box.isAnonymous() ) { if ( LayoutUtil.isBlockLayout( box.getElement(), c ) ) { // ...
public Box layoutChildren( Context c, Box box ) { //u.p("starting to lay out the children"); if ( LayoutUtil.isHiddenNode( box.getElement(), c ) ) { return box; } if ( !box.isAnonymous() ) { if ( LayoutUtil.isBlockLayout( box.getElement(), c ) ) { // ...
57,661
public java.util.Map getDerivedPropertiesMap(Element e);
public java.util.Map getDerivedPropertiesMap(Element e);
57,662
public CalculatedStyle getDerivedStyle(CalculatedStyle parent, CascadedStyle matched);
public CalculatedStyle getDerivedStyle(CalculatedStyle parent, CascadedStyle matched);
57,663
public CascadedStyle getPseudoElementStyle(Node node, String pseudoElement);
public CascadedStyle getPseudoElementStyle(Node node, String pseudoElement);
57,664
public void setDocumentContext(Context context, NamespaceHandler nsh, AttributeResolver ar, Document doc);
public void setDocumentContext(Context context, NamespaceHandler nsh, AttributeResolver ar, Document doc);
57,665
public boolean wasHoverRestyled(Element e);
public boolean wasHoverRestyled(Element e);
57,666
public static void main( String[] args ) throws Exception { // load doc String fileURL = Configuration.valueFor("xr.test.files.hamlet"); InputStream is = GeneralUtil.openStreamFromClasspath(fileURL); if ( is == null ) { System.err.println("Can't find test file on CLASSP...
public static void main( String[] args ) throws Exception { // load doc String fileURL = Configuration.valueFor("xr.test.files.hamlet"); InputStream is = GeneralUtil.openStreamFromClasspath(fileURL); if ( is == null ) { System.err.println("Can't find test file on CLASSP...
57,667
public static void main( String[] args ) throws Exception { // load doc String fileURL = Configuration.valueFor("xr.test.files.hamlet"); InputStream is = GeneralUtil.openStreamFromClasspath(fileURL); if ( is == null ) { System.err.println("Can't find test file on CLASSP...
public static void main( String[] args ) throws Exception { // load doc String fileURL = Configuration.valueFor("xr.test.files.hamlet"); InputStream is = GeneralUtil.openStreamFromClasspath(fileURL); if ( is == null ) { System.err.println( "Can't find test file on CLASS...
57,668
public static void main( String[] args ) throws Exception { // load doc String fileURL = Configuration.valueFor("xr.test.files.hamlet"); InputStream is = GeneralUtil.openStreamFromClasspath(fileURL); if ( is == null ) { System.err.println("Can't find test file on CLASSP...
publicstaticvoidmain(String[]args)throwsException{//loaddocStringfileURL=Configuration.valueFor("xr.test.files.hamlet");InputStreamis=GeneralUtil.openStreamFromClasspath(fileURL);if(is==null){System.err.println("Can'tfindtestfileonCLASSPATH:"+fileURL);return;}Documentdoc=x.loadDocument(is);Elementhtml=(Element)doc.getD...
57,669
public static void main( String[] args ) throws Exception { // load doc String fileURL = Configuration.valueFor("xr.test.files.hamlet"); InputStream is = GeneralUtil.openStreamFromClasspath(fileURL); if ( is == null ) { System.err.println("Can't find test file on CLASSP...
public static void main( String[] args ) throws Exception { // load doc String fileURL = Configuration.valueFor("xr.test.files.hamlet"); InputStream is = GeneralUtil.openStreamFromClasspath(fileURL); if ( is == null ) { System.err.println("Can't find test file on CLASSP...
57,670
public static void main( String[] args ) throws Exception { // load doc String fileURL = Configuration.valueFor("xr.test.files.hamlet"); InputStream is = GeneralUtil.openStreamFromClasspath(fileURL); if ( is == null ) { System.err.println("Can't find test file on CLASSP...
public static void main( String[] args ) throws Exception { // load doc String fileURL = Configuration.valueFor("xr.test.files.hamlet"); InputStream is = GeneralUtil.openStreamFromClasspath(fileURL); if ( is == null ) { System.err.println("Can't find test file on CLASSP...
57,671
public static void runLoopTest( Context c, Graphics g, Element html ) throws Exception { Element body = x.child( html, "body" ); Point origin = new Point( 0, 0 ); Point last = new Point( 0, 0 ); Object marker = new DefaultCSSMarker(); //InputStream stream = marker.getClass(...
public static void runLoopTest( Context c, Graphics g, Element html )throws Exception {Element body = x.child( html, "body" );Point origin = new Point( 0, 0 );Point last = new Point( 0, 0 );Object marker = new DefaultCSSMarker();//InputStream stream = marker.getClass().getResourceAsStream( "default.css" );String defaul...
57,672
public static void runLoopTest( Context c, Graphics g, Element html ) throws Exception { Element body = x.child( html, "body" ); Point origin = new Point( 0, 0 ); Point last = new Point( 0, 0 ); Object marker = new DefaultCSSMarker(); //InputStream stream = marker.getClass(...
public static void runLoopTest( Context c, Graphics g, Element html ) throws Exception { Element body = x.child( html, "body" ); Point origin = new Point( 0, 0 ); Point last = new Point( 0, 0 ); Object marker = new DefaultCSSMarker(); //InputStream stream = marker.getClass(...
57,673
public static void runLoopTest( Context c, Graphics g, Element html ) throws Exception { Element body = x.child( html, "body" ); Point origin = new Point( 0, 0 ); Point last = new Point( 0, 0 ); Object marker = new DefaultCSSMarker(); //InputStream stream = marker.getClass(...
public static void runLoopTest( Context c, Graphics g, Element html ) throws Exception { Element body = x.child( html, "body" ); Point origin = new Point( 0, 0 ); Point last = new Point( 0, 0 ); Object marker = new DefaultCSSMarker(); //InputStream stream = marker.getClass(...
57,674
public static void runLoopTest( Context c, Graphics g, Element html ) throws Exception { Element body = x.child( html, "body" ); Point origin = new Point( 0, 0 ); Point last = new Point( 0, 0 ); Object marker = new DefaultCSSMarker(); //InputStream stream = marker.getClass(...
publicstaticvoidrunLoopTest(Contextc,Graphicsg,Elementhtml)throwsException{Elementbody=x.child(html,"body");Pointorigin=newPoint(0,0);Pointlast=newPoint(0,0);Objectmarker=newDefaultCSSMarker();//InputStreamstream=marker.getClass().getResourceAsStream("default.css");StringdefaultStyleSheetLocation=Configuration.valueFor...
57,675
public VmPrimitiveClass(String name, VmNormalClass superClass, VmClassLoader loader, int typeSize, boolean floatingPoint, ProtectionDomain protectionDomain) { super(name, superClass, loader, typeSize, protectionDomain); this.floatingPoint = floatingPoint; this.wide = (typeSize == 8);...
public VmPrimitiveClass(String name, VmNormalClass superClass, VmClassLoader loader, int jvmType, int typeSize, boolean floatingPoint, ProtectionDomain protectionDomain) { super(name, superClass, loader, typeSize, protectionDomain); this.floatingPoint = floatingPoint; this.wide = (ty...
57,676
public void tearDown() throws Exception { connection.close(); ServerManagement.deInit(); super.tearDown(); }
public void tearDown() throws Exception { connection.close(); super.tearDown(); }
57,679
protected View getViewAtPoint(int x, int y, Rectangle r) { View result = null; int count = getViewCount(); Rectangle copy = new Rectangle(r); for (int i = 0; i < count; ++i) { copy.setBounds(r); childAllocation(i, r); if (copy.contains(x, y)) { result = getVi...
protected View getViewAtPoint(int x, int y, Rectangle r) { View result = null; int count = getViewCount(); Rectangle copy = new Rectangle(r); for (int i = 0; i < count; ++i) { copy.setBounds(r); childAllocation(i, copy); if (copy.contains(x, y)) { result = g...
57,680
public SessionDelegate createSessionDelegate(boolean transacted, int acknowledgmentMode, boolean isXA) throws JMSException { try { closeLock.readLock().acquire(); } catch (InterruptedExcep...
public SessionDelegate createSessionDelegate(boolean transacted, int acknowledgmentMode, boolean isXA) throws JMSException { try { closeLock.readLock().acquire(); } catch (InterruptedExcep...
57,682
public SessionDelegate createSessionDelegate(boolean transacted, int acknowledgmentMode, boolean isXA) throws JMSException { try { closeLock.readLock().acquire(); } catch (InterruptedExcep...
public SessionDelegate createSessionDelegate(boolean transacted, int acknowledgmentMode, boolean isXA) throws JMSException { try { closeLock.readLock().acquire(); } catch (InterruptedExcep...
57,683
public void sendTransaction(TransactionRequest request) throws JMSException { try { closeLock.readLock().acquire(); } catch (InterruptedException e) { //Ignore } try { if (closed) { throw new IllegalStateException("Connection is clo...
public void sendTransaction(TransactionRequest request) throws JMSException { try { closeLock.readLock().acquire(); } catch (InterruptedException e) { //Ignore } try { if (closed) { throw new IllegalStateException("Connection is clo...
57,684
public void sendTransaction(TransactionRequest request) throws JMSException { try { closeLock.readLock().acquire(); } catch (InterruptedException e) { //Ignore } try { if (closed) { throw new IllegalStateException("Connection is clo...
public void sendTransaction(TransactionRequest request) throws JMSException { try { closeLock.readLock().acquire(); } catch (InterruptedException e) { //Ignore } try { if (closed) { throw new IllegalStateException("Connection is clo...
57,685
public Object handleRun(Invocation invocation) throws Throwable { if (trace) { log.trace("run()"); } MethodInvocation mi = (MethodInvocation)invocation; SessionDelegate del = (SessionDelegate)mi.getTargetObject(); int ackMode = getSessionState(invocation).getAcknowledgeM...
public Object handleRun(Invocation invocation) throws Throwable { if (trace) { log.trace("run()"); } MethodInvocation mi = (MethodInvocation)invocation; SessionDelegate del = (SessionDelegate)mi.getTargetObject(); int ackMode = getSessionState(invocation).getAcknowledgeM...
57,687
public Object handleCreateConnectionDelegate(Invocation invocation) throws Throwable { MethodInvocation mi = (MethodInvocation)invocation; //First we inject the callback client for the connection ServerInvokerCallbackHandler handler = (ServerInvokerCallbackHandler)mi.getM...
public Object handleCreateConnectionDelegate(Invocation invocation) throws Throwable { MethodInvocation mi = (MethodInvocation)invocation; //First we inject the callback client for the connection ServerInvokerCallbackHandler handler = (ServerInvokerCallbackHandler)mi.getM...
57,688
public ClientConsumerDelegate(String objectID) { super(objectID); }
public ClientConsumerDelegate(int objectID) { super(objectID); }
57,689
public Message getMessageNow() throws JMSException { throw new IllegalStateException("This invocation should not be handled here!"); }
public Message getMessageNow(boolean wait) throws JMSException { throw new IllegalStateException("This invocation should not be handled here!"); }
57,690
public void init() { super.init(); getMetaData().addMetaData(MetaDataConstants.JMS, MetaDataConstants.CONSUMER_ID, id, PayloadKey.TRANSIENT); }
public void init() { super.init(); getMetaData().addMetaData(MetaDataConstants.JMS, MetaDataConstants.CONSUMER_ID, Integer.valueOf(id), PayloadKey.TRANSIENT); }
57,691
public String toString() { return "ConsumerDelegate[" + Util.guidToString(id) + "]"; }
public String toString() { return "ConsumerDelegate[" + id + "]"; }
57,692
void paint(Context c, LineBox line, int start, int width, int sides) { if (width <= 0) return; int ty = line.getBaseline() - y - height - margin.top - border.top - padding.top + line.y; ty += (int) lm.getDescent(); c.translate(0, ty); Rectangle bounds = new Rectangle(start, ...
void paint(Context c, LineBox line, int start, int width, int sides) { if (width <= 0) return; int ty = line.getBaseline() - y - height - margin.top - border.top - padding.top + line.y; ty += (int) lm.getDescent(); c.translate(0, ty); Rectangle bounds = new Rectangle(start, ...
57,693
public static Font getElementFont(Context c, Element el) { // TODO: need to discuss what sort of caching should be going on here, because relative // datatypes like EM and EX depend in part on the 'current' font for an element (PWW 14/08/04) //u.p("testing node: " + e); Font f = c.getGraphics().getFont...
public static Font getElementFont(Context c, Element el) { // TODO: need to discuss what sort of caching should be going on here, because relative // datatypes like EM and EX depend in part on the 'current' font for an element (PWW 14/08/04) //u.p("testing node: " + e); Font f = c.getGraphics().getFont...
57,696
public static Font getElementFont(Context c, Element el) { // TODO: need to discuss what sort of caching should be going on here, because relative // datatypes like EM and EX depend in part on the 'current' font for an element (PWW 14/08/04) //u.p("testing node: " + e); Font f = c.getGraphics().getFont...
public static Font getElementFont(Context c, Element el) { // TODO: need to discuss what sort of caching should be going on here, because relative // datatypes like EM and EX depend in part on the 'current' font for an element (PWW 14/08/04) //u.p("testing node: " + e); Font f = c.getGraphics().getFont...
57,697
private static void initializeLayouts() { System.out.println( "initalizing layouts" ); InlineLayout inline = new InlineLayout(); addCustomLayout( "div", inline ); addCustomLayout( "p", inline ); addCustomLayout( "span", inline ); addCustomLayout( "u", inline ); addCu...
private static void initializeLayouts() { InlineLayout inline = new InlineLayout(); addCustomLayout( "div", inline ); addCustomLayout( "p", inline ); addCustomLayout( "span", inline ); addCustomLayout( "u", inline ); addCustomLayout( "pre", inline ); addCusto...
57,698
public void setDownCacheSize(int downCacheSize) { if (started) { log.warn("DownCacheSize can only be changed when destination is stopped"); return; } if (validateParameters(this.fullSize, this.pageSize, downCacheSize)) this.downCacheSize = downCacheSize; }
public void setDownCacheSize(int downCacheSize) { if (started) { log.warn("DownCacheSize can only be changed when destination is stopped"); return; } if (validateParameters(this.fullSize, this.pageSize, downCacheSize)) this.downCacheSize = downCacheSize; }
57,699
public void setFullSize(int fullSize) { if (started) { log.warn("FullSize can only be changed when destination is stopped"); return; } if (validateParameters(fullSize, this.pageSize, this.downCacheSize)) { this.fullSize = fullSize; } }
public void setFullSize(int fullSize) { if (started) { log.warn("FullSize can only be changed when destination is stopped"); return; } if (validateParameters(fullSize, this.pageSize, this.downCacheSize)) { this.fullSize = fullSize; } }
57,700
public void setPageSize(int pageSize) { if (started) { log.warn("PageSize can only be changed when destination is stopped"); return; } if (validateParameters(this.fullSize, pageSize, this.downCacheSize)) { this.pageSize = pageSize; } }
public void setPageSize(int pageSize) { if (started) { log.warn("PageSize can only be changed when destination is stopped"); return; } if (validateParameters(this.fullSize, pageSize, this.downCacheSize)) { this.pageSize = pageSize; } }
57,701
public int getLeftFloatDistance() { return c.getBlockFormattingContext().getLeftFloatDistance(c, current, maxAvailableWidth); }
public int getLeftFloatDistance() { return c.getBlockFormattingContext().getLeftFloatDistance(c, current, maxAvailableWidth); }
57,702
public int getRightFloatDistance() { return c.getBlockFormattingContext().getRightFloatDistance(c, current, maxAvailableWidth); }
public int getRightFloatDistance() { return c.getBlockFormattingContext().getRightFloatDistance(c, current, maxAvailableWidth); }
57,703
private static int positionHorizontally(LayoutContext c, Box current, int start) { int x = start; InlineBox currentIB = null; if (current instanceof InlineBox) { currentIB = (InlineBox) currentIB; x += currentIB.getLeftMarginBorderPadding(c); } for (int i = 0...
public static int positionHorizontally(CssContext c, Box current, int start) { int x = start; InlineBox currentIB = null; if (current instanceof InlineBox) { currentIB = (InlineBox) currentIB; x += currentIB.getLeftMarginBorderPadding(c); } for (int i = 0; i ...
57,705
private static void saveLine(final LineBox current, LineBox previous, final LayoutContext c, Box block, int minHeight, final int maxAvailableWidth, List elementStack, List pendingFloats, boolean hasFirstLinePCs, ...
private static void saveLine(final LineBox current, LineBox previous, final LayoutContext c, Box block, int minHeight, final int maxAvailableWidth, List elementStack, List pendingFloats, boolean hasFirstLinePCs, ...
57,706
private static void saveLine(final LineBox current, LineBox previous, final LayoutContext c, Box block, int minHeight, final int maxAvailableWidth, List elementStack, List pendingFloats, boolean hasFirstLinePCs, ...
private static void saveLine(final LineBox current, LineBox previous, final LayoutContext c, Box block, int minHeight, final int maxAvailableWidth, List elementStack, List pendingFloats, boolean hasFirstLinePCs, ...
57,707
private static void saveLine(final LineBox current, LineBox previous, final LayoutContext c, Box block, int minHeight, final int maxAvailableWidth, List elementStack, List pendingFloats, boolean hasFirstLinePCs, ...
privatestaticvoidsaveLine(finalLineBoxcurrent,LineBoxprevious,finalLayoutContextc,Boxblock,intminHeight,finalintmaxAvailableWidth,ListelementStack,ListpendingFloats,booleanhasFirstLinePCs,ListpendingInlineLayers,MarkerDatamarkerData,intcontentStart){current.prunePendingInlineBoxes();inttotalLineWidth=positionHorizontal...
57,708
protected void setUp() throws Exception { rs = (MessageSupport)MessageFactory.createJBossMessage(0, false, 0, 0, (byte)4, null, null, JBossMessage.TYPE, null, null, null, null, null, null); super...
protected void setUp() throws Exception { rs = (MessageSupport)MessageFactory.createJBossMessage(0, false, 0, 0, (byte)4, null, null, 0, JBossMessage.TYPE, null, null, null, null, null, null); su...
57,709
protected ActivationSystemTransient() { }
protected ActivationSystemTransient(BidiTable objectDescriptions, BidiTable groupDescriptiopns) { }
57,710
public void shutdown() throws RemoteException { // Nothing to do. }
descriptions.shutdown(); groupDescs.shutdown(); descriptions.shutdown(); groupDescs.shutdown(); publicdescriptions.shutdown(); groupDescs.shutdown(); voiddescriptions.shutdown(); groupDescs.shutdown(); shutdown()descriptions.shutdown(); groupDescs.shutdown(); throwsdescriptions.shutdown(); groupDescs.shutdown(); Remote...
57,712
public DefaultTreeCellRenderer() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); setLeafIcon(getDefaultLeafIcon()); setOpenIcon(getDefaultOpenIcon()); setClosedIcon(getDefaultClosedIcon()); setTextNonSelectionColor(defaults.getColor("Tree.textForegro...
public DefaultTreeCellRenderer() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); setLeafIcon(getDefaultLeafIcon()); setOpenIcon(getDefaultOpenIcon()); setClosedIcon(getDefaultClosedIcon()); setTextNonSelectionColor(defaults.getColor("Tree.textForegro...
57,713
protected void firePropertyChange(String value0, Object value1, Object value2) { // Overridden for performance reasons. } // firePropertyChange()
protected void firePropertyChange(String value0, Object value1, Object value2) { // Overridden for performance reasons. } // firePropertyChange()
57,714
public Dimension getPreferredSize() { return null; // TODO } // getPreferredSize()
public Dimension getPreferredSize() { Rectangle vr = new Rectangle(); Rectangle ir = new Rectangle(); Rectangle tr = new Rectangle(); FontMetrics fm = getToolkit().getFontMetrics(getFont()); SwingUtilities.layoutCompoundLabel(((JLabel) this), fm, getText(), getIcon(), getVerticalAlignment(), getHorizontalAlignment()...
57,715
public Component getTreeCellRendererComponent(JTree tree, Object val, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus) { if (leaf) setIcon(getLeafIcon()); else if (expanded) setIcon(getOpenIcon()); else setIcon(getClosedIcon()); setText(val.toString()); this.selected ...
public Component getTreeCellRendererComponent(JTree tree, Object val, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus) { if (leaf) setIcon(getLeafIcon()); else if (expanded) setIcon(getOpenIcon()); else setIcon(getClosedIcon()); setText(val.toString()); this.selected ...
57,716
public Component getTreeCellRendererComponent(JTree tree, Object val, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus) { if (leaf) setIcon(getLeafIcon()); else if (expanded) setIcon(getOpenIcon()); else setIcon(getClosedIcon()); setText(val.toString()); this.selected ...
public Component getTreeCellRendererComponent(JTree tree, Object val, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus) { if (leaf) setIcon(getLeafIcon()); else if (expanded) setIcon(getOpenIcon()); else setIcon(getClosedIcon()); setText(val.toString()); this.selected ...
57,717
public Component getTreeCellRendererComponent(JTree tree, Object val, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus) { if (leaf) setIcon(getLeafIcon()); else if (expanded) setIcon(getOpenIcon()); else setIcon(getClosedIcon()); setText(val.toString()); this.selected ...
public Component getTreeCellRendererComponent(JTree tree, Object val, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus) { if (leaf) setIcon(getLeafIcon()); else if (expanded) setIcon(getOpenIcon()); else setIcon(getClosedIcon()); setText(val.toString()); this.selected ...
57,718
public Graphics getGraphics() { if (peer != null) { Graphics gfx = peer.getGraphics(); if (gfx != null) return gfx; // create graphics for lightweight: Container parent = getParent(); if (parent != null) { gfx = parent.getGraphics(); Rectangle bounds = getBounds(); gfx.set...
public Graphics getGraphics() { if (peer != null) { Graphics gfx = peer.getGraphics(); if (gfx != null) return gfx; // create graphics for lightweight: Container parent = getParent(); if (parent != null) { gfx = parent.getGraphics(); Rectangle bounds = getBounds(); gfx.set...
57,720
public void reshape(int x, int y, int width, int height) { int oldx = this.x; int oldy = this.y; int oldwidth = this.width; int oldheight = this.height; if (this.x == x && this.y == y && this.width == width && this.height == height) return; invalidate (); this.x = x; this.y = y; ...
public void reshape(int x, int y, int width, int height) { int oldx = this.x; int oldy = this.y; int oldwidth = this.width; int oldheight = this.height; if (this.x == x && this.y == y && this.width == width && this.height == height) return; invalidate (); this.x = x; this.y = y; ...
57,722
public int getType() { return JBossStreamMessage.TYPE; }
public byte getType() { return JBossStreamMessage.TYPE; }
57,723
public void parse(InputSource inputSource) throws IOException, SAXException { contentHandler.startDocument(); contentHandler.startElement("http://www.w3.org/1999/xhtml", "body", "body", new AttributesImpl()); contentHandler.startElement("http://www.w3.org/1999/xhtml", "pre", "pre", new Attribut...
public void parse(InputSource inputSource) throws IOException, SAXException { contentHandler.startDocument(); contentHandler.startElement("http://www.w3.org/1999/xhtml", "body", "body", new AttributesImpl()); contentHandler.startElement("http://www.w3.org/1999/xhtml", "pre", "pre", new Attribut...
57,724
public void parse(InputSource inputSource) throws IOException, SAXException { contentHandler.startDocument(); contentHandler.startElement("http://www.w3.org/1999/xhtml", "body", "body", new AttributesImpl()); contentHandler.startElement("http://www.w3.org/1999/xhtml", "pre", "pre", new Attribut...
public void parse(InputSource inputSource) throws IOException, SAXException { contentHandler.startDocument(); contentHandler.startElement("http://www.w3.org/1999/xhtml", "body", "body", new AttributesImpl()); contentHandler.startElement("http://www.w3.org/1999/xhtml", "pre", "pre", new Attribut...
57,725
private void expandBackgroundPosition(CSSStyleRule rule) { CSSStyleDeclaration dec = rule.getStyle(); CSSValue val = dec.getPropertyCSSValue("background-position"); String prio = dec.getPropertyPriority("background-position"); if(val.getCssValueType() == val.CSS_VALUE_LIST) { ...
private void expandBackgroundPosition(CSSStyleRule rule) { CSSStyleDeclaration dec = rule.getStyle(); CSSValue val = dec.getPropertyCSSValue("background-position"); String prio = dec.getPropertyPriority("background-position"); if(val.getCssValueType() == val.CSS_VALUE_LIST) { ...
57,726
private void expandBorder(CSSStyleRule rule) { CSSStyleDeclaration dec = rule.getStyle(); CSSValue val = dec.getPropertyCSSValue("border"); String prio = dec.getPropertyPriority("border"); CSSValueList list = (CSSValueList)val; CSSValue a, b, c; if(val.getCssValueType() == ...
private void expandBorder(CSSStyleRule rule) { CSSStyleDeclaration dec = rule.getStyle(); CSSValue val = dec.getPropertyCSSValue("border"); String prio = dec.getPropertyPriority("border"); CSSValueList list = (CSSValueList)val; CSSValue a, b, c; if(val.getCssValueType() == ...
57,728
private void expandBorder(CSSStyleRule rule) { CSSStyleDeclaration dec = rule.getStyle(); CSSValue val = dec.getPropertyCSSValue("border"); String prio = dec.getPropertyPriority("border"); CSSValueList list = (CSSValueList)val; CSSValue a, b, c; if(val.getCssValueType() == ...
private void expandBorder(CSSStyleRule rule) { CSSStyleDeclaration dec = rule.getStyle(); CSSValue val = dec.getPropertyCSSValue("border"); String prio = dec.getPropertyPriority("border"); CSSValueList list = (CSSValueList)val; CSSValue a, b, c; if(val.getCssValueType() == ...
57,729
private void expandProperty(String prop, CSSStyleRule rule) { if( prop.equals("color") || prop.equals("background-color") || prop.equals("border-color")) { String value = rule.getStyle().getPropertyValue(prop); rule.getStyle().setProperty(prop,getColorHex(...
private void expandProperty(String prop, CSSStyleRule rule) { if( prop.equals("color") || prop.equals("background-color") || prop.equals("border-color")) { String value = rule.getStyle().getPropertyValue(prop); rule.getStyle().setProperty(prop,getColorHex(...
57,731
private void expandProperty(String prop, CSSStyleRule rule) { if( prop.equals("color") || prop.equals("background-color") || prop.equals("border-color")) { String value = rule.getStyle().getPropertyValue(prop); rule.getStyle().setProperty(prop,getColorHex(...
private void expandProperty(String prop, CSSStyleRule rule) { if( prop.equals("color") || prop.equals("background-color") || prop.equals("border-color")) { String value = rule.getStyle().getPropertyValue(prop); rule.getStyle().setProperty(prop,getColorHex(...
57,732
private void expandProperty(String prop, CSSStyleRule rule) { if( prop.equals("color") || prop.equals("background-color") || prop.equals("border-color")) { String value = rule.getStyle().getPropertyValue(prop); rule.getStyle().setProperty(prop,getColorHex(...
private void expandProperty(String prop, CSSStyleRule rule) { if( prop.equals("color") || prop.equals("background-color") || prop.equals("border-color")) { String value = rule.getStyle().getPropertyValue(prop); rule.getStyle().setProperty(prop,getColorHex(...
57,733
private void expandProperty(String prop, CSSStyleRule rule) { if( prop.equals("color") || prop.equals("background-color") || prop.equals("border-color")) { String value = rule.getStyle().getPropertyValue(prop); rule.getStyle().setProperty(prop,getColorHex(...
private void expandProperty(String prop, CSSStyleRule rule) { if( prop.equals("color") || prop.equals("background-color") || prop.equals("border-color")) { String value = rule.getStyle().getPropertyValue(prop); rule.getStyle().setProperty(prop,getColorHex(...
57,734
private void expandProperty(String prop, CSSStyleRule rule) { if( prop.equals("color") || prop.equals("background-color") || prop.equals("border-color")) { String value = rule.getStyle().getPropertyValue(prop); rule.getStyle().setProperty(prop,getColorHex(...
private void expandProperty(String prop, CSSStyleRule rule) { if( prop.equals("color") || prop.equals("background-color") || prop.equals("border-color")) { String value = rule.getStyle().getPropertyValue(prop); rule.getStyle().setProperty(prop,getColorHex(...
57,735
public CSSStyleRule normalize(CSSStyleRule rule) { for(int i=0; i<rule.getStyle().getLength(); i++) { String prop = rule.getStyle().item(i); expandProperty(prop,rule); } return rule; }
public CSSStyleRule normalize(CSSStyleRule rule) { int length = rule.getStyle().getLength(); for(int i=0; i<length; i++) { String prop = rule.getStyle().item(i); expandProperty(prop,rule); } return rule; }
57,737
public Object registerVariable(WorkflowContext context, WorkflowEntry entry, Map args) throws RemoteException;
public Object registerVariable(WorkflowContext context, WorkflowEntry entry, Map args) throws RemoteException;
57,738
protected void doTransactionCommit(boolean xa, boolean idIsGuid, boolean storeXid) throws Exception { if (ServerManagement.isRemote()) return; JDBCPersistenceManager pm = new JDBCPersistenceManager(); if (idIsGuid) { this.configTablesForGUID(pm); } pm.setTxIdGuid(idIsGui...
protected void doTransactionCommit(boolean xa, boolean idIsGuid, boolean storeXid) throws Exception { if (ServerManagement.isRemote()) return; JDBCPersistenceManager pm = new JDBCPersistenceManager(); if (idIsGuid) { this.configTablesForGUID(pm); } pm.setTxIdGuid(idIsGui...
57,739
protected void doTransactionCommit(boolean xa, boolean idIsGuid, boolean storeXid) throws Exception { if (ServerManagement.isRemote()) return; JDBCPersistenceManager pm = new JDBCPersistenceManager(); if (idIsGuid) { this.configTablesForGUID(pm); } pm.setTxIdGuid(idIsGui...
protected void doTransactionCommit(boolean xa, boolean idIsGuid, boolean storeXid) throws Exception { if (ServerManagement.isRemote()) return; JDBCPersistenceManager pm = new JDBCPersistenceManager(); if (idIsGuid) { this.configTablesForGUID(pm); } pm.setTxIdGuid(idIsGui...
57,740
protected void doTransactionCommit(boolean xa, boolean idIsGuid, boolean storeXid) throws Exception { if (ServerManagement.isRemote()) return; JDBCPersistenceManager pm = new JDBCPersistenceManager(); if (idIsGuid) { this.configTablesForGUID(pm); } pm.setTxIdGuid(idIsGui...
protected void doTransactionCommit(boolean xa, boolean idIsGuid, boolean storeXid) throws Exception { if (ServerManagement.isRemote()) return; JDBCPersistenceManager pm = new JDBCPersistenceManager(); if (idIsGuid) { this.configTablesForGUID(pm); } pm.setTxIdGuid(idIsGui...
57,741
protected void doTransactionRollback(boolean xa, boolean idIsGuid, boolean storeXid) throws Exception { if (ServerManagement.isRemote()) return; JDBCPersistenceManager pm = new JDBCPersistenceManager(); if (idIsGuid) { this.configTablesForGUID(pm); } pm.setTxIdGuid(idIsG...
protected void doTransactionRollback(boolean xa, boolean idIsGuid, boolean storeXid) throws Exception { if (ServerManagement.isRemote()) return; JDBCPersistenceManager pm = new JDBCPersistenceManager(); if (idIsGuid) { this.configTablesForGUID(pm); } pm.setTxIdGuid(idIsG...
57,742
protected void doTransactionRollback(boolean xa, boolean idIsGuid, boolean storeXid) throws Exception { if (ServerManagement.isRemote()) return; JDBCPersistenceManager pm = new JDBCPersistenceManager(); if (idIsGuid) { this.configTablesForGUID(pm); } pm.setTxIdGuid(idIsG...
protected void doTransactionRollback(boolean xa, boolean idIsGuid, boolean storeXid) throws Exception { if (ServerManagement.isRemote()) return; JDBCPersistenceManager pm = new JDBCPersistenceManager(); if (idIsGuid) { this.configTablesForGUID(pm); } pm.setTxIdGuid(idIsG...
57,743
public void tearDown() throws Exception { //ServerManagement.deInit(); super.tearDown(); }
public void tearDown() throws Exception { //ServerManagement.deInit(); super.tearDown(); }
57,745
public void testGetDeliveries() throws Exception { if (ServerManagement.isRemote()) return; JDBCPersistenceManager pm = new JDBCPersistenceManager(); pm.start(); MessageStore ms = new PersistentMessageStore("persistentMessageStore0", pm); Channel channel = new SimpleChannel("channel0...
public void testGetDeliveries() throws Exception { if (ServerManagement.isRemote()) return; JDBCPersistenceManager pm = new JDBCPersistenceManager(); pm.start(); MessageStore ms = new PersistentMessageStore("persistentMessageStore0", pm); Channel channel = new SimpleChannel("channel0...
57,746
public void testRemoveAllMessageData() throws Exception { if (ServerManagement.isRemote()) return; JDBCPersistenceManager pm = new JDBCPersistenceManager(); pm.start(); MessageStore ms = new PersistentMessageStore("persistentMessageStore0", pm); Channel channel = new SimpleChannel("c...
public void testRemoveAllMessageData() throws Exception { if (ServerManagement.isRemote()) return; JDBCPersistenceManager pm = new JDBCPersistenceManager(); pm.start(); MessageStore ms = new PersistentMessageStore("persistentMessageStore0", pm); Channel channel = new SimpleChannel("c...
57,747
public void paint(Graphics g) { int b = borderWidth; Graphics2D g2 = (Graphics2D)g; Dimension d = getSize(); boolean tmp = selected; // g.setColor(Color.lightGray); if(super.isOpaque()) { g.setColor(super.getBackground()); g.fillRect(b - 1, b - 1, d.width - b, d.height - b); }...
public void paint(Graphics g) { int b = borderWidth; Graphics2D g2 = (Graphics2D)g; Dimension d = getSize(); boolean tmp = selected; // g.setColor(Color.lightGray); if(super.isOpaque()) { g.setColor(super.getBackground()); g.fillRect(b - 1, b - 1, d.width - b, d.height - b); }...
57,748
public void test_Simple_NTNP_LA() throws Exception { Connection conn1 = cf.createConnection(); Connection conn2 = cf.createConnection(); conn2.start(); Session sessSend = conn1.createSession(false, Session.AUTO_ACKNOWLEDGE); Session sessReceive = conn2.createSession(false, Session.AU...
public void test_Simple_NTNP_LA() throws Exception { Connection conn1 = cf.createConnection(); Connection conn2 = cf.createConnection(); conn2.start(); Session sessSend = conn1.createSession(false, Session.AUTO_ACKNOWLEDGE); Session sessReceive = conn2.createSession(false, Session.AU...
57,749
public void test_Simple_NTNP_LCA() throws Exception { Connection conn1 = cf.createConnection(); Connection conn2 = cf.createConnection(); conn2.start(); Session sessSend = conn1.createSession(false, Session.AUTO_ACKNOWLEDGE); Session sessReceive = conn2.createSession(false, Session.C...
public void test_Simple_NTNP_LCA() throws Exception { Connection conn1 = cf.createConnection(); Connection conn2 = cf.createConnection(); conn2.start(); Session sessSend = conn1.createSession(false, Session.AUTO_ACKNOWLEDGE); Session sessReceive = conn2.createSession(false, Session.C...
57,750
public void test_Simple_NTNP_LD() throws Exception { Connection conn1 = cf.createConnection(); Connection conn2 = cf.createConnection(); conn2.start(); Session sessSend = conn1.createSession(false, Session.AUTO_ACKNOWLEDGE); Session sessReceive = conn2.createSession(false, Session.DU...
public void test_Simple_NTNP_LD() throws Exception { Connection conn1 = cf.createConnection(); Connection conn2 = cf.createConnection(); conn2.start(); Session sessSend = conn1.createSession(false, Session.AUTO_ACKNOWLEDGE); Session sessReceive = conn2.createSession(false, Session.DU...
57,751
public void test_Simple_NTNP_LT() throws Exception { Connection conn1 = cf.createConnection(); Connection conn2 = cf.createConnection(); conn2.start(); Session sessSend = conn1.createSession(false, Session.AUTO_ACKNOWLEDGE); Session sessReceive = conn2.createSession(true, Session.SES...
public void test_Simple_NTNP_LT() throws Exception { Connection conn1 = cf.createConnection(); Connection conn2 = cf.createConnection(); conn2.start(); Session sessSend = conn1.createSession(false, Session.AUTO_ACKNOWLEDGE); Session sessReceive = conn2.createSession(true, Session.SES...
57,752
public void test_Simple_NTNP_LX() throws Exception { Connection conn1 = cf.createConnection(); Connection conn2 = cf.createConnection(); conn2.start(); Session sessSend = conn1.createSession(false, Session.AUTO_ACKNOWLEDGE); XASession sessReceive = ((XAConnection)conn2).createXASessi...
public void test_Simple_NTNP_LX() throws Exception { Connection conn1 = cf.createConnection(); Connection conn2 = cf.createConnection(); conn2.start(); Session sessSend = conn1.createSession(false, Session.AUTO_ACKNOWLEDGE); XASession sessReceive = ((XAConnection)conn2).createXASessi...
57,753
public void test_Simple_NTNP_NLA() throws Exception { Connection conn1 = cf.createConnection(); Connection conn2 = cf.createConnection(); conn2.start(); Session sessSend = conn1.createSession(false, Session.AUTO_ACKNOWLEDGE); Session sessReceive = conn2.createSession(false, Session.A...
public void test_Simple_NTNP_NLA() throws Exception { Connection conn1 = cf.createConnection(); Connection conn2 = cf.createConnection(); conn2.start(); Session sessSend = conn1.createSession(false, Session.AUTO_ACKNOWLEDGE); Session sessReceive = conn2.createSession(false, Session.A...
57,754
public void test_Simple_NTNP_NLCA() throws Exception { Connection conn1 = cf.createConnection(); Connection conn2 = cf.createConnection(); conn2.start(); Session sessSend = conn1.createSession(false, Session.AUTO_ACKNOWLEDGE); Session sessReceive = conn2.createSession(false, Session....
public void test_Simple_NTNP_NLCA() throws Exception { Connection conn1 = cf.createConnection(); Connection conn2 = cf.createConnection(); conn2.start(); Session sessSend = conn1.createSession(false, Session.AUTO_ACKNOWLEDGE); Session sessReceive = conn2.createSession(false, Session....
57,755
public void test_Simple_NTNP_NLD() throws Exception { Connection conn1 = cf.createConnection(); Connection conn2 = cf.createConnection(); conn2.start(); Session sessSend = conn1.createSession(false, Session.AUTO_ACKNOWLEDGE); Session sessReceive = conn2.createSession(false, Session.D...
public void test_Simple_NTNP_NLD() throws Exception { Connection conn1 = cf.createConnection(); Connection conn2 = cf.createConnection(); conn2.start(); Session sessSend = conn1.createSession(false, Session.AUTO_ACKNOWLEDGE); Session sessReceive = conn2.createSession(false, Session.D...
57,756
public void test_Simple_NTNP_NLT() throws Exception { Connection conn1 = cf.createConnection(); Connection conn2 = cf.createConnection(); conn2.start(); Session sessSend = conn1.createSession(false, Session.AUTO_ACKNOWLEDGE); Session sessReceive = conn2.createSession(true, Session.SE...
public void test_Simple_NTNP_NLT() throws Exception { Connection conn1 = cf.createConnection(); Connection conn2 = cf.createConnection(); conn2.start(); Session sessSend = conn1.createSession(false, Session.AUTO_ACKNOWLEDGE); Session sessReceive = conn2.createSession(true, Session.SE...
57,757
public void test_Simple_NTNP_NLX() throws Exception { Connection conn1 = cf.createConnection(); Connection conn2 = cf.createConnection(); conn2.start(); Session sessSend = conn1.createSession(false, Session.AUTO_ACKNOWLEDGE); XASession sessReceive = ((XAConnection)conn2).createXASess...
public void test_Simple_NTNP_NLX() throws Exception { Connection conn1 = cf.createConnection(); Connection conn2 = cf.createConnection(); conn2.start(); Session sessSend = conn1.createSession(false, Session.AUTO_ACKNOWLEDGE); XASession sessReceive = ((XAConnection)conn2).createXASess...
57,758
public void test_Simple_NTP_LA() throws Exception { Connection conn1 = cf.createConnection(); Connection conn2 = cf.createConnection(); conn2.start(); Session sessSend = conn1.createSession(false, Session.AUTO_ACKNOWLEDGE); Session sessReceive = conn2.createSession(false, Session.AUT...
public void test_Simple_NTP_LA() throws Exception { Connection conn1 = cf.createConnection(); Connection conn2 = cf.createConnection(); conn2.start(); Session sessSend = conn1.createSession(false, Session.AUTO_ACKNOWLEDGE); Session sessReceive = conn2.createSession(false, Session.AUT...
57,759
public void test_Simple_NTP_LCA() throws Exception { Connection conn1 = cf.createConnection(); Connection conn2 = cf.createConnection(); conn2.start(); Session sessSend = conn1.createSession(false, Session.AUTO_ACKNOWLEDGE); Session sessReceive = conn2.createSession(false, Session.CL...
public void test_Simple_NTP_LCA() throws Exception { Connection conn1 = cf.createConnection(); Connection conn2 = cf.createConnection(); conn2.start(); Session sessSend = conn1.createSession(false, Session.AUTO_ACKNOWLEDGE); Session sessReceive = conn2.createSession(false, Session.CL...
57,760
public void test_Simple_NTP_LD() throws Exception { Connection conn1 = cf.createConnection(); Connection conn2 = cf.createConnection(); conn2.start(); Session sessSend = conn1.createSession(false, Session.AUTO_ACKNOWLEDGE); Session sessReceive = conn2.createSession(false, Session.DUP...
public void test_Simple_NTP_LD() throws Exception { Connection conn1 = cf.createConnection(); Connection conn2 = cf.createConnection(); conn2.start(); Session sessSend = conn1.createSession(false, Session.AUTO_ACKNOWLEDGE); Session sessReceive = conn2.createSession(false, Session.DUP...
57,761
public void test_Simple_NTP_LT() throws Exception { Connection conn1 = cf.createConnection(); Connection conn2 = cf.createConnection(); conn2.start(); Session sessSend = conn1.createSession(false, Session.AUTO_ACKNOWLEDGE); Session sessReceive = conn2.createSession(true, Session.SESS...
public void test_Simple_NTP_LT() throws Exception { Connection conn1 = cf.createConnection(); Connection conn2 = cf.createConnection(); conn2.start(); Session sessSend = conn1.createSession(false, Session.AUTO_ACKNOWLEDGE); Session sessReceive = conn2.createSession(true, Session.SESS...
57,762
public void test_Simple_NTP_LX() throws Exception { Connection conn1 = cf.createConnection(); Connection conn2 = cf.createConnection(); conn2.start(); Session sessSend = conn1.createSession(false, Session.AUTO_ACKNOWLEDGE); XASession sessReceive = ((XAConnection)conn2).createXASessio...
public void test_Simple_NTP_LX() throws Exception { Connection conn1 = cf.createConnection(); Connection conn2 = cf.createConnection(); conn2.start(); Session sessSend = conn1.createSession(false, Session.AUTO_ACKNOWLEDGE); XASession sessReceive = ((XAConnection)conn2).createXASessio...
57,763