rem stringlengths 0 477k | add stringlengths 0 313k | context stringlengths 6 599k | meta stringlengths 141 403 |
|---|---|---|---|
throws NotImplementedException | public void startProduction(ImageConsumer consumer) { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2fe995482ddd93e201e63c55d9ab773c376aa6f3/RenderableImageProducer.java/buggy/core/src/classpath/java/java/awt/image/renderable/RenderableImageProducer.java | |
if (toolkit instanceof ClasspathToolkit) ((ClasspathToolkit)toolkit).registerImageIOSpis(this); | private IIORegistry() { super(defaultCategories.iterator()); // XXX: Register built-in Spis here. Toolkit toolkit = Toolkit.getDefaultToolkit(); registerApplicationClasspathSpis(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/031055047d52e1cffbe5de5ce0c7da51215e931f/IIORegistry.java/clean/core/src/classpath/javax/javax/imageio/spi/IIORegistry.java | |
public static synchronized IIORegistry getDefaultInstance() { ThreadGroup group = Thread.currentThread().getThreadGroup(); IIORegistry registry = (IIORegistry) instances.get(group); if (registry == null) { registry = new IIORegistry(); instances.put(group, registry); } ret... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/031055047d52e1cffbe5de5ce0c7da51215e931f/IIORegistry.java/clean/core/src/classpath/javax/javax/imageio/spi/IIORegistry.java | ||
InputStream stream; | public static Iterator lookupProviders(Class spi, ClassLoader loader) { InputStream stream; String resourceName; Enumeration urls; if (spi == null) throw new IllegalArgumentException(); if (loader == null) loader = ClassLoader.getSystemClassLoader(); ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/ServiceFactory.java/buggy/core/src/classpath/gnu/gnu/classpath/ServiceFactory.java | |
public synchronized void registerServiceProvider(Object provider) | private synchronized boolean registerServiceProvider(Object provider, int cat) | public synchronized void registerServiceProvider(Object provider) { boolean ok = false; if (provider == null) throw new IllegalArgumentException(); for (int i = 0; i < categories.length; i++) if (categories[i].isInstance(provider)) { ok = true; registerServiceProvider(prov... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/ServiceRegistry.java/buggy/core/src/classpath/javax/javax/imageio/spi/ServiceRegistry.java |
boolean ok = false; | LinkedList provs; boolean result; Class category; | public synchronized void registerServiceProvider(Object provider) { boolean ok = false; if (provider == null) throw new IllegalArgumentException(); for (int i = 0; i < categories.length; i++) if (categories[i].isInstance(provider)) { ok = true; registerServiceProvider(prov... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/ServiceRegistry.java/buggy/core/src/classpath/javax/javax/imageio/spi/ServiceRegistry.java |
for (int i = 0; i < categories.length; i++) if (categories[i].isInstance(provider)) { ok = true; registerServiceProvider(provider, i); } | category = categories[cat]; if (!category.isInstance(provider)) throw new ClassCastException(category.getName()); | public synchronized void registerServiceProvider(Object provider) { boolean ok = false; if (provider == null) throw new IllegalArgumentException(); for (int i = 0; i < categories.length; i++) if (categories[i].isInstance(provider)) { ok = true; registerServiceProvider(prov... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/ServiceRegistry.java/buggy/core/src/classpath/javax/javax/imageio/spi/ServiceRegistry.java |
if (!ok) throw new IllegalArgumentException(); | provs = providers[cat]; if (provs == null) { result = true; provs = providers[cat] = new LinkedList(); } else result = false; provs.add(provider); if (provider instanceof RegisterableService) ((RegisterableService) provider).onRegistration(this, category); return result; | public synchronized void registerServiceProvider(Object provider) { boolean ok = false; if (provider == null) throw new IllegalArgumentException(); for (int i = 0; i < categories.length; i++) if (categories[i].isInstance(provider)) { ok = true; registerServiceProvider(prov... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/ServiceRegistry.java/buggy/core/src/classpath/javax/javax/imageio/spi/ServiceRegistry.java |
descriptors = loadDescriptors(pluginFiles); | this.extensionPoints = new BootableHashMap(); this.descriptorMap = new BootableHashMap(); loadDescriptors(pluginFiles); | public PluginRegistryModel(URL[] pluginFiles) throws PluginException { descriptors = loadDescriptors(pluginFiles); resolveDescriptors(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c2a519140737c4d249f6c5d568256db2030112e9/PluginRegistryModel.java/buggy/core/src/core/org/jnode/plugin/model/PluginRegistryModel.java |
return new ObjectArrayIterator(descriptors); | return descriptorMap.values().iterator(); | public Iterator getDescriptorIterator() { return new ObjectArrayIterator(descriptors); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c2a519140737c4d249f6c5d568256db2030112e9/PluginRegistryModel.java/buggy/core/src/core/org/jnode/plugin/model/PluginRegistryModel.java |
return (ExtensionPoint) getExtensionPointsCache().get(id); | return (ExtensionPoint) extensionPoints.get(id); | public ExtensionPoint getExtensionPoint(String id) { return (ExtensionPoint) getExtensionPointsCache().get(id); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c2a519140737c4d249f6c5d568256db2030112e9/PluginRegistryModel.java/buggy/core/src/core/org/jnode/plugin/model/PluginRegistryModel.java |
final int max = descriptors.length; for (int i = 0; i < max; i++) { if (descriptors[i].getId().equals(pluginId)) { return descriptors[i]; } } return null; | return (PluginDescriptor) descriptorMap.get(pluginId); | public PluginDescriptor getPluginDescriptor(String pluginId) { final int max = descriptors.length; for (int i = 0; i < max; i++) { if (descriptors[i].getId().equals(pluginId)) { return descriptors[i]; } } return null; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c2a519140737c4d249f6c5d568256db2030112e9/PluginRegistryModel.java/buggy/core/src/core/org/jnode/plugin/model/PluginRegistryModel.java |
private PluginDescriptorModel[] loadDescriptors(URL[] pluginFiles) throws PluginException { final int max = pluginFiles.length; final PluginDescriptorModel[] list = new PluginDescriptorModel[max]; | private void loadDescriptors(URL[] pluginUrls) throws PluginException { final int max = pluginUrls.length; | private PluginDescriptorModel[] loadDescriptors(URL[] pluginFiles) throws PluginException { final int max = pluginFiles.length; final PluginDescriptorModel[] list = new PluginDescriptorModel[max]; for (int i = 0; i < max; i++) { final URL url = pluginFiles[i]; //reader.setValidation(true); //reader.setValidat... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c2a519140737c4d249f6c5d568256db2030112e9/PluginRegistryModel.java/buggy/core/src/core/org/jnode/plugin/model/PluginRegistryModel.java |
final URL url = pluginFiles[i]; final XMLElement root; try { root = new XMLElement(new Hashtable(), true, false); final Reader r = new InputStreamReader(url.openStream()); try { root.parseFromReader(r); } finally { r.close(); } } catch (IOException ex) { throw new PluginException(ex); } if (!root.getName().equals("p... | loadPlugin(pluginUrls[i]); | private PluginDescriptorModel[] loadDescriptors(URL[] pluginFiles) throws PluginException { final int max = pluginFiles.length; final PluginDescriptorModel[] list = new PluginDescriptorModel[max]; for (int i = 0; i < max; i++) { final URL url = pluginFiles[i]; //reader.setValidation(true); //reader.setValidat... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c2a519140737c4d249f6c5d568256db2030112e9/PluginRegistryModel.java/buggy/core/src/core/org/jnode/plugin/model/PluginRegistryModel.java |
return list; | private PluginDescriptorModel[] loadDescriptors(URL[] pluginFiles) throws PluginException { final int max = pluginFiles.length; final PluginDescriptorModel[] list = new PluginDescriptorModel[max]; for (int i = 0; i < max; i++) { final URL url = pluginFiles[i]; //reader.setValidation(true); //reader.setValidat... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c2a519140737c4d249f6c5d568256db2030112e9/PluginRegistryModel.java/buggy/core/src/core/org/jnode/plugin/model/PluginRegistryModel.java | |
protected void registerExtensionPoint(ExtensionPoint ep) throws PluginException { final HashMap epMap = getExtensionPointsCache(); | protected synchronized void registerExtensionPoint(ExtensionPoint ep) throws PluginException { final BootableHashMap epMap = this.extensionPoints; | protected void registerExtensionPoint(ExtensionPoint ep) throws PluginException { final HashMap epMap = getExtensionPointsCache(); if (epMap.containsKey(ep.getUniqueIdentifier())) { throw new PluginException("Duplicate extension point " + ep.getUniqueIdentifier()); } epMap.put(ep.getUniqueIdentifier(), ep); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c2a519140737c4d249f6c5d568256db2030112e9/PluginRegistryModel.java/buggy/core/src/core/org/jnode/plugin/model/PluginRegistryModel.java |
final int max = descriptors.length; for (int i = 0; i < max; i++) { descriptors[i].resolve(); | for (Iterator i = descriptorMap.values().iterator(); i.hasNext(); ) { final PluginDescriptorModel descr = (PluginDescriptorModel)i.next(); descr.resolve(); | private void resolveDescriptors() throws PluginException { final int max = descriptors.length; for (int i = 0; i < max; i++) { descriptors[i].resolve(); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c2a519140737c4d249f6c5d568256db2030112e9/PluginRegistryModel.java/buggy/core/src/core/org/jnode/plugin/model/PluginRegistryModel.java |
public PluginDescriptorModel(PluginRegistryModel registry, XMLElement e) throws PluginException { this.registry = registry; id = getAttribute(e, "id", true); name = getAttribute(e, "name", true); providerName = getAttribute(e, "provider-name", false); version = getAttribute(e, "version", true); className = getAttribute... | public PluginDescriptorModel(XMLElement e) throws PluginException { this(null, null, e); | public PluginDescriptorModel(PluginRegistryModel registry, XMLElement e) throws PluginException { this.registry = registry; id = getAttribute(e, "id", true); name = getAttribute(e, "name", true); providerName = getAttribute(e, "provider-name", false); version = getAttribute(e, "version", true); className = getAt... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c2a519140737c4d249f6c5d568256db2030112e9/PluginDescriptorModel.java/buggy/core/src/core/org/jnode/plugin/model/PluginDescriptorModel.java |
while (true) { mutex.lock(); | boolean loop = true; final Address lcAddr = getLCAddress(); while (loop) { final VmThread current = VmMagic.currentProcessor().getCurrentThread(); | private final void enterSlowPath() { // No yet owner, try to obtain the lock while (true) { // Lock this monitor first mutex.lock(); // Try to claim this monitor if (getLCAddress().attempt(0, 1)) { // Success, we now own this monit... | 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 (getLCAddress().attempt(0, 1)) { this.owner = VmMagic.currentProcessor().currentThread; mutex.unlock(); return; | if (lcAddr.attempt(0, 1)) { loop = false; this.owner = current; | private final void enterSlowPath() { // No yet owner, try to obtain the lock while (true) { // Lock this monitor first mutex.lock(); // Try to claim this monitor if (getLCAddress().attempt(0, 1)) { // Success, we now own this monit... | 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 current = VmMagic.currentProcessor().currentThread; | private final void enterSlowPath() { // No yet owner, try to obtain the lock while (true) { // Lock this monitor first mutex.lock(); // Try to claim this monitor if (getLCAddress().attempt(0, 1)) { // Success, we now own this monit... | 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 | |
VmMagic.currentProcessor().disableReschedule(false, null); current.goSleepByMonitor(this, object, null, VmThread.WAITING_ENTER); enterQueue.enqueue(current, false); | lock(); try { VmMagic.currentProcessor().disableReschedule(true); prepareWait(current, enterQueue, VmThread.WAITING_ENTER, "mon-enter"); } finally { unlock(); } | private final void enterSlowPath() { // No yet owner, try to obtain the lock while (true) { // Lock this monitor first mutex.lock(); // Try to claim this monitor if (getLCAddress().attempt(0, 1)) { // Success, we now own this monit... | 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(); VmMagic.currentProcessor().suspend(false, null); | VmMagic.currentProcessor().suspend(true); | private final void enterSlowPath() { // No yet owner, try to obtain the lock while (true) { // Lock this monitor first mutex.lock(); // Try to claim this monitor if (getLCAddress().attempt(0, 1)) { // Success, we now own this monit... | 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 |
int count = 0; | public final void lock() { if (this.owner == VmMagic.currentProcessor()) { // We already own this lock, increment the lock count. lockCount = lockCount.add(Word.one()); } else { final Address ownerAddr = ObjectReference.fromObject(this) .toAddress();... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/62994783631e20e868b65c6250b1b0c82dff528a/ProcessorLock.java/buggy/core/src/core/org/jnode/vm/scheduler/ProcessorLock.java | |
if (++count > 10000) { VmMagic.currentProcessor().getArchitecture().getStackReader().debugStackTrace(); Unsafe.die("ProcessorLock.lock"); } | public final void lock() { if (this.owner == VmMagic.currentProcessor()) { // We already own this lock, increment the lock count. lockCount = lockCount.add(Word.one()); } else { final Address ownerAddr = ObjectReference.fromObject(this) .toAddress();... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/62994783631e20e868b65c6250b1b0c82dff528a/ProcessorLock.java/buggy/core/src/core/org/jnode/vm/scheduler/ProcessorLock.java | |
public XBMDecoder(String filename) { super(filename); } | public XBMDecoder (String filename) { super (filename); } | public XBMDecoder(String filename) { super(filename); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/XBMDecoder.java/buggy/core/src/classpath/gnu/gnu/java/awt/image/XBMDecoder.java |
static public int[] getScanline(Reader in, int len) throws IOException { char byteStr[] = new char[2]; int scanline[] = new int[len]; int x = 0; | static public int[] getScanline (Reader in, int len) throws IOException { char byteStr[] = new char[2]; int scanline[] = new int[len]; int x = 0; | static public int[] getScanline(Reader in, int len) throws IOException { char byteStr[] = new char[2]; int scanline[] = new int[len]; int x = 0; while (x < len) { int ch = in.read(); if (ch == '0') { in.read(); // 'x' byteStr[0] = (char) in.read(); byteStr[1] = (char) in.read(); int byteVal = Integ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/XBMDecoder.java/buggy/core/src/classpath/gnu/gnu/java/awt/image/XBMDecoder.java |
while (x < len) { int ch = in.read(); if (ch == '0') { in.read(); | while (x < len) { int ch = in.read (); if (ch == '0') { in.read (); byteStr[0] = (char) in.read (); byteStr[1] = (char) in.read (); | static public int[] getScanline(Reader in, int len) throws IOException { char byteStr[] = new char[2]; int scanline[] = new int[len]; int x = 0; while (x < len) { int ch = in.read(); if (ch == '0') { in.read(); // 'x' byteStr[0] = (char) in.read(); byteStr[1] = (char) in.read(); int byteVal = Integ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/XBMDecoder.java/buggy/core/src/classpath/gnu/gnu/java/awt/image/XBMDecoder.java |
byteStr[0] = (char) in.read(); byteStr[1] = (char) in.read(); | int byteVal = Integer.parseInt (new String (byteStr), 16); | static public int[] getScanline(Reader in, int len) throws IOException { char byteStr[] = new char[2]; int scanline[] = new int[len]; int x = 0; while (x < len) { int ch = in.read(); if (ch == '0') { in.read(); // 'x' byteStr[0] = (char) in.read(); byteStr[1] = (char) in.read(); int byteVal = Integ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/XBMDecoder.java/buggy/core/src/classpath/gnu/gnu/java/awt/image/XBMDecoder.java |
int byteVal = Integer.parseInt(new String(byteStr), 16); | for (int i = 0; i < 8; i++, x++) { if (x == len) return scanline; | static public int[] getScanline(Reader in, int len) throws IOException { char byteStr[] = new char[2]; int scanline[] = new int[len]; int x = 0; while (x < len) { int ch = in.read(); if (ch == '0') { in.read(); // 'x' byteStr[0] = (char) in.read(); byteStr[1] = (char) in.read(); int byteVal = Integ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/XBMDecoder.java/buggy/core/src/classpath/gnu/gnu/java/awt/image/XBMDecoder.java |
for (int i = 0; i < 8; i++, x++) { if (x == len) return scanline; | scanline[x] = ((byteVal & masktable[i]) != 0) ? black : transparent; } } } | static public int[] getScanline(Reader in, int len) throws IOException { char byteStr[] = new char[2]; int scanline[] = new int[len]; int x = 0; while (x < len) { int ch = in.read(); if (ch == '0') { in.read(); // 'x' byteStr[0] = (char) in.read(); byteStr[1] = (char) in.read(); int byteVal = Integ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/XBMDecoder.java/buggy/core/src/classpath/gnu/gnu/java/awt/image/XBMDecoder.java |
scanline[x] = ((byteVal & masktable[i]) != 0) ? black : transparent; } } } return scanline; } | return scanline; } | static public int[] getScanline(Reader in, int len) throws IOException { char byteStr[] = new char[2]; int scanline[] = new int[len]; int x = 0; while (x < len) { int ch = in.read(); if (ch == '0') { in.read(); // 'x' byteStr[0] = (char) in.read(); byteStr[1] = (char) in.read(); int byteVal = Integ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/XBMDecoder.java/buggy/core/src/classpath/gnu/gnu/java/awt/image/XBMDecoder.java |
public void produce(Vector v, FileInputStream is) throws IOException { reader = new BufferedReader(new InputStreamReader(is)); int width = -1, height = -1; | public void produce (Vector v, InputStream is) throws IOException { reader = new BufferedReader (new InputStreamReader (is)); int width = -1, height = -1; | public void produce(Vector v, FileInputStream is) throws IOException { reader = new BufferedReader(new InputStreamReader(is)); int width = -1, height = -1; for (int i = 0; i < 2; i++) { String line = reader.readLine(); StringTokenizer st = new StringTokenizer(line); st.nextToken(); // #define st.nextToken()... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/XBMDecoder.java/buggy/core/src/classpath/gnu/gnu/java/awt/image/XBMDecoder.java |
for (int i = 0; i < 2; i++) { String line = reader.readLine(); StringTokenizer st = new StringTokenizer(line); | for (int i = 0; i < 2; i++) { String line = reader.readLine (); StringTokenizer st = new StringTokenizer (line); st.nextToken (); st.nextToken (); if (i == 0) width = Integer.parseInt (st.nextToken (), 10); else height = Integer.parseInt (st.nextToken (), 10); } | public void produce(Vector v, FileInputStream is) throws IOException { reader = new BufferedReader(new InputStreamReader(is)); int width = -1, height = -1; for (int i = 0; i < 2; i++) { String line = reader.readLine(); StringTokenizer st = new StringTokenizer(line); st.nextToken(); // #define st.nextToken()... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/XBMDecoder.java/buggy/core/src/classpath/gnu/gnu/java/awt/image/XBMDecoder.java |
st.nextToken(); st.nextToken(); if (i == 0) width = Integer.parseInt(st.nextToken(), 10); else height = Integer.parseInt(st.nextToken(), 10); } | for (int i = 0; i < v.size (); i++) { ImageConsumer ic = (ImageConsumer) v.elementAt (i); | public void produce(Vector v, FileInputStream is) throws IOException { reader = new BufferedReader(new InputStreamReader(is)); int width = -1, height = -1; for (int i = 0; i < 2; i++) { String line = reader.readLine(); StringTokenizer st = new StringTokenizer(line); st.nextToken(); // #define st.nextToken()... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/XBMDecoder.java/buggy/core/src/classpath/gnu/gnu/java/awt/image/XBMDecoder.java |
for (int i = 0; i < v.size(); i++) { ImageConsumer ic = (ImageConsumer) v.elementAt(i); | ic.setDimensions (width, height); ic.setColorModel (cm); ic.setHints (ImageConsumer.COMPLETESCANLINES | ImageConsumer.SINGLEFRAME | ImageConsumer.SINGLEPASS | ImageConsumer.TOPDOWNLEFTRIGHT); } | public void produce(Vector v, FileInputStream is) throws IOException { reader = new BufferedReader(new InputStreamReader(is)); int width = -1, height = -1; for (int i = 0; i < 2; i++) { String line = reader.readLine(); StringTokenizer st = new StringTokenizer(line); st.nextToken(); // #define st.nextToken()... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/XBMDecoder.java/buggy/core/src/classpath/gnu/gnu/java/awt/image/XBMDecoder.java |
ic.setDimensions(width, height); ic.setColorModel(cm); ic.setHints(ImageConsumer.COMPLETESCANLINES | ImageConsumer.SINGLEFRAME | ImageConsumer.SINGLEPASS | ImageConsumer.TOPDOWNLEFTRIGHT); } | /* skip to the byte array */ while (reader.read () != '{') { } | public void produce(Vector v, FileInputStream is) throws IOException { reader = new BufferedReader(new InputStreamReader(is)); int width = -1, height = -1; for (int i = 0; i < 2; i++) { String line = reader.readLine(); StringTokenizer st = new StringTokenizer(line); st.nextToken(); // #define st.nextToken()... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/XBMDecoder.java/buggy/core/src/classpath/gnu/gnu/java/awt/image/XBMDecoder.java |
/* skip to the byte array */ while (reader.read() != '{') { } | /* loop through each scanline */ for (int line = 0; line < height; line++) { int scanline[] = getScanline (reader, width); | public void produce(Vector v, FileInputStream is) throws IOException { reader = new BufferedReader(new InputStreamReader(is)); int width = -1, height = -1; for (int i = 0; i < 2; i++) { String line = reader.readLine(); StringTokenizer st = new StringTokenizer(line); st.nextToken(); // #define st.nextToken()... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/XBMDecoder.java/buggy/core/src/classpath/gnu/gnu/java/awt/image/XBMDecoder.java |
/* loop through each scanline */ for (int line = 0; line < height; line++) { int scanline[] = getScanline(reader, width); | for (int i = 0; i < v.size (); i++) { ImageConsumer ic = (ImageConsumer) v.elementAt (i); ic.setPixels (0, 0 + line, width, 1, cm, scanline, 0, width); } } | public void produce(Vector v, FileInputStream is) throws IOException { reader = new BufferedReader(new InputStreamReader(is)); int width = -1, height = -1; for (int i = 0; i < 2; i++) { String line = reader.readLine(); StringTokenizer st = new StringTokenizer(line); st.nextToken(); // #define st.nextToken()... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/XBMDecoder.java/buggy/core/src/classpath/gnu/gnu/java/awt/image/XBMDecoder.java |
for (int i = 0; i < v.size(); i++) { ImageConsumer ic = (ImageConsumer) v.elementAt(i); ic.setPixels(0, 0 + line, width, 1, cm, scanline, 0, width); } } /* tell each ImageConsumer that we're finished */ for (int i = 0; i < v.size(); i++) { ImageConsumer ic = (ImageConsumer) v.elementAt(i); ic.imageComplete(ImageConsum... | /* tell each ImageConsumer that we're finished */ for (int i = 0; i < v.size (); i++) { ImageConsumer ic = (ImageConsumer) v.elementAt (i); ic.imageComplete (ImageConsumer.STATICIMAGEDONE); } } | public void produce(Vector v, FileInputStream is) throws IOException { reader = new BufferedReader(new InputStreamReader(is)); int width = -1, height = -1; for (int i = 0; i < 2; i++) { String line = reader.readLine(); StringTokenizer st = new StringTokenizer(line); st.nextToken(); // #define st.nextToken()... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/XBMDecoder.java/buggy/core/src/classpath/gnu/gnu/java/awt/image/XBMDecoder.java |
abstract void produce(Vector v, FileInputStream is) throws IOException; | public abstract void produce (Vector v, InputStream is) throws IOException; | abstract void produce(Vector v, FileInputStream is) throws IOException; | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/ImageDecoder.java/buggy/core/src/classpath/gnu/gnu/java/awt/image/ImageDecoder.java |
protected AccessibleAbstractButton(JComponent c) | protected AccessibleAbstractButton() | protected AccessibleAbstractButton(JComponent c) { super(c); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/AbstractButton.java/buggy/core/src/classpath/javax/javax/swing/AbstractButton.java |
super(c); | protected AccessibleAbstractButton(JComponent c) { super(c); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/AbstractButton.java/buggy/core/src/classpath/javax/javax/swing/AbstractButton.java | |
public final Class getCategory() | public Class getCategory() | public final Class getCategory() { return JobMessageFromOperator.class; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/affa0d2d6f465179c4324a2357a64c93083d6c43/JobMessageFromOperator.java/clean/core/src/classpath/javax/javax/print/attribute/standard/JobMessageFromOperator.java |
public final String getName() | public String getName() | public final String getName() { return "job-message-from-operator"; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/affa0d2d6f465179c4324a2357a64c93083d6c43/JobMessageFromOperator.java/clean/core/src/classpath/javax/javax/print/attribute/standard/JobMessageFromOperator.java |
public InputVerifier() { } | public InputVerifier() { } | public InputVerifier() { } // InputVerifier() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/InputVerifier.java/buggy/core/src/classpath/javax/javax/swing/InputVerifier.java |
public boolean shouldYieldFocus(JComponent component) { | public boolean shouldYieldFocus(JComponent component) { | public boolean shouldYieldFocus(JComponent component) { return verify(component); } // shouldYieldFocus() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/InputVerifier.java/buggy/core/src/classpath/javax/javax/swing/InputVerifier.java |
} | } | public boolean shouldYieldFocus(JComponent component) { return verify(component); } // shouldYieldFocus() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/InputVerifier.java/buggy/core/src/classpath/javax/javax/swing/InputVerifier.java |
defaultCommandInvoker=new DefaultCommandInvoker(this); threadCommandInvoker=new ThreadCommandInvoker(this); this.commandInvoker=threadCommandInvoker; | defaultCommandInvoker = new DefaultCommandInvoker(this); threadCommandInvoker = new ThreadCommandInvoker(this); this.commandInvoker = threadCommandInvoker; | public CommandShell() throws ShellException { try { ConsoleManager cm = (ConsoleManager) InitialNaming.lookup(ConsoleManager.NAME); if (cm != null) { console = cm.getFocus(); this.out = console.getOut(); this.err = console.getErr(); // listen to the keyboard console.addKeyboardListener(this); ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c2a519140737c4d249f6c5d568256db2030112e9/CommandShell.java/clean/shell/src/shell/org/jnode/shell/CommandShell.java |
if (!cmdLineStr.equals(newestLine)) history.addCommand(cmdLineStr); } | if (!cmdLineStr.equals(newestLine)) history.addCommand(cmdLineStr); } | public void addCommandToHistory(String cmdLineStr) { // Add this command to the history. if (!cmdLineStr.equals(newestLine)) history.addCommand(cmdLineStr); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c2a519140737c4d249f6c5d568256db2030112e9/CommandShell.java/clean/shell/src/shell/org/jnode/shell/CommandShell.java |
public Console getConsole() { return console; } | public Console getConsole() { return console; } | public Console getConsole() { return console; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c2a519140737c4d249f6c5d568256db2030112e9/CommandShell.java/clean/shell/src/shell/org/jnode/shell/CommandShell.java |
return err; } | return err; } | public PrintStream getErrorStream() { return err; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c2a519140737c4d249f6c5d568256db2030112e9/CommandShell.java/clean/shell/src/shell/org/jnode/shell/CommandShell.java |
System.out.println(); for (int i = 0; i < items.length; i++) System.out.println(items[i]); dirty = true; } | System.out.println(); for (int i = 0; i < items.length; i++) System.out.println(items[i]); dirty = true; } | public void list(String[] items) { System.out.println(); for (int i = 0; i < items.length; i++) System.out.println(items[i]); dirty = true; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c2a519140737c4d249f6c5d568256db2030112e9/CommandShell.java/clean/shell/src/shell/org/jnode/shell/CommandShell.java |
commandInvoker.invoke(cmdLineStr); } | commandInvoker.invoke(cmdLineStr); } | protected void processCommand(String cmdLineStr) { commandInvoker.invoke(cmdLineStr); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c2a519140737c4d249f6c5d568256db2030112e9/CommandShell.java/clean/shell/src/shell/org/jnode/shell/CommandShell.java |
if (console != null) console.clearLine((int) console.getCursor().getY()); | if (console != null) { console.clearLine(console.getCursorY()); } | private void redisplay() { // clear the line if (console != null) console.clearLine((int) console.getCursor().getY()); // display the prompt out.print(prompt()); // display the required history/current line if (historyIndex == -1) currentLine = newestLine; else currentLine = history.getCommand(historyI... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c2a519140737c4d249f6c5d568256db2030112e9/CommandShell.java/clean/shell/src/shell/org/jnode/shell/CommandShell.java |
public void setDefaultCommandInvoker(){ this.commandInvoker=defaultCommandInvoker; } | public void setDefaultCommandInvoker() { this.commandInvoker = defaultCommandInvoker; } | public void setDefaultCommandInvoker(){ this.commandInvoker=defaultCommandInvoker; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c2a519140737c4d249f6c5d568256db2030112e9/CommandShell.java/clean/shell/src/shell/org/jnode/shell/CommandShell.java |
public void setThreadCommandInvoker(){ this.commandInvoker=threadCommandInvoker; } | public void setThreadCommandInvoker() { this.commandInvoker = threadCommandInvoker; } | public void setThreadCommandInvoker(){ this.commandInvoker=threadCommandInvoker; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c2a519140737c4d249f6c5d568256db2030112e9/CommandShell.java/clean/shell/src/shell/org/jnode/shell/CommandShell.java |
public void clearLine (int y); | public void clearLine(int y); | public void clearLine (int y); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c2a519140737c4d249f6c5d568256db2030112e9/Console.java/buggy/core/src/driver/org/jnode/driver/console/Console.java |
public void autoscroll (Point location); | void autoscroll (Point location); | public void autoscroll (Point location); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/Autoscroll.java/clean/core/src/classpath/java/java/awt/dnd/Autoscroll.java |
public Insets getAutoscrollInsets (); | Insets getAutoscrollInsets (); | public Insets getAutoscrollInsets (); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/Autoscroll.java/clean/core/src/classpath/java/java/awt/dnd/Autoscroll.java |
if (init != null) | public RenderingHints(Map init) { putAll(init); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e864c0d89c996e0999ad08d1701193723aaab52a/RenderingHints.java/buggy/core/src/classpath/java/java/awt/RenderingHints.java | |
Iterator iterator = m.keySet().iterator(); while (iterator.hasNext()) { Key key = (Key) iterator.next(); if (!key.isCompatibleValue(m.get(key))) throw new IllegalArgumentException(); } | public void putAll(Map m) { hintMap.putAll(m); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e864c0d89c996e0999ad08d1701193723aaab52a/RenderingHints.java/buggy/core/src/classpath/java/java/awt/RenderingHints.java | |
return remove((Key) key); | return hintMap.remove((Key) key); | public Object remove(Object key) { return remove((Key) key); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e864c0d89c996e0999ad08d1701193723aaab52a/RenderingHints.java/buggy/core/src/classpath/java/java/awt/RenderingHints.java |
public final Class getCategory() | public Class getCategory() | public final Class getCategory() { return DocumentName.class; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/affa0d2d6f465179c4324a2357a64c93083d6c43/DocumentName.java/clean/core/src/classpath/javax/javax/print/attribute/standard/DocumentName.java |
public final String getName() | public String getName() | public final String getName() { return "document-name"; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/affa0d2d6f465179c4324a2357a64c93083d6c43/DocumentName.java/clean/core/src/classpath/javax/javax/print/attribute/standard/DocumentName.java |
if (comp==rootPane) | if (comp==rootPane || ! isRootPaneCheckingEnabled()) | public void remove(Component comp) { // If we're removing the root pane, use super.remove. Otherwise // pass it on to the content pane instead. if (comp==rootPane) super.remove(comp); else getContentPane().remove(comp); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/JInternalFrame.java/clean/core/src/classpath/javax/javax/swing/JInternalFrame.java |
firePropertyChange("closable", ! closable, closable); } | public void setClosable(boolean b) { closable = b; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/JInternalFrame.java/clean/core/src/classpath/javax/javax/swing/JInternalFrame.java | |
firePropertyChange("iconable", ! iconable, iconable); } | public void setIconifiable(boolean b) { iconable = b; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/JInternalFrame.java/clean/core/src/classpath/javax/javax/swing/JInternalFrame.java | |
firePropertyChange("maximizable", ! maximizable, maximizable); } | public void setMaximizable(boolean b) { maximizable = b; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/JInternalFrame.java/clean/core/src/classpath/javax/javax/swing/JInternalFrame.java | |
firePropertyChange("resizable", ! resizable, resizable); } | public void setResizable(boolean b) { resizable = b; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/JInternalFrame.java/clean/core/src/classpath/javax/javax/swing/JInternalFrame.java | |
if (isShowing()) repaint(); | public void setSelected(boolean selected) throws PropertyVetoException { if (selected != isSelected()) { fireVetoableChange(IS_SELECTED_PROPERTY, selected, isSelected); if (! selected) defaultFocus = getMostRecentFocusOwner(); isSelected = selected; if (selected) restoreSubcomponentFocus(); firePropertyC... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/JInternalFrame.java/clean/core/src/classpath/javax/javax/swing/JInternalFrame.java | |
super(); | public BasicToolBarUI() { super(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9e763280cf1369c9681ea91b32ae758840a76dc3/BasicToolBarUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicToolBarUI.java | |
protected boolean canDock(Component c, Point p) | public boolean canDock(Component c, Point p) | protected boolean canDock(Component c, Point p) { if (areaOfClick(c, p) != -1) return true; return false; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9e763280cf1369c9681ea91b32ae758840a76dc3/BasicToolBarUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicToolBarUI.java |
if (areaOfClick(c, p) != -1) return true; return false; | return areaOfClick(c, p) != -1; | protected boolean canDock(Component c, Point p) { if (areaOfClick(c, p) != -1) return true; return false; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9e763280cf1369c9681ea91b32ae758840a76dc3/BasicToolBarUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicToolBarUI.java |
return 0; | return this.orientation; | public int getOrientation() { return 0; // TODO } // getOrientation() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/JToolBar.java/buggy/core/src/classpath/javax/javax/swing/JToolBar.java |
if (orientation != HORIZONTAL && orientation != VERTICAL) throw new IllegalArgumentException(orientation + " is not a legal orientation"); if (orientation != this.orientation) { int oldOrientation = this.orientation; this.orientation = orientation; firePropertyChange(ORIENTATION_CHANGED_PROPERTY, oldOrientation, this.o... | public void setOrientation(int orientation) { // TODO } // setOrientation() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/JToolBar.java/buggy/core/src/classpath/javax/javax/swing/JToolBar.java | |
if (anchorCert == null) | if (anchorCert != null) | public CertPathValidatorResult engineValidate(CertPath path, CertPathParameters params) throws CertPathValidatorException, InvalidAlgorithmParameterException { if (!(params instanceof PKIXParameters)) throw new InvalidAlgorithmParameterException("not a PKIXPa... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ebc5ff4942beb7f0eda4abe3e16ca60092e4db1d/PKIXCertPathValidatorImpl.java/buggy/core/src/classpath/gnu/gnu/java/security/provider/PKIXCertPathValidatorImpl.java |
-pos.x, -pos.y, | 0, 0, | public void paint(Graphics g, JComponent c) { JViewport v = (JViewport)c; Component view = v.getView(); if (view == null) return; Point pos = v.getViewPosition(); Rectangle viewBounds = view.getBounds(); Rectangle portBounds = v.getBounds(); if (viewBounds.width == 0 || viewBo... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/BasicViewportUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicViewportUI.java |
public Driver getDriver() { | final Driver getDriver() { | public Driver getDriver() { return driver; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c2a519140737c4d249f6c5d568256db2030112e9/Device.java/buggy/core/src/driver/org/jnode/driver/Device.java |
crle.initCause (ioe); | crle.initCause(ioe); | public CRL engineGenerateCRL(InputStream inStream) throws CRLException { try { return generateCRL(inStream); } catch (IOException ioe) { CRLException crle = new CRLException(ioe.getMessage()); crle.initCause (ioe); throw crle; } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/X509CertificateFactory.java/clean/core/src/classpath/gnu/gnu/java/security/provider/X509CertificateFactory.java |
crle.initCause (ioe); | crle.initCause(ioe); | public Collection engineGenerateCRLs(InputStream inStream) throws CRLException { LinkedList crls = new LinkedList(); while (true) { try { crls.add(generateCRL(inStream)); } catch (EOFException eof) { break; } catch (IOExcept... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/X509CertificateFactory.java/clean/core/src/classpath/gnu/gnu/java/security/provider/X509CertificateFactory.java |
ce.initCause (ioe); | ce.initCause(ioe); | public Certificate engineGenerateCertificate(InputStream inStream) throws CertificateException { try { return generateCert(inStream); } catch (IOException ioe) { CertificateException ce = new CertificateException(ioe.getMessage()); ce.initCause (ioe); throw ce; ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/X509CertificateFactory.java/clean/core/src/classpath/gnu/gnu/java/security/provider/X509CertificateFactory.java |
ce.initCause (ioe); | ce.initCause(ioe); | public Collection engineGenerateCertificates(InputStream inStream) throws CertificateException { LinkedList certs = new LinkedList(); while (true) { try { certs.add(generateCert(inStream)); } catch (EOFException eof) { break; } ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/X509CertificateFactory.java/clean/core/src/classpath/gnu/gnu/java/security/provider/X509CertificateFactory.java |
private X509CRL generateCRL(InputStream inStream) throws IOException, CRLException | private X509CRL generateCRL(InputStream inStream) throws IOException, CRLException | private X509CRL generateCRL(InputStream inStream) throws IOException, CRLException { if (inStream == null) throw new CRLException("missing input stream"); if (!inStream.markSupported()) inStream = new BufferedInputStream(inStream, 8192); inStream.mark(20); int i = inStream.read(); if (i =... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/X509CertificateFactory.java/clean/core/src/classpath/gnu/gnu/java/security/provider/X509CertificateFactory.java |
if (!inStream.markSupported()) | if (! inStream.markSupported()) | private X509CRL generateCRL(InputStream inStream) throws IOException, CRLException { if (inStream == null) throw new CRLException("missing input stream"); if (!inStream.markSupported()) inStream = new BufferedInputStream(inStream, 8192); inStream.mark(20); int i = inStream.read(); if (i =... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/X509CertificateFactory.java/clean/core/src/classpath/gnu/gnu/java/security/provider/X509CertificateFactory.java |
private X509CRL generateCRL(InputStream inStream) throws IOException, CRLException { if (inStream == null) throw new CRLException("missing input stream"); if (!inStream.markSupported()) inStream = new BufferedInputStream(inStream, 8192); inStream.mark(20); int i = inStream.read(); if (i =... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/X509CertificateFactory.java/clean/core/src/classpath/gnu/gnu/java/security/provider/X509CertificateFactory.java | ||
while (!line.toString().startsWith(BEGIN_X509_CRL)); | while (! line.toString().startsWith(BEGIN_X509_CRL)); | private X509CRL generateCRL(InputStream inStream) throws IOException, CRLException { if (inStream == null) throw new CRLException("missing input stream"); if (!inStream.markSupported()) inStream = new BufferedInputStream(inStream, 8192); inStream.mark(20); int i = inStream.read(); if (i =... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/X509CertificateFactory.java/clean/core/src/classpath/gnu/gnu/java/security/provider/X509CertificateFactory.java |
if (!line.toString().startsWith(END_X509_CRL)) | if (! line.toString().startsWith(END_X509_CRL)) | private X509CRL generateCRL(InputStream inStream) throws IOException, CRLException { if (inStream == null) throw new CRLException("missing input stream"); if (!inStream.markSupported()) inStream = new BufferedInputStream(inStream, 8192); inStream.mark(20); int i = inStream.read(); if (i =... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/X509CertificateFactory.java/clean/core/src/classpath/gnu/gnu/java/security/provider/X509CertificateFactory.java |
if (!inStream.markSupported()) | if (! inStream.markSupported()) | private X509Certificate generateCert(InputStream inStream) throws IOException, CertificateException { if (inStream == null) throw new CertificateException("missing input stream"); if (!inStream.markSupported()) inStream = new BufferedInputStream(inStream, 8192); inStream.mark(20); int i = in... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/X509CertificateFactory.java/clean/core/src/classpath/gnu/gnu/java/security/provider/X509CertificateFactory.java |
private X509Certificate generateCert(InputStream inStream) throws IOException, CertificateException { if (inStream == null) throw new CertificateException("missing input stream"); if (!inStream.markSupported()) inStream = new BufferedInputStream(inStream, 8192); inStream.mark(20); int i = in... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/X509CertificateFactory.java/clean/core/src/classpath/gnu/gnu/java/security/provider/X509CertificateFactory.java | ||
while (!line.toString().equals(BEGIN_CERTIFICATE)); | while (! line.toString().equals(BEGIN_CERTIFICATE)); | private X509Certificate generateCert(InputStream inStream) throws IOException, CertificateException { if (inStream == null) throw new CertificateException("missing input stream"); if (!inStream.markSupported()) inStream = new BufferedInputStream(inStream, 8192); inStream.mark(20); int i = in... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/X509CertificateFactory.java/clean/core/src/classpath/gnu/gnu/java/security/provider/X509CertificateFactory.java |
if (!line.toString().equals(END_CERTIFICATE)) | if (! line.toString().equals(END_CERTIFICATE)) | private X509Certificate generateCert(InputStream inStream) throws IOException, CertificateException { if (inStream == null) throw new CertificateException("missing input stream"); if (!inStream.markSupported()) inStream = new BufferedInputStream(inStream, 8192); inStream.mark(20); int i = in... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/X509CertificateFactory.java/clean/core/src/classpath/gnu/gnu/java/security/provider/X509CertificateFactory.java |
super(TYPE_USHORT, size); | super(TYPE_USHORT, size, 1, 0); bankData = new short[1][]; | public DataBufferUShort(int size) { super(TYPE_USHORT, size); data = new short[size]; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/65d557aae3161ec60d4823f7f7346efac0a8d663/DataBufferUShort.java/buggy/core/src/classpath/java/java/awt/image/DataBufferUShort.java |
bankData[0] = data; | public DataBufferUShort(int size) { super(TYPE_USHORT, size); data = new short[size]; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/65d557aae3161ec60d4823f7f7346efac0a8d663/DataBufferUShort.java/buggy/core/src/classpath/java/java/awt/image/DataBufferUShort.java | |
dst = new int[numComponents]; | dst = new int[src.length]; | public int[] lookupPixel(int[] src, int[] dst) throws ArrayIndexOutOfBoundsException { if (dst == null) dst = new int[numComponents]; if (data.length == 1) for (int i=0; i < src.length; i++) dst[i] = data[0][src[i] - offset]; else for (int i=0; i < src.length; i++) dst[i] = data[i][src[i] ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/65d557aae3161ec60d4823f7f7346efac0a8d663/ByteLookupTable.java/clean/core/src/classpath/java/java/awt/image/ByteLookupTable.java |
throws NotImplementedException | public FixedHeightLayoutCache() { // TODO } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2fe995482ddd93e201e63c55d9ab773c376aa6f3/FixedHeightLayoutCache.java/clean/core/src/classpath/javax/javax/swing/tree/FixedHeightLayoutCache.java | |
throws NotImplementedException | public Rectangle getBounds(TreePath value0, Rectangle value1) { return null; // TODO } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2fe995482ddd93e201e63c55d9ab773c376aa6f3/FixedHeightLayoutCache.java/clean/core/src/classpath/javax/javax/swing/tree/FixedHeightLayoutCache.java | |
throws NotImplementedException | public boolean getExpandedState(TreePath value0) { return false; // TODO } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2fe995482ddd93e201e63c55d9ab773c376aa6f3/FixedHeightLayoutCache.java/clean/core/src/classpath/javax/javax/swing/tree/FixedHeightLayoutCache.java | |
throws NotImplementedException | public TreePath getPathClosestTo(int value0, int value1) { return null; // TODO } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2fe995482ddd93e201e63c55d9ab773c376aa6f3/FixedHeightLayoutCache.java/clean/core/src/classpath/javax/javax/swing/tree/FixedHeightLayoutCache.java | |
throws NotImplementedException | public TreePath getPathForRow(int row) { //TODO return null; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2fe995482ddd93e201e63c55d9ab773c376aa6f3/FixedHeightLayoutCache.java/clean/core/src/classpath/javax/javax/swing/tree/FixedHeightLayoutCache.java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.