rem stringlengths 0 477k | add stringlengths 0 313k | context stringlengths 6 599k | meta stringlengths 141 403 |
|---|---|---|---|
if (viewListener == null) viewListener = createViewListener(); v.addComponentListener(viewListener); | public void setView(Component v) { while (getComponentCount() > 0) remove(0); if (v != null) { add(v); fireStateChanged(); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/307c62a404c75cfe6d08b0eae748fea5c1b5a741/JViewport.java/buggy/core/src/classpath/javax/javax/swing/JViewport.java | |
public void remove(Component comp) | public void remove(int index) | public void remove(Component comp) { synchronized (getTreeLock ()) { for (int i = 0; i < ncomponents; ++i) { if (component[i] == comp) { remove(i); break; } } } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/0e5ba93f67f359dbdb3b61f9a098e2718a744e71/Container.java/buggy/core/src/classpath/java/java/awt/Container.java |
for (int i = 0; i < ncomponents; ++i) | Component r = component[index]; ComponentListener[] list = r.getComponentListeners(); for (int j = 0; j < list.length; j++) r.removeComponentListener(list[j]); r.removeNotify(); System.arraycopy(component, index + 1, component, index, ncomponents - index - 1); component[--ncomponents] = null; invalidate(); if (lay... | public void remove(Component comp) { synchronized (getTreeLock ()) { for (int i = 0; i < ncomponents; ++i) { if (component[i] == comp) { remove(i); break; } } } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/0e5ba93f67f359dbdb3b61f9a098e2718a744e71/Container.java/buggy/core/src/classpath/java/java/awt/Container.java |
if (component[i] == comp) { remove(i); break; } } | ContainerEvent ce = new ContainerEvent(this, ContainerEvent.COMPONENT_REMOVED, r); getToolkit().getSystemEventQueue().postEvent(ce); | public void remove(Component comp) { synchronized (getTreeLock ()) { for (int i = 0; i < ncomponents; ++i) { if (component[i] == comp) { remove(i); break; } } } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/0e5ba93f67f359dbdb3b61f9a098e2718a744e71/Container.java/buggy/core/src/classpath/java/java/awt/Container.java |
} | public void remove(Component comp) { synchronized (getTreeLock ()) { for (int i = 0; i < ncomponents; ++i) { if (component[i] == comp) { remove(i); break; } } } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/0e5ba93f67f359dbdb3b61f9a098e2718a744e71/Container.java/buggy/core/src/classpath/java/java/awt/Container.java | |
public Point(int x, int y) | public Point() | public Point(int x, int y) { this.x = x; this.y = y; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/Point.java/buggy/core/src/classpath/java/java/awt/Point.java |
this.x = x; this.y = y; | public Point(int x, int y) { this.x = x; this.y = y; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/Point.java/buggy/core/src/classpath/java/java/awt/Point.java | |
private Security() { | private Security() { | private Security() { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/Security.java/clean/core/src/classpath/java/java/security/Security.java |
public static int addProvider(Provider provider) { return insertProviderAt(provider, providers.size() + 1); | public static int addProvider(Provider provider) { return insertProviderAt (provider, providers.size () + 1); | public static int addProvider(Provider provider) { return insertProviderAt(provider, providers.size() + 1); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/Security.java/clean/core/src/classpath/java/java/security/Security.java |
public static String getAlgorithmProperty(String algName, String propName) { /* TODO: Figure out what this actually does */ | public static String getAlgorithmProperty(String algName, String propName) { if (algName == null || propName == null) return null; String property = String.valueOf(propName) + "." + String.valueOf(algName); Provider p; for (Iterator i = providers.iterator(); i.hasNext(); ) { p = (Provider) i.next(); for (Iterator j = ... | public static String getAlgorithmProperty(String algName, String propName) { /* TODO: Figure out what this actually does */ return null; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/Security.java/clean/core/src/classpath/java/java/security/Security.java |
public static String getProperty(String key) { | public static String getProperty(String key) { | public static String getProperty(String key) { SecurityManager sm = System.getSecurityManager(); if (sm != null) sm.checkSecurityAccess("getProperty." + key); return secprops.getProperty(key); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/Security.java/clean/core/src/classpath/java/java/security/Security.java |
if (sm != null) sm.checkSecurityAccess("getProperty." + key); | if (sm != null) sm.checkSecurityAccess("getProperty." + key); | public static String getProperty(String key) { SecurityManager sm = System.getSecurityManager(); if (sm != null) sm.checkSecurityAccess("getProperty." + key); return secprops.getProperty(key); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/Security.java/clean/core/src/classpath/java/java/security/Security.java |
public static Provider getProvider(String name) { | public static Provider getProvider(String name) { | public static Provider getProvider(String name) { Provider p; int max = providers.size(); for (int i = 0; i < max; i++) { p = (Provider) providers.elementAt(i); if (p.getName() == name) return p; } return null; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/Security.java/clean/core/src/classpath/java/java/security/Security.java |
int max = providers.size(); for (int i = 0; i < max; i++) { | int max = providers.size (); for (int i = 0; i < max; i++) { | public static Provider getProvider(String name) { Provider p; int max = providers.size(); for (int i = 0; i < max; i++) { p = (Provider) providers.elementAt(i); if (p.getName() == name) return p; } return null; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/Security.java/clean/core/src/classpath/java/java/security/Security.java |
if (p.getName() == name) return p; | if (p.getName().equals(name)) return p; | public static Provider getProvider(String name) { Provider p; int max = providers.size(); for (int i = 0; i < max; i++) { p = (Provider) providers.elementAt(i); if (p.getName() == name) return p; } return null; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/Security.java/clean/core/src/classpath/java/java/security/Security.java |
public static Provider[] getProviders() { Provider array[] = new Provider[ providers.size()]; providers.copyInto(array); | public static Provider[] getProviders() { Provider array[] = new Provider[providers.size ()]; providers.copyInto (array); | public static Provider[] getProviders() { Provider array[] = new Provider[ providers.size()]; providers.copyInto(array); return array; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/Security.java/clean/core/src/classpath/java/java/security/Security.java |
public static int insertProviderAt(Provider provider, int position) { | public static int insertProviderAt(Provider provider, int position) { | public static int insertProviderAt(Provider provider, int position) { SecurityManager sm = System.getSecurityManager(); if (sm != null) sm.checkSecurityAccess("insertProvider." + provider.getName()); position--; int max = providers.size(); for (int i = 0; i < max; i... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/Security.java/clean/core/src/classpath/java/java/security/Security.java |
int max = providers.size(); for (int i = 0; i < max; i++) { if (((Provider) providers.elementAt(i)).getName() == provider .getName()) return -1; | int max = providers.size (); for (int i = 0; i < max; i++) { if (((Provider) providers.elementAt(i)).getName().equals(provider.getName())) return -1; | public static int insertProviderAt(Provider provider, int position) { SecurityManager sm = System.getSecurityManager(); if (sm != null) sm.checkSecurityAccess("insertProvider." + provider.getName()); position--; int max = providers.size(); for (int i = 0; i < max; i... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/Security.java/clean/core/src/classpath/java/java/security/Security.java |
if (position < 0) position = 0; if (position > max) position = max; | if (position < 0) position = 0; if (position > max) position = max; | public static int insertProviderAt(Provider provider, int position) { SecurityManager sm = System.getSecurityManager(); if (sm != null) sm.checkSecurityAccess("insertProvider." + provider.getName()); position--; int max = providers.size(); for (int i = 0; i < max; i... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/Security.java/clean/core/src/classpath/java/java/security/Security.java |
private static void loadProviders(String baseUrl, String vendor) { if (baseUrl == null || vendor == null) return; | private static boolean loadProviders(String baseUrl, String vendor) { if (baseUrl == null || vendor == null) return false; | private static void loadProviders(String baseUrl, String vendor) { if (baseUrl == null || vendor == null) return; String secfilestr = baseUrl + "/security/" + vendor + ".security"; try { InputStream fin = new URL(secfilestr).openStream(); secprops.load(fin); int... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/Security.java/clean/core/src/classpath/java/java/security/Security.java |
try { | try { | private static void loadProviders(String baseUrl, String vendor) { if (baseUrl == null || vendor == null) return; String secfilestr = baseUrl + "/security/" + vendor + ".security"; try { InputStream fin = new URL(secfilestr).openStream(); secprops.load(fin); int... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/Security.java/clean/core/src/classpath/java/java/security/Security.java |
while ((name = secprops.getProperty("security.provider." + i)) != null) { | while ((name = secprops.getProperty("security.provider." + i)) != null) { | private static void loadProviders(String baseUrl, String vendor) { if (baseUrl == null || vendor == null) return; String secfilestr = baseUrl + "/security/" + vendor + ".security"; try { InputStream fin = new URL(secfilestr).openStream(); secprops.load(fin); int... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/Security.java/clean/core/src/classpath/java/java/security/Security.java |
try { | try { | private static void loadProviders(String baseUrl, String vendor) { if (baseUrl == null || vendor == null) return; String secfilestr = baseUrl + "/security/" + vendor + ".security"; try { InputStream fin = new URL(secfilestr).openStream(); secprops.load(fin); int... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/Security.java/clean/core/src/classpath/java/java/security/Security.java |
} catch (ClassNotFoundException x) { | } catch (ClassNotFoundException x) { | private static void loadProviders(String baseUrl, String vendor) { if (baseUrl == null || vendor == null) return; String secfilestr = baseUrl + "/security/" + vendor + ".security"; try { InputStream fin = new URL(secfilestr).openStream(); secprops.load(fin); int... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/Security.java/clean/core/src/classpath/java/java/security/Security.java |
} catch (InstantiationException x) { | } catch (InstantiationException x) { | private static void loadProviders(String baseUrl, String vendor) { if (baseUrl == null || vendor == null) return; String secfilestr = baseUrl + "/security/" + vendor + ".security"; try { InputStream fin = new URL(secfilestr).openStream(); secprops.load(fin); int... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/Security.java/clean/core/src/classpath/java/java/security/Security.java |
} catch (IllegalAccessException x) { | } catch (IllegalAccessException x) { | private static void loadProviders(String baseUrl, String vendor) { if (baseUrl == null || vendor == null) return; String secfilestr = baseUrl + "/security/" + vendor + ".security"; try { InputStream fin = new URL(secfilestr).openStream(); secprops.load(fin); int... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/Security.java/clean/core/src/classpath/java/java/security/Security.java |
System.err.println("Error loading security provider " | { System.err.println ("WARNING: Error loading security provider " | private static void loadProviders(String baseUrl, String vendor) { if (baseUrl == null || vendor == null) return; String secfilestr = baseUrl + "/security/" + vendor + ".security"; try { InputStream fin = new URL(secfilestr).openStream(); secprops.load(fin); int... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/Security.java/clean/core/src/classpath/java/java/security/Security.java |
} catch (FileNotFoundException ignored) { } catch (IOException ignored) { | private static void loadProviders(String baseUrl, String vendor) { if (baseUrl == null || vendor == null) return; String secfilestr = baseUrl + "/security/" + vendor + ".security"; try { InputStream fin = new URL(secfilestr).openStream(); secprops.load(fin); int... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/Security.java/clean/core/src/classpath/java/java/security/Security.java | |
catch (IOException ignored) { result = false; } return result; | private static void loadProviders(String baseUrl, String vendor) { if (baseUrl == null || vendor == null) return; String secfilestr = baseUrl + "/security/" + vendor + ".security"; try { InputStream fin = new URL(secfilestr).openStream(); secprops.load(fin); int... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/Security.java/clean/core/src/classpath/java/java/security/Security.java | |
public static void removeProvider(String name) { | public static void removeProvider(String name) { | public static void removeProvider(String name) { SecurityManager sm = System.getSecurityManager(); if (sm != null) sm.checkSecurityAccess("removeProvider." + name); Provider p = null; int max = providers.size(); for (int i = 0; i < max; i++) { if (((Provider) providers.... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/Security.java/clean/core/src/classpath/java/java/security/Security.java |
if (sm != null) sm.checkSecurityAccess("removeProvider." + name); | if (sm != null) sm.checkSecurityAccess("removeProvider." + name); | public static void removeProvider(String name) { SecurityManager sm = System.getSecurityManager(); if (sm != null) sm.checkSecurityAccess("removeProvider." + name); Provider p = null; int max = providers.size(); for (int i = 0; i < max; i++) { if (((Provider) providers.... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/Security.java/clean/core/src/classpath/java/java/security/Security.java |
Provider p = null; int max = providers.size(); for (int i = 0; i < max; i++) { if (((Provider) providers.elementAt(i)).getName() == name) { | int max = providers.size (); for (int i = 0; i < max; i++) { if (((Provider) providers.elementAt(i)).getName().equals(name)) { | public static void removeProvider(String name) { SecurityManager sm = System.getSecurityManager(); if (sm != null) sm.checkSecurityAccess("removeProvider." + name); Provider p = null; int max = providers.size(); for (int i = 0; i < max; i++) { if (((Provider) providers.... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/Security.java/clean/core/src/classpath/java/java/security/Security.java |
public static void setProperty(String key, String datnum) { | public static void setProperty(String key, String datnum) { | public static void setProperty(String key, String datnum) { SecurityManager sm = System.getSecurityManager(); if (sm != null) sm.checkSecurityAccess("setProperty." + key); secprops.put(key, datnum); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/Security.java/clean/core/src/classpath/java/java/security/Security.java |
if (sm != null) sm.checkSecurityAccess("setProperty." + key); | if (sm != null) sm.checkSecurityAccess("setProperty." + key); | public static void setProperty(String key, String datnum) { SecurityManager sm = System.getSecurityManager(); if (sm != null) sm.checkSecurityAccess("setProperty." + key); secprops.put(key, datnum); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/Security.java/clean/core/src/classpath/java/java/security/Security.java |
return getProperty(key, null); | Properties prop = this; do { String value = (String) prop.get(key); if (value != null) return value; prop = prop.defaults; } while (prop != null); return null; | public String getProperty(String key) { return getProperty(key, null); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/03ccc48ad99f370100d28d05282f5ecf9aba8ad6/Properties.java/buggy/core/src/classpath/5.0/java/util/Properties.java |
public InvalidParameterException(String msg) | public InvalidParameterException() | public InvalidParameterException(String msg) { super(msg); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/InvalidParameterException.java/buggy/core/src/classpath/java/java/security/InvalidParameterException.java |
super(msg); | public InvalidParameterException(String msg) { super(msg); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/InvalidParameterException.java/buggy/core/src/classpath/java/java/security/InvalidParameterException.java | |
public <T> T[] toArray(T[] a) | public Object[] toArray() | public <T> T[] toArray(T[] a) { int size = size(); if (a.length < size) a = (T[]) Array.newInstance(a.getClass().getComponentType(), size); else if (a.length > size) a[size] = null; Iterator<E> itr = iterator(); for (int pos = 0; pos < size; pos++) ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/03ccc48ad99f370100d28d05282f5ecf9aba8ad6/AbstractCollection.java/buggy/core/src/classpath/5.0/java/util/AbstractCollection.java |
if (a.length < size) a = (T[]) Array.newInstance(a.getClass().getComponentType(), size); else if (a.length > size) a[size] = null; Iterator<E> itr = iterator(); | Object[] a = new Object[size]; | public <T> T[] toArray(T[] a) { int size = size(); if (a.length < size) a = (T[]) Array.newInstance(a.getClass().getComponentType(), size); else if (a.length > size) a[size] = null; Iterator<E> itr = iterator(); for (int pos = 0; pos < size; pos++) ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/03ccc48ad99f370100d28d05282f5ecf9aba8ad6/AbstractCollection.java/buggy/core/src/classpath/5.0/java/util/AbstractCollection.java |
{ try { a[pos] = (T) (itr.next()); } catch (ClassCastException exception) { throw new ArrayStoreException("The element is of the wrong type "+ "for storing in this array."); } } | a[pos] = itr.next(); | public <T> T[] toArray(T[] a) { int size = size(); if (a.length < size) a = (T[]) Array.newInstance(a.getClass().getComponentType(), size); else if (a.length > size) a[size] = null; Iterator<E> itr = iterator(); for (int pos = 0; pos < size; pos++) ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/03ccc48ad99f370100d28d05282f5ecf9aba8ad6/AbstractCollection.java/buggy/core/src/classpath/5.0/java/util/AbstractCollection.java |
public final InputStream openStream() throws IOException { | public InputStream openStream() throws IOException { | public final InputStream openStream() throws IOException { return openConnection().getInputStream(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9ce66a563f0f5fab6f343b0309996bee3627787a/URL.java/buggy/core/src/classpath/java/java/net/URL.java |
public void load(InputStream inStream) throws IOException { // The spec says that the file must be encoded using ISO-8859-1. BufferedReader reader = new BufferedReader(new InputStreamReader(inStream, "ISO-8859-1")); String line; while ((line = reader.readLine()) != null) { char c = 0; ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/03ccc48ad99f370100d28d05282f5ecf9aba8ad6/Properties.java/buggy/core/src/classpath/5.0/java/util/Properties.java | ||
if (line == null) line = ""; | public void load(InputStream inStream) throws IOException { // The spec says that the file must be encoded using ISO-8859-1. BufferedReader reader = new BufferedReader(new InputStreamReader(inStream, "ISO-8859-1")); String line; while ((line = reader.readLine()) != null) { char c = 0; ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/03ccc48ad99f370100d28d05282f5ecf9aba8ad6/Properties.java/buggy/core/src/classpath/5.0/java/util/Properties.java | |
public synchronized T remove(int index) | public boolean remove(Object o) | public synchronized T remove(int index) { checkBoundExclusive(index); T temp = elementData[index]; modCount++; elementCount--; if (index < elementCount) System.arraycopy(elementData, index + 1, elementData, index, elementCount - index); elementData[elementCount] = null; ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/03ccc48ad99f370100d28d05282f5ecf9aba8ad6/Vector.java/buggy/core/src/classpath/5.0/java/util/Vector.java |
checkBoundExclusive(index); T temp = elementData[index]; modCount++; elementCount--; if (index < elementCount) System.arraycopy(elementData, index + 1, elementData, index, elementCount - index); elementData[elementCount] = null; return temp; | return removeElement(o); | public synchronized T remove(int index) { checkBoundExclusive(index); T temp = elementData[index]; modCount++; elementCount--; if (index < elementCount) System.arraycopy(elementData, index + 1, elementData, index, elementCount - index); elementData[elementCount] = null; ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/03ccc48ad99f370100d28d05282f5ecf9aba8ad6/Vector.java/buggy/core/src/classpath/5.0/java/util/Vector.java |
s.setSoTimeout(60*1000); | s.setSoTimeout(60 * 1000); | public static Socket get_socket(Object key) { if (true) return null; synchronized (sockets) { Socket s = (Socket) sockets.get(key); if (s == null) return null; // Ensure that the socket is fully reusable. else if (not_reusable(s)) { sockets.remove(key); ret... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8820e7a18265b8e9be753676d9477fb94a1447c8/SocketRepository.java/clean/core/src/classpath/gnu/gnu/CORBA/SocketRepository.java |
} | } | public static Socket get_socket(Object key) { if (true) return null; synchronized (sockets) { Socket s = (Socket) sockets.get(key); if (s == null) return null; // Ensure that the socket is fully reusable. else if (not_reusable(s)) { sockets.remove(key); ret... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8820e7a18265b8e9be753676d9477fb94a1447c8/SocketRepository.java/clean/core/src/classpath/gnu/gnu/CORBA/SocketRepository.java |
throw new ClassCastException(object.getClass().getName()); | throw new ClassCastException(object.getClass().getName()); | public static void classCastFailed(Object object) { if (object == null) { throw new ClassCastException("Object is null"); } else { throw new ClassCastException(object.getClass().getName()); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff85486c4bc88d3b82d27fe4f951dc7bafeafa6f/SoftByteCodes.java/buggy/core/src/core/org/jnode/vm/SoftByteCodes.java |
public final static VmArrayClass getPrimitiveArrayClass(int type) { | public final static VmType getPrimitiveArrayClass(char type) { | public final static VmArrayClass getPrimitiveArrayClass(int type) { switch (type) { case 4: return BooleanArrayClass; case 8: return ByteArrayClass; case 5: return CharArrayClass; case 9: return ShortArrayClass; case 10: ... | 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 |
case 4: | case 'Z': | public final static VmArrayClass getPrimitiveArrayClass(int type) { switch (type) { case 4: return BooleanArrayClass; case 8: return ByteArrayClass; case 5: return CharArrayClass; case 9: return ShortArrayClass; case 10: ... | 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 |
case 8: | case 'B': | public final static VmArrayClass getPrimitiveArrayClass(int type) { switch (type) { case 4: return BooleanArrayClass; case 8: return ByteArrayClass; case 5: return CharArrayClass; case 9: return ShortArrayClass; case 10: ... | 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 |
case 5: | case 'C': | public final static VmArrayClass getPrimitiveArrayClass(int type) { switch (type) { case 4: return BooleanArrayClass; case 8: return ByteArrayClass; case 5: return CharArrayClass; case 9: return ShortArrayClass; case 10: ... | 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 |
case 9: | case 'S': | public final static VmArrayClass getPrimitiveArrayClass(int type) { switch (type) { case 4: return BooleanArrayClass; case 8: return ByteArrayClass; case 5: return CharArrayClass; case 9: return ShortArrayClass; case 10: ... | 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 |
case 10: | case 'I': | public final static VmArrayClass getPrimitiveArrayClass(int type) { switch (type) { case 4: return BooleanArrayClass; case 8: return ByteArrayClass; case 5: return CharArrayClass; case 9: return ShortArrayClass; case 10: ... | 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 |
case 6: | case 'F': | public final static VmArrayClass getPrimitiveArrayClass(int type) { switch (type) { case 4: return BooleanArrayClass; case 8: return ByteArrayClass; case 5: return CharArrayClass; case 9: return ShortArrayClass; case 10: ... | 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 |
case 11: | case 'J': | public final static VmArrayClass getPrimitiveArrayClass(int type) { switch (type) { case 4: return BooleanArrayClass; case 8: return ByteArrayClass; case 5: return CharArrayClass; case 9: return ShortArrayClass; case 10: ... | 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 |
case 7: | case 'D': | public final static VmArrayClass getPrimitiveArrayClass(int type) { switch (type) { case 4: return BooleanArrayClass; case 8: return ByteArrayClass; case 5: return CharArrayClass; case 9: return ShortArrayClass; case 10: ... | 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 VmArrayClass getArrayClass() { return getArrayClass(null); | final VmArrayClass getArrayClass(String arrayClassName) { if (arrayClass == null) { arrayClass = createArrayClass(true, arrayClassName); } else { arrayClass.link(); } return arrayClass; | public final VmArrayClass getArrayClass() { return getArrayClass(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 ClassCastException(String s) | public ClassCastException() | public ClassCastException(String s) { super(s); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/ClassCastException.java/buggy/core/src/classpath/java/java/lang/ClassCastException.java |
super(s); | public ClassCastException(String s) { super(s); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/ClassCastException.java/buggy/core/src/classpath/java/java/lang/ClassCastException.java | |
public NoClassDefFoundError(String s) { super(s); | public NoClassDefFoundError() { | public NoClassDefFoundError(String s) { super(s); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/NoClassDefFoundError.java/buggy/core/src/classpath/java/java/lang/NoClassDefFoundError.java |
public final VmField getField(VmConstFieldRef fieldRef) { return getField(fieldRef.getName(), fieldRef.getSignature()); | public final VmField getField(String name, String signature) { VmField f = getDeclaredField(name, signature); if (f != null) { return f; } if (superClass != null) { f = superClass.getField(name, signature); if (f != null) { return f; } } final int cnt = getNoInterfaces(); for (int i = 0; i < cnt; i++) { f = allInterfac... | public final VmField getField(VmConstFieldRef fieldRef) { return getField(fieldRef.getName(), fieldRef.getSignature()); } | 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 ArrayIndexOutOfBoundsException(String s) | public ArrayIndexOutOfBoundsException() | public ArrayIndexOutOfBoundsException(String s) { super(s); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/ArrayIndexOutOfBoundsException.java/buggy/core/src/classpath/java/java/lang/ArrayIndexOutOfBoundsException.java |
super(s); | public ArrayIndexOutOfBoundsException(String s) { super(s); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/ArrayIndexOutOfBoundsException.java/buggy/core/src/classpath/java/java/lang/ArrayIndexOutOfBoundsException.java | |
public ArithmeticException(String s) { super(s); | public ArithmeticException() { | public ArithmeticException(String s) { super(s); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/ArithmeticException.java/buggy/core/src/classpath/java/java/lang/ArithmeticException.java |
public AbstractMethodError(String s) { super(s); | public AbstractMethodError() { | public AbstractMethodError(String s) { super(s); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/AbstractMethodError.java/buggy/core/src/classpath/java/java/lang/AbstractMethodError.java |
CopyOfNode(TemplateNode children, TemplateNode next, Expr select) | CopyOfNode(Expr select) | CopyOfNode(TemplateNode children, TemplateNode next, Expr select) { super(children, next); this.select = select; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b8e6f02cb6a820cbb793320542ee01a4b70f176a/CopyOfNode.java/clean/core/src/classpath/gnu/gnu/xml/transform/CopyOfNode.java |
super(children, next); | CopyOfNode(TemplateNode children, TemplateNode next, Expr select) { super(children, next); this.select = select; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b8e6f02cb6a820cbb793320542ee01a4b70f176a/CopyOfNode.java/clean/core/src/classpath/gnu/gnu/xml/transform/CopyOfNode.java | |
return new CopyOfNode((children == null) ? null : children.clone(stylesheet), (next == null) ? null : next.clone(stylesheet), select.clone(stylesheet)); | TemplateNode ret = new CopyOfNode(select.clone(stylesheet)); if (children != null) { ret.children = children.clone(stylesheet); } if (next != null) { ret.next = next.clone(stylesheet); } return ret; | TemplateNode clone(Stylesheet stylesheet) { return new CopyOfNode((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/CopyOfNode.java/clean/core/src/classpath/gnu/gnu/xml/transform/CopyOfNode.java |
public abstract Object evaluate(Node context, int pos, int len); | public Object evaluate(Object item, QName returnType) throws XPathExpressionException { Object ret = null; Node context = null; if (item instanceof Node) { context = (Node) item; ret = evaluate(context, 1, 1); if (XPathConstants.STRING == returnType && !(ret instanceof String)) { ret = _string(context, ret); } else if ... | public abstract Object evaluate(Node context, int pos, int len); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/Expr.java/buggy/core/src/classpath/gnu/gnu/xml/xpath/Expr.java |
public static <T> void sort(List<T> l, Comparator<? super T> c) | public static <T extends Comparable<? super T>> void sort(List<T> l) | public static <T> void sort(List<T> l, Comparator<? super T> c) { T[] a = (T[]) l.toArray(); Arrays.sort(a, c); ListIterator<T> i = l.listIterator(); for (int pos = 0, alen = a.length; pos < alen; pos++) { i.next(); i.set(a[pos]); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/03ccc48ad99f370100d28d05282f5ecf9aba8ad6/Collections.java/buggy/core/src/classpath/5.0/java/util/Collections.java |
T[] a = (T[]) l.toArray(); Arrays.sort(a, c); ListIterator<T> i = l.listIterator(); for (int pos = 0, alen = a.length; pos < alen; pos++) { i.next(); i.set(a[pos]); } | sort(l, null); | public static <T> void sort(List<T> l, Comparator<? super T> c) { T[] a = (T[]) l.toArray(); Arrays.sort(a, c); ListIterator<T> i = l.listIterator(); for (int pos = 0, alen = a.length; pos < alen; pos++) { i.next(); i.set(a[pos]); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/03ccc48ad99f370100d28d05282f5ecf9aba8ad6/Collections.java/buggy/core/src/classpath/5.0/java/util/Collections.java |
catch (NoSuchAlgorithmException ignored) {} | catch (NoSuchAlgorithmException ignored) { } | public static MessageDigest getInstance(String algorithm) throws NoSuchAlgorithmException { Provider[] p = Security.getProviders(); for (int i = 0; i < p.length; i++) { try { return getInstance(algorithm, p[i]); } catch (NoSuchAlgorithmException ignored) {} } throw new NoSuchAlgorithmEx... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/61b8e27fab61a8487622d1793b61aa19c130c7ab/MessageDigest.java/buggy/core/src/classpath/java/java/security/MessageDigest.java |
return vmMethod.getName(); } | return vmMethod.getName(); } | public String getName() { return vmMethod.getName(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ba5684c8e20b5a25e0067d369b07af8854499835/Method.java/buggy/core/src/classpath/vm/java/lang/reflect/Method.java |
if (parameterTypes == null) { int cnt = vmMethod.getNoArguments(); ArrayList<Class> list = new ArrayList<Class>(cnt); for (int i = 0; i < cnt; i++) { list.add(vmMethod.getArgumentType(i).asClass()); } parameterTypes = list; } return (Class[])parameterTypes.toArray(new Class[parameterTypes.size()]); } | if (parameterTypes == null) { int cnt = vmMethod.getNoArguments(); ArrayList<Class> list = new ArrayList<Class>(cnt); for (int i = 0; i < cnt; i++) { list.add(vmMethod.getArgumentType(i).asClass()); } parameterTypes = list; } return (Class[])parameterTypes.toArray(new Class[parameterTypes.size()]); } | public Class[] getParameterTypes() { if (parameterTypes == null) { int cnt = vmMethod.getNoArguments(); ArrayList<Class> list = new ArrayList<Class>(cnt); for (int i = 0; i < cnt; i++) { list.add(vmMethod.getArgumentType(i).asClass()); } parameterTypes = list; } return (Class[])parameterTypes.toArray(n... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ba5684c8e20b5a25e0067d369b07af8854499835/Method.java/buggy/core/src/classpath/vm/java/lang/reflect/Method.java |
public static String getEncodingOfClass(Class clazz) | public static String getEncodingOfClass(String type, boolean descriptor) | public static String getEncodingOfClass(Class clazz) { return getEncodingOfClass(clazz.getName(), true); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/TypeSignature.java/buggy/core/src/classpath/gnu/gnu/java/lang/reflect/TypeSignature.java |
return getEncodingOfClass(clazz.getName(), true); | if (! descriptor || type.charAt(0) == '[') return type.replace('.', '/'); if (type.equals("boolean")) return "Z"; if (type.equals("byte")) return "B"; if (type.equals("short")) return "S"; if (type.equals("char")) return "C"; if (type.equals("int")) return "I"; if (type.equals("long")) return "J"; if (type.equals("floa... | public static String getEncodingOfClass(Class clazz) { return getEncodingOfClass(clazz.getName(), true); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/TypeSignature.java/buggy/core/src/classpath/gnu/gnu/java/lang/reflect/TypeSignature.java |
return vmMethod.getReturnType().asClass(); } | return vmMethod.getReturnType().asClass(); } | public Class getReturnType() { return vmMethod.getReturnType().asClass(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ba5684c8e20b5a25e0067d369b07af8854499835/Method.java/buggy/core/src/classpath/vm/java/lang/reflect/Method.java |
Provider p[] = Security.getProviders(); | Provider[] p = Security.getProviders(); | public SecureRandom() { Provider p[] = Security.getProviders(); //Format of Key: SecureRandom.algname String key; String classname = null; int i; Enumeration e; for (i = 0; i < p.length; i++) { e = p[i].propertyNames(); while (e.hasMoreElements()) { key = (... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/61b8e27fab61a8487622d1793b61aa19c130c7ab/SecureRandom.java/clean/core/src/classpath/java/java/security/SecureRandom.java |
catch (Throwable ignore) { } | catch (Throwable t) { } | public SecureRandom() { Provider p[] = Security.getProviders(); //Format of Key: SecureRandom.algname String key; String classname = null; int i; Enumeration e; for (i = 0; i < p.length; i++) { e = p[i].propertyNames(); while (e.hasMoreElements()) { key = (... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/61b8e27fab61a8487622d1793b61aa19c130c7ab/SecureRandom.java/clean/core/src/classpath/java/java/security/SecureRandom.java |
public static SecureRandom getInstance(String algorithm) throws NoSuchAlgorithmException | public static SecureRandom getInstance(String algorithm) throws NoSuchAlgorithmException | public static SecureRandom getInstance(String algorithm) throws NoSuchAlgorithmException { Provider p[] = Security.getProviders(); for (int i = 0; i < p.length; i++) { try { return getInstance(algorithm, p[i]); } catch (NoSuchAlgorithmException ignored) { } } //... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/61b8e27fab61a8487622d1793b61aa19c130c7ab/SecureRandom.java/clean/core/src/classpath/java/java/security/SecureRandom.java |
Provider p[] = Security.getProviders(); | Provider[] p = Security.getProviders(); | public static SecureRandom getInstance(String algorithm) throws NoSuchAlgorithmException { Provider p[] = Security.getProviders(); for (int i = 0; i < p.length; i++) { try { return getInstance(algorithm, p[i]); } catch (NoSuchAlgorithmException ignored) { } } //... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/61b8e27fab61a8487622d1793b61aa19c130c7ab/SecureRandom.java/clean/core/src/classpath/java/java/security/SecureRandom.java |
catch (NoSuchAlgorithmException ignored) | catch (NoSuchAlgorithmException e) | public static SecureRandom getInstance(String algorithm) throws NoSuchAlgorithmException { Provider p[] = Security.getProviders(); for (int i = 0; i < p.length; i++) { try { return getInstance(algorithm, p[i]); } catch (NoSuchAlgorithmException ignored) { } } //... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/61b8e27fab61a8487622d1793b61aa19c130c7ab/SecureRandom.java/clean/core/src/classpath/java/java/security/SecureRandom.java |
public static SecureRandom getInstance(String algorithm) throws NoSuchAlgorithmException { Provider p[] = Security.getProviders(); for (int i = 0; i < p.length; i++) { try { return getInstance(algorithm, p[i]); } catch (NoSuchAlgorithmException ignored) { } } //... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/61b8e27fab61a8487622d1793b61aa19c130c7ab/SecureRandom.java/clean/core/src/classpath/java/java/security/SecureRandom.java | ||
byte tmp[] = new byte[numBytes]; | byte[] tmp = new byte[numBytes]; | public static byte[] getSeed(int numBytes) { byte tmp[] = new byte[numBytes]; new Random().nextBytes(tmp); return tmp; //return secureRandomSpi.engineGenerateSeed( numBytes ); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/61b8e27fab61a8487622d1793b61aa19c130c7ab/SecureRandom.java/clean/core/src/classpath/java/java/security/SecureRandom.java |
byte tmp[] = new byte[numBits / 8 + (1 * (numBits % 8))]; | byte[] tmp = new byte[numBits / 8 + (1 * (numBits % 8))]; | protected final int next(int numBits) { if (numBits == 0) return 0; byte tmp[] = new byte[numBits / 8 + (1 * (numBits % 8))]; secureRandomSpi.engineNextBytes(tmp); randomBytesUsed += tmp.length; counter++; int ret = 0; for (int i = 0; i < tmp.length; i++) ret |= (tmp[i] & 0xFF) << (8 *... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/61b8e27fab61a8487622d1793b61aa19c130c7ab/SecureRandom.java/clean/core/src/classpath/java/java/security/SecureRandom.java |
public NoSuchAlgorithmException(String msg) | public NoSuchAlgorithmException() | public NoSuchAlgorithmException(String msg) { super(msg); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/NoSuchAlgorithmException.java/buggy/core/src/classpath/java/java/security/NoSuchAlgorithmException.java |
super(msg); | public NoSuchAlgorithmException(String msg) { super(msg); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/NoSuchAlgorithmException.java/buggy/core/src/classpath/java/java/security/NoSuchAlgorithmException.java | |
public DropTargetDropEvent (DropTargetContext dtc, Point location, | public DropTargetDropEvent(DropTargetContext dtc, Point location, | public DropTargetDropEvent (DropTargetContext dtc, Point location, int dropAction, int actions) { this (dtc, location, dropAction, actions, false); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53983e95556bf4b775130b06570aa2ea08d85628/DropTargetDropEvent.java/buggy/core/src/classpath/java/java/awt/dnd/DropTargetDropEvent.java |
this (dtc, location, dropAction, actions, false); | this(dtc, location, dropAction, actions, false); | public DropTargetDropEvent (DropTargetContext dtc, Point location, int dropAction, int actions) { this (dtc, location, dropAction, actions, false); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53983e95556bf4b775130b06570aa2ea08d85628/DropTargetDropEvent.java/buggy/core/src/classpath/java/java/awt/dnd/DropTargetDropEvent.java |
public void acceptDrop (int dropAction) | public void acceptDrop(int dropAction) | public void acceptDrop (int dropAction) { context.acceptDrop (dropAction); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53983e95556bf4b775130b06570aa2ea08d85628/DropTargetDropEvent.java/buggy/core/src/classpath/java/java/awt/dnd/DropTargetDropEvent.java |
context.acceptDrop (dropAction); | context.acceptDrop(dropAction); | public void acceptDrop (int dropAction) { context.acceptDrop (dropAction); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53983e95556bf4b775130b06570aa2ea08d85628/DropTargetDropEvent.java/buggy/core/src/classpath/java/java/awt/dnd/DropTargetDropEvent.java |
public void dropComplete (boolean success) | public void dropComplete(boolean success) throws NotImplementedException | public void dropComplete (boolean success) { // FIXME: implement this } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53983e95556bf4b775130b06570aa2ea08d85628/DropTargetDropEvent.java/buggy/core/src/classpath/java/java/awt/dnd/DropTargetDropEvent.java |
public DataFlavor[] getCurrentDataFlavors () | public DataFlavor[] getCurrentDataFlavors() | public DataFlavor[] getCurrentDataFlavors () { return context.getCurrentDataFlavors (); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53983e95556bf4b775130b06570aa2ea08d85628/DropTargetDropEvent.java/buggy/core/src/classpath/java/java/awt/dnd/DropTargetDropEvent.java |
return context.getCurrentDataFlavors (); | return context.getCurrentDataFlavors(); | public DataFlavor[] getCurrentDataFlavors () { return context.getCurrentDataFlavors (); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53983e95556bf4b775130b06570aa2ea08d85628/DropTargetDropEvent.java/buggy/core/src/classpath/java/java/awt/dnd/DropTargetDropEvent.java |
public List getCurrentDataFlavorsAsList () | public List getCurrentDataFlavorsAsList() | public List getCurrentDataFlavorsAsList () { return context.getCurrentDataFlavorsAsList (); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53983e95556bf4b775130b06570aa2ea08d85628/DropTargetDropEvent.java/buggy/core/src/classpath/java/java/awt/dnd/DropTargetDropEvent.java |
return context.getCurrentDataFlavorsAsList (); | return context.getCurrentDataFlavorsAsList(); | public List getCurrentDataFlavorsAsList () { return context.getCurrentDataFlavorsAsList (); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53983e95556bf4b775130b06570aa2ea08d85628/DropTargetDropEvent.java/buggy/core/src/classpath/java/java/awt/dnd/DropTargetDropEvent.java |
public int getDropAction () | public int getDropAction() | public int getDropAction () { return dropAction; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53983e95556bf4b775130b06570aa2ea08d85628/DropTargetDropEvent.java/buggy/core/src/classpath/java/java/awt/dnd/DropTargetDropEvent.java |
public Point getLocation () | public Point getLocation() | public Point getLocation () { return location; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53983e95556bf4b775130b06570aa2ea08d85628/DropTargetDropEvent.java/buggy/core/src/classpath/java/java/awt/dnd/DropTargetDropEvent.java |
public int getSourceActions () | public int getSourceActions() | public int getSourceActions () { return actions; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53983e95556bf4b775130b06570aa2ea08d85628/DropTargetDropEvent.java/buggy/core/src/classpath/java/java/awt/dnd/DropTargetDropEvent.java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.