rem
stringlengths
0
477k
add
stringlengths
0
313k
context
stringlengths
6
599k
meta
stringlengths
141
403
}
public void reset() { // reset this instance for future re-use count = 0L; for (int i = 0; i < blockSize;) { buffer[i++] = 0; } resetContext(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2b9abb5a0b9bbcfe80809713d541a098ef473321/BaseHash.java/clean/core/src/classpath/gnu/gnu/java/security/hash/BaseHash.java
public X86Core(final Map labels) { super(labels);
public X86Core(final Map labels, final Map constants) { super(labels, constants);
public X86Core(final Map labels) { super(labels); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/0eb77a721758241efd6a7a22288b70242d8c842a/X86Core.java/buggy/builder/src/builder/org/jnode/jnasm/assembler/x86/X86Core.java
case DataBuffer.TYPE_FLOAT: DataBufferFloat inFloat = (DataBufferFloat) data; float[] outFloat = (float[]) obj; if (outFloat == null) outFloat = new float[numBands]; for (int b=0; b<numBands; b++) { int dOffset = totalBandDataOffsets[b]; outFloat[b] = inFloat.getData(bankIndices[b])[dOffset]; } return outFloat; case ...
public Object getDataElements(int x, int y, Object obj, DataBuffer data) { int xyOffset = pixelStride*x + scanlineStride*y; int[] totalBandDataOffsets = new int[numBands]; /* Notice that band and bank offsets are different. Band offsets are managed by the sample model, and bank offsets are managed by th...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ec415b5ab69e9516c29619bb561ab024d22ce1f2/ComponentSampleModel.java/buggy/core/src/classpath/java/java/awt/image/ComponentSampleModel.java
public static DataBuffer createBuffer(int dataType, int size, int numBanks) { switch (dataType) { case DataBuffer.TYPE_BYTE : return new DataBufferByte(size, numBanks); case DataBuffer.TYPE_USHORT : return new DataBufferUShort(size, numBanks); case DataBuffer.TYPE_INT : return new DataBufferInt(size, numBanks); default...
public static DataBuffer createBuffer(int dataType, Object data, int size) { if (data == null) return createBuffer(dataType, size, 1); return createBufferFromData(dataType, data, size);
public static DataBuffer createBuffer(int dataType, int size, int numBanks) { switch (dataType) { case DataBuffer.TYPE_BYTE : return new DataBufferByte(size, numBanks); case DataBuffer.TYPE_USHORT : return new DataBufferUShort(size, numBanks); case DataBuffer.TYPE_INT : return new DataBufferInt(size, n...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/Buffers.java/buggy/core/src/classpath/gnu/gnu/java/awt/Buffers.java
public int[] getOffsets() { if (offsets == null) {
public int[] getOffsets() { if (offsets == null) {
public int[] getOffsets() { if (offsets == null) { // is this necessary? offsets = new int[1]; offsets[0] = offset; } return offsets; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/DataBuffer.java/buggy/core/src/classpath/java/java/awt/image/DataBuffer.java
public byte[] getData(int bank)
public byte[] getData()
public byte[] getData(int bank) { return bankData[bank]; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/DataBufferByte.java/buggy/core/src/classpath/java/java/awt/image/DataBufferByte.java
return bankData[bank];
return data;
public byte[] getData(int bank) { return bankData[bank]; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/DataBufferByte.java/buggy/core/src/classpath/java/java/awt/image/DataBufferByte.java
public short[] getData(int bank)
public short[] getData()
public short[] getData(int bank) { return bankData[bank]; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/099941e739b24ffc71faddc589f984d1cda55549/DataBufferUShort.java/buggy/core/src/classpath/java/java/awt/image/DataBufferUShort.java
return bankData[bank];
return data;
public short[] getData(int bank) { return bankData[bank]; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/099941e739b24ffc71faddc589f984d1cda55549/DataBufferUShort.java/buggy/core/src/classpath/java/java/awt/image/DataBufferUShort.java
public int[] getData(int bank) { return bankData[bank];
public int[] getData() { return data;
public int[] getData(int bank) { return bankData[bank]; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/DataBufferInt.java/buggy/core/src/classpath/java/java/awt/image/DataBufferInt.java
public int getSize() {
public int getSize() {
public int getSize() { return size; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/DataBuffer.java/buggy/core/src/classpath/java/java/awt/image/DataBuffer.java
public static Object getData(DataBuffer buffer) {
public static Object getData(DataBuffer buffer) {
public static Object getData(DataBuffer buffer) { if (buffer instanceof DataBufferByte) return ((DataBufferByte) buffer).getData(); if (buffer instanceof DataBufferUShort) return ((DataBufferUShort) buffer).getData(); if (buffer instanceof DataBufferInt) return ((DataBufferInt) buffer).getData(); throw new C...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/Buffers.java/buggy/core/src/classpath/gnu/gnu/java/awt/Buffers.java
if (buffer instanceof DataBufferFloat) return ((DataBufferFloat) buffer).getData(); if (buffer instanceof DataBufferDouble) return ((DataBufferDouble) buffer).getData();
public static Object getData(DataBuffer buffer) { if (buffer instanceof DataBufferByte) return ((DataBufferByte) buffer).getData(); if (buffer instanceof DataBufferUShort) return ((DataBufferUShort) buffer).getData(); if (buffer instanceof DataBufferInt) return ((DataBufferInt) buffer).getData(); throw new C...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/Buffers.java/buggy/core/src/classpath/gnu/gnu/java/awt/Buffers.java
public int getOffset() {
public int getOffset() {
public int getOffset() { return offset; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/DataBuffer.java/buggy/core/src/classpath/java/java/awt/image/DataBuffer.java
switch (dataType) { case TYPE_BYTE :
switch (dataType) { case TYPE_BYTE:
public static int getDataTypeSize(int dataType) { // Maybe this should be a lookup table instead. switch (dataType) { case TYPE_BYTE : return 8; case TYPE_USHORT : case TYPE_SHORT : return 16; case TYPE_INT : case TYPE_FLOAT : return 32; case TYPE_DOUBLE : return 64; default : throw new ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/DataBuffer.java/buggy/core/src/classpath/java/java/awt/image/DataBuffer.java
case TYPE_USHORT : case TYPE_SHORT :
case TYPE_USHORT: case TYPE_SHORT:
public static int getDataTypeSize(int dataType) { // Maybe this should be a lookup table instead. switch (dataType) { case TYPE_BYTE : return 8; case TYPE_USHORT : case TYPE_SHORT : return 16; case TYPE_INT : case TYPE_FLOAT : return 32; case TYPE_DOUBLE : return 64; default : throw new ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/DataBuffer.java/buggy/core/src/classpath/java/java/awt/image/DataBuffer.java
case TYPE_INT : case TYPE_FLOAT :
case TYPE_INT: case TYPE_FLOAT:
public static int getDataTypeSize(int dataType) { // Maybe this should be a lookup table instead. switch (dataType) { case TYPE_BYTE : return 8; case TYPE_USHORT : case TYPE_SHORT : return 16; case TYPE_INT : case TYPE_FLOAT : return 32; case TYPE_DOUBLE : return 64; default : throw new ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/DataBuffer.java/buggy/core/src/classpath/java/java/awt/image/DataBuffer.java
case TYPE_DOUBLE :
case TYPE_DOUBLE:
public static int getDataTypeSize(int dataType) { // Maybe this should be a lookup table instead. switch (dataType) { case TYPE_BYTE : return 8; case TYPE_USHORT : case TYPE_SHORT : return 16; case TYPE_INT : case TYPE_FLOAT : return 32; case TYPE_DOUBLE : return 64; default : throw new ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/DataBuffer.java/buggy/core/src/classpath/java/java/awt/image/DataBuffer.java
default :
default:
public static int getDataTypeSize(int dataType) { // Maybe this should be a lookup table instead. switch (dataType) { case TYPE_BYTE : return 8; case TYPE_USHORT : case TYPE_SHORT : return 16; case TYPE_INT : case TYPE_FLOAT : return 32; case TYPE_DOUBLE : return 64; default : throw new ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/DataBuffer.java/buggy/core/src/classpath/java/java/awt/image/DataBuffer.java
public static DataBuffer createBufferFromData(int dataType, Object data, int size) { switch (dataType) { case DataBuffer.TYPE_BYTE :
public static DataBuffer createBufferFromData(int dataType, Object data, int size) { switch (dataType) { case DataBuffer.TYPE_BYTE:
public static DataBuffer createBufferFromData(int dataType, Object data, int size) { switch (dataType) { case DataBuffer.TYPE_BYTE : return new DataBufferByte((byte[]) data, size); case DataBuffer.TYPE_USHORT : return new DataBufferUShort((short[]) data, size); case DataBuffer.TYPE_INT : return new Dat...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/Buffers.java/buggy/core/src/classpath/gnu/gnu/java/awt/Buffers.java
case DataBuffer.TYPE_USHORT :
case DataBuffer.TYPE_SHORT: return new DataBufferShort((short[]) data, size); case DataBuffer.TYPE_USHORT:
public static DataBuffer createBufferFromData(int dataType, Object data, int size) { switch (dataType) { case DataBuffer.TYPE_BYTE : return new DataBufferByte((byte[]) data, size); case DataBuffer.TYPE_USHORT : return new DataBufferUShort((short[]) data, size); case DataBuffer.TYPE_INT : return new Dat...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/Buffers.java/buggy/core/src/classpath/gnu/gnu/java/awt/Buffers.java
case DataBuffer.TYPE_INT :
case DataBuffer.TYPE_INT:
public static DataBuffer createBufferFromData(int dataType, Object data, int size) { switch (dataType) { case DataBuffer.TYPE_BYTE : return new DataBufferByte((byte[]) data, size); case DataBuffer.TYPE_USHORT : return new DataBufferUShort((short[]) data, size); case DataBuffer.TYPE_INT : return new Dat...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/Buffers.java/buggy/core/src/classpath/gnu/gnu/java/awt/Buffers.java
default :
case DataBuffer.TYPE_FLOAT: return new DataBufferFloat((float[]) data, size); case DataBuffer.TYPE_DOUBLE: return new DataBufferDouble((double[]) data, size); default:
public static DataBuffer createBufferFromData(int dataType, Object data, int size) { switch (dataType) { case DataBuffer.TYPE_BYTE : return new DataBufferByte((byte[]) data, size); case DataBuffer.TYPE_USHORT : return new DataBufferUShort((short[]) data, size); case DataBuffer.TYPE_INT : return new Dat...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/Buffers.java/buggy/core/src/classpath/gnu/gnu/java/awt/Buffers.java
super.setUI((MenuItemUI) UIManager.getUI(this)); invalidate();
setUI((MenuItemUI) UIManager.getUI(this));
public void updateUI() { super.setUI((MenuItemUI) UIManager.getUI(this)); invalidate(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/JMenu.java/clean/core/src/classpath/javax/javax/swing/JMenu.java
for (int i = 0;i < buttons.size(); i++)
for (int i = 0; i < buttons.size(); i++)
AbstractButton FindButton(ButtonModel m) { for (int i = 0;i < buttons.size(); i++) { AbstractButton a = (AbstractButton) buttons.get(i); if (a.getModel() == m) return a; } return null; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/ButtonGroup.java/clean/core/src/classpath/javax/javax/swing/ButtonGroup.java
if ((m == sel) && (b == true))
if ((sel != m || b) && (! b || sel == m)) return; if (b && sel != m)
public void setSelected(ButtonModel m, boolean b) { if ((m == sel) && (b == true)) { // clicked on same item twice. System.out.println("PRESSED TWICE:" + m + ", sel=" + sel); return; } if (sel != null) { System.out.println("DESELECTING: " + sel); sel.setSelected(! b); AbstractButton but = Fin...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/ButtonGroup.java/clean/core/src/classpath/javax/javax/swing/ButtonGroup.java
System.out.println("PRESSED TWICE:" + m + ", sel=" + sel); return; } if (sel != null) { System.out.println("DESELECTING: " + sel); sel.setSelected(! b);
ButtonModel old = sel; sel = m;
public void setSelected(ButtonModel m, boolean b) { if ((m == sel) && (b == true)) { // clicked on same item twice. System.out.println("PRESSED TWICE:" + m + ", sel=" + sel); return; } if (sel != null) { System.out.println("DESELECTING: " + sel); sel.setSelected(! b); AbstractButton but = Fin...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/ButtonGroup.java/clean/core/src/classpath/javax/javax/swing/ButtonGroup.java
AbstractButton but = FindButton(sel); if (but != null) { System.out.println("REPAINT-REQUEST: " + but.text); but.repaint();
if (old != null) old.setSelected(false); AbstractButton button = FindButton(old); if (button != null) button.repaint();
public void setSelected(ButtonModel m, boolean b) { if ((m == sel) && (b == true)) { // clicked on same item twice. System.out.println("PRESSED TWICE:" + m + ", sel=" + sel); return; } if (sel != null) { System.out.println("DESELECTING: " + sel); sel.setSelected(! b); AbstractButton but = Fin...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/ButtonGroup.java/clean/core/src/classpath/javax/javax/swing/ButtonGroup.java
} else System.out.println("NO SELECTION YET"); sel = m;
else if (! b && sel == m) m.setSelected(true);
public void setSelected(ButtonModel m, boolean b) { if ((m == sel) && (b == true)) { // clicked on same item twice. System.out.println("PRESSED TWICE:" + m + ", sel=" + sel); return; } if (sel != null) { System.out.println("DESELECTING: " + sel); sel.setSelected(! b); AbstractButton but = Fin...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/ButtonGroup.java/clean/core/src/classpath/javax/javax/swing/ButtonGroup.java
String name = new String(buffer);
String name; try { name = new String(buffer, "UTF-8"); } catch (UnsupportedEncodingException uee) { throw new AssertionError(uee); }
public ZipEntry getNextEntry() throws IOException { if (crc == null) throw new IOException("Stream closed."); if (entry != null) closeEntry(); int header = readLeInt(); if (header == CENSIG) { /* Central Header reached. */ close(); return null; } if (header != LOCSIG) throw new ZipExcepti...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/031055047d52e1cffbe5de5ce0c7da51215e931f/ZipInputStream.java/clean/core/src/classpath/java/java/util/zip/ZipInputStream.java
super.configurePropertiesFromAction(a);
protected void configurePropertiesFromAction(Action a) { //Factory method which sets the AbstractButton's properties according to values from the Action instance. }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/JButton.java/clean/core/src/classpath/javax/javax/swing/JButton.java
}
} else cachedDecoder.reset();
public final CharBuffer decode (ByteBuffer bb) { try { // NB: This implementation serializes different threads calling // Charset.decode(), a potential performance problem. It might // be better to remove the cache, or use ThreadLocal to cache on // a per-thread basis. syn...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b8e637e0e30ba94f0ced0046631656001119747a/Charset.java/buggy/core/src/classpath/java/java/nio/charset/Charset.java
}
} else cachedEncoder.reset();
public final ByteBuffer encode (CharBuffer cb) { try { // NB: This implementation serializes different threads calling // Charset.encode(), a potential performance problem. It might // be better to remove the cache, or use ThreadLocal to cache on // a per-thread basis. syn...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b8e637e0e30ba94f0ced0046631656001119747a/Charset.java/buggy/core/src/classpath/java/java/nio/charset/Charset.java
public abstract int get ();
public IntBuffer get (int[] dst, int offset, int length) { checkArraySize(dst.length, offset, length); checkForUnderflow(length); for (int i = offset; i < offset + length; i++) { dst [i] = get (); } return this; }
public abstract int get ();
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f77cadd524e37c370e66da65aa495e6445226d4c/IntBuffer.java/buggy/core/src/classpath/java/java/nio/IntBuffer.java
public abstract IntBuffer put (int b);
public IntBuffer put (IntBuffer src) { if (src == this) throw new IllegalArgumentException (); checkForOverflow(src.remaining ()); if (src.remaining () > 0) { int[] toPut = new int [src.remaining ()]; src.get (toPut); put (toPut); } return this; }
public abstract IntBuffer put (int b);
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f77cadd524e37c370e66da65aa495e6445226d4c/IntBuffer.java/buggy/core/src/classpath/java/java/nio/IntBuffer.java
if (!closed)
protected void finalize() throws Throwable { close(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4d9dd8abd1355057dc6966b7ca9f4459b3a3e945/ImageInputStreamImpl.java/clean/core/src/classpath/javax/javax/imageio/stream/ImageInputStreamImpl.java
throw new RuntimeException(e);
public void mark() { try { markStack.push(new Long(getStreamPosition())); } catch (IOException e) { // Ignored. } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4d9dd8abd1355057dc6966b7ca9f4459b3a3e945/ImageInputStreamImpl.java/clean/core/src/classpath/javax/javax/imageio/stream/ImageInputStreamImpl.java
public int readBit() throws IOException { checkClosed(); // Calc new bit offset here, readByte resets it. int newOffset = (bitOffset + 1) & 0x7; byte data = readByte(); if (bitOffset != 0) { seek(getStreamPosition() - 1); data = (byte) (data >> (8 - newOffset)); } bitOffset = newOf...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4d9dd8abd1355057dc6966b7ca9f4459b3a3e945/ImageInputStreamImpl.java/clean/core/src/classpath/javax/javax/imageio/stream/ImageInputStreamImpl.java
if (bitOffset != 0)
if (newOffset != 0)
public int readBit() throws IOException { checkClosed(); // Calc new bit offset here, readByte resets it. int newOffset = (bitOffset + 1) & 0x7; byte data = readByte(); if (bitOffset != 0) { seek(getStreamPosition() - 1); data = (byte) (data >> (8 - newOffset)); } bitOffset = newOf...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4d9dd8abd1355057dc6966b7ca9f4459b3a3e945/ImageInputStreamImpl.java/clean/core/src/classpath/javax/javax/imageio/stream/ImageInputStreamImpl.java
if (numBits == 0) return 0L;
public long readBits(int numBits) throws IOException { checkClosed(); if (numBits < 0 || numBits > 64) throw new IllegalArgumentException(); if (numBits == 0) return 0L; long bits = 0L; for (int i = 0; i < numBits; i++) { bits <<= 1; bits |= readBit(); } return bits; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4d9dd8abd1355057dc6966b7ca9f4459b3a3e945/ImageInputStreamImpl.java/clean/core/src/classpath/javax/javax/imageio/stream/ImageInputStreamImpl.java
public long readBits(int numBits) throws IOException { checkClosed(); if (numBits < 0 || numBits > 64) throw new IllegalArgumentException(); if (numBits == 0) return 0L; long bits = 0L; for (int i = 0; i < numBits; i++) { bits <<= 1; bits |= readBit(); } return bits; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4d9dd8abd1355057dc6966b7ca9f4459b3a3e945/ImageInputStreamImpl.java/clean/core/src/classpath/javax/javax/imageio/stream/ImageInputStreamImpl.java
public boolean readBoolean() throws IOException { byte data = readByte(); return data != 0; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4d9dd8abd1355057dc6966b7ca9f4459b3a3e945/ImageInputStreamImpl.java/clean/core/src/classpath/javax/javax/imageio/stream/ImageInputStreamImpl.java
checkClosed();
public byte readByte() throws IOException { int data = read(); if (data == -1) throw new EOFException(); return (byte) data; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4d9dd8abd1355057dc6966b7ca9f4459b3a3e945/ImageInputStreamImpl.java/clean/core/src/classpath/javax/javax/imageio/stream/ImageInputStreamImpl.java
int result = read(buffer.getData(), buffer.getOffset(), len); if (result == -1 || result < len) throw new EOFException();
readFullyPrivate(buffer.getData(), buffer.getOffset(), len);
public void readBytes(IIOByteBuffer buffer, int len) throws IOException { int result = read(buffer.getData(), buffer.getOffset(), len); if (result == -1 || result < len) throw new EOFException(); buffer.setLength(len); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4d9dd8abd1355057dc6966b7ca9f4459b3a3e945/ImageInputStreamImpl.java/clean/core/src/classpath/javax/javax/imageio/stream/ImageInputStreamImpl.java
return (double) readLong();
return Double.longBitsToDouble(readLong());
public double readDouble() throws IOException { return (double) readLong(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4d9dd8abd1355057dc6966b7ca9f4459b3a3e945/ImageInputStreamImpl.java/clean/core/src/classpath/javax/javax/imageio/stream/ImageInputStreamImpl.java
return (float) readInt();
return Float.intBitsToFloat(readInt());
public float readFloat() throws IOException { return (float) readInt(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4d9dd8abd1355057dc6966b7ca9f4459b3a3e945/ImageInputStreamImpl.java/clean/core/src/classpath/javax/javax/imageio/stream/ImageInputStreamImpl.java
int result = read(buffer, 0, 4); if (result == -1) throw new EOFException();
readFullyPrivate(buffer, 0, 4);
public int readInt() throws IOException { int result = read(buffer, 0, 4); if (result == -1) throw new EOFException(); if (getByteOrder() == ByteOrder.LITTLE_ENDIAN) { return ((buffer[0] & 0xff) + (buffer[1] << 8) + (buffer[2] << 16) + (buffer[3] << 24)); } return ((buffer[4] << ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4d9dd8abd1355057dc6966b7ca9f4459b3a3e945/ImageInputStreamImpl.java/clean/core/src/classpath/javax/javax/imageio/stream/ImageInputStreamImpl.java
{ return ((buffer[0] & 0xff) + (buffer[1] << 8) + (buffer[2] << 16) + (buffer[3] << 24)); }
return (int) (((int) (buffer[0] & 0xff) << 0) | ((int) (buffer[1] & 0xff) << 8) | ((int) (buffer[2] & 0xff) << 16) | ((int) (buffer[3] & 0xff) << 24));
public int readInt() throws IOException { int result = read(buffer, 0, 4); if (result == -1) throw new EOFException(); if (getByteOrder() == ByteOrder.LITTLE_ENDIAN) { return ((buffer[0] & 0xff) + (buffer[1] << 8) + (buffer[2] << 16) + (buffer[3] << 24)); } return ((buffer[4] << ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4d9dd8abd1355057dc6966b7ca9f4459b3a3e945/ImageInputStreamImpl.java/clean/core/src/classpath/javax/javax/imageio/stream/ImageInputStreamImpl.java
return ((buffer[4] << 24) + (buffer[3] << 16) + (buffer[2] << 8) + (buffer[1] & 0xff));
return (int) (((int) (buffer[0] & 0xff) << 24) + ((int) (buffer[1] & 0xff) << 16) + ((int) (buffer[2] & 0xff) << 8) + ((int) (buffer[3] & 0xff) << 0));
public int readInt() throws IOException { int result = read(buffer, 0, 4); if (result == -1) throw new EOFException(); if (getByteOrder() == ByteOrder.LITTLE_ENDIAN) { return ((buffer[0] & 0xff) + (buffer[1] << 8) + (buffer[2] << 16) + (buffer[3] << 24)); } return ((buffer[4] << ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4d9dd8abd1355057dc6966b7ca9f4459b3a3e945/ImageInputStreamImpl.java/clean/core/src/classpath/javax/javax/imageio/stream/ImageInputStreamImpl.java
while (!eol && (c = read()) != -1)
c = read(); if (c == -1) return null; while (!eol)
public String readLine() throws IOException { checkClosed(); int c = -1; boolean eol = false; StringBuffer buffer = new StringBuffer(); while (!eol && (c = read()) != -1) { switch(c) { case '\r': // Consume following \n' long oldPosition = getStreamPosition(); if (read() != '\n...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4d9dd8abd1355057dc6966b7ca9f4459b3a3e945/ImageInputStreamImpl.java/clean/core/src/classpath/javax/javax/imageio/stream/ImageInputStreamImpl.java
public String readLine() throws IOException { checkClosed(); int c = -1; boolean eol = false; StringBuffer buffer = new StringBuffer(); while (!eol && (c = read()) != -1) { switch(c) { case '\r': // Consume following \n' long oldPosition = getStreamPosition(); if (read() != '\n...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4d9dd8abd1355057dc6966b7ca9f4459b3a3e945/ImageInputStreamImpl.java/clean/core/src/classpath/javax/javax/imageio/stream/ImageInputStreamImpl.java
if (read() != '\n')
c = read(); if (c == -1 || c == '\n') eol = true; else {
public String readLine() throws IOException { checkClosed(); int c = -1; boolean eol = false; StringBuffer buffer = new StringBuffer(); while (!eol && (c = read()) != -1) { switch(c) { case '\r': // Consume following \n' long oldPosition = getStreamPosition(); if (read() != '\n...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4d9dd8abd1355057dc6966b7ca9f4459b3a3e945/ImageInputStreamImpl.java/clean/core/src/classpath/javax/javax/imageio/stream/ImageInputStreamImpl.java
break;
continue;
public String readLine() throws IOException { checkClosed(); int c = -1; boolean eol = false; StringBuffer buffer = new StringBuffer(); while (!eol && (c = read()) != -1) { switch(c) { case '\r': // Consume following \n' long oldPosition = getStreamPosition(); if (read() != '\n...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4d9dd8abd1355057dc6966b7ca9f4459b3a3e945/ImageInputStreamImpl.java/clean/core/src/classpath/javax/javax/imageio/stream/ImageInputStreamImpl.java
if (c == -1 && buffer.length() == 0) return null;
public String readLine() throws IOException { checkClosed(); int c = -1; boolean eol = false; StringBuffer buffer = new StringBuffer(); while (!eol && (c = read()) != -1) { switch(c) { case '\r': // Consume following \n' long oldPosition = getStreamPosition(); if (read() != '\n...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4d9dd8abd1355057dc6966b7ca9f4459b3a3e945/ImageInputStreamImpl.java/clean/core/src/classpath/javax/javax/imageio/stream/ImageInputStreamImpl.java
int result = read(buffer, 0, 8); if (result == -1) throw new EOFException();
readFullyPrivate(buffer, 0, 8);
public long readLong() throws IOException { int result = read(buffer, 0, 8); if (result == -1) throw new EOFException(); if (getByteOrder() == ByteOrder.LITTLE_ENDIAN) { return ((buffer[0] & 0xff) + (((buffer[1] & 0xff)) << 8) + (((buffer[2] & 0xff)) << ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4d9dd8abd1355057dc6966b7ca9f4459b3a3e945/ImageInputStreamImpl.java/clean/core/src/classpath/javax/javax/imageio/stream/ImageInputStreamImpl.java
{ return ((buffer[0] & 0xff) + (((buffer[1] & 0xff)) << 8) + (((buffer[2] & 0xff)) << 16) + (((buffer[3] & 0xffL)) << 24) + (((buffer[4] & 0xffL)) << 32) + (((buffer[5] & 0xffL)) << 40) + (((buffer[6] & 0xffL)) << 48) + (((long) buffer[7]) << 56)); }
return (long) (((long) (buffer[0] & 0xff) << 0) | ((long) (buffer[1] & 0xff) << 8) | ((long) (buffer[2] & 0xff) << 16) | ((long) (buffer[3] & 0xff) << 24) | ((long) (buffer[4] & 0xff) << 32) | ((long) (buffer[5] & 0xff) << 40) | ((long) (buffer[6] & 0xff) << 48) | ((long) (buffer[7] & 0xff) << 56));
public long readLong() throws IOException { int result = read(buffer, 0, 8); if (result == -1) throw new EOFException(); if (getByteOrder() == ByteOrder.LITTLE_ENDIAN) { return ((buffer[0] & 0xff) + (((buffer[1] & 0xff)) << 8) + (((buffer[2] & 0xff)) << ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4d9dd8abd1355057dc6966b7ca9f4459b3a3e945/ImageInputStreamImpl.java/clean/core/src/classpath/javax/javax/imageio/stream/ImageInputStreamImpl.java
return ((((long) buffer[7]) << 56) + ((buffer[6] & 0xffL) << 48) + ((buffer[5] & 0xffL) << 40) + ((buffer[4] & 0xffL) << 32) + ((buffer[3] & 0xffL) << 24) + ((buffer[2] & 0xff) << 16) + ((buffer[1] & 0xff) << 8) + (buffer[0] & 0xff));
return (long) (((long) (buffer[0] & 0xff) << 56) | ((long) (buffer[1] & 0xff) << 48) | ((long) (buffer[2] & 0xff) << 40) | ((long) (buffer[3] & 0xff) << 32) | ((long) (buffer[4] & 0xff) << 24) | ((long) (buffer[5] & 0xff) << 16) | ((long) (buffer[6] & 0xff) << 8) | ((long) (buffer[7] & 0xff) << 0));
public long readLong() throws IOException { int result = read(buffer, 0, 8); if (result == -1) throw new EOFException(); if (getByteOrder() == ByteOrder.LITTLE_ENDIAN) { return ((buffer[0] & 0xff) + (((buffer[1] & 0xff)) << 8) + (((buffer[2] & 0xff)) << ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4d9dd8abd1355057dc6966b7ca9f4459b3a3e945/ImageInputStreamImpl.java/clean/core/src/classpath/javax/javax/imageio/stream/ImageInputStreamImpl.java
int result = read(buffer, 0, 2); if (result == -1) throw new EOFException();
readFullyPrivate(buffer, 0, 2);
public short readShort() throws IOException { int result = read(buffer, 0, 2); if (result == -1) throw new EOFException(); if (getByteOrder() == ByteOrder.LITTLE_ENDIAN) { return (short) ((buffer[0] & 0xff) + (buffer[1] << 8)); } return (short) ((buffer[0] << 8) + (buffer[1] ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4d9dd8abd1355057dc6966b7ca9f4459b3a3e945/ImageInputStreamImpl.java/clean/core/src/classpath/javax/javax/imageio/stream/ImageInputStreamImpl.java
{ return (short) ((buffer[0] & 0xff) + (buffer[1] << 8)); }
return (short) (((short) (buffer[0] & 0xff) << 0) | ((short) (buffer[1] & 0xff) << 8));
public short readShort() throws IOException { int result = read(buffer, 0, 2); if (result == -1) throw new EOFException(); if (getByteOrder() == ByteOrder.LITTLE_ENDIAN) { return (short) ((buffer[0] & 0xff) + (buffer[1] << 8)); } return (short) ((buffer[0] << 8) + (buffer[1] ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4d9dd8abd1355057dc6966b7ca9f4459b3a3e945/ImageInputStreamImpl.java/clean/core/src/classpath/javax/javax/imageio/stream/ImageInputStreamImpl.java
return (short) ((buffer[0] << 8) + (buffer[1] & 0xff));
return (short) (((short) (buffer[0] & 0xff) << 8) | ((short) (buffer[1] & 0xff) << 0));
public short readShort() throws IOException { int result = read(buffer, 0, 2); if (result == -1) throw new EOFException(); if (getByteOrder() == ByteOrder.LITTLE_ENDIAN) { return (short) ((buffer[0] & 0xff) + (buffer[1] << 8)); } return (short) ((buffer[0] << 8) + (buffer[1] ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4d9dd8abd1355057dc6966b7ca9f4459b3a3e945/ImageInputStreamImpl.java/clean/core/src/classpath/javax/javax/imageio/stream/ImageInputStreamImpl.java
setByteOrder(ByteOrder.BIG_ENDIAN);
setByteOrder(ByteOrder.BIG_ENDIAN);
public String readUTF() throws IOException { checkClosed(); String data; ByteOrder old = getByteOrder(); setByteOrder(ByteOrder.BIG_ENDIAN); // Strings are always big endian. try { data = DataInputStream.readUTF(this); } finally { setByteOrder(old); } return data; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4d9dd8abd1355057dc6966b7ca9f4459b3a3e945/ImageInputStreamImpl.java/clean/core/src/classpath/javax/javax/imageio/stream/ImageInputStreamImpl.java
return readByte() & 0xff;
return (int) readByte() & 0xff;
public int readUnsignedByte() throws IOException { return readByte() & 0xff; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4d9dd8abd1355057dc6966b7ca9f4459b3a3e945/ImageInputStreamImpl.java/clean/core/src/classpath/javax/javax/imageio/stream/ImageInputStreamImpl.java
return readInt() & 0xffffffff;
return (long) readInt() & 0xffffffffL;
public long readUnsignedInt() throws IOException { return readInt() & 0xffffffff; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4d9dd8abd1355057dc6966b7ca9f4459b3a3e945/ImageInputStreamImpl.java/clean/core/src/classpath/javax/javax/imageio/stream/ImageInputStreamImpl.java
return readShort() & 0xffff;
return (int) readShort() & 0xffff;
public int readUnsignedShort() throws IOException { return readShort() & 0xffff; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4d9dd8abd1355057dc6966b7ca9f4459b3a3e945/ImageInputStreamImpl.java/clean/core/src/classpath/javax/javax/imageio/stream/ImageInputStreamImpl.java
throw new IllegalArgumentException();
throw new IllegalArgumentException("bitOffset not between 0 and 7 inclusive");
public void setBitOffset (int bitOffset) throws IOException { checkClosed(); if (bitOffset < 0 || bitOffset > 7) throw new IllegalArgumentException(); this.bitOffset = bitOffset; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4d9dd8abd1355057dc6966b7ca9f4459b3a3e945/ImageInputStreamImpl.java/clean/core/src/classpath/javax/javax/imageio/stream/ImageInputStreamImpl.java
Object value) {
Object value) throws PrivilegedActionPragma {
private static void setStaticField(Class<?> clazz, String fieldName, Object value) { final VmStaticField f = (VmStaticField) clazz.getVmClass().getField( fieldName); final Vm vm = Vm.getVm(); final Object staticsTable; final Offset offset; if (f.isShared(...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff3762f8386676fdb7cddddbd169f23a0d3addcc/VmSystem.java/clean/core/src/core/org/jnode/vm/VmSystem.java
return new primitiveArrayTypeCode(TCKind.tk_octet);
return new ArrayTypeCode(TCKind.tk_octet);
public static TypeCode type() { return new primitiveArrayTypeCode(TCKind.tk_octet); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e9344cb85925e12da0e0cccb4ba0521d8696a226/OctetSeqHelper.java/clean/core/src/classpath/org/org/omg/CORBA/OctetSeqHelper.java
public IllegalThreadStateException() { super(); }
public IllegalThreadStateException() { }
public IllegalThreadStateException() { super(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/fa6dec2bff713ecbdbc8d1a37bcc4276ec82bc14/IllegalThreadStateException.java/clean/core/src/classpath/java/java/lang/IllegalThreadStateException.java
return new primitiveArrayTypeCode(TCKind.tk_double);
return new ArrayTypeCode(TCKind.tk_double);
public static TypeCode type() { return new primitiveArrayTypeCode(TCKind.tk_double); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e9344cb85925e12da0e0cccb4ba0521d8696a226/DoubleSeqHelper.java/buggy/core/src/classpath/org/org/omg/CORBA/DoubleSeqHelper.java
throws NotImplementedException
protected void insertAtBoundary(JEditorPane editor, HTMLDocument doc, int offset, Element insertElement, String html, HTML.Tag parentTag, HTML.Tag addTag) { ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2fe995482ddd93e201e63c55d9ab773c376aa6f3/HTMLEditorKit.java/clean/core/src/classpath/javax/javax/swing/text/html/HTMLEditorKit.java
if (peekEvent() == null && ((ClasspathToolkit) Toolkit.getDefaultToolkit()).nativeQueueEmpty())
if (peekEvent() == null)
synchronized boolean isShutdown () { if (shutdown) return true; // This is the exact self-shutdown condition specified in J2SE: // http://java.sun.com/j2se/1.4.2/docs/api/java/awt/doc-files/AWTThreadIssues.html if (peekEvent() == null && ((ClasspathToolkit) Toolkit.getDefaultToolkit()).na...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a0ec912f89d8c04b4596a0977a98d99f7221f606/EventQueue.java/clean/core/src/classpath/java/java/awt/EventQueue.java
synchronized void setShutdown (boolean b)
synchronized void setShutdown (boolean b)
synchronized void setShutdown (boolean b) { shutdown = b; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a0ec912f89d8c04b4596a0977a98d99f7221f606/EventQueue.java/clean/core/src/classpath/java/java/awt/EventQueue.java
setName("AWT-EventQueue-" + dispatchThreadNum++);
setName("AWT-EventQueue-" + ++dispatchThreadNum);
EventDispatchThread(EventQueue queue) { super(); setName("AWT-EventQueue-" + dispatchThreadNum++); this.queue = queue; setPriority(NORM_PRIORITY + 1); start(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/65d557aae3161ec60d4823f7f7346efac0a8d663/EventDispatchThread.java/buggy/core/src/classpath/java/java/awt/EventDispatchThread.java
public InvocationEvent(Object source, Runnable runnable, Object notifier, boolean catchExceptions)
public InvocationEvent(Object source, Runnable runnable)
public InvocationEvent(Object source, Runnable runnable, Object notifier, boolean catchExceptions) { this(source, INVOCATION_DEFAULT, runnable, notifier, catchExceptions); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/76fe1616918b9192a8d599c054a35e64237146ed/InvocationEvent.java/buggy/core/src/classpath/java/java/awt/event/InvocationEvent.java
this(source, INVOCATION_DEFAULT, runnable, notifier, catchExceptions);
this(source, INVOCATION_DEFAULT, runnable, null, false);
public InvocationEvent(Object source, Runnable runnable, Object notifier, boolean catchExceptions) { this(source, INVOCATION_DEFAULT, runnable, notifier, catchExceptions); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/76fe1616918b9192a8d599c054a35e64237146ed/InvocationEvent.java/buggy/core/src/classpath/java/java/awt/event/InvocationEvent.java
throws NotImplementedException
public boolean getDragEnabled() { // FIXME: Implement return false; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2fe995482ddd93e201e63c55d9ab773c376aa6f3/JFileChooser.java/clean/core/src/classpath/javax/javax/swing/JFileChooser.java
throws NotImplementedException
public void setDragEnabled(boolean b) { // FIXME: Implement }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2fe995482ddd93e201e63c55d9ab773c376aa6f3/JFileChooser.java/clean/core/src/classpath/javax/javax/swing/JFileChooser.java
throws IOException
throws IOException, NotImplementedException
public void flushBefore(long position) throws IOException { // FIXME: Implement me. throw new Error("not implemented"); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2fe995482ddd93e201e63c55d9ab773c376aa6f3/MemoryCacheImageOutputStream.java/buggy/core/src/classpath/javax/javax/imageio/stream/MemoryCacheImageOutputStream.java
throws IOException
throws IOException, NotImplementedException
public int read() throws IOException { // FIXME: Implement me. throw new Error("not implemented"); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2fe995482ddd93e201e63c55d9ab773c376aa6f3/MemoryCacheImageOutputStream.java/buggy/core/src/classpath/javax/javax/imageio/stream/MemoryCacheImageOutputStream.java
public final Class getCategory()
public Class getCategory()
public final Class getCategory() { return JobMediaSheets.class; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/affa0d2d6f465179c4324a2357a64c93083d6c43/JobMediaSheets.java/clean/core/src/classpath/javax/javax/print/attribute/standard/JobMediaSheets.java
public final String getName()
public String getName()
public final String getName() { return "job-media-sheets"; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/affa0d2d6f465179c4324a2357a64c93083d6c43/JobMediaSheets.java/clean/core/src/classpath/javax/javax/print/attribute/standard/JobMediaSheets.java
if (maximum != newMaximum)
if (maximum != null ? !maximum.equals(newMaximum) : newMaximum != null)
public void setMaximum(Comparable newMaximum) { if (maximum != newMaximum) { maximum = newMaximum; fireStateChanged(); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8f1176391e1d000d946793693906d6dc8af29e19/SpinnerNumberModel.java/clean/core/src/classpath/javax/javax/swing/SpinnerNumberModel.java
if (minimum != newMinimum)
if (minimum != null ? !minimum.equals(newMinimum) : newMinimum != null)
public void setMinimum(Comparable newMinimum) { if (minimum != newMinimum) { minimum = newMinimum; fireStateChanged(); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8f1176391e1d000d946793693906d6dc8af29e19/SpinnerNumberModel.java/clean/core/src/classpath/javax/javax/swing/SpinnerNumberModel.java
if (stepSize != newStepSize)
if (!stepSize.equals(newStepSize))
public void setStepSize(Number newStepSize) { if (newStepSize == null) throw new IllegalArgumentException(); if (stepSize != newStepSize) { stepSize = newStepSize; fireStateChanged(); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8f1176391e1d000d946793693906d6dc8af29e19/SpinnerNumberModel.java/clean/core/src/classpath/javax/javax/swing/SpinnerNumberModel.java
}
public void setValue(Object value) { if (! (value instanceof Number)) throw new IllegalArgumentException("value must be a Number"); this.value = (Number) value; fireStateChanged(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8f1176391e1d000d946793693906d6dc8af29e19/SpinnerNumberModel.java/clean/core/src/classpath/javax/javax/swing/SpinnerNumberModel.java
public final Class getCategory()
public Class getCategory()
public final Class getCategory() { return PageRanges.class; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/affa0d2d6f465179c4324a2357a64c93083d6c43/PageRanges.java/buggy/core/src/classpath/javax/javax/print/attribute/standard/PageRanges.java
public final String getName()
public String getName()
public final String getName() { return "page-ranges"; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/affa0d2d6f465179c4324a2357a64c93083d6c43/PageRanges.java/buggy/core/src/classpath/javax/javax/print/attribute/standard/PageRanges.java
pack();
public void setVisible(final boolean visible) { // Hook up this call so that it gets executed on the event thread in order // to avoid synchronization problems when calling the layout manager. if (! SwingUtilities.isEventDispatchThread()) { SwingUtilities.invokeLater(new Runnable() { ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/74171de2560e91a8fc81940ffc40e047ca41f4a0/JPopupMenu.java/clean/core/src/classpath/javax/javax/swing/JPopupMenu.java
public void unregister_value_factory(String id)
public void unregister_value_factory(String repository_id)
public void unregister_value_factory(String id) { throw new NO_IMPLEMENT(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bd6d38a1fce5ae36641423e55d1a4ded8776103b/ORB.java/clean/core/src/classpath/org/org/omg/CORBA_2_3/ORB.java
firePropertyChange("horizontalAlignment", oldAlign, newAlign);
public void setHorizontalAlignment(int newAlign) { int oldAlign = align; align = newAlign; invalidate(); repaint(); firePropertyChange("horizontalAlignment", oldAlign, newAlign); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/JTextField.java/buggy/core/src/classpath/javax/javax/swing/JTextField.java
getMaxAscent() { return(getAscent()); }
public int getMaxAscent() { return getAscent(); }
getMaxAscent(){ return(getAscent());}
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/31d4d31512a3208b0fdf4bd8c20227ddb47c6f5a/FontMetrics.java/buggy/core/src/classpath/java/java/awt/FontMetrics.java
getMaxDescent() { return getMaxDecent (); }
public int getMaxDescent() { return getMaxDecent(); }
getMaxDescent(){ return getMaxDecent ();}
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/31d4d31512a3208b0fdf4bd8c20227ddb47c6f5a/FontMetrics.java/buggy/core/src/classpath/java/java/awt/FontMetrics.java
if (maximum != null && minimum.compareTo(o) < 0)
if (maximum != null && maximum.compareTo(o) < 0)
public Object stringToValue(String string) throws ParseException { if (format != null) { Object o = format.parseObject(string); // If a value class has been set, call super in order to get // the class right. That is what the JDK API docs suggest, so we do // it that way. ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ba862f89183b5347853381927a04e1e399fae5db/InternationalFormatter.java/buggy/core/src/classpath/javax/javax/swing/text/InternationalFormatter.java
return doc.getText(getSelectionStart(), getSelectionEnd());
return doc.getText(start, offset);
public String getSelectedText() { try { return doc.getText(getSelectionStart(), getSelectionEnd()); } catch (BadLocationException e) { // This should never happen. return null; } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8f1176391e1d000d946793693906d6dc8af29e19/JTextComponent.java/buggy/core/src/classpath/javax/javax/swing/text/JTextComponent.java
public void beginLayout() {
public final void beginLayout() {
public void beginLayout() { // TODO Auto-generated method stub }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e039399541bcd400efa417d2882bc8f20184d6d5/SwingContainerPeer.java/clean/gui/src/awt/org/jnode/awt/swingpeers/SwingContainerPeer.java
jComponent.doLayout();
public void beginValidate() { // TODO Auto-generated method stub }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e039399541bcd400efa417d2882bc8f20184d6d5/SwingContainerPeer.java/clean/gui/src/awt/org/jnode/awt/swingpeers/SwingContainerPeer.java
public void endLayout() { }
public final void endLayout() { }
public void endLayout() { // TODO Auto-generated method stub }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e039399541bcd400efa417d2882bc8f20184d6d5/SwingContainerPeer.java/clean/gui/src/awt/org/jnode/awt/swingpeers/SwingContainerPeer.java
public void endValidate() { // TODO Auto-generated method stub }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e039399541bcd400efa417d2882bc8f20184d6d5/SwingContainerPeer.java/clean/gui/src/awt/org/jnode/awt/swingpeers/SwingContainerPeer.java
public Insets insets() {
public final Insets insets() {
public Insets insets() { return getInsets(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e039399541bcd400efa417d2882bc8f20184d6d5/SwingContainerPeer.java/clean/gui/src/awt/org/jnode/awt/swingpeers/SwingContainerPeer.java
throws NotImplementedException
public List getFlavorsForNative (String nat) { throw new Error ("Not implemented"); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2fe995482ddd93e201e63c55d9ab773c376aa6f3/SystemFlavorMap.java/buggy/core/src/classpath/java/java/awt/datatransfer/SystemFlavorMap.java