rem stringlengths 0 477k | add stringlengths 0 313k | context stringlengths 6 599k | meta stringlengths 141 403 |
|---|---|---|---|
VmMagic.currentProcessor().getScheduler().addToWakeupQueue( proxy); | current.wakeupTime = VmSystem.currentKernelMillis() + timeout; VmMagic.currentProcessor().getScheduler().addToSleepQueue(current); | public final void Wait(long timeout) throws InterruptedException { final VmThread current = VmMagic.currentProcessor().getCurrentThread(); // final int id = current.getId(); String exMsg = null; // Prepare allocations final VmThreadProxy proxy; final int waitState; i... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/62994783631e20e868b65c6250b1b0c82dff528a/Monitor.java/buggy/core/src/core/org/jnode/vm/scheduler/Monitor.java |
final VmThread t = this.enterQueue.dequeue(); if (t != null) { t.wakeupFromEnterQueue(this); } VmMagic.currentProcessor().suspend(true, mutex); | wakeupWaitingThreads(enterQueue, true); VmMagic.currentProcessor().suspend(true); | public final void Wait(long timeout) throws InterruptedException { final VmThread current = VmMagic.currentProcessor().getCurrentThread(); // final int id = current.getId(); String exMsg = null; // Prepare allocations final VmThreadProxy proxy; final int waitState; i... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/62994783631e20e868b65c6250b1b0c82dff528a/Monitor.java/buggy/core/src/core/org/jnode/vm/scheduler/Monitor.java |
if (timeout > 0) { lock(); try { notifyQueue.remove(current); } finally { unlock(); } } | public final void Wait(long timeout) throws InterruptedException { final VmThread current = VmMagic.currentProcessor().getCurrentThread(); // final int id = current.getId(); String exMsg = null; // Prepare allocations final VmThreadProxy proxy; final int waitState; i... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/62994783631e20e868b65c6250b1b0c82dff528a/Monitor.java/buggy/core/src/core/org/jnode/vm/scheduler/Monitor.java | |
mutex.lock(); | public final void Wait(long timeout) throws InterruptedException { final VmThread current = VmMagic.currentProcessor().getCurrentThread(); // final int id = current.getId(); String exMsg = null; // Prepare allocations final VmThreadProxy proxy; final int waitState; i... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/62994783631e20e868b65c6250b1b0c82dff528a/Monitor.java/buggy/core/src/core/org/jnode/vm/scheduler/Monitor.java | |
mutex.unlock(); | public final void Wait(long timeout) throws InterruptedException { final VmThread current = VmMagic.currentProcessor().getCurrentThread(); // final int id = current.getId(); String exMsg = null; // Prepare allocations final VmThreadProxy proxy; final int waitState; i... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/62994783631e20e868b65c6250b1b0c82dff528a/Monitor.java/buggy/core/src/core/org/jnode/vm/scheduler/Monitor.java | |
public InvalidName(String why) | public InvalidName() | public InvalidName(String why) { super(why); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/031055047d52e1cffbe5de5ce0c7da51215e931f/InvalidName.java/clean/core/src/classpath/org/org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidName.java |
super(why); | public InvalidName(String why) { super(why); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/031055047d52e1cffbe5de5ce0c7da51215e931f/InvalidName.java/clean/core/src/classpath/org/org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidName.java | |
stylesheet.bindings.push(false); | stylesheet.bindings.push(Bindings.PARAM); | TransformerImpl(TransformerFactoryImpl factory, Stylesheet stylesheet, Properties outputProperties) throws TransformerConfigurationException { this.factory = factory; uriResolver = factory.userResolver; errorListener = factory.userListener; this.stylesheet = styleshee... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/11aafc23ec4e191f57d02c34f8e6bfeb90bed5a2/TransformerImpl.java/clean/core/src/classpath/gnu/gnu/xml/transform/TransformerImpl.java |
stylesheet.bindings.pop(false); stylesheet.bindings.push(false); | stylesheet.bindings.pop(Bindings.PARAM); stylesheet.bindings.push(Bindings.PARAM); | public void clearParameters() { if (stylesheet != null) { stylesheet.bindings.pop(false); stylesheet.bindings.push(false); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/11aafc23ec4e191f57d02c34f8e6bfeb90bed5a2/TransformerImpl.java/clean/core/src/classpath/gnu/gnu/xml/transform/TransformerImpl.java |
return stylesheet.bindings.get(name, null, 1, 1); | return stylesheet.bindings.get(new QName(null, name), null, 1, 1); | public Object getParameter(String name) { if (stylesheet != null) { return stylesheet.bindings.get(name, null, 1, 1); } return null; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/11aafc23ec4e191f57d02c34f8e6bfeb90bed5a2/TransformerImpl.java/clean/core/src/classpath/gnu/gnu/xml/transform/TransformerImpl.java |
stylesheet.bindings.set(name, value, false); | stylesheet.bindings.set(new QName(null, name), value, Bindings.PARAM); | public void setParameter(String name, Object value) { if (stylesheet != null) { stylesheet.bindings.set(name, value, false); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/11aafc23ec4e191f57d02c34f8e6bfeb90bed5a2/TransformerImpl.java/clean/core/src/classpath/gnu/gnu/xml/transform/TransformerImpl.java |
void push(boolean global) | void push(int type) | void push(boolean global) { if (global) { variables.addFirst(new HashMap()); } else { parameters.addFirst(new HashMap()); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/11aafc23ec4e191f57d02c34f8e6bfeb90bed5a2/Bindings.java/buggy/core/src/classpath/gnu/gnu/xml/transform/Bindings.java |
if (global) | switch (type) | void push(boolean global) { if (global) { variables.addFirst(new HashMap()); } else { parameters.addFirst(new HashMap()); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/11aafc23ec4e191f57d02c34f8e6bfeb90bed5a2/Bindings.java/buggy/core/src/classpath/gnu/gnu/xml/transform/Bindings.java |
} else { | break; case PARAM: | void push(boolean global) { if (global) { variables.addFirst(new HashMap()); } else { parameters.addFirst(new HashMap()); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/11aafc23ec4e191f57d02c34f8e6bfeb90bed5a2/Bindings.java/buggy/core/src/classpath/gnu/gnu/xml/transform/Bindings.java |
break; case WITH_PARAM: withParameters.addFirst(new HashMap()); break; | void push(boolean global) { if (global) { variables.addFirst(new HashMap()); } else { parameters.addFirst(new HashMap()); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/11aafc23ec4e191f57d02c34f8e6bfeb90bed5a2/Bindings.java/buggy/core/src/classpath/gnu/gnu/xml/transform/Bindings.java | |
void pop(boolean global) | void pop(int type) | void pop(boolean global) { if (global) { variables.removeFirst(); } else { parameters.removeFirst(); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/11aafc23ec4e191f57d02c34f8e6bfeb90bed5a2/Bindings.java/buggy/core/src/classpath/gnu/gnu/xml/transform/Bindings.java |
if (global) | switch (type) | void pop(boolean global) { if (global) { variables.removeFirst(); } else { parameters.removeFirst(); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/11aafc23ec4e191f57d02c34f8e6bfeb90bed5a2/Bindings.java/buggy/core/src/classpath/gnu/gnu/xml/transform/Bindings.java |
} else { | break; case PARAM: | void pop(boolean global) { if (global) { variables.removeFirst(); } else { parameters.removeFirst(); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/11aafc23ec4e191f57d02c34f8e6bfeb90bed5a2/Bindings.java/buggy/core/src/classpath/gnu/gnu/xml/transform/Bindings.java |
break; case WITH_PARAM: withParameters.removeFirst(); break; | void pop(boolean global) { if (global) { variables.removeFirst(); } else { parameters.removeFirst(); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/11aafc23ec4e191f57d02c34f8e6bfeb90bed5a2/Bindings.java/buggy/core/src/classpath/gnu/gnu/xml/transform/Bindings.java | |
public Object get(String name, Node context, int pos, int len) | public Object get(QName name, Node context, int pos, int len) | public Object get(String name, Node context, int pos, int len) { //System.err.println("bindings.get: "+name); //System.err.println("\t"+toString()); Object ret = null; for (Iterator i = variables.iterator(); i.hasNext() && ret == null; ) { Map vctx = (Map) i.next(); ret = vctx.get(name... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/11aafc23ec4e191f57d02c34f8e6bfeb90bed5a2/Bindings.java/buggy/core/src/classpath/gnu/gnu/xml/transform/Bindings.java |
public Object get(String name, Node context, int pos, int len) { //System.err.println("bindings.get: "+name); //System.err.println("\t"+toString()); Object ret = null; for (Iterator i = variables.iterator(); i.hasNext() && ret == null; ) { Map vctx = (Map) i.next(); ret = vctx.get(name... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/11aafc23ec4e191f57d02c34f8e6bfeb90bed5a2/Bindings.java/buggy/core/src/classpath/gnu/gnu/xml/transform/Bindings.java | ||
if (e instanceof AbstractMap.BasicMapEntry) | if (e instanceof AbstractMap.SimpleEntry) | public synchronized void putAll(Map<? extends K, ? extends V> m) { Map<K,V> addMap; addMap = (Map<K,V>) m; for (Map.Entry<K,V> e : addMap.entrySet()) { // Optimize in case the Entry is one of our own. if (e instanceof AbstractMap.BasicMapEntry) { AbstractMap.BasicM... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/63ff6161906dfae5c6cd8e9ab83aca650e00923d/Hashtable.java/buggy/core/src/classpath/5.0/java/util/Hashtable.java |
AbstractMap.BasicMapEntry<? extends K, ? extends V> entry = (AbstractMap.BasicMapEntry<? extends K, ? extends V>) e; | AbstractMap.SimpleEntry<? extends K, ? extends V> entry = (AbstractMap.SimpleEntry<? extends K, ? extends V>) e; | public synchronized void putAll(Map<? extends K, ? extends V> m) { Map<K,V> addMap; addMap = (Map<K,V>) m; for (Map.Entry<K,V> e : addMap.entrySet()) { // Optimize in case the Entry is one of our own. if (e instanceof AbstractMap.BasicMapEntry) { AbstractMap.BasicM... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/63ff6161906dfae5c6cd8e9ab83aca650e00923d/Hashtable.java/buggy/core/src/classpath/5.0/java/util/Hashtable.java |
void set(String name, Object value, boolean global) | void set(QName name, Object value, int type) | void set(String name, Object value, boolean global) { if (global) { Map context = (Map) variables.getFirst(); context.put(name, value); } else { Map context = (Map) parameters.getFirst(); context.put(name, value); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/11aafc23ec4e191f57d02c34f8e6bfeb90bed5a2/Bindings.java/buggy/core/src/classpath/gnu/gnu/xml/transform/Bindings.java |
if (global) | switch (type) | void set(String name, Object value, boolean global) { if (global) { Map context = (Map) variables.getFirst(); context.put(name, value); } else { Map context = (Map) parameters.getFirst(); context.put(name, value); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/11aafc23ec4e191f57d02c34f8e6bfeb90bed5a2/Bindings.java/buggy/core/src/classpath/gnu/gnu/xml/transform/Bindings.java |
Map context = (Map) variables.getFirst(); context.put(name, value); | case VARIABLE: Map vctx = (Map) variables.getFirst(); vctx.put(name, value); break; case PARAM: Map pctx = (Map) parameters.getFirst(); pctx.put(name, value); break; case WITH_PARAM: Map wctx = (Map) withParameters.getFirst(); wctx.put(name, value); break; | void set(String name, Object value, boolean global) { if (global) { Map context = (Map) variables.getFirst(); context.put(name, value); } else { Map context = (Map) parameters.getFirst(); context.put(name, value); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/11aafc23ec4e191f57d02c34f8e6bfeb90bed5a2/Bindings.java/buggy/core/src/classpath/gnu/gnu/xml/transform/Bindings.java |
else { Map context = (Map) parameters.getFirst(); context.put(name, value); } | void set(String name, Object value, boolean global) { if (global) { Map context = (Map) variables.getFirst(); context.put(name, value); } else { Map context = (Map) parameters.getFirst(); context.put(name, value); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/11aafc23ec4e191f57d02c34f8e6bfeb90bed5a2/Bindings.java/buggy/core/src/classpath/gnu/gnu/xml/transform/Bindings.java | |
for (Iterator i = variables.iterator(); i.hasNext(); ) | current = context; List topLevel = new ArrayList(variables); Collections.sort(topLevel); for (Iterator i = topLevel.iterator(); i.hasNext(); ) | void initTopLevelVariables(Node context) throws TransformerException { for (Iterator i = variables.iterator(); i.hasNext(); ) { ParameterNode var = (ParameterNode) i.next(); bindings.set(var.name, var.getValue(this, null, context, 1, 1), var.global); ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/11aafc23ec4e191f57d02c34f8e6bfeb90bed5a2/Stylesheet.java/buggy/core/src/classpath/gnu/gnu/xml/transform/Stylesheet.java |
var.global); | var.type); | void initTopLevelVariables(Node context) throws TransformerException { for (Iterator i = variables.iterator(); i.hasNext(); ) { ParameterNode var = (ParameterNode) i.next(); bindings.set(var.name, var.getValue(this, null, context, 1, 1), var.global); ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/11aafc23ec4e191f57d02c34f8e6bfeb90bed5a2/Stylesheet.java/buggy/core/src/classpath/gnu/gnu/xml/transform/Stylesheet.java |
current = null; | void initTopLevelVariables(Node context) throws TransformerException { for (Iterator i = variables.iterator(); i.hasNext(); ) { ParameterNode var = (ParameterNode) i.next(); bindings.set(var.name, var.getValue(this, null, context, 1, 1), var.global); ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/11aafc23ec4e191f57d02c34f8e6bfeb90bed5a2/Stylesheet.java/buggy/core/src/classpath/gnu/gnu/xml/transform/Stylesheet.java | |
public StreamSerializer(int mode, String encoding, String eol) | public StreamSerializer() | public StreamSerializer(int mode, String encoding, String eol) { this.mode = mode; if (encoding == null) { encoding = "UTF-8"; } this.encoding = encoding.intern(); charset = Charset.forName(this.encoding); encoder = charset.newEncoder(); this.eol = (eol != null) ? eol : System.getP... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/11aafc23ec4e191f57d02c34f8e6bfeb90bed5a2/StreamSerializer.java/buggy/core/src/classpath/gnu/gnu/xml/transform/StreamSerializer.java |
this.mode = mode; if (encoding == null) { encoding = "UTF-8"; } this.encoding = encoding.intern(); charset = Charset.forName(this.encoding); encoder = charset.newEncoder(); this.eol = (eol != null) ? eol : System.getProperty("line.separator"); namespaces = new HashMap(); | this(Stylesheet.OUTPUT_XML, null, null); | public StreamSerializer(int mode, String encoding, String eol) { this.mode = mode; if (encoding == null) { encoding = "UTF-8"; } this.encoding = encoding.intern(); charset = Charset.forName(this.encoding); encoder = charset.newEncoder(); this.eol = (eol != null) ? eol : System.getP... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/11aafc23ec4e191f57d02c34f8e6bfeb90bed5a2/StreamSerializer.java/buggy/core/src/classpath/gnu/gnu/xml/transform/StreamSerializer.java |
return name.getEncoded(); | if (encoded == null) encodeDer(); return (byte[]) encoded.clone(); | public byte[] getEncoded() { return name.getEncoded(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/X500Principal.java/buggy/core/src/classpath/javax/javax/security/auth/x500/X500Principal.java |
adaptee.init (Collections.singletonMap (MDGenerator.MD_NAME, mdName)); | protected SecureRandomAdapter(String mdName) { super(); this.mdName = mdName; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a41d0899aa65f05fc526d9fb2ea0b096d1ff3f8c/SecureRandomAdapter.java/buggy/core/src/classpath/gnu/gnu/java/security/jce/prng/SecureRandomAdapter.java | |
Monitor(VmThread owner, int lockCount, Object object) { this.owner = owner; this.lockCount = lockCount; if (lockCount < 1) { throw new IllegalArgumentException("LockCount must be >= 1"); } this.object = object; this.mutex = new ProcessorLock(); this.enterQueue = new VmThreadScheduleQueue("mon-enter"); this.notifyQueue ... | public Monitor() { this.lockCount = 0; this.monitorLock = 0; this.owner = null; this.enterQueue = new VmThreadQueue.ScheduleQueue("mon-enter"); this.notifyQueue = new VmThreadQueue.ScheduleQueue("mon-notify"); | Monitor(VmThread owner, int lockCount, Object object) { this.owner = owner; this.lockCount = lockCount; if (lockCount < 1) { throw new IllegalArgumentException("LockCount must be >= 1"); } this.object = object; this.mutex = new ProcessorLock(); this.enterQ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/62994783631e20e868b65c6250b1b0c82dff528a/Monitor.java/buggy/core/src/core/org/jnode/vm/scheduler/Monitor.java |
public static void warn(String msg) { log(WARN, System.out, msg, null); | public static void warn(String msg, Throwable ex) { log(WARN, System.out, msg, ex); | public static void warn(String msg) { log(WARN, System.out, msg, null); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c2a519140737c4d249f6c5d568256db2030112e9/BootLog.java/clean/core/src/core/org/jnode/system/BootLog.java |
computeFields(); | public void setTimeInMillis(long time) { clear(); this.time = time; isTimeSet = true; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d77391db2f173e63585cb4d0d5317e7759e09f0c/Calendar.java/buggy/core/src/classpath/java/java/util/Calendar.java | |
public static TimeZone getDefault() { return defaultZone; | public static TimeZone getDefault() { return (TimeZone) defaultZone().clone(); | public static TimeZone getDefault() { return defaultZone; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/16fc961d6a1c0f937611cc07e3cd784246a0a769/TimeZone.java/buggy/core/src/classpath/java/java/util/TimeZone.java |
public static synchronized ResourceBundle getBundle (String baseName, Locale locale, ClassLoader classLoader) | public static ResourceBundle getBundle(String baseName) | public static synchronized ResourceBundle getBundle (String baseName, Locale locale, ClassLoader classLoader) { // If the default locale changed since the last time we were called, // all cache entries are invalidated. Locale defaultLocale = Locale.getDefault(); if (defaultLocale != lastDefaultLocale)... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/01602165fc31514bf19f3083123977c17cdf6f79/ResourceBundle.java/buggy/core/src/classpath/java/java/util/ResourceBundle.java |
Locale defaultLocale = Locale.getDefault(); if (defaultLocale != lastDefaultLocale) { bundleCache = new HashMap(); lastDefaultLocale = defaultLocale; } lookupKey.set(baseName, locale, classLoader); Object obj = bundleCache.get(lookupKey); ResourceBundle rb = null; if (obj instanceof ResourceBundle) { return (Reso... | ClassLoader cl = VMStackWalker.getCallingClassLoader(); if (cl == null) cl = ClassLoader.getSystemClassLoader(); return getBundle(baseName, Locale.getDefault(), cl); | public static synchronized ResourceBundle getBundle (String baseName, Locale locale, ClassLoader classLoader) { // If the default locale changed since the last time we were called, // all cache entries are invalidated. Locale defaultLocale = Locale.getDefault(); if (defaultLocale != lastDefaultLocale)... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/01602165fc31514bf19f3083123977c17cdf6f79/ResourceBundle.java/buggy/core/src/classpath/java/java/util/ResourceBundle.java |
public GregorianCalendar(TimeZone zone, Locale locale) | public GregorianCalendar() | public GregorianCalendar(TimeZone zone, Locale locale) { this(zone, locale, false); setTimeInMillis(System.currentTimeMillis()); complete(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/0b19d44a3472af286798825397a7084f011ca05e/GregorianCalendar.java/buggy/core/src/classpath/java/java/util/GregorianCalendar.java |
this(zone, locale, false); setTimeInMillis(System.currentTimeMillis()); complete(); } | this(TimeZone.getDefault(), Locale.getDefault()); } | public GregorianCalendar(TimeZone zone, Locale locale) { this(zone, locale, false); setTimeInMillis(System.currentTimeMillis()); complete(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/0b19d44a3472af286798825397a7084f011ca05e/GregorianCalendar.java/buggy/core/src/classpath/java/java/util/GregorianCalendar.java |
public void schedule(TimerTask task, long delay, long period) | private void schedule(TimerTask task, long time, long period, boolean fixed) | public void schedule(TimerTask task, long delay, long period) { positiveDelay(delay); positivePeriod(period); long time = System.currentTimeMillis() + delay; schedule(task, time, period, false); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/099941e739b24ffc71faddc589f984d1cda55549/Timer.java/buggy/core/src/classpath/java/java/util/Timer.java |
positiveDelay(delay); positivePeriod(period); long time = System.currentTimeMillis() + delay; schedule(task, time, period, false); | if (time < 0) throw new IllegalArgumentException("negative time"); if (task.scheduled == 0 && task.lastExecutionTime == -1) { task.scheduled = time; task.period = period; task.fixed = fixed; } else { throw new IllegalStateException ("task was already scheduled or canceled"); } if (!this.canceled && this.thread != nul... | public void schedule(TimerTask task, long delay, long period) { positiveDelay(delay); positivePeriod(period); long time = System.currentTimeMillis() + delay; schedule(task, time, period, false); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/099941e739b24ffc71faddc589f984d1cda55549/Timer.java/buggy/core/src/classpath/java/java/util/Timer.java |
this.started = false; | public Plugin(PluginDescriptor descriptor) { this.descriptor = descriptor; if (descriptor == null) { throw new IllegalArgumentException("descriptor cannot be null"); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c2a519140737c4d249f6c5d568256db2030112e9/Plugin.java/buggy/core/src/core/org/jnode/plugin/Plugin.java | |
protected abstract void startPlugin() throws PluginException; | protected abstract void startPlugin() throws PluginException; | protected abstract void startPlugin() throws PluginException; | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c2a519140737c4d249f6c5d568256db2030112e9/Plugin.java/buggy/core/src/core/org/jnode/plugin/Plugin.java |
protected abstract void stopPlugin() throws PluginException; | protected abstract void stopPlugin() throws PluginException; | protected abstract void stopPlugin() throws PluginException; | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c2a519140737c4d249f6c5d568256db2030112e9/Plugin.java/buggy/core/src/core/org/jnode/plugin/Plugin.java |
public InflaterInputStream(InputStream in, Inflater inf, int size) | public InflaterInputStream(InputStream in) | public InflaterInputStream(InputStream in, Inflater inf, int size) { super(in); if (in == null) throw new NullPointerException("in may not be null"); if (inf == null) throw new NullPointerException("inf may not be null"); if (size < 0) throw new IllegalArgumentException("size may not ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/affa0d2d6f465179c4324a2357a64c93083d6c43/InflaterInputStream.java/clean/core/src/classpath/java/java/util/zip/InflaterInputStream.java |
super(in); if (in == null) throw new NullPointerException("in may not be null"); if (inf == null) throw new NullPointerException("inf may not be null"); if (size < 0) throw new IllegalArgumentException("size may not be negative"); this.inf = inf; this.buf = new byte [size]; | this(in, new Inflater(), 4096); | public InflaterInputStream(InputStream in, Inflater inf, int size) { super(in); if (in == null) throw new NullPointerException("in may not be null"); if (inf == null) throw new NullPointerException("inf may not be null"); if (size < 0) throw new IllegalArgumentException("size may not ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/affa0d2d6f465179c4324a2357a64c93083d6c43/InflaterInputStream.java/clean/core/src/classpath/java/java/util/zip/InflaterInputStream.java |
public int read(byte[] b, int off, int len) throws IOException { if (inf == null) throw new IOException("stream closed"); if (len == 0) return 0; int count = 0; for (;;) { try { count = inf.inflate(b, off, len); } catch (DataFormatException dfe) { throw new ZipException(dfe.getMessage()); } if (count > 0) return cou... | public int read() throws IOException { int nread = read(onebytebuffer, 0, 1); if (nread > 0) return onebytebuffer[0] & 0xff; return -1; | public int read(byte[] b, int off, int len) throws IOException { if (inf == null) throw new IOException("stream closed"); if (len == 0) return 0; int count = 0; for (;;) { try { count = inf.inflate(b, off, len); } catch (DataFormatException dfe) { throw new ZipException(df... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/affa0d2d6f465179c4324a2357a64c93083d6c43/InflaterInputStream.java/clean/core/src/classpath/java/java/util/zip/InflaterInputStream.java |
public void setInput (byte[] buf, int off, int len) | public void setInput (byte[] buf) | public void setInput (byte[] buf, int off, int len) { input.setInput (buf, off, len); totalIn += len; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2fe995482ddd93e201e63c55d9ab773c376aa6f3/Inflater.java/buggy/core/src/classpath/java/java/util/zip/Inflater.java |
input.setInput (buf, off, len); totalIn += len; | setInput (buf, 0, buf.length); | public void setInput (byte[] buf, int off, int len) { input.setInput (buf, off, len); totalIn += len; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2fe995482ddd93e201e63c55d9ab773c376aa6f3/Inflater.java/buggy/core/src/classpath/java/java/util/zip/Inflater.java |
public int inflate (byte[] buf, int off, int len) throws DataFormatException | public int inflate (byte[] buf) throws DataFormatException | public int inflate (byte[] buf, int off, int len) throws DataFormatException { /* Special case: len may be zero */ if (len == 0) return 0; /* Check for correct buff, off, len triple */ if (0 > off || off > off + len || off + len > buf.length) throw new ArrayIndexOutOfBoundsException(); int c... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2fe995482ddd93e201e63c55d9ab773c376aa6f3/Inflater.java/buggy/core/src/classpath/java/java/util/zip/Inflater.java |
/* Special case: len may be zero */ if (len == 0) return 0; /* Check for correct buff, off, len triple */ if (0 > off || off > off + len || off + len > buf.length) throw new ArrayIndexOutOfBoundsException(); int count = 0; int more; do { if (mode != DECODE_CHKSUM) { /* Don't give away any output, if we are waiting for ... | return inflate (buf, 0, buf.length); | public int inflate (byte[] buf, int off, int len) throws DataFormatException { /* Special case: len may be zero */ if (len == 0) return 0; /* Check for correct buff, off, len triple */ if (0 > off || off > off + len || off + len > buf.length) throw new ArrayIndexOutOfBoundsException(); int c... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2fe995482ddd93e201e63c55d9ab773c376aa6f3/Inflater.java/buggy/core/src/classpath/java/java/util/zip/Inflater.java |
setBorderSelectionColor(UIManager.getLookAndFeelDefaults().getColor( "Tree.selectionBorderColor")); | if (tree.getLeadSelectionPath() == null || (tree.getLeadSelectionPath().getLastPathComponent()).equals(val)) setBorderSelectionColor(UIManager.getLookAndFeelDefaults(). getColor("Tree.selectionBorderColor")); else setBorderSelectionColor(null); | public Component getTreeCellRendererComponent(JTree tree, Object val, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus) { if (leaf) setIcon(getLeafI... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/031055047d52e1cffbe5de5ce0c7da51215e931f/DefaultTreeCellRenderer.java/buggy/core/src/classpath/javax/javax/swing/tree/DefaultTreeCellRenderer.java |
public Component getTreeCellRendererComponent(JTree tree, | Component getTreeCellRendererComponent(JTree tree, | public Component getTreeCellRendererComponent(JTree tree, Object value, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8f03053e30bf23122f89e48e88064677b27fdd7c/TreeCellRenderer.java/buggy/core/src/classpath/javax/javax/swing/tree/TreeCellRenderer.java |
result.loadToGPR(ec); | final void convert(int fromType, int toType) { final ItemFactory ifac = ec.getItemFactory(); final Item v = vstack.pop(fromType); if (v.isConstant()) { vstack.push(createConst(ifac, toType, getFPValue(v))); v.release(ec); } else { v.pushToFPU(ec); vstack.fpuStack.pop(v); v.release(ec); ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b484ad3aaad9cfd68e32d54c4480b673b82cd557/FPCompilerFPU.java/clean/core/src/core/org/jnode/vm/x86/compiler/l1a/FPCompilerFPU.java | |
private static final void fxch(AbstractX86Stream os, FPUStack fpuStack, | static final void fxch(AbstractX86Stream os, FPUStack fpuStack, | private static final void fxch(AbstractX86Stream os, FPUStack fpuStack, Register fpuReg) { if (fpuReg == Register.ST0) { throw new StackException("Cannot fxch ST0"); } os.writeFXCH(fpuReg); fpuStack.fxch(fpuReg); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/FPUHelper.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/FPUHelper.java |
public static void _assert(boolean value, String msg) { | public static void _assert(boolean value) { | public static void _assert(boolean value, String msg) { if (!value) { assertionFailed(msg, null); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7c124e5b50fbe2a2415022b4bdc34cb2a55ce7a9/Vm.java/buggy/core/src/core/org/jnode/vm/Vm.java |
assertionFailed(msg, null); | assertionFailed(null, null); | public static void _assert(boolean value, String msg) { if (!value) { assertionFailed(msg, null); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7c124e5b50fbe2a2415022b4bdc34cb2a55ce7a9/Vm.java/buggy/core/src/core/org/jnode/vm/Vm.java |
public Iterator getCurrentServiceSelectors(BeanContextServices services, Class serviceClass); | Iterator getCurrentServiceSelectors(BeanContextServices services, Class serviceClass); | public Iterator getCurrentServiceSelectors(BeanContextServices services, Class serviceClass); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/BeanContextServiceProvider.java/buggy/core/src/classpath/java/java/beans/beancontext/BeanContextServiceProvider.java |
public Object getService(BeanContextServices services, Object requestor, Class serviceClass, Object serviceSelector); | Object getService(BeanContextServices services, Object requestor, Class serviceClass, Object serviceSelector); | public Object getService(BeanContextServices services, Object requestor, Class serviceClass, Object serviceSelector); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/BeanContextServiceProvider.java/buggy/core/src/classpath/java/java/beans/beancontext/BeanContextServiceProvider.java |
public void releaseService(BeanContextServices services, Object requestor, Object service); | void releaseService(BeanContextServices services, Object requestor, Object service); | public void releaseService(BeanContextServices services, Object requestor, Object service); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/BeanContextServiceProvider.java/buggy/core/src/classpath/java/java/beans/beancontext/BeanContextServiceProvider.java |
public void serviceRevoked(BeanContextServiceRevokedEvent event); | void serviceRevoked(BeanContextServiceRevokedEvent event); | public void serviceRevoked(BeanContextServiceRevokedEvent event); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/BeanContextServiceRevokedListener.java/buggy/core/src/classpath/java/java/beans/beancontext/BeanContextServiceRevokedListener.java |
public void addBeanContextServicesListener(BeanContextServicesListener listener); | void addBeanContextServicesListener (BeanContextServicesListener listener); | public void addBeanContextServicesListener(BeanContextServicesListener listener); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/BeanContextServices.java/buggy/core/src/classpath/java/java/beans/beancontext/BeanContextServices.java |
public boolean addService(Class serviceClass, BeanContextServiceProvider provider); | boolean addService (Class serviceClass, BeanContextServiceProvider provider); | public boolean addService(Class serviceClass, BeanContextServiceProvider provider); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/BeanContextServices.java/buggy/core/src/classpath/java/java/beans/beancontext/BeanContextServices.java |
public Iterator getCurrentServiceClasses(); | Iterator getCurrentServiceClasses (); | public Iterator getCurrentServiceClasses(); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/BeanContextServices.java/buggy/core/src/classpath/java/java/beans/beancontext/BeanContextServices.java |
public Iterator getCurrentServiceSelectors(Class serviceClass); | Iterator getCurrentServiceSelectors (Class serviceClass); | public Iterator getCurrentServiceSelectors(Class serviceClass); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/BeanContextServices.java/buggy/core/src/classpath/java/java/beans/beancontext/BeanContextServices.java |
public Object getService(BeanContextChild requestorChild, Object requestor, Class serviceClass, Object serviceSelector, BeanContextServiceRevokedListener listener); | Object getService (BeanContextChild requestorChild, Object requestor, Class serviceClass, Object serviceSelector, BeanContextServiceRevokedListener listener) throws TooManyListenersException; | public Object getService(BeanContextChild requestorChild, Object requestor, Class serviceClass, Object serviceSelector, BeanContextServiceRevokedListener listener); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/BeanContextServices.java/buggy/core/src/classpath/java/java/beans/beancontext/BeanContextServices.java |
public boolean hasService(Class serviceClass); | boolean hasService (Class serviceClass); | public boolean hasService(Class serviceClass); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/BeanContextServices.java/buggy/core/src/classpath/java/java/beans/beancontext/BeanContextServices.java |
public void releaseService(BeanContextChild requestorChild, Object requestor, Object service); | void releaseService (BeanContextChild requestorChild, Object requestor, Object service); | public void releaseService(BeanContextChild requestorChild, Object requestor, Object service); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/BeanContextServices.java/buggy/core/src/classpath/java/java/beans/beancontext/BeanContextServices.java |
public void removeBeanContextServicesListener(BeanContextServicesListener listener); | void removeBeanContextServicesListener (BeanContextServicesListener listener); | public void removeBeanContextServicesListener(BeanContextServicesListener listener); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/BeanContextServices.java/buggy/core/src/classpath/java/java/beans/beancontext/BeanContextServices.java |
public void revokeService(Class serviceClass, BeanContextServiceProvider provider, boolean revokeNow); | void revokeService (Class serviceClass, BeanContextServiceProvider provider, boolean revokeNow); | public void revokeService(Class serviceClass, BeanContextServiceProvider provider, boolean revokeNow); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/BeanContextServices.java/buggy/core/src/classpath/java/java/beans/beancontext/BeanContextServices.java |
return new Enumerator<V>(VALUES); | return new ValueEnumerator(); | public Enumeration<V> elements() { return new Enumerator<V>(VALUES); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/63ff6161906dfae5c6cd8e9ab83aca650e00923d/Hashtable.java/buggy/core/src/classpath/5.0/java/util/Hashtable.java |
switch (event.getType()) { case TableModelEvent.INSERT: tableRowsInserted(event); break; case TableModelEvent.DELETE: tableRowsDeleted(event); break; } | public void tableChanged(TableModelEvent event) { // TODO Auto-generated method stub } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/74171de2560e91a8fc81940ffc40e047ca41f4a0/JTable.java/buggy/core/src/classpath/javax/javax/swing/JTable.java | |
setOpaque(true); if (isSelected) { setBackground(table.getSelectionBackground()); setForeground(table.getSelectionForeground()); } else { setBackground(table.getBackground()); setForeground(table.getForeground()); } setEnabled(table.isEnabled()); setFont(table.getFont()); | public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) { if (value!=null) super.setTex... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/DefaultTableCellRenderer.java/buggy/core/src/classpath/javax/javax/swing/table/DefaultTableCellRenderer.java | |
public final String format (Date date) | public final StringBuffer format (Object obj, StringBuffer buf, FieldPosition pos) | public final String format (Date date) { StringBuffer sb = new StringBuffer (); format (date, sb, new FieldPosition (MONTH_FIELD)); return sb.toString(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/099941e739b24ffc71faddc589f984d1cda55549/DateFormat.java/buggy/core/src/classpath/java/java/text/DateFormat.java |
StringBuffer sb = new StringBuffer (); format (date, sb, new FieldPosition (MONTH_FIELD)); return sb.toString(); | if (obj instanceof Number) obj = new Date(((Number) obj).longValue()); else if (! (obj instanceof Date)) throw new IllegalArgumentException ("Cannot format given Object as a Date"); return format ((Date) obj, buf, pos); | public final String format (Date date) { StringBuffer sb = new StringBuffer (); format (date, sb, new FieldPosition (MONTH_FIELD)); return sb.toString(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/099941e739b24ffc71faddc589f984d1cda55549/DateFormat.java/buggy/core/src/classpath/java/java/text/DateFormat.java |
public void setDelay(int delay) | public void setDelay(int d) | public void setDelay(int delay) { interval = delay; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/Timer.java/buggy/core/src/classpath/javax/javax/swing/Timer.java |
interval = delay; | delay = d; | public void setDelay(int delay) { interval = delay; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/Timer.java/buggy/core/src/classpath/javax/javax/swing/Timer.java |
public DefaultTableModel(int numRows, int numColumns) | public DefaultTableModel() | public DefaultTableModel(int numRows, int numColumns) { Vector defaultNames = new Vector(numColumns); Vector data = new Vector(numRows); for (int i = 0; i < numColumns; i++) { defaultNames.add(super.getColumnName(i)); } for (int r = 0; r < numRows; r++) { Vector ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/392a873c7dc1067cc2cc414042ead4e3b43e4483/DefaultTableModel.java/buggy/core/src/classpath/javax/javax/swing/table/DefaultTableModel.java |
Vector defaultNames = new Vector(numColumns); Vector data = new Vector(numRows); for (int i = 0; i < numColumns; i++) { defaultNames.add(super.getColumnName(i)); } for (int r = 0; r < numRows; r++) { Vector tmp = new Vector(numColumns); tmp.setSize(numColumns); data.add(tmp); } setDataVector(data, defaultNames); | this(0, 0); | public DefaultTableModel(int numRows, int numColumns) { Vector defaultNames = new Vector(numColumns); Vector data = new Vector(numRows); for (int i = 0; i < numColumns; i++) { defaultNames.add(super.getColumnName(i)); } for (int r = 0; r < numRows; r++) { Vector ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/392a873c7dc1067cc2cc414042ead4e3b43e4483/DefaultTableModel.java/buggy/core/src/classpath/javax/javax/swing/table/DefaultTableModel.java |
tableColumns = new Vector(); setSelectionModel(new DefaultListSelectionModel()); columnMargin = 1; columnSelectionAllowed = false; | public DefaultTableColumnModel() { // TODO } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/DefaultTableColumnModel.java/buggy/core/src/classpath/javax/javax/swing/table/DefaultTableColumnModel.java | |
public JTableHeader(TableColumnModel cm) | public JTableHeader() | public JTableHeader(TableColumnModel cm) { columnModel = cm == null ? createDefaultColumnModel() : cm; initializeLocalVars(); updateUI(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2fe995482ddd93e201e63c55d9ab773c376aa6f3/JTableHeader.java/buggy/core/src/classpath/javax/javax/swing/table/JTableHeader.java |
columnModel = cm == null ? createDefaultColumnModel() : cm; initializeLocalVars(); updateUI(); | this(null); | public JTableHeader(TableColumnModel cm) { columnModel = cm == null ? createDefaultColumnModel() : cm; initializeLocalVars(); updateUI(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2fe995482ddd93e201e63c55d9ab773c376aa6f3/JTableHeader.java/buggy/core/src/classpath/javax/javax/swing/table/JTableHeader.java |
protected boolean requestFocusInWindow (boolean temporary) | public boolean requestFocusInWindow () | protected boolean requestFocusInWindow (boolean temporary) { KeyboardFocusManager manager = KeyboardFocusManager.getCurrentKeyboardFocusManager (); Window focusedWindow = manager.getFocusedWindow (); if (isDisplayable () && isShowing () && isFocusable ()) { if (focusedWindow != null) { ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/389a8c811e91dbf626693fbb413506535b9ebd2e/Component.java/buggy/core/src/classpath/java/java/awt/Component.java |
KeyboardFocusManager manager = KeyboardFocusManager.getCurrentKeyboardFocusManager (); Window focusedWindow = manager.getFocusedWindow (); if (isDisplayable () && isShowing () && isFocusable ()) { if (focusedWindow != null) { synchronized (getTreeLock ()) { Container parent = getParent (); while (parent != null && !... | return requestFocusInWindow (false); | protected boolean requestFocusInWindow (boolean temporary) { KeyboardFocusManager manager = KeyboardFocusManager.getCurrentKeyboardFocusManager (); Window focusedWindow = manager.getFocusedWindow (); if (isDisplayable () && isShowing () && isFocusable ()) { if (focusedWindow != null) { ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/389a8c811e91dbf626693fbb413506535b9ebd2e/Component.java/buggy/core/src/classpath/java/java/awt/Component.java |
return false; } | protected boolean requestFocusInWindow (boolean temporary) { KeyboardFocusManager manager = KeyboardFocusManager.getCurrentKeyboardFocusManager (); Window focusedWindow = manager.getFocusedWindow (); if (isDisplayable () && isShowing () && isFocusable ()) { if (focusedWindow != null) { ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/389a8c811e91dbf626693fbb413506535b9ebd2e/Component.java/buggy/core/src/classpath/java/java/awt/Component.java | |
clickCountToStart = 2; | clickCountToStart = 3; | public DefaultCellEditor(JTextField textfield) { editorComponent = textfield; clickCountToStart = 2; } // DefaultCellEditor() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/031055047d52e1cffbe5de5ce0c7da51215e931f/DefaultCellEditor.java/buggy/core/src/classpath/javax/javax/swing/DefaultCellEditor.java |
public FatDirEntry(AbstractDirectory dir, String name, String ext) { super(dir); this.parent = dir; this.name = name; this.ext = ext; this.flags = F_ARCHIVE; this.lastModified = System.currentTimeMillis(); this._dirty = false; | public FatDirEntry(AbstractDirectory dir) { this(dir, "", ""); | public FatDirEntry(AbstractDirectory dir, String name, String ext) { super(dir); this.parent = dir; this.name = name; this.ext = ext; this.flags = F_ARCHIVE; this.lastModified = System.currentTimeMillis(); this._dirty = false; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c2a519140737c4d249f6c5d568256db2030112e9/FatDirEntry.java/buggy/fs/src/fs/org/jnode/fs/fat/FatDirEntry.java |
Dialog(Frame parent) { | public Dialog(Frame parent) { | Dialog(Frame parent){ this(parent, "", false);} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/0b19d44a3472af286798825397a7084f011ca05e/Dialog.java/buggy/core/src/classpath/java/java/awt/Dialog.java |
} | } | Dialog(Frame parent){ this(parent, "", false);} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/0b19d44a3472af286798825397a7084f011ca05e/Dialog.java/buggy/core/src/classpath/java/java/awt/Dialog.java |
addNotify() { | public synchronized void addNotify() { | addNotify(){ if (peer == null) peer = getToolkit ().createDialog (this); super.addNotify ();} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/0b19d44a3472af286798825397a7084f011ca05e/Dialog.java/buggy/core/src/classpath/java/java/awt/Dialog.java |
peer = getToolkit ().createDialog (this); super.addNotify (); } | peer = getToolkit().createDialog(this); super.addNotify(); } | addNotify(){ if (peer == null) peer = getToolkit ().createDialog (this); super.addNotify ();} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/0b19d44a3472af286798825397a7084f011ca05e/Dialog.java/buggy/core/src/classpath/java/java/awt/Dialog.java |
dispose () { | public synchronized void dispose() { | dispose (){ if (blocked) { notifyAll (); } super.dispose();} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/0b19d44a3472af286798825397a7084f011ca05e/Dialog.java/buggy/core/src/classpath/java/java/awt/Dialog.java |
notifyAll (); | notifyAll(); | dispose (){ if (blocked) { notifyAll (); } super.dispose();} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/0b19d44a3472af286798825397a7084f011ca05e/Dialog.java/buggy/core/src/classpath/java/java/awt/Dialog.java |
} | } | dispose (){ if (blocked) { notifyAll (); } super.dispose();} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/0b19d44a3472af286798825397a7084f011ca05e/Dialog.java/buggy/core/src/classpath/java/java/awt/Dialog.java |
hide () { | public synchronized void hide() { | hide (){ if (blocked) { notifyAll (); } super.hide();} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/0b19d44a3472af286798825397a7084f011ca05e/Dialog.java/buggy/core/src/classpath/java/java/awt/Dialog.java |
notifyAll (); | notifyAll(); | hide (){ if (blocked) { notifyAll (); } super.hide();} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/0b19d44a3472af286798825397a7084f011ca05e/Dialog.java/buggy/core/src/classpath/java/java/awt/Dialog.java |
} | } | hide (){ if (blocked) { notifyAll (); } super.hide();} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/0b19d44a3472af286798825397a7084f011ca05e/Dialog.java/buggy/core/src/classpath/java/java/awt/Dialog.java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.