rem
stringlengths
0
477k
add
stringlengths
0
313k
context
stringlengths
6
599k
meta
stringlengths
141
403
throw new InternalError("Not implemented yet");
return compile(regex).matcher(input).matches();
public static boolean matches(String regex, CharSequence input) { throw new InternalError("Not implemented yet"); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/71bd4a234ff464b217036c28c910b8210f375bad/Pattern.java/buggy/core/src/classpath/java/java/util/regex/Pattern.java
public String[] split(CharSequence input, int limit)
public String[] split (CharSequence input)
public String[] split(CharSequence input, int limit) { throw new InternalError("Not implemented yet"); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/71bd4a234ff464b217036c28c910b8210f375bad/Pattern.java/buggy/core/src/classpath/java/java/util/regex/Pattern.java
throw new InternalError("Not implemented yet");
return split(input, 0);
public String[] split(CharSequence input, int limit) { throw new InternalError("Not implemented yet"); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/71bd4a234ff464b217036c28c910b8210f375bad/Pattern.java/buggy/core/src/classpath/java/java/util/regex/Pattern.java
changeListenerList.add(ChangeListener.class, listener);
listenerList.add(ChangeListener.class, listener);
public void addChangeListener(ChangeListener listener) { changeListenerList.add(ChangeListener.class, listener); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JSlider.java/buggy/core/src/classpath/javax/javax/swing/JSlider.java
Object[] changeListeners = changeListenerList.getListenerList();
Object[] changeListeners = listenerList.getListenerList();
protected void fireStateChanged() { Object[] changeListeners = changeListenerList.getListenerList(); if (changeEvent == null) changeEvent = new ChangeEvent(this); for (int i = changeListeners.length - 2; i >= 0; i -= 2) { if (changeListeners[i] == ChangeListener.class) ((ChangeListener) changeLi...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JSlider.java/buggy/core/src/classpath/javax/javax/swing/JSlider.java
return (ChangeListener[]) changeListenerList.getListenerList();
return (ChangeListener[]) listenerList.getListeners(ChangeListener.class);
public ChangeListener[] getChangeListeners() { return (ChangeListener[]) changeListenerList.getListenerList(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JSlider.java/buggy/core/src/classpath/javax/javax/swing/JSlider.java
changeListenerList.remove(ChangeListener.class, listener);
listenerList.remove(ChangeListener.class, listener);
public void removeChangeListener(ChangeListener listener) { changeListenerList.remove(ChangeListener.class, listener); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JSlider.java/buggy/core/src/classpath/javax/javax/swing/JSlider.java
throw new Error("not implemented");
return new ChannelReader(ch, dec, minBufferCap);
public static Reader newReader(ReadableByteChannel ch, CharsetDecoder dec, int minBufferCap) { throw new Error("not implemented"); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b12e4b97d99b73f08ccf219bf0a3ffe50371c94a/Channels.java/clean/core/src/classpath/java/java/nio/channels/Channels.java
public static Writer newWriter(WritableByteChannel ch, CharsetEncoder enc, int minBufferCap) { throw new Error("not implemented"); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b12e4b97d99b73f08ccf219bf0a3ffe50371c94a/Channels.java/clean/core/src/classpath/java/java/nio/channels/Channels.java
mediaCache.add(this);
public MediaSize(float x, float y, int units) { super(x, y, units); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/MediaSize.java/clean/core/src/classpath/javax/javax/print/attribute/standard/MediaSize.java
if (end != toRec.getEndOffset()) { recreateLeaves(end, toRec, onlyContent); if (onlyContent) edit.addRemovedElement(target); }
private void insertContentTag(ElementSpec tag) { BranchElement paragraph = (BranchElement) elementStack.peek(); int len = tag.getLength(); int dir = tag.getDirection(); AttributeSet tagAtts = tag.getAttributes(); if (dir == ElementSpec.JoinNextDirection) { int index...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53983e95556bf4b775130b06570aa2ea08d85628/DefaultStyledDocument.java/clean/core/src/classpath/javax/javax/swing/text/DefaultStyledDocument.java
case TC_ENUM: { /* TC_ENUM classDesc newHandle enumConstantName */ if (dump) dumpElementln("ENUM="); ObjectStreamClass osc = (ObjectStreamClass) readObject(); String constantName = (String) readObject(); if (dump) dumpElementln("CONSTANT NAME = " + constantName); Class clazz = osc.forClass(); Enum instance = Enum.value...
private Object parseContent(byte marker) throws ClassNotFoundException, IOException { Object ret_val; boolean is_consumed = false; switch (marker) { case TC_ENDBLOCKDATA: { ret_val = null; is_consumed = true; break; } case TC_BLOCKDATA: case TC_BLOCKDATALONG: {...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ba6c8424cfc5e0b2250088f94b5bbf356d91781a/ObjectInputStream.java/clean/core/src/classpath/5.0/java/io/ObjectInputStream.java
catch (InvocationTargetException ignore)
catch (InvocationTargetException exception)
private Object processResolution(ObjectStreamClass osc, Object obj, int handle) throws IOException { if (osc != null && obj instanceof Serializable) { try { Method m = osc.readResolveMethod; if(m != null) { obj = m.invoke(obj, new Object[] {}); } } catch (IllegalAccessException ignor...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ba6c8424cfc5e0b2250088f94b5bbf356d91781a/ObjectInputStream.java/clean/core/src/classpath/5.0/java/io/ObjectInputStream.java
Throwable cause = exception.getCause(); if (cause instanceof ObjectStreamException) throw (ObjectStreamException) cause; else if (cause instanceof RuntimeException) throw (RuntimeException) cause; else if (cause instanceof Error) throw (Error) cause;
private Object processResolution(ObjectStreamClass osc, Object obj, int handle) throws IOException { if (osc != null && obj instanceof Serializable) { try { Method m = osc.readResolveMethod; if(m != null) { obj = m.invoke(obj, new Object[] {}); } } catch (IllegalAccessException ignor...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ba6c8424cfc5e0b2250088f94b5bbf356d91781a/ObjectInputStream.java/clean/core/src/classpath/5.0/java/io/ObjectInputStream.java
ClassLoader callersClassLoader = currentLoader();
protected ObjectStreamClass readClassDescriptor() throws ClassNotFoundException, IOException { if(dump) dumpElement("CLASSDESC NAME="); String name = this.realInputStream.readUTF(); if(dump) dumpElement(name + "; UID="); long uid = this.realInputStream.readLong (); if(dump) dumpElement(Long.toHexSt...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ba6c8424cfc5e0b2250088f94b5bbf356d91781a/ObjectInputStream.java/clean/core/src/classpath/5.0/java/io/ObjectInputStream.java
new ObjectStreamField(field_name, class_name, callersClassLoader);
new ObjectStreamField(field_name, class_name);
protected ObjectStreamClass readClassDescriptor() throws ClassNotFoundException, IOException { if(dump) dumpElement("CLASSDESC NAME="); String name = this.realInputStream.readUTF(); if(dump) dumpElement(name + "; UID="); long uid = this.realInputStream.readLong (); if(dump) dumpElement(Long.toHexSt...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ba6c8424cfc5e0b2250088f94b5bbf356d91781a/ObjectInputStream.java/clean/core/src/classpath/5.0/java/io/ObjectInputStream.java
protected ObjectStreamClass readClassDescriptor() throws ClassNotFoundException, IOException { if(dump) dumpElement("CLASSDESC NAME="); String name = this.realInputStream.readUTF(); if(dump) dumpElement(name + "; UID="); long uid = this.realInputStream.readLong (); if(dump) dumpElement(Long.toHexSt...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ba6c8424cfc5e0b2250088f94b5bbf356d91781a/ObjectInputStream.java/clean/core/src/classpath/5.0/java/io/ObjectInputStream.java
while (Serializable.class.isAssignableFrom(first_nonserial) || Modifier.isAbstract(first_nonserial.getModifiers()))
while (Serializable.class.isAssignableFrom(first_nonserial))
protected ObjectStreamClass readClassDescriptor() throws ClassNotFoundException, IOException { if(dump) dumpElement("CLASSDESC NAME="); String name = this.realInputStream.readUTF(); if(dump) dumpElement(name + "; UID="); long uid = this.realInputStream.readLong (); if(dump) dumpElement(Long.toHexSt...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ba6c8424cfc5e0b2250088f94b5bbf356d91781a/ObjectInputStream.java/clean/core/src/classpath/5.0/java/io/ObjectInputStream.java
readNextBlock(this.realInputStream.readByte());
byte marker = this.realInputStream.readByte(); while (marker == TC_RESET) { if(dump) dumpElementln("RESET"); clearHandles(); marker = this.realInputStream.readByte(); } readNextBlock(marker);
private void readNextBlock() throws IOException { readNextBlock(this.realInputStream.readByte()); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ba6c8424cfc5e0b2250088f94b5bbf356d91781a/ObjectInputStream.java/clean/core/src/classpath/5.0/java/io/ObjectInputStream.java
public boolean equals(Object obj) { if (! (obj instanceof Point2D)) return false; Point2D p = (Point2D) obj; return x == p.getX() && y == p.getY(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/cfd5d26ab69af1fe494534bdf03f35be22c13bd8/Point.java/buggy/core/src/classpath/java/java/awt/Point.java
public static AlgorithmParameters getInstance(String algorithm) throws NoSuchAlgorithmException
public static AlgorithmParameters getInstance(String algorithm) throws NoSuchAlgorithmException
public static AlgorithmParameters getInstance(String algorithm) throws NoSuchAlgorithmException { Provider[] p = Security.getProviders(); for (int i = 0; i < p.length; i++) { String classname = p[i].getProperty("AlgorithmParameters." + algorithm); if (classname != null) return getInstance(classname...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/AlgorithmParameters.java/clean/core/src/classpath/java/java/security/AlgorithmParameters.java
public static AlgorithmParameters getInstance(String algorithm) throws NoSuchAlgorithmException { Provider[] p = Security.getProviders(); for (int i = 0; i < p.length; i++) { String classname = p[i].getProperty("AlgorithmParameters." + algorithm); if (classname != null) return getInstance(classname...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/AlgorithmParameters.java/clean/core/src/classpath/java/java/security/AlgorithmParameters.java
String classname = p[i].getProperty("AlgorithmParameters." + algorithm); if (classname != null) return getInstance(classname, algorithm, p[i]);
return getInstance(algorithm, p[i]);
public static AlgorithmParameters getInstance(String algorithm) throws NoSuchAlgorithmException { Provider[] p = Security.getProviders(); for (int i = 0; i < p.length; i++) { String classname = p[i].getProperty("AlgorithmParameters." + algorithm); if (classname != null) return getInstance(classname...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/AlgorithmParameters.java/clean/core/src/classpath/java/java/security/AlgorithmParameters.java
catch (NoSuchAlgorithmException ignored) {}
public static AlgorithmParameters getInstance(String algorithm) throws NoSuchAlgorithmException { Provider[] p = Security.getProviders(); for (int i = 0; i < p.length; i++) { String classname = p[i].getProperty("AlgorithmParameters." + algorithm); if (classname != null) return getInstance(classname...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/AlgorithmParameters.java/clean/core/src/classpath/java/java/security/AlgorithmParameters.java
public final AlgorithmParameterSpec getParameterSpec(Class paramSpec) throws InvalidParameterSpecException
public final AlgorithmParameterSpec getParameterSpec(Class paramSpec) throws InvalidParameterSpecException
public final AlgorithmParameterSpec getParameterSpec(Class paramSpec) throws InvalidParameterSpecException { return paramSpi.engineGetParameterSpec(paramSpec); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/AlgorithmParameters.java/clean/core/src/classpath/java/java/security/AlgorithmParameters.java
public final void init(AlgorithmParameterSpec paramSpec) throws InvalidParameterSpecException
public final void init(AlgorithmParameterSpec paramSpec) throws InvalidParameterSpecException
public final void init(AlgorithmParameterSpec paramSpec) throws InvalidParameterSpecException { paramSpi.engineInit(paramSpec); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/AlgorithmParameters.java/clean/core/src/classpath/java/java/security/AlgorithmParameters.java
if (!this.isLightweight() && dispatcher == null) dispatcher = new LightweightDispatcher (this); if (dispatcher != null) dispatcher.enableEvents(component[i].eventMask);
private void addNotifyContainerChildren() { synchronized (getTreeLock ()) { for (int i = ncomponents; --i >= 0; ) { component[i].addNotify(); if (component[i].isLightweight ()) { // If we're not lightweight, and we just got a lightweight ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/0e5ba93f67f359dbdb3b61f9a098e2718a744e71/Container.java/clean/core/src/classpath/java/java/awt/Container.java
private void visitChild(Graphics gfx, GfxVisitor visitor, Component comp) { Rectangle bounds = comp.getBounds(); if(!gfx.hitClip(bounds.x,bounds.y, bounds.width, bounds.height)) return; Graphics g2 = gfx.create(bounds.x, bounds.y, bounds.width, bound...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/0e5ba93f67f359dbdb3b61f9a098e2718a744e71/Container.java/clean/core/src/classpath/java/java/awt/Container.java
synchronized (getTreeLock ())
synchronized (getTreeLock())
private void visitChildren(Graphics gfx, GfxVisitor visitor, boolean lightweightOnly) { synchronized (getTreeLock ()) { for (int i = ncomponents - 1; i >= 0; --i) { Component comp = component[i]; boolean applicable = comp.isVisible() ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/0e5ba93f67f359dbdb3b61f9a098e2718a744e71/Container.java/clean/core/src/classpath/java/java/awt/Container.java
&& (comp.isLightweight() || !lightweightOnly);
&& (comp.isLightweight() || ! lightweightOnly);
private void visitChildren(Graphics gfx, GfxVisitor visitor, boolean lightweightOnly) { synchronized (getTreeLock ()) { for (int i = ncomponents - 1; i >= 0; --i) { Component comp = component[i]; boolean applicable = comp.isVisible() ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/0e5ba93f67f359dbdb3b61f9a098e2718a744e71/Container.java/clean/core/src/classpath/java/java/awt/Container.java
public GroupDescriptor(byte src[]) { data = new byte[src.length]; System.arraycopy(src, 0, data, 0, src.length);
public GroupDescriptor(int groupNr, Ext2FileSystem fs) throws IOException{ byte[] blockData = fs.getBlock( fs.getSuperblock().getFirstDataBlock() + 1); byte[] data = new byte[GROUPDESCRIPTOR_LENGTH]; System.arraycopy(blockData, 0, data, 0, GROUPDESCRIPTOR_LENGTH); this.groupNr = groupNr; this.fs = fs; setDirty(false);...
public GroupDescriptor(byte src[]) { data = new byte[src.length]; System.arraycopy(src, 0, data, 0, src.length); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/5d32e4c533c3f554b2099795fe6d30766c16e4da/GroupDescriptor.java/buggy/fs/src/fs/org/jnode/fs/ext2/GroupDescriptor.java
return Ext2Utils.get16(data, 14);
return Ext2Utils.get16(data, 14);
public int getFreeInodesCount() { return Ext2Utils.get16(data, 14); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/5d32e4c533c3f554b2099795fe6d30766c16e4da/GroupDescriptor.java/buggy/fs/src/fs/org/jnode/fs/ext2/GroupDescriptor.java
String string = null; if (source instanceof Component) string = getClass ().getName () + "[" + paramString () + "] on " + ((Component) source).getName (); else if (source instanceof MenuComponent) string = getClass ().getName () + "[" + paramString () + "] on " + ((MenuComponent) source).getName (); else string = getC...
String string = getClass ().getName () + "[" + paramString () + "] on "
public String toString () { String string = null; if (source instanceof Component) string = getClass ().getName () + "[" + paramString () + "] on " + ((Component) source).getName (); else if (source instanceof MenuComponent) string = getClass ().getName () + "[" + paramString () + "] on " ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b0819f69fb87c25602911abcc49016c8e9b9db5d/AWTEvent.java/clean/core/src/classpath/java/java/awt/AWTEvent.java
if (next == root)
if (next == root.getParentNode())
private Node successor(Node here, boolean forward) { Node next; // the "leftmost" end is funky if (here == null) { return forward ? root : null; } // // Forward, this is preorder: children before siblings. // Backward, it's postorder: we saw the children already. // if (forwa...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53983e95556bf4b775130b06570aa2ea08d85628/DomIterator.java/clean/core/src/classpath/gnu/gnu/xml/dom/DomIterator.java
private IconvProvider()
public IconvProvider()
private IconvProvider() { IconvMetaData.setup(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/206323a9a1de1e11c769011a5cbcb03397404977/IconvProvider.java/buggy/core/src/classpath/gnu/gnu/java/nio/charset/iconv/IconvProvider.java
ValueOfNode(TemplateNode children, TemplateNode next, Expr select, boolean disableOutputEscaping)
ValueOfNode(Expr select, boolean disableOutputEscaping)
ValueOfNode(TemplateNode children, TemplateNode next, Expr select, boolean disableOutputEscaping) { super(children, next); this.select = select; this.disableOutputEscaping = disableOutputEscaping; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b8e6f02cb6a820cbb793320542ee01a4b70f176a/ValueOfNode.java/clean/core/src/classpath/gnu/gnu/xml/transform/ValueOfNode.java
super(children, next);
ValueOfNode(TemplateNode children, TemplateNode next, Expr select, boolean disableOutputEscaping) { super(children, next); this.select = select; this.disableOutputEscaping = disableOutputEscaping; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b8e6f02cb6a820cbb793320542ee01a4b70f176a/ValueOfNode.java/clean/core/src/classpath/gnu/gnu/xml/transform/ValueOfNode.java
return new ValueOfNode((children == null) ? null : children.clone(stylesheet), (next == null) ? null : next.clone(stylesheet), select.clone(stylesheet),
TemplateNode ret = new ValueOfNode(select.clone(stylesheet),
TemplateNode clone(Stylesheet stylesheet) { return new ValueOfNode((children == null) ? null : children.clone(stylesheet), (next == null) ? null : next.clone(stylesheet), select.clone(stylesheet), ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b8e6f02cb6a820cbb793320542ee01a4b70f176a/ValueOfNode.java/clean/core/src/classpath/gnu/gnu/xml/transform/ValueOfNode.java
if (children != null) { ret.children = children.clone(stylesheet); } if (next != null) { ret.next = next.clone(stylesheet); } return ret;
TemplateNode clone(Stylesheet stylesheet) { return new ValueOfNode((children == null) ? null : children.clone(stylesheet), (next == null) ? null : next.clone(stylesheet), select.clone(stylesheet), ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b8e6f02cb6a820cbb793320542ee01a4b70f176a/ValueOfNode.java/clean/core/src/classpath/gnu/gnu/xml/transform/ValueOfNode.java
String value = Expr._string(context, ret);
String value; if (ret instanceof Collection) { StringBuffer buf = new StringBuffer(); for (Iterator i = ((Collection) ret).iterator(); i.hasNext(); ) { Node node = (Node) i.next(); buf.append(Expr.stringValue(node)); } value = buf.toString(); } else { value = Expr._string(context, ret); } /*if (stylesheet.debug) { Syst...
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); String value = Expr._string(context, ret); //System.err.println("value-of: "+context+" "+ s...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b8e6f02cb6a820cbb793320542ee01a4b70f176a/ValueOfNode.java/clean/core/src/classpath/gnu/gnu/xml/transform/ValueOfNode.java
public synchronized void addConsumer(ImageConsumer ic) {
public synchronized void addConsumer(ImageConsumer ic) {
public synchronized void addConsumer(ImageConsumer ic) { if (consumers.contains(ic)) return; consumers.addElement(ic); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/MemoryImageSource.java/buggy/core/src/classpath/java/java/awt/image/MemoryImageSource.java
public synchronized boolean isConsumer(ImageConsumer ic) {
public synchronized boolean isConsumer(ImageConsumer ic) {
public synchronized boolean isConsumer(ImageConsumer ic) { if (consumers.contains(ic)) return true; return false; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/MemoryImageSource.java/buggy/core/src/classpath/java/java/awt/image/MemoryImageSource.java
if( animated == true ) {
if (animated == true) {
public void newPixels() { if( animated == true ) { ImageConsumer ic; Vector list = (Vector) consumers.clone(); for(int i = 0; i < list.size(); i++) { ic = (ImageConsumer) list.elementAt(i); sendPicture( ic ); ic.imageComplete( ImageConsumer.SINGLEFRAME ); } } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/MemoryImageSource.java/buggy/core/src/classpath/java/java/awt/image/MemoryImageSource.java
for(int i = 0; i < list.size(); i++) {
for (int i = 0; i < list.size(); i++) {
public void newPixels() { if( animated == true ) { ImageConsumer ic; Vector list = (Vector) consumers.clone(); for(int i = 0; i < list.size(); i++) { ic = (ImageConsumer) list.elementAt(i); sendPicture( ic ); ic.imageComplete( ImageConsumer.SINGLEFRAME ); } } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/MemoryImageSource.java/buggy/core/src/classpath/java/java/awt/image/MemoryImageSource.java
sendPicture( ic ); ic.imageComplete( ImageConsumer.SINGLEFRAME );
sendPicture(ic); ic.imageComplete(ImageConsumer.SINGLEFRAME);
public void newPixels() { if( animated == true ) { ImageConsumer ic; Vector list = (Vector) consumers.clone(); for(int i = 0; i < list.size(); i++) { ic = (ImageConsumer) list.elementAt(i); sendPicture( ic ); ic.imageComplete( ImageConsumer.SINGLEFRAME ); } } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/MemoryImageSource.java/buggy/core/src/classpath/java/java/awt/image/MemoryImageSource.java
public synchronized void removeConsumer(ImageConsumer ic) {
public synchronized void removeConsumer(ImageConsumer ic) {
public synchronized void removeConsumer(ImageConsumer ic) { consumers.removeElement(ic); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/MemoryImageSource.java/buggy/core/src/classpath/java/java/awt/image/MemoryImageSource.java
public void requestTopDownLeftRightResend(ImageConsumer ic) { startProduction ( ic );
public void requestTopDownLeftRightResend(ImageConsumer ic) { startProduction(ic);
public void requestTopDownLeftRightResend(ImageConsumer ic) { startProduction ( ic ); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/MemoryImageSource.java/buggy/core/src/classpath/java/java/awt/image/MemoryImageSource.java
private void sendPicture ( ImageConsumer ic )
private void sendPicture(ImageConsumer ic)
private void sendPicture ( ImageConsumer ic ) { ic.setHints( ImageConsumer.TOPDOWNLEFTRIGHT ); if( props != null ) { ic.setProperties( props ); } ic.setDimensions(width, height); ic.setColorModel(cm); if( pixeli != null ) { ic.setPixels( 0, 0, width, height, cm, pixeli, offset, scansize ); } else { ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/MemoryImageSource.java/buggy/core/src/classpath/java/java/awt/image/MemoryImageSource.java
ic.setHints( ImageConsumer.TOPDOWNLEFTRIGHT ); if( props != null ) { ic.setProperties( props ); }
ic.setHints(ImageConsumer.TOPDOWNLEFTRIGHT); if (props != null) ic.setProperties(props);
private void sendPicture ( ImageConsumer ic ) { ic.setHints( ImageConsumer.TOPDOWNLEFTRIGHT ); if( props != null ) { ic.setProperties( props ); } ic.setDimensions(width, height); ic.setColorModel(cm); if( pixeli != null ) { ic.setPixels( 0, 0, width, height, cm, pixeli, offset, scansize ); } else { ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/MemoryImageSource.java/buggy/core/src/classpath/java/java/awt/image/MemoryImageSource.java
if( pixeli != null ) { ic.setPixels( 0, 0, width, height, cm, pixeli, offset, scansize ); } else { ic.setPixels( 0, 0, width, height, cm, pixelb, offset, scansize ); }
if (pixeli != null) ic.setPixels(0, 0, width, height, cm, pixeli, offset, scansize); else ic.setPixels(0, 0, width, height, cm, pixelb, offset, scansize);
private void sendPicture ( ImageConsumer ic ) { ic.setHints( ImageConsumer.TOPDOWNLEFTRIGHT ); if( props != null ) { ic.setProperties( props ); } ic.setDimensions(width, height); ic.setColorModel(cm); if( pixeli != null ) { ic.setPixels( 0, 0, width, height, cm, pixeli, offset, scansize ); } else { ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/MemoryImageSource.java/buggy/core/src/classpath/java/java/awt/image/MemoryImageSource.java
public void startProduction(ImageConsumer ic) { if (!(consumers.contains(ic))) {
public void startProduction(ImageConsumer ic) { if (! (consumers.contains(ic)))
public void startProduction(ImageConsumer ic) { if (!(consumers.contains(ic))) { consumers.addElement(ic); } Vector list = (Vector) consumers.clone(); for(int i = 0; i < list.size(); i++) { ic = (ImageConsumer) list.elementAt(i); sendPicture( ic ); ic.imageComplete( ImageConsumer.STATICIMAGEDONE ); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/MemoryImageSource.java/buggy/core/src/classpath/java/java/awt/image/MemoryImageSource.java
}
public void startProduction(ImageConsumer ic) { if (!(consumers.contains(ic))) { consumers.addElement(ic); } Vector list = (Vector) consumers.clone(); for(int i = 0; i < list.size(); i++) { ic = (ImageConsumer) list.elementAt(i); sendPicture( ic ); ic.imageComplete( ImageConsumer.STATICIMAGEDONE ); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/MemoryImageSource.java/buggy/core/src/classpath/java/java/awt/image/MemoryImageSource.java
for(int i = 0; i < list.size(); i++) {
for (int i = 0; i < list.size(); i++) {
public void startProduction(ImageConsumer ic) { if (!(consumers.contains(ic))) { consumers.addElement(ic); } Vector list = (Vector) consumers.clone(); for(int i = 0; i < list.size(); i++) { ic = (ImageConsumer) list.elementAt(i); sendPicture( ic ); ic.imageComplete( ImageConsumer.STATICIMAGEDONE ); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/MemoryImageSource.java/buggy/core/src/classpath/java/java/awt/image/MemoryImageSource.java
sendPicture( ic ); ic.imageComplete( ImageConsumer.STATICIMAGEDONE );
sendPicture(ic); if (animated) ic.imageComplete(ImageConsumer.SINGLEFRAME); else ic.imageComplete(ImageConsumer.STATICIMAGEDONE);
public void startProduction(ImageConsumer ic) { if (!(consumers.contains(ic))) { consumers.addElement(ic); } Vector list = (Vector) consumers.clone(); for(int i = 0; i < list.size(); i++) { ic = (ImageConsumer) list.elementAt(i); sendPicture( ic ); ic.imageComplete( ImageConsumer.STATICIMAGEDONE ); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/MemoryImageSource.java/buggy/core/src/classpath/java/java/awt/image/MemoryImageSource.java
{
TemplateNode clone(Stylesheet stylesheet) { TemplateNode ret = new ChooseNode(); 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/ChooseNode.java/clean/core/src/classpath/gnu/gnu/xml/transform/ChooseNode.java
}
TemplateNode clone(Stylesheet stylesheet) { TemplateNode ret = new ChooseNode(); 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/ChooseNode.java/clean/core/src/classpath/gnu/gnu/xml/transform/ChooseNode.java
{
TemplateNode clone(Stylesheet stylesheet) { TemplateNode ret = new ChooseNode(); 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/ChooseNode.java/clean/core/src/classpath/gnu/gnu/xml/transform/ChooseNode.java
}
TemplateNode clone(Stylesheet stylesheet) { TemplateNode ret = new ChooseNode(); 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/ChooseNode.java/clean/core/src/classpath/gnu/gnu/xml/transform/ChooseNode.java
{
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { if (children != null) { children.apply(stylesheet, mode, context, pos, len, parent, ne...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/ChooseNode.java/clean/core/src/classpath/gnu/gnu/xml/transform/ChooseNode.java
}
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { if (children != null) { children.apply(stylesheet, mode, context, pos, len, parent, ne...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/ChooseNode.java/clean/core/src/classpath/gnu/gnu/xml/transform/ChooseNode.java
{
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { if (children != null) { children.apply(stylesheet, mode, context, pos, len, parent, ne...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/ChooseNode.java/clean/core/src/classpath/gnu/gnu/xml/transform/ChooseNode.java
}
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { if (children != null) { children.apply(stylesheet, mode, context, pos, len, parent, ne...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/ChooseNode.java/clean/core/src/classpath/gnu/gnu/xml/transform/ChooseNode.java
StringBuffer buf = new StringBuffer(getClass().getName());
StringBuffer buf = new StringBuffer("choose");
public String toString() { StringBuffer buf = new StringBuffer(getClass().getName()); buf.append('['); buf.append(']'); return buf.toString(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/ChooseNode.java/clean/core/src/classpath/gnu/gnu/xml/transform/ChooseNode.java
SwingUtilities.calculateInnerArea(m, br); SwingUtilities.calculateInsetArea(br, m.getInsets(), vr);
SwingUtilities.calculateInnerArea(m, vr);
protected void paintMenuItem(Graphics g, JComponent c, Icon checkIcon, Icon arrowIcon, Color background, Color foreground, int defaultTextIconGap) { JMenuItem m = (JMenuItem) c; Rectangle tr = new Rectangle(); // text rectangle Rectangle ir = new R...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e62592e8f80f1dcb092adb192d67f254df4e9392/BasicMenuItemUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicMenuItemUI.java
cls = loader.loadClass(className).getVmClass();
final Class<?> javaType = loader.loadClass(className); cls = javaType.getVmClass();
public final VmType loadClass(String className, boolean resolve) throws ClassNotFoundException, PrivilegedActionPragma { final VmType<?> cls; if (className.charAt(0) == '[') { cls = loadArrayClass(className, resolve); addLoadedClass(className, cls); } else { ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/982e1b1b1ed579528f868755d8a932bed0e03228/VmJavaClassLoader.java/clean/core/src/core/org/jnode/vm/VmJavaClassLoader.java
keys = new HashSet (); selected = new HashSet ();
keys = new HashSet<SelectionKey> (); selected = new HashSet<SelectionKey> ();
public SelectorImpl (SelectorProvider provider) { super (provider); keys = new HashSet (); selected = new HashSet (); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b178c65c33dbad8dc1c9e11c353aa40d71b61453/SelectorImpl.java/clean/core/src/classpath/gnu/gnu/java/nio/SelectorImpl.java
Set ckeys = cancelledKeys ();
Set<SelectionKey> ckeys = cancelledKeys ();
private final void deregisterCancelledKeys() { Set ckeys = cancelledKeys (); synchronized (ckeys) { Iterator it = ckeys.iterator(); while (it.hasNext ()) { keys.remove ((SelectionKeyImpl) it.next ()); it.remove (); } } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b178c65c33dbad8dc1c9e11c353aa40d71b61453/SelectorImpl.java/clean/core/src/classpath/gnu/gnu/java/nio/SelectorImpl.java
Iterator it = ckeys.iterator();
Iterator<SelectionKey> it = ckeys.iterator();
private final void deregisterCancelledKeys() { Set ckeys = cancelledKeys (); synchronized (ckeys) { Iterator it = ckeys.iterator(); while (it.hasNext ()) { keys.remove ((SelectionKeyImpl) it.next ()); it.remove (); } } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b178c65c33dbad8dc1c9e11c353aa40d71b61453/SelectorImpl.java/clean/core/src/classpath/gnu/gnu/java/nio/SelectorImpl.java
Iterator it = keys.iterator ();
Iterator<SelectionKey> it = keys.iterator ();
private final int[] getFDsAsArray (int ops) { int[] result; int counter = 0; Iterator it = keys.iterator (); // Count the number of file descriptors needed while (it.hasNext ()) { SelectionKeyImpl key = (SelectionKeyImpl) it.next (); if ((key.interestOps () & ops) != 0) { ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b178c65c33dbad8dc1c9e11c353aa40d71b61453/SelectorImpl.java/clean/core/src/classpath/gnu/gnu/java/nio/SelectorImpl.java
public final Set keys()
public final Set<SelectionKey> keys()
public final Set keys() { if (!isOpen()) throw new ClosedSelectorException(); return Collections.unmodifiableSet (keys); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b178c65c33dbad8dc1c9e11c353aa40d71b61453/SelectorImpl.java/clean/core/src/classpath/gnu/gnu/java/nio/SelectorImpl.java
public final Set selectedKeys()
public final Set<SelectionKey> selectedKeys()
public final Set selectedKeys() { if (!isOpen()) throw new ClosedSelectorException(); return selected; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b178c65c33dbad8dc1c9e11c353aa40d71b61453/SelectorImpl.java/clean/core/src/classpath/gnu/gnu/java/nio/SelectorImpl.java
POA poa;
gnuPOA poa;
protected IOR createIOR(cObject ref) throws BAD_OPERATION { IOR ior = super.createIOR(ref); if (iIor != null) { AOM.Obj obj = rootPOA.findIorKey(ior.key); POA poa; // Null means that the object was connected to the ORB directly. if (obj == null) poa = rootPOA; ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8820e7a18265b8e9be753676d9477fb94a1447c8/ORB_1_4.java/buggy/core/src/classpath/gnu/gnu/CORBA/Poa/ORB_1_4.java
iIor.components_established(info);
protected IOR createIOR(cObject ref) throws BAD_OPERATION { IOR ior = super.createIOR(ref); if (iIor != null) { AOM.Obj obj = rootPOA.findIorKey(ior.key); POA poa; // Null means that the object was connected to the ORB directly. if (obj == null) poa = rootPOA; ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8820e7a18265b8e9be753676d9477fb94a1447c8/ORB_1_4.java/buggy/core/src/classpath/gnu/gnu/CORBA/Poa/ORB_1_4.java
throw new DomEx(DomEx.NOT_SUPPORTED_ERR,
throw new DomDOMException(DOMException.NOT_SUPPORTED_ERR,
protected DomIterator(Node root, int whatToShow, NodeFilter filter, boolean entityReferenceExpansion) { if (!root.isSupported("MutationEvents", "2.0")) { throw new DomEx(DomEx.NOT_SUPPORTED_ERR, "Iterator need...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/DomIterator.java/buggy/core/src/classpath/gnu/gnu/xml/dom/DomIterator.java
throw new DomEx(DomEx.INVALID_STATE_ERR);
throw new DomDOMException(DOMException.INVALID_STATE_ERR);
public Node nextNode() { if (done) { throw new DomEx(DomEx.INVALID_STATE_ERR); } right = true; return walk(true); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/DomIterator.java/buggy/core/src/classpath/gnu/gnu/xml/dom/DomIterator.java
throw new DomEx(DomEx.INVALID_STATE_ERR);
throw new DomDOMException(DOMException.INVALID_STATE_ERR);
public Node previousNode() { if (done) { throw new DomEx(DomEx.INVALID_STATE_ERR); } Node previous = reference; right = false; walk(false); return previous; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/DomIterator.java/buggy/core/src/classpath/gnu/gnu/xml/dom/DomIterator.java
pred.addSuccessor(succ);
branchTargets.put(new Integer(getInstructionAddress()), new Integer(target));
private final void addBranch(int target, byte flags) { IRBasicBlock pred = this.currentBlock; IRBasicBlock succ = startBB(target); pred.addSuccessor(succ); endBB(flags); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8c15df5387d5755e53a14a2bf0786bbbd86afea3/IRBasicBlockFinder.java/buggy/core/src/core/org/jnode/vm/compiler/ir/IRBasicBlockFinder.java
Iterator it = branchTargets.keySet().iterator(); while (it.hasNext()) { Integer from = (Integer) it.next(); Integer to = (Integer) branchTargets.get(from); findBB(list, from.intValue()).addSuccessor(findBB(list, to.intValue())); }
public IRBasicBlock[] createBasicBlocks() { // Sort the blocks on start PC Collections.sort(blocks, this); // Create the array final IRBasicBlock[] list = (IRBasicBlock[])blocks.toArray(new IRBasicBlock[blocks.size()]); // Set the EndPC's and flags final byte[] opcodeFlags = this.opcodeFlags; final byte[] branc...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8c15df5387d5755e53a14a2bf0786bbbd86afea3/IRBasicBlockFinder.java/buggy/core/src/core/org/jnode/vm/compiler/ir/IRBasicBlockFinder.java
public static Throwable systemException(int nr, int address) throws UninterruptiblePragma, LoadStaticsPragma, PrivilegedActionPragma { //Unsafe.getCurrentProcessor().getArchitecture().getStackReader().debugStackTrace(); if (false) { Unsafe.debug(nr); Unsafe.debug(address); Unsafe.die("System exception"); ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/5fd2b1e0180cda24cafbd8288788f03fd5464c0f/SoftByteCodes.java/buggy/core/src/core/org/jnode/vm/SoftByteCodes.java
case EX_CLASSCAST: return new ClassCastException();
public static Throwable systemException(int nr, int address) throws UninterruptiblePragma, LoadStaticsPragma, PrivilegedActionPragma { //Unsafe.getCurrentProcessor().getArchitecture().getStackReader().debugStackTrace(); if (false) { Unsafe.debug(nr); Unsafe.debug(address); Unsafe.die("System exception"); ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/5fd2b1e0180cda24cafbd8288788f03fd5464c0f/SoftByteCodes.java/buggy/core/src/core/org/jnode/vm/SoftByteCodes.java
getLocalName().equals(other.getLocalName());
equal(getLocalName(), other.getLocalName());
public boolean nameAndTypeEquals(Node other) { if (other == this) { return true; } // node types must match if (nodeType != other.getNodeType()) { return false; } // if both have namespaces, do a "full" comparision // this is a "global" partition String ns1 = this....
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b8e6f02cb6a820cbb793320542ee01a4b70f176a/DomNode.java/buggy/core/src/classpath/gnu/gnu/xml/dom/DomNode.java
if (loader != null)
if (loader == null) loader = ClassLoader.getSystemClassLoader();
public Class getUIClass(String id, ClassLoader loader) { String className = (String) get (id); if (className == null) return null; try { if (loader != null) return loader.loadClass (className); return Class.forName (className); } catch (Exception e) { ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/UIDefaults.java/clean/core/src/classpath/javax/javax/swing/UIDefaults.java
return Class.forName (className);
public Class getUIClass(String id, ClassLoader loader) { String className = (String) get (id); if (className == null) return null; try { if (loader != null) return loader.loadClass (className); return Class.forName (className); } catch (Exception e) { ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/UIDefaults.java/clean/core/src/classpath/javax/javax/swing/UIDefaults.java
TreeModelEvent event = new TreeModelEvent(source, path, childIndices, children);
TreeModelEvent event = new TreeModelEvent(source, path, childIndices, children);
protected void fireTreeNodesChanged(Object source, Object[] path, int[] childIndices, Object[] children) { TreeModelEvent event = new TreeModelEvent(source, path, childIndices, children); TreeModelListener[] listeners = getTreeModelListeners(); for (int i = listener...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/65fc7899e6a31f0880fa2d7c7f5bd6905d251de4/DefaultTreeModel.java/clean/core/src/classpath/javax/javax/swing/tree/DefaultTreeModel.java
TreeModelEvent event = new TreeModelEvent(source, path, childIndices, children);
TreeModelEvent event = new TreeModelEvent(source, path, childIndices, children);
protected void fireTreeNodesInserted(Object source, Object[] path, int[] childIndices, Object[] children) { TreeModelEvent event = new TreeModelEvent(source, path, childIndices, children); TreeModelListener[] listeners = getTreeModelListeners(); for (int i = listen...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/65fc7899e6a31f0880fa2d7c7f5bd6905d251de4/DefaultTreeModel.java/clean/core/src/classpath/javax/javax/swing/tree/DefaultTreeModel.java
TreeModelEvent event = new TreeModelEvent(source, path, childIndices, children);
TreeModelEvent event = new TreeModelEvent(source, path, childIndices, children);
protected void fireTreeNodesRemoved(Object source, Object[] path, int[] childIndices, Object[] children) { TreeModelEvent event = new TreeModelEvent(source, path, childIndices, children); TreeModelListener[] listeners = getTreeModelListeners(); for (int i = listener...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/65fc7899e6a31f0880fa2d7c7f5bd6905d251de4/DefaultTreeModel.java/clean/core/src/classpath/javax/javax/swing/tree/DefaultTreeModel.java
TreeModelEvent event = new TreeModelEvent(source, path, childIndices, children);
TreeModelEvent event = new TreeModelEvent(source, path, childIndices, children);
protected void fireTreeStructureChanged(Object source, Object[] path, int[] childIndices, Object[] children) { TreeModelEvent event = new TreeModelEvent(source, path, childIndices, children); TreeModelListener[] listeners = getTreeModelListeners(); for (int i = ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/65fc7899e6a31f0880fa2d7c7f5bd6905d251de4/DefaultTreeModel.java/clean/core/src/classpath/javax/javax/swing/tree/DefaultTreeModel.java
return ((TreeNode)node).getChildAt(idx);
return ((TreeNode) node).getChildAt(idx);
public Object getChild(Object node, int idx) { if (node instanceof TreeNode) return ((TreeNode)node).getChildAt(idx); else return null; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/65fc7899e6a31f0880fa2d7c7f5bd6905d251de4/DefaultTreeModel.java/clean/core/src/classpath/javax/javax/swing/tree/DefaultTreeModel.java
return ((TreeNode)node).getChildCount();
return ((TreeNode) node).getChildCount();
public int getChildCount(Object node) { if (node instanceof TreeNode) return ((TreeNode)node).getChildCount(); else return 0; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/65fc7899e6a31f0880fa2d7c7f5bd6905d251de4/DefaultTreeModel.java/clean/core/src/classpath/javax/javax/swing/tree/DefaultTreeModel.java
return (TreeModelListener[]) listenerList.getListeners(TreeModelListener.class);
return (TreeModelListener[]) listenerList .getListeners(TreeModelListener.class);
public TreeModelListener[] getTreeModelListeners() { return (TreeModelListener[]) listenerList.getListeners(TreeModelListener.class); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/65fc7899e6a31f0880fa2d7c7f5bd6905d251de4/DefaultTreeModel.java/clean/core/src/classpath/javax/javax/swing/tree/DefaultTreeModel.java
return ((TreeNode)node).isLeaf();
return ((TreeNode) node).isLeaf();
public boolean isLeaf(Object node) { if (node instanceof TreeNode) return ((TreeNode)node).isLeaf(); else return true; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/65fc7899e6a31f0880fa2d7c7f5bd6905d251de4/DefaultTreeModel.java/clean/core/src/classpath/javax/javax/swing/tree/DefaultTreeModel.java
private void readObject(ObjectInputStream value0) throws IOException, ClassNotFoundException
private void readObject(ObjectInputStream value0) throws IOException, ClassNotFoundException
private void readObject(ObjectInputStream value0) throws IOException, ClassNotFoundException { // TODO }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/65fc7899e6a31f0880fa2d7c7f5bd6905d251de4/DefaultTreeModel.java/clean/core/src/classpath/javax/javax/swing/tree/DefaultTreeModel.java
int x2 = x1 + w.width + hgap;
int x2 = x1 + w.width + (w.width == 0 ? 0 : hgap);
layoutContainer(Container target){ synchronized (target.getTreeLock ()) { Insets i = target.getInsets(); ComponentOrientation orient = target.getComponentOrientation (); boolean left_to_right = orient.isLeftToRight (); Component my_north = north; Component my_east = east; Component my_...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b0819f69fb87c25602911abcc49016c8e9b9db5d/BorderLayout.java/buggy/core/src/classpath/java/java/awt/BorderLayout.java
x3 = x2 + w.width + hgap;
x3 = x2 + w.width + (w.width == 0 ? 0 : hgap);
layoutContainer(Container target){ synchronized (target.getTreeLock ()) { Insets i = target.getInsets(); ComponentOrientation orient = target.getComponentOrientation (); boolean left_to_right = orient.isLeftToRight (); Component my_north = north; Component my_east = east; Component my_...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b0819f69fb87c25602911abcc49016c8e9b9db5d/BorderLayout.java/buggy/core/src/classpath/java/java/awt/BorderLayout.java
int y2 = y1 + n.height + vgap;
int y2 = y1 + n.height + (n.height == 0 ? 0 : vgap);
layoutContainer(Container target){ synchronized (target.getTreeLock ()) { Insets i = target.getInsets(); ComponentOrientation orient = target.getComponentOrientation (); boolean left_to_right = orient.isLeftToRight (); Component my_north = north; Component my_east = east; Component my_...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b0819f69fb87c25602911abcc49016c8e9b9db5d/BorderLayout.java/buggy/core/src/classpath/java/java/awt/BorderLayout.java
int hh = y3-y2-vgap;
int hh = y3-y2-(s.height == 0 ? 0 : vgap);
layoutContainer(Container target){ synchronized (target.getTreeLock ()) { Insets i = target.getInsets(); ComponentOrientation orient = target.getComponentOrientation (); boolean left_to_right = orient.isLeftToRight (); Component my_north = north; Component my_east = east; Component my_...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b0819f69fb87c25602911abcc49016c8e9b9db5d/BorderLayout.java/buggy/core/src/classpath/java/java/awt/BorderLayout.java
setBounds(center, x2, y2, x3-x2-hgap, hh);
setBounds(center, x2, y2, x3-x2-(w.width == 0 ? 0 : hgap), hh);
layoutContainer(Container target){ synchronized (target.getTreeLock ()) { Insets i = target.getInsets(); ComponentOrientation orient = target.getComponentOrientation (); boolean left_to_right = orient.isLeftToRight (); Component my_north = north; Component my_east = east; Component my_...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b0819f69fb87c25602911abcc49016c8e9b9db5d/BorderLayout.java/buggy/core/src/classpath/java/java/awt/BorderLayout.java
"FormattedTextField.font", new FontUIResource("SansSerif", Font.PLAIN, 12),
protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; Color highLight = new Color(249, 247, 246); Color light = new Color(239, 235, 231); Color shadow = new Color(139, 136, 134); Color darkShadow = new Color(16, 16, 16); uiDefaults = new Object[] { "AbstractU...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e4abb9c75335af103edab6fd85ed87fb53a143e8/BasicLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicLookAndFeel.java
ex.printStackTrace();
log.error("Error in FBTest", ex);
public static void main(String[] args) throws Exception { final String devId = (args.length > 0) ? args[0] : "fb0"; final int count = (args.length > 1) ? Integer.parseInt(args[1]) : 100; final String tests = (args.length > 2) ? args[2] : "plrREQ"; Surface g = null; try { ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9b4526bb2ab06b3eef3f4b8621964a1355c676ca/FBTest.java/clean/gui/src/test/org/jnode/test/gui/FBTest.java
log.info("End of FBTest");
public static void main(String[] args) throws Exception { final String devId = (args.length > 0) ? args[0] : "fb0"; final int count = (args.length > 1) ? Integer.parseInt(args[1]) : 100; final String tests = (args.length > 2) ? args[2] : "plrREQ"; Surface g = null; try { ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9b4526bb2ab06b3eef3f4b8621964a1355c676ca/FBTest.java/clean/gui/src/test/org/jnode/test/gui/FBTest.java