rem
stringlengths
0
477k
add
stringlengths
0
313k
context
stringlengths
6
599k
meta
stringlengths
141
403
}
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { Object ret = select.evaluate(context, pos, len); /*if (stylesheet.debug) { System.err.println("value-of: " + select + " -> " + ret)...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/ValueOfNode.java/buggy/core/src/classpath/gnu/gnu/xml/transform/ValueOfNode.java
{
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { Object ret = select.evaluate(context, pos, len); /*if (stylesheet.debug) { System.err.println("value-of: " + select + " -> " + ret)...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/ValueOfNode.java/buggy/core/src/classpath/gnu/gnu/xml/transform/ValueOfNode.java
}
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { Object ret = select.evaluate(context, pos, len); /*if (stylesheet.debug) { System.err.println("value-of: " + select + " -> " + ret)...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/ValueOfNode.java/buggy/core/src/classpath/gnu/gnu/xml/transform/ValueOfNode.java
{
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { Object ret = select.evaluate(context, pos, len); /*if (stylesheet.debug) { System.err.println("value-of: " + select + " -> " + ret)...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/ValueOfNode.java/buggy/core/src/classpath/gnu/gnu/xml/transform/ValueOfNode.java
}
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { Object ret = select.evaluate(context, pos, len); /*if (stylesheet.debug) { System.err.println("value-of: " + select + " -> " + ret)...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/ValueOfNode.java/buggy/core/src/classpath/gnu/gnu/xml/transform/ValueOfNode.java
{
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { Object ret = select.evaluate(context, pos, len); /*if (stylesheet.debug) { System.err.println("value-of: " + select + " -> " + ret)...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/ValueOfNode.java/buggy/core/src/classpath/gnu/gnu/xml/transform/ValueOfNode.java
}
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { Object ret = select.evaluate(context, pos, len); /*if (stylesheet.debug) { System.err.println("value-of: " + select + " -> " + ret)...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/ValueOfNode.java/buggy/core/src/classpath/gnu/gnu/xml/transform/ValueOfNode.java
{
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { Object ret = select.evaluate(context, pos, len); /*if (stylesheet.debug) { System.err.println("value-of: " + select + " -> " + ret)...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/ValueOfNode.java/buggy/core/src/classpath/gnu/gnu/xml/transform/ValueOfNode.java
}
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { Object ret = select.evaluate(context, pos, len); /*if (stylesheet.debug) { System.err.println("value-of: " + select + " -> " + ret)...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/ValueOfNode.java/buggy/core/src/classpath/gnu/gnu/xml/transform/ValueOfNode.java
{
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { Object ret = select.evaluate(context, pos, len); /*if (stylesheet.debug) { System.err.println("value-of: " + select + " -> " + ret)...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/ValueOfNode.java/buggy/core/src/classpath/gnu/gnu/xml/transform/ValueOfNode.java
}
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { Object ret = select.evaluate(context, pos, len); /*if (stylesheet.debug) { System.err.println("value-of: " + select + " -> " + ret)...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/ValueOfNode.java/buggy/core/src/classpath/gnu/gnu/xml/transform/ValueOfNode.java
{
public boolean references(QName var) { if (select != null && select.references(var)) { return true; } return super.references(var); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/ValueOfNode.java/buggy/core/src/classpath/gnu/gnu/xml/transform/ValueOfNode.java
}
public boolean references(QName var) { if (select != null && select.references(var)) { return true; } return super.references(var); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/ValueOfNode.java/buggy/core/src/classpath/gnu/gnu/xml/transform/ValueOfNode.java
StringBuffer buf = new StringBuffer(getClass().getName());
StringBuffer buf = new StringBuffer("value-of");
public String toString() { StringBuffer buf = new StringBuffer(getClass().getName()); buf.append('['); buf.append("select="); buf.append(select); if (disableOutputEscaping) { buf.append(",disableOutputEscaping"); } buf.append(']'); return buf.toString(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/ValueOfNode.java/buggy/core/src/classpath/gnu/gnu/xml/transform/ValueOfNode.java
{
public String toString() { StringBuffer buf = new StringBuffer(getClass().getName()); buf.append('['); buf.append("select="); buf.append(select); if (disableOutputEscaping) { buf.append(",disableOutputEscaping"); } buf.append(']'); return buf.toString(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/ValueOfNode.java/buggy/core/src/classpath/gnu/gnu/xml/transform/ValueOfNode.java
}
public String toString() { StringBuffer buf = new StringBuffer(getClass().getName()); buf.append('['); buf.append("select="); buf.append(select); if (disableOutputEscaping) { buf.append(",disableOutputEscaping"); } buf.append(']'); return buf.toString(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/ValueOfNode.java/buggy/core/src/classpath/gnu/gnu/xml/transform/ValueOfNode.java
public CharSeqHolder(char[] initial_value)
public CharSeqHolder()
public CharSeqHolder(char[] initial_value) { value = initial_value; typecode.setLength(value.length); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8f28a29b36e025f22e3af3a9b984c6450ba6c8d7/CharSeqHolder.java/buggy/core/src/classpath/org/org/omg/CORBA/CharSeqHolder.java
value = initial_value; typecode.setLength(value.length);
public CharSeqHolder(char[] initial_value) { value = initial_value; typecode.setLength(value.length); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8f28a29b36e025f22e3af3a9b984c6450ba6c8d7/CharSeqHolder.java/buggy/core/src/classpath/org/org/omg/CORBA/CharSeqHolder.java
return Class.forName(getValue(cmdLine));
final ClassLoader cl = Thread.currentThread().getContextClassLoader(); return cl.loadClass(getValue(cmdLine));
public Class getClass(ParsedArguments cmdLine) throws ClassNotFoundException { return Class.forName(getValue(cmdLine)); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/964b69e3c5d0861662f58b7bf2c24e2388ca0247/ClassNameArgument.java/buggy/shell/src/shell/org/jnode/shell/help/ClassNameArgument.java
synchronized (this) { Rectangle newRect = e.getUpdateRect(); if (paintArea == null) paintArea = newRect; else Rectangle.union(paintArea, newRect, paintArea); }
public void coalescePaintEvent(PaintEvent e) { // Nothing to do here yet. }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b2a81be29c1d1dc9cadff27003717d18f8262c70/SwingComponentPeer.java/clean/core/src/classpath/gnu/gnu/java/awt/peer/swing/SwingComponentPeer.java
if (! (this instanceof LightweightPeer)) { Component comp = awtComponent; Container parent = comp.getParent(); while (parent != null && ! (parent.getPeer() instanceof SwingContainerPeer)) { comp = parent; parent = comp.getParent(); } if (parent != null && parent.getPeer() instanceof SwingContainerPeer) { SwingCont...
public void dispose() { awtComponent = null; swingComponent = null; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b2a81be29c1d1dc9cadff27003717d18f8262c70/SwingComponentPeer.java/clean/core/src/classpath/gnu/gnu/java/awt/peer/swing/SwingComponentPeer.java
ComponentPeer parentPeer = parent.getPeer(); Graphics g = parentPeer.getGraphics();
Graphics g = parent.getGraphics();
public Graphics getGraphics() { Component parent = awtComponent.getParent(); ComponentPeer parentPeer = parent.getPeer(); Graphics g = parentPeer.getGraphics(); g.translate(awtComponent.getX(), awtComponent.getY()); g.setClip(0, 0, awtComponent.getWidth(), awtComponent.getHeight()); return g; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b2a81be29c1d1dc9cadff27003717d18f8262c70/SwingComponentPeer.java/clean/core/src/classpath/gnu/gnu/java/awt/peer/swing/SwingComponentPeer.java
synchronized (this) { assert paintArea != null;
public void handleEvent(AWTEvent e) { switch (e.getID()) { case PaintEvent.UPDATE: case PaintEvent.PAINT: // This only will work when the component is showing. if (awtComponent.isShowing()) { Graphics g = getGraphics(); Rectangle clip = ((PaintEvent)e).getUpdateRe...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b2a81be29c1d1dc9cadff27003717d18f8262c70/SwingComponentPeer.java/clean/core/src/classpath/gnu/gnu/java/awt/peer/swing/SwingComponentPeer.java
Graphics g = getGraphics(); Rectangle clip = ((PaintEvent)e).getUpdateRect();
Graphics g = awtComponent.getGraphics(); try { Rectangle clip = paintArea;
public void handleEvent(AWTEvent e) { switch (e.getID()) { case PaintEvent.UPDATE: case PaintEvent.PAINT: // This only will work when the component is showing. if (awtComponent.isShowing()) { Graphics g = getGraphics(); Rectangle clip = ((PaintEvent)e).getUpdateRe...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b2a81be29c1d1dc9cadff27003717d18f8262c70/SwingComponentPeer.java/clean/core/src/classpath/gnu/gnu/java/awt/peer/swing/SwingComponentPeer.java
if (e.getID() == PaintEvent.UPDATE) awtComponent.update(g); else awtComponent.paint(g); peerPaint(g);
peerPaint(g, e.getID() == PaintEvent.UPDATE); } finally {
public void handleEvent(AWTEvent e) { switch (e.getID()) { case PaintEvent.UPDATE: case PaintEvent.PAINT: // This only will work when the component is showing. if (awtComponent.isShowing()) { Graphics g = getGraphics(); Rectangle clip = ((PaintEvent)e).getUpdateRe...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b2a81be29c1d1dc9cadff27003717d18f8262c70/SwingComponentPeer.java/clean/core/src/classpath/gnu/gnu/java/awt/peer/swing/SwingComponentPeer.java
paintArea = null; } }
public void handleEvent(AWTEvent e) { switch (e.getID()) { case PaintEvent.UPDATE: case PaintEvent.PAINT: // This only will work when the component is showing. if (awtComponent.isShowing()) { Graphics g = getGraphics(); Rectangle clip = ((PaintEvent)e).getUpdateRe...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b2a81be29c1d1dc9cadff27003717d18f8262c70/SwingComponentPeer.java/clean/core/src/classpath/gnu/gnu/java/awt/peer/swing/SwingComponentPeer.java
if (swingComponent != null) { JComponent c = swingComponent.getJComponent(); if (c != null) { c.addNotify(); RepaintManager.currentManager(c).setDoubleBufferingEnabled(false); System.setProperty("gnu.awt.swing.doublebuffering", "true"); } } if (! (this instanceof LightweightPeer)) { Component comp = awtComponent; Co...
protected void init(Component awtComp, SwingComponent swingComp) { awtComponent = awtComp; swingComponent = swingComp; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b2a81be29c1d1dc9cadff27003717d18f8262c70/SwingComponentPeer.java/clean/core/src/classpath/gnu/gnu/java/awt/peer/swing/SwingComponentPeer.java
peerPaint(graphics, false);
public void paint(Graphics graphics) { // FIXME: I don't know what this method is supposed to do. }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b2a81be29c1d1dc9cadff27003717d18f8262c70/SwingComponentPeer.java/clean/core/src/classpath/gnu/gnu/java/awt/peer/swing/SwingComponentPeer.java
protected void peerPaint(Graphics g)
protected void peerPaint(Graphics g, boolean update)
protected void peerPaint(Graphics g) { if (swingComponent != null) swingComponent.getJComponent().paint(g); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b2a81be29c1d1dc9cadff27003717d18f8262c70/SwingComponentPeer.java/clean/core/src/classpath/gnu/gnu/java/awt/peer/swing/SwingComponentPeer.java
if (swingComponent != null) swingComponent.getJComponent().paint(g);
peerPaintComponent(g); Graphics userGraphics = g.create(); try{ if (update) awtComponent.update(userGraphics); else awtComponent.paint(userGraphics); } finally { userGraphics.dispose(); }
protected void peerPaint(Graphics g) { if (swingComponent != null) swingComponent.getJComponent().paint(g); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b2a81be29c1d1dc9cadff27003717d18f8262c70/SwingComponentPeer.java/clean/core/src/classpath/gnu/gnu/java/awt/peer/swing/SwingComponentPeer.java
peerFont = font;
public void setFont(Font font) { if (swingComponent != null) swingComponent.getJComponent().setFont(font); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b2a81be29c1d1dc9cadff27003717d18f8262c70/SwingComponentPeer.java/clean/core/src/classpath/gnu/gnu/java/awt/peer/swing/SwingComponentPeer.java
if (portBounds.height >= viewMinimum.height)
if (portBounds.height >= viewPref.height)
public void layoutContainer(Container parent) { // The way to interpret this function is basically to ignore the names // of methods it calls, and focus on the variable names here. getViewRect // doesn't, for example, return the view; it returns the port bounds in // view space. Likwise setViewPosition ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/ViewportLayout.java/clean/core/src/classpath/javax/javax/swing/ViewportLayout.java
viewPref.height = viewMinimum.height;
public void layoutContainer(Container parent) { // The way to interpret this function is basically to ignore the names // of methods it calls, and focus on the variable names here. getViewRect // doesn't, for example, return the view; it returns the port bounds in // view space. Likwise setViewPosition ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/ViewportLayout.java/clean/core/src/classpath/javax/javax/swing/ViewportLayout.java
if (portBounds.width >= viewMinimum.width)
if (portBounds.width >= viewPref.width)
public void layoutContainer(Container parent) { // The way to interpret this function is basically to ignore the names // of methods it calls, and focus on the variable names here. getViewRect // doesn't, for example, return the view; it returns the port bounds in // view space. Likwise setViewPosition ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/ViewportLayout.java/clean/core/src/classpath/javax/javax/swing/ViewportLayout.java
viewPref.width = viewMinimum.width;
public void layoutContainer(Container parent) { // The way to interpret this function is basically to ignore the names // of methods it calls, and focus on the variable names here. getViewRect // doesn't, for example, return the view; it returns the port bounds in // view space. Likwise setViewPosition ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/ViewportLayout.java/clean/core/src/classpath/javax/javax/swing/ViewportLayout.java
if (maybe [ i ].equals(idl_id))
if (maybe[i].equals(idl_id))
public boolean is_a(org.omg.CORBA.Object a_servant, String idl_id) { String[] maybe = object._ids(); for (int i = 0; i < maybe.length; i++) { if (maybe [ i ].equals(idl_id)) return true; } return false; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8820e7a18265b8e9be753676d9477fb94a1447c8/LocalDelegate.java/clean/core/src/classpath/gnu/gnu/CORBA/Poa/LocalDelegate.java
if (servant != null)
if (servant != null && !noRetain)
public InvokeHandler getHandler(String operation, CookieHolder cookie, boolean forwarding_allowed ) throws gnuForwardRequest { if (servant != null) { return servantToHandler(servant); } else { // Use servant locator to locate the servant. if (...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b53ee23d2db4d673b2dea5fee94b6bff00d241bf/gnuServantObject.java/buggy/core/src/classpath/gnu/gnu/CORBA/Poa/gnuServantObject.java
extendedLoaded = false;
private Provider () { // FIXME: We might need to make the name comparison case insensitive. // Verify this with the Sun JDK. canonicalNames = new HashMap (); charsets = new HashMap (); // US-ASCII aka ISO646-US addCharset (new US_ASCII ()); // ISO-8859-1 aka ISO-LATIN-1 addCharset (new ISO_88...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a9713af4b331141b4222f76a2e005d12c6ca8c29/Provider.java/buggy/core/src/classpath/gnu/gnu/java/nio/charset/Provider.java
addCharset (new UnicodeLittle ()); addCharset (new Windows1250 ()); addCharset (new Windows1251 ()); addCharset (new Windows1252 ()); addCharset (new Windows1253 ()); addCharset (new Windows1254 ()); addCharset (new Windows1257 ()); addCharset (new ISO_8859_2 ()); addCharset (new ISO_8859_4 ()); add...
private Provider () { // FIXME: We might need to make the name comparison case insensitive. // Verify this with the Sun JDK. canonicalNames = new HashMap (); charsets = new HashMap (); // US-ASCII aka ISO646-US addCharset (new US_ASCII ()); // ISO-8859-1 aka ISO-LATIN-1 addCharset (new ISO_88...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a9713af4b331141b4222f76a2e005d12c6ca8c29/Provider.java/buggy/core/src/classpath/gnu/gnu/java/nio/charset/Provider.java
String canonicalName = cs.name ();
String canonicalName = cs.name().toLowerCase();
private void addCharset (Charset cs) { String canonicalName = cs.name (); charsets.put (canonicalName, cs); for (Iterator i = cs.aliases ().iterator (); i.hasNext (); ) canonicalNames.put (i.next (), canonicalName); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a9713af4b331141b4222f76a2e005d12c6ca8c29/Provider.java/buggy/core/src/classpath/gnu/gnu/java/nio/charset/Provider.java
canonicalNames.put (i.next (), canonicalName);
canonicalNames.put (((String) i.next()).toLowerCase(), canonicalName);
private void addCharset (Charset cs) { String canonicalName = cs.name (); charsets.put (canonicalName, cs); for (Iterator i = cs.aliases ().iterator (); i.hasNext (); ) canonicalNames.put (i.next (), canonicalName); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a9713af4b331141b4222f76a2e005d12c6ca8c29/Provider.java/buggy/core/src/classpath/gnu/gnu/java/nio/charset/Provider.java
return (Charset) charsets.get (canonicalize (charsetName));
Charset cs = (Charset) charsets.get(canonicalNames.get(charsetName.toLowerCase())); if(cs == null && !extendedLoaded) { loadExtended(); cs = (Charset) charsets.get(canonicalNames.get(charsetName.toLowerCase())); } return cs;
public Charset charsetForName (String charsetName) { return (Charset) charsets.get (canonicalize (charsetName)); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a9713af4b331141b4222f76a2e005d12c6ca8c29/Provider.java/buggy/core/src/classpath/gnu/gnu/java/nio/charset/Provider.java
loadExtended();
public Iterator charsets () { return Collections.unmodifiableCollection (charsets.values ()) .iterator (); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a9713af4b331141b4222f76a2e005d12c6ca8c29/Provider.java/buggy/core/src/classpath/gnu/gnu/java/nio/charset/Provider.java
if (singleton == null) { singleton = (Provider)AccessController.doPrivileged(new PrivilegedAction() { public Object run() { return new Provider(); } }); }
if (singleton == null) singleton = new Provider ();
public static synchronized Provider provider () { if (singleton == null) { // @classpath-bugfix Security fix singleton = (Provider)AccessController.doPrivileged(new PrivilegedAction() { public Object run() { return new Provider(); } }); } return singleton; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a9713af4b331141b4222f76a2e005d12c6ca8c29/Provider.java/buggy/core/src/classpath/gnu/gnu/java/nio/charset/Provider.java
}
public void setModel(TreeModel newModel) { treeModel = newModel; // The root node is expanded by default. expanded.add(treeModel.getRoot()); dirty = true; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53983e95556bf4b775130b06570aa2ea08d85628/VariableHeightLayoutCache.java/buggy/core/src/classpath/javax/javax/swing/tree/VariableHeightLayoutCache.java
if (treeModel == null) return;
private final void update() { nodes.clear(); row2node.clear(); totalHeight = maximalWidth = 0; Object root = treeModel.getRoot(); if (rootVisible) { countRows(root, null, 0); } else { int sc = treeModel.getChildCount(root); for (int i = 0; i < sc; i++) { ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53983e95556bf4b775130b06570aa2ea08d85628/VariableHeightLayoutCache.java/buggy/core/src/classpath/javax/javax/swing/tree/VariableHeightLayoutCache.java
public void setRect(Rectangle2D r) { setRect(r.getX(), r.getY(), r.getWidth(), r.getHeight()); }
public abstract void setRect(double x, double y, double w, double h);
public void setRect(Rectangle2D r) { setRect(r.getX(), r.getY(), r.getWidth(), r.getHeight()); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/fd6a57fe2ed88cedb0f331b4b49081272bc198c5/Rectangle2D.java/buggy/core/src/classpath/java/java/awt/geom/Rectangle2D.java
getRootPane();
getRootPane(); initStageDone = true;
public JApplet() { super.setLayout(new BorderLayout(1, 1)); getRootPane(); // will do set/create }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1edc4cba009ff2c639001f1fd1842c4da4b86249/JApplet.java/clean/core/src/classpath/javax/javax/swing/JApplet.java
else { if (isRootPaneCheckingEnabled()) throw new Error("Do not use add() on JApplet directly. Use " + "getContentPane().add() instead"); getContentPane().add(comp, constraints, index); }
protected void addImpl(Component comp, Object constraints, int index) { super.addImpl(comp, constraints, index); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1edc4cba009ff2c639001f1fd1842c4da4b86249/JApplet.java/clean/core/src/classpath/javax/javax/swing/JApplet.java
if (comp == rootPane) super.remove(rootPane); else
public void remove(Component comp) { getContentPane().remove(comp); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1edc4cba009ff2c639001f1fd1842c4da4b86249/JApplet.java/clean/core/src/classpath/javax/javax/swing/JApplet.java
if (initStageDone) { if (isRootPaneCheckingEnabled()) throw new Error("Cannot set layout. Use getContentPane().setLayout()" + "instead."); getContentPane().setLayout(manager); } else
public void setLayout(LayoutManager manager) { super.setLayout(manager); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1edc4cba009ff2c639001f1fd1842c4da4b86249/JApplet.java/clean/core/src/classpath/javax/javax/swing/JApplet.java
throws NotImplementedException
public PaintContext createContext(ColorModel cm, Rectangle deviceBounds, Rectangle2D userBounds, AffineTransform xform, RenderingHints hints) { throw new Error("not implemented"); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4b6281ed01a542e70503c69a67129ff6df618649/TexturePaint.java/buggy/core/src/classpath/java/java/awt/TexturePaint.java
throws NotImplementedException
public int getTransparency() { throw new Error("not implemented"); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4b6281ed01a542e70503c69a67129ff6df618649/TexturePaint.java/buggy/core/src/classpath/java/java/awt/TexturePaint.java
BooleanSeqHolder h = new BooleanSeqHolder(); h._read(input); return h.value;
boolean [] value = new boolean[ input.read_long() ]; input.read_boolean_array(value, 0, value.length); return value;
public static boolean[] read(InputStream input) { BooleanSeqHolder h = new BooleanSeqHolder(); h._read(input); return h.value; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/01dce648448be461531cfd95f93f9421282da0f4/BooleanSeqHelper.java/buggy/core/src/classpath/org/org/omg/CORBA/BooleanSeqHelper.java
BooleanSeqHolder h = new BooleanSeqHolder(value); h._write(output);
output.write_long(value.length); output.write_boolean_array(value, 0, value.length);
public static void write(OutputStream output, boolean[] value) { BooleanSeqHolder h = new BooleanSeqHolder(value); h._write(output); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/01dce648448be461531cfd95f93f9421282da0f4/BooleanSeqHelper.java/buggy/core/src/classpath/org/org/omg/CORBA/BooleanSeqHelper.java
public BooleanSeqHolder(boolean[] initial_value)
public BooleanSeqHolder()
public BooleanSeqHolder(boolean[] initial_value) { value = initial_value; typecode.setLength(value.length); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8f28a29b36e025f22e3af3a9b984c6450ba6c8d7/BooleanSeqHolder.java/buggy/core/src/classpath/org/org/omg/CORBA/BooleanSeqHolder.java
value = initial_value; typecode.setLength(value.length);
public BooleanSeqHolder(boolean[] initial_value) { value = initial_value; typecode.setLength(value.length); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8f28a29b36e025f22e3af3a9b984c6450ba6c8d7/BooleanSeqHolder.java/buggy/core/src/classpath/org/org/omg/CORBA/BooleanSeqHolder.java
return "JScrollPane";
return "ScrollPaneUI";
public String getUIClassID() { //Returns a string that specifies the name of the L&F class that renders this component. return "JScrollPane"; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/JScrollPane.java/buggy/core/src/classpath/javax/javax/swing/JScrollPane.java
throw new SocketException(e.getMessage());
SocketException se = new SocketException(e.toString()); se.initCause(e); throw se;
private SocketImpl getImpl() throws SocketException { try { if (! implCreated) { impl.create(true); implCreated = true; } } catch (IOException e) { throw new SocketException(e.getMessage()); } return impl; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bd498c30e250a0c0f87a82da5c5dbb94748e518a/Socket.java/buggy/core/src/classpath/java/java/net/Socket.java
public final void close () throws IOException
public final void close() throws IOException
public final void close () throws IOException { opened = false; implCloseChannel (); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/AbstractInterruptibleChannel.java/buggy/core/src/classpath/java/java/nio/channels/spi/AbstractInterruptibleChannel.java
opened = false; implCloseChannel ();
if (! closed) { closed = true; implCloseChannel(); }
public final void close () throws IOException { opened = false; implCloseChannel (); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/AbstractInterruptibleChannel.java/buggy/core/src/classpath/java/java/nio/channels/spi/AbstractInterruptibleChannel.java
public static Object DoShowOptionDialog(Component frame, String msg, String title, int opt_type, int msg_type, Icon icon, Object[] opts, Object init) {
public static Object DoShowOptionDialog(Component frame, String msg, String title, int opt_type, int msg_type, Icon icon, Object[] opts, Object init) { JOptionPane p = new JOptionPane(msg, msg_type, opt_type, icon, opts, init); System.out.println("^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ " + p.msg);
public static Object DoShowOptionDialog(Component frame, String msg, String title, int opt_type, int msg_type, Icon icon, Object[] opts, Object init) { JOptionPane p = new JOptionPane(msg, msg_type, opt_type, icon, opts, init); System.out.println("^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ " + p.msg); JDialog a; if (frame...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/JOptionPane.java/clean/core/src/classpath/javax/javax/swing/JOptionPane.java
JOptionPane p = new JOptionPane(msg, msg_type, opt_type, icon, opts, init); System.out.println("^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ " + p.msg);
JDialog a;
public static Object DoShowOptionDialog(Component frame, String msg, String title, int opt_type, int msg_type, Icon icon, Object[] opts, Object init) { JOptionPane p = new JOptionPane(msg, msg_type, opt_type, icon, opts, init); System.out.println("^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ " + p.msg); JDialog a; if (frame...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/JOptionPane.java/clean/core/src/classpath/javax/javax/swing/JOptionPane.java
JDialog a;
if (frame == null) { a = new JDialog((Frame)frame, title, true); } else if (frame instanceof Dialog) { a = new JDialog((Dialog) frame, title, true); } else if (frame instanceof Frame) { a = new JDialog((Frame) frame, title, true); } else { System.out.println("HUUUUHHH, not a frame or dialog !"); a = new JDialog((Frame...
public static Object DoShowOptionDialog(Component frame, String msg, String title, int opt_type, int msg_type, Icon icon, Object[] opts, Object init) { JOptionPane p = new JOptionPane(msg, msg_type, opt_type, icon, opts, init); System.out.println("^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ " + p.msg); JDialog a; if (frame...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/JOptionPane.java/clean/core/src/classpath/javax/javax/swing/JOptionPane.java
if (frame == null) { a = new JDialog((Frame) frame, title, true); } else if (frame instanceof Dialog) { a = new JDialog((Dialog) frame, title, true); } else if (frame instanceof Frame) { a = new JDialog((Frame) frame, title, true); } else { System.out.println("HUUUUHHH, not a frame or dialog !");
p.dialog = a; a.getContentPane().setLayout(new BorderLayout()); a.getContentPane().add(p, BorderLayout.CENTER); a.pack(); a.setVisible(true); Object s = p.getValue();
public static Object DoShowOptionDialog(Component frame, String msg, String title, int opt_type, int msg_type, Icon icon, Object[] opts, Object init) { JOptionPane p = new JOptionPane(msg, msg_type, opt_type, icon, opts, init); System.out.println("^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ " + p.msg); JDialog a; if (frame...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/JOptionPane.java/clean/core/src/classpath/javax/javax/swing/JOptionPane.java
a = new JDialog((Frame) null, title, true); }
System.out.println("RESULT FROM DIALOG = " + s);
public static Object DoShowOptionDialog(Component frame, String msg, String title, int opt_type, int msg_type, Icon icon, Object[] opts, Object init) { JOptionPane p = new JOptionPane(msg, msg_type, opt_type, icon, opts, init); System.out.println("^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ " + p.msg); JDialog a; if (frame...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/JOptionPane.java/clean/core/src/classpath/javax/javax/swing/JOptionPane.java
p.dialog = a; a.getContentPane().setLayout(new BorderLayout()); a.getContentPane().add(p, BorderLayout.CENTER); a.pack(); a.setVisible(true); Object s = p.getValue(); System.out.println("RESULT FROM DIALOG = " + s); if (s == null) return null; return s; }
if (s == null) return null; return s; }
public static Object DoShowOptionDialog(Component frame, String msg, String title, int opt_type, int msg_type, Icon icon, Object[] opts, Object init) { JOptionPane p = new JOptionPane(msg, msg_type, opt_type, icon, opts, init); System.out.println("^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ " + p.msg); JDialog a; if (frame...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/JOptionPane.java/clean/core/src/classpath/javax/javax/swing/JOptionPane.java
JOptionPane() { this("mess"); }
JOptionPane() { this("mess"); }
JOptionPane() { this("mess"); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/JOptionPane.java/clean/core/src/classpath/javax/javax/swing/JOptionPane.java
public AccessibleContext getAccessibleContext() { return null; }
public AccessibleContext getAccessibleContext() { return null; }
public AccessibleContext getAccessibleContext() { return null; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/JOptionPane.java/clean/core/src/classpath/javax/javax/swing/JOptionPane.java
return (OptionPaneUI) ui; }
return (OptionPaneUI)ui; }
public OptionPaneUI getUI() { return (OptionPaneUI) ui; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/JOptionPane.java/clean/core/src/classpath/javax/javax/swing/JOptionPane.java
public String getUIClassID() { return "JOptionPane"; }
public String getUIClassID() { return "OptionPaneUI"; }
public String getUIClassID() { return "JOptionPane"; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/JOptionPane.java/clean/core/src/classpath/javax/javax/swing/JOptionPane.java
public Object getValue() { return val; }
public Object getValue() { return val; }
public Object getValue() { return val; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/JOptionPane.java/clean/core/src/classpath/javax/javax/swing/JOptionPane.java
protected String paramString() { return "JOptionPane"; }
protected String paramString() { return "JOptionPane"; }
protected String paramString() { return "JOptionPane"; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/JOptionPane.java/clean/core/src/classpath/javax/javax/swing/JOptionPane.java
super.setUI(ui); }
super.setUI(ui); }
public void setUI(OptionPaneUI ui) { super.setUI(ui); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/JOptionPane.java/clean/core/src/classpath/javax/javax/swing/JOptionPane.java
public static int showConfirmDialog(JFrame frame, String yes, String no, int bla) { return 0; }
public static int showConfirmDialog(JFrame frame, String yes, String no, int bla) { return 0; }
public static int showConfirmDialog(JFrame frame, String yes, String no, int bla) { return 0; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/JOptionPane.java/clean/core/src/classpath/javax/javax/swing/JOptionPane.java
public static String showInputDialog(JFrame frame, String msg, String title, int opt_type, int msg_type, Icon icon, Object[] opts, Object init) { return (String) DoShowOptionDialog(frame, msg, title, opt_type, msg_type, icon, opts, init); }
public static String showInputDialog(JFrame frame, String msg, String title, int opt_type, int msg_type, Icon icon, Object[] opts, Object init) { return (String) DoShowOptionDialog(frame, msg, title, opt_type, msg_type, icon, opts, init); }
public static String showInputDialog(JFrame frame, String msg, String title, int opt_type, int msg_type, Icon icon, Object[] opts, Object init) { return (String) DoShowOptionDialog(frame, msg, title, opt_type, msg_type, icon, opts, init); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/JOptionPane.java/clean/core/src/classpath/javax/javax/swing/JOptionPane.java
public static void showMessageDialog(Component frame, String msg, String title, int bla) { DoShowOptionDialog(frame, msg, title, bla, 0, null, null, null); }
public static void showMessageDialog(Component frame, String msg, String title, int bla) { DoShowOptionDialog(frame, msg, title, bla, 0, null, null, null); }
public static void showMessageDialog(Component frame, String msg, String title, int bla) { DoShowOptionDialog(frame, msg, title, bla, 0, null, null, null); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/JOptionPane.java/clean/core/src/classpath/javax/javax/swing/JOptionPane.java
public static int showOptionDialog(Component frame, String msg, String title, int opt_type, int msg_type, Icon icon, Object[] opts, Object init) { Integer a = (Integer) DoShowOptionDialog(frame, msg, title, opt_type, msg_type, icon, opts, init); if (a == null) return -1; return a.intValue(); }
public static int showOptionDialog(Component frame, String msg, String title, int opt_type, int msg_type, Icon icon, Object[] opts, Object init) { Integer a = (Integer) DoShowOptionDialog(frame, msg, title, opt_type, msg_type, icon, opts, init); if (a == null) return -1; return a.intValue(); }
public static int showOptionDialog(Component frame, String msg, String title, int opt_type, int msg_type, Icon icon, Object[] opts, Object init) { Integer a = (Integer) DoShowOptionDialog(frame, msg, title, opt_type, msg_type, icon, opts, init); if (a == null) return -1; return a.intValue(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/JOptionPane.java/clean/core/src/classpath/javax/javax/swing/JOptionPane.java
setUI((OptionPaneUI) UIManager.getUI(this)); }
setUI((OptionPaneUI)UIManager.getUI(this)); }
public void updateUI() { setUI((OptionPaneUI) UIManager.getUI(this)); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/JOptionPane.java/clean/core/src/classpath/javax/javax/swing/JOptionPane.java
public URLClassLoader(URL[] urls, ClassLoader parent) throws SecurityException
public URLClassLoader(URL[] urls) throws SecurityException
public URLClassLoader(URL[] urls, ClassLoader parent) throws SecurityException { super(parent); this.factory = null; this.securityContext = null; addURLs(urls); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bd498c30e250a0c0f87a82da5c5dbb94748e518a/URLClassLoader.java/buggy/core/src/classpath/java/java/net/URLClassLoader.java
super(parent);
super();
public URLClassLoader(URL[] urls, ClassLoader parent) throws SecurityException { super(parent); this.factory = null; this.securityContext = null; addURLs(urls); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bd498c30e250a0c0f87a82da5c5dbb94748e518a/URLClassLoader.java/buggy/core/src/classpath/java/java/net/URLClassLoader.java
UIDefaults defaults = UIManager.getLookAndFeelDefaults(); optionPane.setFont(defaults.getFont("OptionPane.font")); optionPane.setBackground(defaults.getColor("OptionPane.background")); optionPane.setForeground(defaults.getColor("OptionPane.foreground")); optionPane.setBorder(defaults.getBorder("OptionPane.border"));
LookAndFeel.installColorsAndFont(optionPane, "OptionPane.background", "OptionPane.foreground", "OptionPane.font"); LookAndFeel.installBorder(optionPane, "OptionPane.border");
protected void installDefaults() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); optionPane.setFont(defaults.getFont("OptionPane.font")); optionPane.setBackground(defaults.getColor("OptionPane.background")); optionPane.setForeground(defaults.getColor("OptionPane.foreground")); optionPane.s...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/BasicOptionPaneUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicOptionPaneUI.java
messageBorder = defaults.getBorder("OptionPane.messageAreaBorder"); messageForeground = defaults.getColor("OptionPane.messageForeground"); buttonBorder = defaults.getBorder("OptionPane.buttonAreaBorder");
messageBorder = UIManager.getBorder("OptionPane.messageAreaBorder"); messageForeground = UIManager.getColor("OptionPane.messageForeground"); buttonBorder = UIManager.getBorder("OptionPane.buttonAreaBorder");
protected void installDefaults() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); optionPane.setFont(defaults.getFont("OptionPane.font")); optionPane.setBackground(defaults.getColor("OptionPane.background")); optionPane.setForeground(defaults.getColor("OptionPane.foreground")); optionPane.s...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/BasicOptionPaneUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicOptionPaneUI.java
minimumSize = defaults.getDimension("OptionPane.minimumSize");
minimumSize = UIManager.getDimension("OptionPane.minimumSize");
protected void installDefaults() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); optionPane.setFont(defaults.getFont("OptionPane.font")); optionPane.setBackground(defaults.getColor("OptionPane.background")); optionPane.setForeground(defaults.getColor("OptionPane.foreground")); optionPane.s...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/BasicOptionPaneUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicOptionPaneUI.java
public ViewportLayout() {
public ViewportLayout() {
public ViewportLayout() { }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/ViewportLayout.java/clean/core/src/classpath/javax/javax/swing/ViewportLayout.java
public void addLayoutComponent(String name, Component c) {
public void addLayoutComponent(String name, Component c) {
public void addLayoutComponent(String name, Component c) { // ignore }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/ViewportLayout.java/clean/core/src/classpath/javax/javax/swing/ViewportLayout.java
public void layoutContainer(Container parent) { if (parent.countComponents() == 1) { Component c = parent.getComponent(0); }
public void layoutContainer(Container parent) { JViewport vp = (JViewport)parent; Component view = vp.getView(); Rectangle portBounds = vp.getBounds(); Dimension viewMinimum = view.getMinimumSize(); int width = Math.max(portBounds.width, viewMinimum.width); int height = Math.max(portBounds.height, viewMinimum.height); ...
public void layoutContainer(Container parent) { if (parent.countComponents() == 1) { // This should usually be true, but if it's not it is // probably nicer if we do not panic. Component c = parent.getComponent(0); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/ViewportLayout.java/clean/core/src/classpath/javax/javax/swing/ViewportLayout.java
public Dimension minimumLayoutSize(Container parent) { return null; }
public Dimension minimumLayoutSize(Container parent) { JViewport vp = (JViewport)parent; Component view = vp.getView(); return view.getMinimumSize(); }
public Dimension minimumLayoutSize(Container parent) { return null; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/ViewportLayout.java/clean/core/src/classpath/javax/javax/swing/ViewportLayout.java
public Dimension preferredLayoutSize(Container parent) { return null;
public Dimension preferredLayoutSize(Container parent) { JViewport vp = (JViewport)parent; Component view = vp.getView(); if (view instanceof Scrollable) { Scrollable sc = (Scrollable) view; Dimension d = sc.getPreferredScrollableViewportSize(); return d;
public Dimension preferredLayoutSize(Container parent) { return null; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/ViewportLayout.java/clean/core/src/classpath/javax/javax/swing/ViewportLayout.java
else return view.getPreferredSize(); }
public Dimension preferredLayoutSize(Container parent) { return null; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/ViewportLayout.java/clean/core/src/classpath/javax/javax/swing/ViewportLayout.java
public void removeLayoutComponent(Component c) {
public void removeLayoutComponent(Component c) {
public void removeLayoutComponent(Component c) { // ignore }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/ViewportLayout.java/clean/core/src/classpath/javax/javax/swing/ViewportLayout.java
if (layoutMgr != null)
if (layoutMgr == null)
protected String paramString() { if (layoutMgr != null) return super.paramString(); StringBuffer sb = new StringBuffer(); sb.append(super.paramString()); sb.append(",layout="); sb.append(layoutMgr.getClass().getName()); return sb.toString(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/Container.java/clean/core/src/classpath/java/java/awt/Container.java
mouseWheelListener = new MouseWheelHandler();
mouseWheelListener = createMouseWheelListener();
protected void installListeners(JScrollPane sp) { if (spPropertyChangeListener == null) spPropertyChangeListener = createPropertyChangeListener(); sp.addPropertyChangeListener(spPropertyChangeListener); if (hsbChangeListener == null) hsbChangeListener = createHSBChangeListener(); sp.getHorizont...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/563d61706c08a9c62b0e997a1e5a45e90d1e8cd7/BasicScrollPaneUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicScrollPaneUI.java
{
void addAttributeSet(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling, String attributeSet) throws TransformerException { for (Iterator i = stylesheet.attributeSets.iterator(); i.hasNext(); ) { AttributeSet ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/CopyNode.java/buggy/core/src/classpath/gnu/gnu/xml/transform/CopyNode.java
}
void addAttributeSet(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling, String attributeSet) throws TransformerException { for (Iterator i = stylesheet.attributeSets.iterator(); i.hasNext(); ) { AttributeSet ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/CopyNode.java/buggy/core/src/classpath/gnu/gnu/xml/transform/CopyNode.java
{
void addAttributeSet(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling, String attributeSet) throws TransformerException { for (Iterator i = stylesheet.attributeSets.iterator(); i.hasNext(); ) { AttributeSet ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/CopyNode.java/buggy/core/src/classpath/gnu/gnu/xml/transform/CopyNode.java
}
void addAttributeSet(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling, String attributeSet) throws TransformerException { for (Iterator i = stylesheet.attributeSets.iterator(); i.hasNext(); ) { AttributeSet ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/CopyNode.java/buggy/core/src/classpath/gnu/gnu/xml/transform/CopyNode.java
{
void addAttributeSet(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling, String attributeSet) throws TransformerException { for (Iterator i = stylesheet.attributeSets.iterator(); i.hasNext(); ) { AttributeSet ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/CopyNode.java/buggy/core/src/classpath/gnu/gnu/xml/transform/CopyNode.java
}
void addAttributeSet(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling, String attributeSet) throws TransformerException { for (Iterator i = stylesheet.attributeSets.iterator(); i.hasNext(); ) { AttributeSet ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/CopyNode.java/buggy/core/src/classpath/gnu/gnu/xml/transform/CopyNode.java
{
TemplateNode clone(Stylesheet stylesheet) { TemplateNode ret = new CopyNode(uas); if (children != null) { ret.children = children.clone(stylesheet); } if (next != null) { ret.next = next.clone(stylesheet); } return ret; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/CopyNode.java/buggy/core/src/classpath/gnu/gnu/xml/transform/CopyNode.java