rem stringlengths 0 477k | add stringlengths 0 313k | context stringlengths 6 599k | meta stringlengths 141 403 |
|---|---|---|---|
return null; | else { Node dst = null; switch (sourceNodeType) { case Node.ATTRIBUTE_NODE: { Attr src = (Attr) source; String nodeName = src.getNodeName(); String localName = src.getLocalName(); String namespaceUri = src.getNamespaceURI(); dst = (localName == null) ? createAttribute(nodeName) : createAttributeNS(namespaceUri, nodeNa... | public Node adoptNode(Node source) { switch (source.getNodeType()) { case DOCUMENT_NODE: case DOCUMENT_TYPE_NODE: throw new DomDOMException(DOMException.NOT_SUPPORTED_ERR); case ENTITY_NODE: case NOTATION_NODE: throw new DomDOMException(DOMException.NO_MODIFICATION_ALLOWED_E... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b8e6f02cb6a820cbb793320542ee01a4b70f176a/DomDocument.java/clean/core/src/classpath/gnu/gnu/xml/dom/DomDocument.java |
System.arraycopy(value, end, value, start, count - end); | VMSystem.arraycopy(value, end, value, start, count - end); | public synchronized StringBuffer delete(int start, int end) { if (start < 0 || start > count || start > end) throw new StringIndexOutOfBoundsException(start); if (end > count) end = count; // This will unshare if required. ensureCapacity_unsynchronized(count); if (count - end != 0) Syst... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f10b7b5c6f8fa7d4a953bac299f6d3674edbcbc7/StringBuffer.java/buggy/core/src/classpath/java/java/lang/StringBuffer.java |
System.arraycopy(value, 0, nb, 0, count); | VMSystem.arraycopy(value, 0, nb, 0, count); | private void ensureCapacity_unsynchronized(int minimumCapacity) { if (shared || minimumCapacity > value.length) { // We don't want to make a larger vector when `shared' is // set. If we do, then setLength becomes very inefficient // when repeatedly reusing a StringBuffer in a loop. ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f10b7b5c6f8fa7d4a953bac299f6d3674edbcbc7/StringBuffer.java/buggy/core/src/classpath/java/java/lang/StringBuffer.java |
System.arraycopy(value, srcOffset, dst, dstOffset, srcEnd - srcOffset); | VMSystem.arraycopy(value, srcOffset, dst, dstOffset, srcEnd - srcOffset); | public synchronized void getChars(int srcOffset, int srcEnd, char[] dst, int dstOffset) { if (srcOffset < 0 || srcEnd > count || srcEnd < srcOffset) throw new StringIndexOutOfBoundsException(); System.arraycopy(value, srcOffset, dst, dstOffset, srcEnd - srcOffset); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f10b7b5c6f8fa7d4a953bac299f6d3674edbcbc7/StringBuffer.java/buggy/core/src/classpath/java/java/lang/StringBuffer.java |
System.arraycopy(value, offset, value, offset + len, count - offset); System.arraycopy(str, str_offset, value, offset, len); | VMSystem.arraycopy(value, offset, value, offset + len, count - offset); VMSystem.arraycopy(str, str_offset, value, offset, len); | public synchronized StringBuffer insert(int offset, char[] str, int str_offset, int len) { if (offset < 0 || offset > count || len < 0 || str_offset < 0 || str_offset > str.length - len) throw new StringIndexOutOfBoundsException(); ensureCapacity_unsynchroni... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f10b7b5c6f8fa7d4a953bac299f6d3674edbcbc7/StringBuffer.java/buggy/core/src/classpath/java/java/lang/StringBuffer.java |
System.arraycopy(value, end, value, end + delta, count - end); | VMSystem.arraycopy(value, end, value, end + delta, count - end); | public synchronized StringBuffer replace(int start, int end, String str) { if (start < 0 || start > count || start > end) throw new StringIndexOutOfBoundsException(start); int len = str.count; // Calculate the difference in 'count' after the replace. int delta = len - (end > count ? count : end) + s... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f10b7b5c6f8fa7d4a953bac299f6d3674edbcbc7/StringBuffer.java/buggy/core/src/classpath/java/java/lang/StringBuffer.java |
types[i] = override; | types[j] = override; | private void resolveNeutralTypes() { // This implements rules N1 and N2. final int runCount = getRunCount(); int previousLevel = baseEmbedding; for (int run = 0; run < runCount; ++run) { int start = getRunStart(run); int end = getRunLimit(run); int level = getRunLevel(run); ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac47f92e4c558fe929f5cc64f85d3154701fcd9c/Bidi.java/buggy/core/src/classpath/java/java/text/Bidi.java |
int multiplier = 1; if(size.endsWith("T")) { | long multiplier = 1; if(size.endsWith("B")) size = size.substring(0, size.length() - 1); if(size.endsWith("T")) { | public static long getSize(String size) { if((size == null) || size.trim().equals("")) return 0; int multiplier = 1; if(size.endsWith("T")) { multiplier = T; size = size.substring(0, size.length() - 1); } else if(size.endsWith("G")) { ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f384f27cd398b256baeb23516661e71ff88c8293/NumberUtils.java/clean/core/src/core/org/jnode/util/NumberUtils.java |
return String.valueOf(v) + "b"; | return String.valueOf(v) + "B"; | public static String size(long v) { // Is < 1Kb? if (v < K) { return String.valueOf(v) + "b"; } // Is < 1Mb? v = v >>> 10; if (v < K) { return String.valueOf(v) + "K"; } // Is < 1Gb? v = v >>> 10; if (v < K) { return String.valueOf(v) + "M"; } // ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f384f27cd398b256baeb23516661e71ff88c8293/NumberUtils.java/clean/core/src/core/org/jnode/util/NumberUtils.java |
return String.valueOf(v) + "K"; | return String.valueOf(v) + "KB"; | public static String size(long v) { // Is < 1Kb? if (v < K) { return String.valueOf(v) + "b"; } // Is < 1Mb? v = v >>> 10; if (v < K) { return String.valueOf(v) + "K"; } // Is < 1Gb? v = v >>> 10; if (v < K) { return String.valueOf(v) + "M"; } // ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f384f27cd398b256baeb23516661e71ff88c8293/NumberUtils.java/clean/core/src/core/org/jnode/util/NumberUtils.java |
return String.valueOf(v) + "M"; | return String.valueOf(v) + "MB"; | public static String size(long v) { // Is < 1Kb? if (v < K) { return String.valueOf(v) + "b"; } // Is < 1Mb? v = v >>> 10; if (v < K) { return String.valueOf(v) + "K"; } // Is < 1Gb? v = v >>> 10; if (v < K) { return String.valueOf(v) + "M"; } // ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f384f27cd398b256baeb23516661e71ff88c8293/NumberUtils.java/clean/core/src/core/org/jnode/util/NumberUtils.java |
return String.valueOf(v) + "G"; | return String.valueOf(v) + "GB"; | public static String size(long v) { // Is < 1Kb? if (v < K) { return String.valueOf(v) + "b"; } // Is < 1Mb? v = v >>> 10; if (v < K) { return String.valueOf(v) + "K"; } // Is < 1Gb? v = v >>> 10; if (v < K) { return String.valueOf(v) + "M"; } // ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f384f27cd398b256baeb23516661e71ff88c8293/NumberUtils.java/clean/core/src/core/org/jnode/util/NumberUtils.java |
return String.valueOf(v) + "T"; | return String.valueOf(v) + "TB"; | public static String size(long v) { // Is < 1Kb? if (v < K) { return String.valueOf(v) + "b"; } // Is < 1Mb? v = v >>> 10; if (v < K) { return String.valueOf(v) + "K"; } // Is < 1Gb? v = v >>> 10; if (v < K) { return String.valueOf(v) + "M"; } // ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f384f27cd398b256baeb23516661e71ff88c8293/NumberUtils.java/clean/core/src/core/org/jnode/util/NumberUtils.java |
if (status != null) | if (status != null) { | public boolean desiredAssertionStatus() { ClassLoader c = getClassLoader(); Object status; if (c == null) return VMClassLoader.defaultAssertionStatus(); if (c.classAssertionStatus != null) synchronized (c) { status = c.classAssertionStatus.get(getName... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f04abefd7ae06ec51e8f4cbc12f3512d60f9391d/Class.java/clean/core/src/classpath/vm/java/lang/Class.java |
if (status != null) | if (status != null) { | public boolean desiredAssertionStatus() { ClassLoader c = getClassLoader(); Object status; if (c == null) return VMClassLoader.defaultAssertionStatus(); if (c.classAssertionStatus != null) synchronized (c) { status = c.classAssertionStatus.get(getName... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f04abefd7ae06ec51e8f4cbc12f3512d60f9391d/Class.java/clean/core/src/classpath/vm/java/lang/Class.java |
} | public boolean desiredAssertionStatus() { ClassLoader c = getClassLoader(); Object status; if (c == null) return VMClassLoader.defaultAssertionStatus(); if (c.classAssertionStatus != null) synchronized (c) { status = c.classAssertionStatus.get(getName... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f04abefd7ae06ec51e8f4cbc12f3512d60f9391d/Class.java/clean/core/src/classpath/vm/java/lang/Class.java | |
final VmType<?> vmCompType = ((VmArrayClass<T>) vmClass) | final VmType< ? > vmCompType = ((VmArrayClass<T>) vmClass) | public Class getComponentType() { final VmType<T> vmClass = getLinkedVmClass(); if (vmClass instanceof VmArrayClass) { final VmType<?> vmCompType = ((VmArrayClass<T>) vmClass) .getComponentType(); if (vmCompType != null) { return vmCompType.asCla... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f04abefd7ae06ec51e8f4cbc12f3512d60f9391d/Class.java/clean/core/src/classpath/vm/java/lang/Class.java |
public Constructor getConstructor(Class[] argTypes) throws NoSuchMethodException { // Check security memberAccessCheck(Member.PUBLIC); // Create signature String signature = Signature.toSignature(null, argTypes); final VmMethod vmMethod = getLinkedVmClass().getD... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f04abefd7ae06ec51e8f4cbc12f3512d60f9391d/Class.java/clean/core/src/classpath/vm/java/lang/Class.java | ||
final VmMethod vmMethod = getLinkedVmClass().getDeclaredMethod("<init>", signature); | final VmMethod vmMethod = getLinkedVmClass().getDeclaredMethod( "<init>", signature); | public Constructor getConstructor(Class[] argTypes) throws NoSuchMethodException { // Check security memberAccessCheck(Member.PUBLIC); // Create signature String signature = Signature.toSignature(null, argTypes); final VmMethod vmMethod = getLinkedVmClass().getD... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f04abefd7ae06ec51e8f4cbc12f3512d60f9391d/Class.java/clean/core/src/classpath/vm/java/lang/Class.java |
public Method getDeclaredMethod(String name, Class<?>[] argTypes) | public Method getDeclaredMethod(String name, Class< ? >[] argTypes) | public Method getDeclaredMethod(String name, Class<?>[] argTypes) throws NoSuchMethodException, SecurityException { VmType<?>[] vmArgTypes; if (argTypes == null) { vmArgTypes = null; } else { final int cnt = argTypes.length; vmArgTypes = new VmType[cn... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f04abefd7ae06ec51e8f4cbc12f3512d60f9391d/Class.java/clean/core/src/classpath/vm/java/lang/Class.java |
VmType<?>[] vmArgTypes; | VmType< ? >[] vmArgTypes; | public Method getDeclaredMethod(String name, Class<?>[] argTypes) throws NoSuchMethodException, SecurityException { VmType<?>[] vmArgTypes; if (argTypes == null) { vmArgTypes = null; } else { final int cnt = argTypes.length; vmArgTypes = new VmType[cn... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f04abefd7ae06ec51e8f4cbc12f3512d60f9391d/Class.java/clean/core/src/classpath/vm/java/lang/Class.java |
Class<?> cls = this; | Class< ? > cls = this; | public Field[] getFields() { if (fields == null) { ArrayList<Field> list = new ArrayList<Field>(); Class<?> cls = this; while (cls != null) { final Field[] dlist = cls.getDeclaredFields(); for (int i = 0; i < dlist.length; i++) { ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f04abefd7ae06ec51e8f4cbc12f3512d60f9391d/Class.java/clean/core/src/classpath/vm/java/lang/Class.java |
public Method getMethod(String name, Class<?>[] argTypes) | public Method getMethod(String name, Class< ? >[] argTypes) | public Method getMethod(String name, Class<?>[] argTypes) throws NoSuchMethodException, SecurityException { VmType<?>[] vmArgTypes; if (argTypes == null) { vmArgTypes = null; } else { final int cnt = argTypes.length; vmArgTypes = new VmType[cnt]; ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f04abefd7ae06ec51e8f4cbc12f3512d60f9391d/Class.java/clean/core/src/classpath/vm/java/lang/Class.java |
VmType<?>[] vmArgTypes; | VmType< ? >[] vmArgTypes; | public Method getMethod(String name, Class<?>[] argTypes) throws NoSuchMethodException, SecurityException { VmType<?>[] vmArgTypes; if (argTypes == null) { vmArgTypes = null; } else { final int cnt = argTypes.length; vmArgTypes = new VmType[cnt]; ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f04abefd7ae06ec51e8f4cbc12f3512d60f9391d/Class.java/clean/core/src/classpath/vm/java/lang/Class.java |
Class<?> cls = this; | Class< ? > cls = this; | public Method[] getMethods() { if (methods == null) { final ArrayList<Method> list = new ArrayList<Method>(); Class<?> cls = this; while (cls != null) { final Method[] dlist = cls.getDeclaredMethods(); for (int i = 0; i < dlist.length; i++) { ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f04abefd7ae06ec51e8f4cbc12f3512d60f9391d/Class.java/clean/core/src/classpath/vm/java/lang/Class.java |
VmType<? super T> superCls = getLinkedVmClass().getSuperClass(); | VmType< ? super T> superCls = getLinkedVmClass().getSuperClass(); | public final Class< ? super T> getSuperclass() { VmType<? super T> superCls = getLinkedVmClass().getSuperClass(); if (superCls != null) { return superCls.asClass(); } else { return null; } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f04abefd7ae06ec51e8f4cbc12f3512d60f9391d/Class.java/clean/core/src/classpath/vm/java/lang/Class.java |
public boolean isAnnotationPresent(Class< ? extends Annotation> annotationClass) { | public boolean isAnnotationPresent( Class< ? extends Annotation> annotationClass) { | public boolean isAnnotationPresent(Class< ? extends Annotation> annotationClass) { return vmClass.isAnnotationPresent(annotationClass); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f04abefd7ae06ec51e8f4cbc12f3512d60f9391d/Class.java/clean/core/src/classpath/vm/java/lang/Class.java |
public boolean isAssignableFrom(Class<?> c) { | public boolean isAssignableFrom(Class< ? > c) { | public boolean isAssignableFrom(Class<?> c) { return getLinkedVmClass().isAssignableFrom(c.getLinkedVmClass()); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f04abefd7ae06ec51e8f4cbc12f3512d60f9391d/Class.java/clean/core/src/classpath/vm/java/lang/Class.java |
public final VmMethod getDeclaredMethod(String name, String signature) { return getMethod(name, signature, true, false, VmMember.calcHashCode( name, signature)); | public final VmMethod getDeclaredMethod(int index) { return methodTable[ index]; | public final VmMethod getDeclaredMethod(String name, String signature) { return getMethod(name, signature, true, false, VmMember.calcHashCode( name, signature)); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/29af8a11faf9ffa69295132df6d1a0776bd39af1/VmType.java/buggy/core/src/core/org/jnode/vm/classmgr/VmType.java |
public final VmField getDeclaredField(String name) { return getDeclaredField(name, null); | public final VmField getDeclaredField(int index) { return fieldTable[ index]; | public final VmField getDeclaredField(String name) { return getDeclaredField(name, null); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/29af8a11faf9ffa69295132df6d1a0776bd39af1/VmType.java/buggy/core/src/core/org/jnode/vm/classmgr/VmType.java |
public NoSuchFieldException(String s) | public NoSuchFieldException() | public NoSuchFieldException(String s) { super(s); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/NoSuchFieldException.java/buggy/core/src/classpath/java/java/lang/NoSuchFieldException.java |
super(s); | public NoSuchFieldException(String s) { super(s); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/NoSuchFieldException.java/buggy/core/src/classpath/java/java/lang/NoSuchFieldException.java | |
public final VmMethod getMethod(String name, VmType[] argTypes) { return getMethod(name, argTypes, false); | final VmMethod getMethod(String name, String signature, boolean onlyThisClass, boolean searchInterfaces, int hashCode) { /* Search in my own method table */ final VmMethod[] mt = this.methodTable; if (mt != null) { final int count = mt.length; for (int i = 0; i < count; i++) { final VmMethod mts = mt[ i]; /** * Use the... | public final VmMethod getMethod(String name, VmType[] argTypes) { return getMethod(name, argTypes, false); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/29af8a11faf9ffa69295132df6d1a0776bd39af1/VmType.java/buggy/core/src/core/org/jnode/vm/classmgr/VmType.java |
public synchronized AWTEvent getNextEvent() throws InterruptedException { | public synchronized AWTEvent getNextEvent() throws InterruptedException { | public synchronized AWTEvent getNextEvent() throws InterruptedException { if (next != null) return next.getNextEvent(); ClasspathToolkit tk = ((ClasspathToolkit) Toolkit.getDefaultToolkit()); long curr = System.currentTimeMillis(); if (!tk.nativeQueueEmpty() && (c... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/EventQueue.java/clean/core/src/classpath/java/java/awt/EventQueue.java |
if (!tk.nativeQueueEmpty() && (curr - lastNativeQueueAccess > humanLatencyThreshold)) { | if (! tk.nativeQueueEmpty() && (curr - lastNativeQueueAccess > humanLatencyThreshold)) { | public synchronized AWTEvent getNextEvent() throws InterruptedException { if (next != null) return next.getNextEvent(); ClasspathToolkit tk = ((ClasspathToolkit) Toolkit.getDefaultToolkit()); long curr = System.currentTimeMillis(); if (!tk.nativeQueueEmpty() && (c... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/EventQueue.java/clean/core/src/classpath/java/java/awt/EventQueue.java |
while (next_in == next_out) { | while (next_in == next_out) { | public synchronized AWTEvent getNextEvent() throws InterruptedException { if (next != null) return next.getNextEvent(); ClasspathToolkit tk = ((ClasspathToolkit) Toolkit.getDefaultToolkit()); long curr = System.currentTimeMillis(); if (!tk.nativeQueueEmpty() && (c... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/EventQueue.java/clean/core/src/classpath/java/java/awt/EventQueue.java |
if (isDispatchThread()) { | if (isDispatchThread()) { | public synchronized AWTEvent getNextEvent() throws InterruptedException { if (next != null) return next.getNextEvent(); ClasspathToolkit tk = ((ClasspathToolkit) Toolkit.getDefaultToolkit()); long curr = System.currentTimeMillis(); if (!tk.nativeQueueEmpty() && (c... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/EventQueue.java/clean/core/src/classpath/java/java/awt/EventQueue.java |
} else { try { | } else { try { | public synchronized AWTEvent getNextEvent() throws InterruptedException { if (next != null) return next.getNextEvent(); ClasspathToolkit tk = ((ClasspathToolkit) Toolkit.getDefaultToolkit()); long curr = System.currentTimeMillis(); if (!tk.nativeQueueEmpty() && (c... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/EventQueue.java/clean/core/src/classpath/java/java/awt/EventQueue.java |
} catch (InterruptedException ie) { | } catch (InterruptedException ie) { | public synchronized AWTEvent getNextEvent() throws InterruptedException { if (next != null) return next.getNextEvent(); ClasspathToolkit tk = ((ClasspathToolkit) Toolkit.getDefaultToolkit()); long curr = System.currentTimeMillis(); if (!tk.nativeQueueEmpty() && (c... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/EventQueue.java/clean/core/src/classpath/java/java/awt/EventQueue.java |
public synchronized void postEvent(AWTEvent evt) { | public synchronized void postEvent(AWTEvent evt) { | public synchronized void postEvent(AWTEvent evt) { if (evt == null) throw new NullPointerException(); if (next != null) { next.postEvent(evt); return; } /* * Check for any events already on the queue with the same source and * ID. */... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/EventQueue.java/clean/core/src/classpath/java/java/awt/EventQueue.java |
if (next != null) { | if (next != null) { | public synchronized void postEvent(AWTEvent evt) { if (evt == null) throw new NullPointerException(); if (next != null) { next.postEvent(evt); return; } /* * Check for any events already on the queue with the same source and * ID. */... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/EventQueue.java/clean/core/src/classpath/java/java/awt/EventQueue.java |
/* * Check for any events already on the queue with the same source and * ID. */ | /* Check for any events already on the queue with the same source and ID. */ | public synchronized void postEvent(AWTEvent evt) { if (evt == null) throw new NullPointerException(); if (next != null) { next.postEvent(evt); return; } /* * Check for any events already on the queue with the same source and * ID. */... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/EventQueue.java/clean/core/src/classpath/java/java/awt/EventQueue.java |
while (i != next_in) { | while (i != next_in) { | public synchronized void postEvent(AWTEvent evt) { if (evt == null) throw new NullPointerException(); if (next != null) { next.postEvent(evt); return; } /* * Check for any events already on the queue with the same source and * ID. */... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/EventQueue.java/clean/core/src/classpath/java/java/awt/EventQueue.java |
&& src instanceof Component) { /* * If there are, call coalesceEvents on the source component to * see if they can be combined. */ | && src instanceof Component) { /* If there are, call coalesceEvents on the source component to see if they can be combined. */ | public synchronized void postEvent(AWTEvent evt) { if (evt == null) throw new NullPointerException(); if (next != null) { next.postEvent(evt); return; } /* * Check for any events already on the queue with the same source and * ID. */... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/EventQueue.java/clean/core/src/classpath/java/java/awt/EventQueue.java |
if (coalesced_evt != null) { | if (coalesced_evt != null) { | public synchronized void postEvent(AWTEvent evt) { if (evt == null) throw new NullPointerException(); if (next != null) { next.postEvent(evt); return; } /* * Check for any events already on the queue with the same source and * ID. */... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/EventQueue.java/clean/core/src/classpath/java/java/awt/EventQueue.java |
if (next_in == next_out) { | if (next_in == next_out) { | public synchronized void postEvent(AWTEvent evt) { if (evt == null) throw new NullPointerException(); if (next != null) { next.postEvent(evt); return; } /* * Check for any events already on the queue with the same source and * ID. */... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/EventQueue.java/clean/core/src/classpath/java/java/awt/EventQueue.java |
if (dispatchThread == null || !dispatchThread.isAlive()) { System.out .println("Start new dispatchThread old=" + dispatchThread); | if (dispatchThread == null || !dispatchThread.isAlive()) { | public synchronized void postEvent(AWTEvent evt) { if (evt == null) throw new NullPointerException(); if (next != null) { next.postEvent(evt); return; } /* * Check for any events already on the queue with the same source and * ID. */... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/EventQueue.java/clean/core/src/classpath/java/java/awt/EventQueue.java |
if (!isDispatchThread() || (evt.getID() == WindowEvent.WINDOW_CLOSED) | if (!isDispatchThread() || (evt.getID() == WindowEvent.WINDOW_CLOSED) | public synchronized void postEvent(AWTEvent evt) { if (evt == null) throw new NullPointerException(); if (next != null) { next.postEvent(evt); return; } /* * Check for any events already on the queue with the same source and * ID. */... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/EventQueue.java/clean/core/src/classpath/java/java/awt/EventQueue.java |
setPriority(NORM_PRIORITY + 1); | EventDispatchThread(EventQueue queue) { super(); setName("AWT-EventQueue-" + ++dispatchThreadNum); this.queue = queue;// setPriority(NORM_PRIORITY + 1); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/EventDispatchThread.java/buggy/core/src/classpath/java/java/awt/EventDispatchThread.java | |
public InvocationEvent(Object source, Runnable runnable, Object notifier, boolean catchExceptions) | public InvocationEvent(Object source, Runnable runnable) | public InvocationEvent(Object source, Runnable runnable, Object notifier, boolean catchExceptions) { this(source, INVOCATION_DEFAULT, runnable, notifier, catchExceptions); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/InvocationEvent.java/buggy/core/src/classpath/java/java/awt/event/InvocationEvent.java |
this(source, INVOCATION_DEFAULT, runnable, notifier, catchExceptions); | this(source, INVOCATION_DEFAULT, runnable, null, false); | public InvocationEvent(Object source, Runnable runnable, Object notifier, boolean catchExceptions) { this(source, INVOCATION_DEFAULT, runnable, notifier, catchExceptions); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/InvocationEvent.java/buggy/core/src/classpath/java/java/awt/event/InvocationEvent.java |
return (password); | return password; | public char[] getPassword() { return (password); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/61b8e27fab61a8487622d1793b61aa19c130c7ab/PasswordAuthentication.java/buggy/core/src/classpath/java/java/net/PasswordAuthentication.java |
return (username); | return username; | public String getUserName() { return (username); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/61b8e27fab61a8487622d1793b61aa19c130c7ab/PasswordAuthentication.java/buggy/core/src/classpath/java/java/net/PasswordAuthentication.java |
return (index == -1); | return (index != -1); | public boolean isSelected () { return (index == -1); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DefaultSingleSelectionModel.java/buggy/core/src/classpath/javax/javax/swing/DefaultSingleSelectionModel.java |
AbstractButton FindButton(ButtonModel m) { for (int i = 0; i < v.size(); i++) { AbstractButton a = (AbstractButton) v.get(i); if (a.getModel() == m) { return a; } } return null; | AbstractButton FindButton(ButtonModel m) { for (int i=0;i<v.size();i++) { AbstractButton a = (AbstractButton) v.get(i); if (a.getModel()== m) { return a; } | AbstractButton FindButton(ButtonModel m) { for (int i = 0; i < v.size(); i++) { AbstractButton a = (AbstractButton) v.get(i); if (a.getModel() == m) { return a; } } return null; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/ButtonGroup.java/buggy/core/src/classpath/javax/javax/swing/ButtonGroup.java |
return null; } | AbstractButton FindButton(ButtonModel m) { for (int i = 0; i < v.size(); i++) { AbstractButton a = (AbstractButton) v.get(i); if (a.getModel() == m) { return a; } } return null; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/ButtonGroup.java/buggy/core/src/classpath/javax/javax/swing/ButtonGroup.java | |
public int getButtonCount() { return v.size(); } | public int getButtonCount() { return v.size(); } | public int getButtonCount() { return v.size(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/ButtonGroup.java/buggy/core/src/classpath/javax/javax/swing/ButtonGroup.java |
return v.elements(); } | return v.elements(); } | public Enumeration getElements() { return v.elements(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/ButtonGroup.java/buggy/core/src/classpath/javax/javax/swing/ButtonGroup.java |
return sel; } | return sel; } | public ButtonModel getSelection() { return sel; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/ButtonGroup.java/buggy/core/src/classpath/javax/javax/swing/ButtonGroup.java |
public boolean isSelected(ButtonModel m) { return (m == sel); } | public boolean isSelected(ButtonModel m) { return (m == sel); } | public boolean isSelected(ButtonModel m) { return (m == sel); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/ButtonGroup.java/buggy/core/src/classpath/javax/javax/swing/ButtonGroup.java |
public void remove(AbstractButton b) { b.getModel().setGroup(null); v.removeElement(b); } | public void remove(AbstractButton b) { b.getModel().setGroup(null); v.removeElement(b); } | public void remove(AbstractButton b) { b.getModel().setGroup(null); v.removeElement(b); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/ButtonGroup.java/buggy/core/src/classpath/javax/javax/swing/ButtonGroup.java |
public void setSelected(ButtonModel m, boolean b) { if ((m == sel) && (b == true)) { System.out.println("PRESSED TWICE:" + m + ", sel=" + sel); return; } | public void setSelected(ButtonModel m, boolean b) { if ((m == sel) && (b == true)) { System.out.println("PRESSED TWICE:" + m + ", sel="+sel); return; } if (sel != null) { | public void setSelected(ButtonModel m, boolean b) { if ((m == sel) && (b == true)) { // clicked on sam item twice. System.out.println("PRESSED TWICE:" + m + ", sel=" + sel); return; } if (sel != null) { System.out.println("DESELECTING: " + sel); sel.setSelected(!b); AbstractButton but = FindButton(sel);... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/ButtonGroup.java/buggy/core/src/classpath/javax/javax/swing/ButtonGroup.java |
if (sel != null) { | System.out.println("DESELECTING: " + sel); sel.setSelected(!b); | public void setSelected(ButtonModel m, boolean b) { if ((m == sel) && (b == true)) { // clicked on sam item twice. System.out.println("PRESSED TWICE:" + m + ", sel=" + sel); return; } if (sel != null) { System.out.println("DESELECTING: " + sel); sel.setSelected(!b); AbstractButton but = FindButton(sel);... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/ButtonGroup.java/buggy/core/src/classpath/javax/javax/swing/ButtonGroup.java |
System.out.println("DESELECTING: " + sel); sel.setSelected(!b); AbstractButton but = FindButton(sel); if (but != null) { System.out.println("REPAINT-REQUIST: " + but.text); but.repaint(); } } else { System.out.println("NO SELECTION YET"); } sel = m; } | AbstractButton but = FindButton(sel); if (but != null) { System.out.println("REPAINT-REQUIST: " + but.text); but.repaint(); } } else { System.out.println("NO SELECTION YET"); } sel = m; } | public void setSelected(ButtonModel m, boolean b) { if ((m == sel) && (b == true)) { // clicked on sam item twice. System.out.println("PRESSED TWICE:" + m + ", sel=" + sel); return; } if (sel != null) { System.out.println("DESELECTING: " + sel); sel.setSelected(!b); AbstractButton but = FindButton(sel);... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/ButtonGroup.java/buggy/core/src/classpath/javax/javax/swing/ButtonGroup.java |
public abstract boolean addEntry(Principal caller, AclEntry entry) | boolean addEntry(Principal caller, AclEntry entry) | public abstract boolean addEntry(Principal caller, AclEntry entry) throws NotOwnerException; | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1007f675673d392de852ea798af2cedde0e31ef9/Acl.java/buggy/core/src/classpath/java/java/security/acl/Acl.java |
public abstract boolean checkPermission(Principal user, Permission perm); | boolean checkPermission(Principal user, Permission perm); | public abstract boolean checkPermission(Principal user, Permission perm); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1007f675673d392de852ea798af2cedde0e31ef9/Acl.java/buggy/core/src/classpath/java/java/security/acl/Acl.java |
public abstract Enumeration entries(); | Enumeration entries(); | public abstract Enumeration entries(); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1007f675673d392de852ea798af2cedde0e31ef9/Acl.java/buggy/core/src/classpath/java/java/security/acl/Acl.java |
public abstract String getName(); | String getName(); | public abstract String getName(); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1007f675673d392de852ea798af2cedde0e31ef9/Acl.java/buggy/core/src/classpath/java/java/security/acl/Acl.java |
public abstract Enumeration getPermissions(Principal user); | Enumeration getPermissions(Principal user); | public abstract Enumeration getPermissions(Principal user); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1007f675673d392de852ea798af2cedde0e31ef9/Acl.java/buggy/core/src/classpath/java/java/security/acl/Acl.java |
public abstract boolean removeEntry(Principal caller, AclEntry entry) | boolean removeEntry(Principal caller, AclEntry entry) | public abstract boolean removeEntry(Principal caller, AclEntry entry) throws NotOwnerException; | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1007f675673d392de852ea798af2cedde0e31ef9/Acl.java/buggy/core/src/classpath/java/java/security/acl/Acl.java |
public abstract void setName(Principal caller, String name) | void setName(Principal caller, String name) | public abstract void setName(Principal caller, String name) throws NotOwnerException; | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1007f675673d392de852ea798af2cedde0e31ef9/Acl.java/buggy/core/src/classpath/java/java/security/acl/Acl.java |
public abstract String toString(); | String toString(); | public abstract String toString(); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1007f675673d392de852ea798af2cedde0e31ef9/Acl.java/buggy/core/src/classpath/java/java/security/acl/Acl.java |
Element element, String frame ) | Element element, String frame) | public HTMLFrameHyperlinkEvent(Object source, EventType type, URL url, Element element, String frame ) { super(source, type, url, frame, element); target_frame = frame; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f6cb9e79af09b215e75e83abc60d3939720d4f89/HTMLFrameHyperlinkEvent.java/clean/core/src/classpath/javax/javax/swing/text/html/HTMLFrameHyperlinkEvent.java |
return super.hashCode (); | int hashCode = get(position()) + 31; int multiplier = 1; for (int i = position() + 1; i < limit(); ++i) { multiplier *= 31; hashCode += (get(i) + 30)*multiplier; } return hashCode; | public int hashCode () { // FIXME: Check what SUN calculates here. return super.hashCode (); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/61b8e27fab61a8487622d1793b61aa19c130c7ab/ByteBuffer.java/clean/core/src/classpath/java/java/nio/ByteBuffer.java |
EventQueue q = Toolkit.getDefaultToolkit ().getSystemEventQueue (); | public void waitForIdle () { if (EventQueue.isDispatchThread ()) throw new IllegalThreadStateException ("Robot: waitForIdle called from " + "the event dispatch thread"); EventQueue q = Toolkit.getDefaultToolkit ().getSystemEventQueue (); try { q.invokeAndWait (new Runnable () { public void run ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/01dce648448be461531cfd95f93f9421282da0f4/Robot.java/buggy/core/src/classpath/java/java/awt/Robot.java | |
q.invokeAndWait (new Runnable () { public void run () { } }); | EventQueue.invokeAndWait (new Runnable () { public void run () { } }); | public void waitForIdle () { if (EventQueue.isDispatchThread ()) throw new IllegalThreadStateException ("Robot: waitForIdle called from " + "the event dispatch thread"); EventQueue q = Toolkit.getDefaultToolkit ().getSystemEventQueue (); try { q.invokeAndWait (new Runnable () { public void run ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/01dce648448be461531cfd95f93f9421282da0f4/Robot.java/buggy/core/src/classpath/java/java/awt/Robot.java |
q.invokeAndWait (new Runnable () { public void run () { } }); | EventQueue.invokeAndWait (new Runnable () { public void run () { } }); | q.invokeAndWait (new Runnable () { public void run () { } }); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/01dce648448be461531cfd95f93f9421282da0f4/Robot.java/buggy/core/src/classpath/java/java/awt/Robot.java |
int[] getRGBPixels (Rectangle r); | int[] getRGBPixels (Rectangle screen); | int[] getRGBPixels (Rectangle r); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24b73181a09b4527eb22c4c8eb2b482d63993ef9/RobotPeer.java/buggy/core/src/classpath/java/java/awt/peer/RobotPeer.java |
void keyPress (int x); | void keyPress (int keycode); | void keyPress (int x); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24b73181a09b4527eb22c4c8eb2b482d63993ef9/RobotPeer.java/buggy/core/src/classpath/java/java/awt/peer/RobotPeer.java |
void keyRelease (int x); | void keyRelease (int keycode); | void keyRelease (int x); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24b73181a09b4527eb22c4c8eb2b482d63993ef9/RobotPeer.java/buggy/core/src/classpath/java/java/awt/peer/RobotPeer.java |
void mousePress (int x); | void mousePress (int buttons); | void mousePress (int x); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24b73181a09b4527eb22c4c8eb2b482d63993ef9/RobotPeer.java/buggy/core/src/classpath/java/java/awt/peer/RobotPeer.java |
void mouseRelease (int x); | void mouseRelease (int buttons); | void mouseRelease (int x); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24b73181a09b4527eb22c4c8eb2b482d63993ef9/RobotPeer.java/buggy/core/src/classpath/java/java/awt/peer/RobotPeer.java |
void mouseWheel (int x); | void mouseWheel (int wheelAmt); | void mouseWheel (int x); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24b73181a09b4527eb22c4c8eb2b482d63993ef9/RobotPeer.java/buggy/core/src/classpath/java/java/awt/peer/RobotPeer.java |
public InetAddress[] getHostByName(String hostname) | public byte[][] getHostByName(String hostname) | public InetAddress[] getHostByName(String hostname) throws UnknownHostException; | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b690cfde411baeb66c6d82ebeb798c56aa02e8c0/VMNetAPI.java/buggy/core/src/classpath/vm/java/net/VMNetAPI.java |
g.setColor(borderColorDark); | g.setColor(dark); | public void paintBorder(Component c, Graphics g, int x, int y, int w, int h) { if (c instanceof JMenu) { JMenu menu = (JMenu) c; if (menu.isSelected()) { g.setColor(borderColorDark); g.drawLine(x, y, x, y + h); g.drawLine(x, y, x + w, y); g.dra... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/563d61706c08a9c62b0e997a1e5a45e90d1e8cd7/MetalBorders.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalBorders.java |
g.setColor(borderColorLight); | g.setColor(light); | public void paintBorder(Component c, Graphics g, int x, int y, int w, int h) { if (c instanceof JMenu) { JMenu menu = (JMenu) c; if (menu.isSelected()) { g.setColor(borderColorDark); g.drawLine(x, y, x, y + h); g.drawLine(x, y, x + w, y); g.dra... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/563d61706c08a9c62b0e997a1e5a45e90d1e8cd7/MetalBorders.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalBorders.java |
{ g.setColor(borderColorDark); g.drawLine(x, y, x + w, y); g.setColor(borderColorLight); g.drawLine(x, y + h - 1, x + w, y + h - 1); } | { g.setColor(dark); g.drawLine(x, y, x + w, y); g.setColor(light); g.drawLine(x, y + h - 1, x + w, y + h - 1); } else { g.setColor(light); g.drawLine(x, y, x, y + h); } | public void paintBorder(Component c, Graphics g, int x, int y, int w, int h) { if (c instanceof JMenu) { JMenu menu = (JMenu) c; if (menu.isSelected()) { g.setColor(borderColorDark); g.drawLine(x, y, x, y + h); g.drawLine(x, y, x + w, y); g.dra... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/563d61706c08a9c62b0e997a1e5a45e90d1e8cd7/MetalBorders.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalBorders.java |
g.drawLine(x + 1, y + 1, x + 1, y + h - 2); | public void paintBorder(Component c, Graphics g, int x, int y, int w, int h) { Color darkShadow = MetalLookAndFeel.getPrimaryControlDarkShadow(); Color light = MetalLookAndFeel.getPrimaryControlHighlight(); // draw dark outer border g.setColor(darkShadow); g.dr... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/563d61706c08a9c62b0e997a1e5a45e90d1e8cd7/MetalBorders.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalBorders.java | |
MetalUtils.fillMetalPattern(g, x + 2, y + 2, x + 11, y + h - 5, | MetalUtils.fillMetalPattern(tb, g, x + 2, y + 2, x + 11, y + h - 5, | public void paintBorder(Component c, Graphics g, int x, int y, int w, int h) { JToolBar tb = (JToolBar) c; if (tb.getOrientation() == JToolBar.HORIZONTAL) { MetalUtils.fillMetalPattern(g, x + 2, y + 2, x + 11, y + h - 5, MetalLookAndFeel.getControlHigh... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/563d61706c08a9c62b0e997a1e5a45e90d1e8cd7/MetalBorders.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalBorders.java |
MetalUtils.fillMetalPattern(g, x + 2, y + 2, x + w - 5, y + 11, | MetalUtils.fillMetalPattern(tb, g, x + 2, y + 2, x + w - 5, y + 11, | public void paintBorder(Component c, Graphics g, int x, int y, int w, int h) { JToolBar tb = (JToolBar) c; if (tb.getOrientation() == JToolBar.HORIZONTAL) { MetalUtils.fillMetalPattern(g, x + 2, y + 2, x + 11, y + h - 5, MetalLookAndFeel.getControlHigh... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/563d61706c08a9c62b0e997a1e5a45e90d1e8cd7/MetalBorders.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalBorders.java |
public StreamResult(OutputStream stream) { this.outputStream = stream; | public StreamResult() { | public StreamResult(OutputStream stream) { this.outputStream = stream; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2c0635b05f68dbb361b3532fd5813a38b74cf57a/StreamResult.java/buggy/core/src/classpath/javax/javax/xml/transform/stream/StreamResult.java |
if (propName.equals("JInternalFrame.isPalette")) | if (e.getPropertyName().equals(JInternalFrame.FRAME_ICON_PROPERTY)) { title.setIcon(frame.getFrameIcon()); } else if (propName.equals("JInternalFrame.isPalette")) | public void propertyChange(PropertyChangeEvent e) { String propName = e.getPropertyName(); if (propName.equals("JInternalFrame.isPalette")) { if (e.getNewValue().equals(Boolean.TRUE)) setPalette(true); else setPalette(false); } else supe... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e0c4001932916dcdf180e32bf374255e88829b25/MetalInternalFrameTitlePane.java/buggy/core/src/classpath/javax/javax/swing/plaf/metal/MetalInternalFrameTitlePane.java |
MetalUtils.fillMetalPattern(this, g, startX, 3, endX - startX, getHeight() - 6, Color.white, Color.gray); | MetalUtils.fillMetalPattern(this, g, startX, 3, endX - startX, getHeight() - 6, Color.white, Color.gray); | public void paintComponent(Graphics g) { Color savedColor = g.getColor(); if (isPalette) paintPalette(g); else { paintTitleBackground(g); paintChildren(g); Dimension d = getSize(); if (frame.isSelected()) g.setColor(MetalLookAndFeel.getPrimaryControlDarkShadow(... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e0c4001932916dcdf180e32bf374255e88829b25/MetalInternalFrameTitlePane.java/buggy/core/src/classpath/javax/javax/swing/plaf/metal/MetalInternalFrameTitlePane.java |
AttributedString(AttributedCharacterIterator aci) | AttributedString(String str) | AttributedString(AttributedCharacterIterator aci){ this(aci, aci.getBeginIndex(), aci.getEndIndex(), null);} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/AttributedString.java/clean/core/src/classpath/java/java/text/AttributedString.java |
this(aci, aci.getBeginIndex(), aci.getEndIndex(), null); | sci = new StringCharacterIterator(str); attribs = new AttributeRange[0]; | AttributedString(AttributedCharacterIterator aci){ this(aci, aci.getBeginIndex(), aci.getEndIndex(), null);} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/AttributedString.java/clean/core/src/classpath/java/java/text/AttributedString.java |
addAttribute(attrib, value, 0, sci.getEndIndex() - 1); | addAttribute(attrib, value, 0, sci.getEndIndex()); | addAttribute(AttributedCharacterIterator.Attribute attrib, Object value){ addAttribute(attrib, value, 0, sci.getEndIndex() - 1);} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/AttributedString.java/clean/core/src/classpath/java/java/text/AttributedString.java |
return(new AttributedStringIterator(sci, attribs, 0, sci.getEndIndex() - 1, null)); | return(new AttributedStringIterator(sci, attribs, 0, sci.getEndIndex(), null)); | getIterator(){ return(new AttributedStringIterator(sci, attribs, 0, sci.getEndIndex() - 1, null));} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/AttributedString.java/clean/core/src/classpath/java/java/text/AttributedString.java |
vstack.push(eContext); System.out.println("NEW dup2_x2"); final Item v1 = vstack.pop1(); final Item v2 = vstack.pop1(); final int c1 = v1.getCategory(); final int c2 = v2.getCategory(); | System.out.println("####### dup2_x2"); | public final void visit_dup2_x2() { // Push all on the stack, since this opcode is just too complicated vstack.push(eContext); System.out.println("NEW dup2_x2"); final Item v1 = vstack.pop1(); final Item v2 = vstack.pop1(); final int c1 = v1.getCategory(); final int c2 = v2.getCat... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d43fdd1672ba52e5d684f3b55e3f6dee511b4a49/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java |
os.writePOP(helper.AAX); os.writePOP(helper.ABX); os.writePOP(helper.ACX); os.writePOP(helper.ADX); os.writePUSH(helper.ABX); os.writePUSH(helper.AAX); os.writePUSH(helper.ADX); os.writePUSH(helper.ACX); os.writePUSH(helper.ABX); os.writePUSH(helper.AAX); | final Item v1 = vstack.pop1(); final Item v2 = vstack.pop1(); final int c1 = v1.getCategory(); final int c2 = v2.getCategory(); | public final void visit_dup2_x2() { // Push all on the stack, since this opcode is just too complicated vstack.push(eContext); System.out.println("NEW dup2_x2"); final Item v1 = vstack.pop1(); final Item v2 = vstack.pop1(); final int c1 = v1.getCategory(); final int c2 = v2.getCat... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d43fdd1672ba52e5d684f3b55e3f6dee511b4a49/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java |
if (c1 == 2) { | os.writePOP(helper.AAX); os.writePOP(helper.ABX); os.writePOP(helper.ACX); os.writePOP(helper.ADX); os.writePUSH(helper.ABX); os.writePUSH(helper.AAX); os.writePUSH(helper.ADX); os.writePUSH(helper.ACX); os.writePUSH(helper.ABX); os.writePUSH(helper.AAX); | public final void visit_dup2_x2() { // Push all on the stack, since this opcode is just too complicated vstack.push(eContext); System.out.println("NEW dup2_x2"); final Item v1 = vstack.pop1(); final Item v2 = vstack.pop1(); final int c1 = v1.getCategory(); final int c2 = v2.getCat... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d43fdd1672ba52e5d684f3b55e3f6dee511b4a49/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.