rem
stringlengths
0
477k
add
stringlengths
0
313k
context
stringlengths
6
599k
meta
stringlengths
141
403
public AssertionError(Object msg)
public AssertionError()
public AssertionError(Object msg) { super("" + msg); if (msg instanceof Throwable) initCause((Throwable) msg); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/AssertionError.java/buggy/core/src/classpath/java/java/lang/AssertionError.java
super("" + msg); if (msg instanceof Throwable) initCause((Throwable) msg);
public AssertionError(Object msg) { super("" + msg); if (msg instanceof Throwable) initCause((Throwable) msg); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/AssertionError.java/buggy/core/src/classpath/java/java/lang/AssertionError.java
Shape clip = getClip(); if (clip == null) return true;
public boolean hitClip(int x, int y, int width, int height) { return getClip().intersects(x, y, width, height); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/0e5ba93f67f359dbdb3b61f9a098e2718a744e71/Graphics.java/buggy/core/src/classpath/java/java/awt/Graphics.java
public Graphics create(int x, int y, int width, int height) { Graphics g = create(); g.translate(x, y); g.clipRect(0, 0, width, height); return(g); }
public abstract Graphics create();
public Graphics create(int x, int y, int width, int height) { Graphics g = create(); g.translate(x, y); // FIXME: I'm not sure if this will work. Are the old clip rect bounds // translated above? g.clipRect(0, 0, width, height); return(g); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/0e5ba93f67f359dbdb3b61f9a098e2718a744e71/Graphics.java/buggy/core/src/classpath/java/java/awt/Graphics.java
if (osc.isEnum()) { /* TC_ENUM classDesc newHandle enumConstantName */ realOutput.writeByte(TC_ENUM); writeObject(osc); assignNewHandle(obj); writeObject(((Enum) obj).name()); break; }
public final void writeObject(Object obj) throws IOException { if (useSubclassMethod) { if (dump) dumpElementln ("WRITE OVERRIDE: " + obj); writeObjectOverride(obj); return; } if (dump) dumpElementln ("WRITE: " + obj); depth += 2; boolean was_serializing = isSerializing; bo...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ba6c8424cfc5e0b2250088f94b5bbf356d91781a/ObjectOutputStream.java/buggy/core/src/classpath/5.0/java/io/ObjectOutputStream.java
public MetalLookAndFeel() { }
public MetalLookAndFeel() { }
public MetalLookAndFeel() { }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/MetalLookAndFeel.java/buggy/core/src/classpath/javax/javax/swing/plaf/metal/MetalLookAndFeel.java
public UIDefaults getDefaults() { if (LAF_defaults == null) LAF_defaults = new BasicDefaults(); return LAF_defaults; }
public UIDefaults getDefaults() { if (LAF_defaults == null) LAF_defaults = super.getDefaults(); return LAF_defaults; }
public UIDefaults getDefaults() { if (LAF_defaults == null) LAF_defaults = new BasicDefaults(); // Returns the default values for this look and feel. return LAF_defaults; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/MetalLookAndFeel.java/buggy/core/src/classpath/javax/javax/swing/plaf/metal/MetalLookAndFeel.java
public String getDescription() { return "Metal look and feel"; }
public String getDescription() { return "Metal look and feel"; }
public String getDescription() { return "Metal look and feel"; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/MetalLookAndFeel.java/buggy/core/src/classpath/javax/javax/swing/plaf/metal/MetalLookAndFeel.java
public String getID() { return "MetalLookAndFeel"; }
public String getID() { return "MetalLookAndFeel"; }
public String getID() { return "MetalLookAndFeel"; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/MetalLookAndFeel.java/buggy/core/src/classpath/javax/javax/swing/plaf/metal/MetalLookAndFeel.java
public String getName() { return "MetalLookAndFeel"; }
public String getName() { return "MetalLookAndFeel"; }
public String getName() { return "MetalLookAndFeel"; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/MetalLookAndFeel.java/buggy/core/src/classpath/javax/javax/swing/plaf/metal/MetalLookAndFeel.java
public boolean isNativeLookAndFeel() { return true; }
public boolean isNativeLookAndFeel() { return true; }
public boolean isNativeLookAndFeel() { return true; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/MetalLookAndFeel.java/buggy/core/src/classpath/javax/javax/swing/plaf/metal/MetalLookAndFeel.java
public boolean isSupportedLookAndFeel() { return true; }
public boolean isSupportedLookAndFeel() { return true; }
public boolean isSupportedLookAndFeel() { return true; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/MetalLookAndFeel.java/buggy/core/src/classpath/javax/javax/swing/plaf/metal/MetalLookAndFeel.java
public JIFSFile(String name) { this.name = name;
public JIFSFile() { refresh();
public JIFSFile(String name) { this.name = name; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/982e1b1b1ed579528f868755d8a932bed0e03228/JIFSFile.java/buggy/fs/src/fs/org/jnode/fs/jifs/JIFSFile.java
java.lang.Object key = ior.Internet.host+":"+ior.Internet.port;
java.lang.Object key = ior.Internet.host + ":" + ior.Internet.port;
public synchronized binaryReply submit() { gnu.CORBA.GIOP.MessageHeader header = new gnu.CORBA.GIOP.MessageHeader(); header.setBigEndian(Big_endian); // The byte order will be Big Endian by default. header.message_type = gnu.CORBA.GIOP.MessageHeader.REQUEST; header.version = useVersion(ior.Internet.ve...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b8e6f02cb6a820cbb793320542ee01a4b70f176a/gnuRequest.java/clean/core/src/classpath/gnu/gnu/CORBA/gnuRequest.java
return null;
MARSHAL m = new MARSHAL("Unable to open a socket at " + ior.Internet.host + ":" + ior.Internet.port ); m.initCause(io_ex); throw m;
public synchronized binaryReply submit() { gnu.CORBA.GIOP.MessageHeader header = new gnu.CORBA.GIOP.MessageHeader(); header.setBigEndian(Big_endian); // The byte order will be Big Endian by default. header.message_type = gnu.CORBA.GIOP.MessageHeader.REQUEST; header.version = useVersion(ior.Internet.ve...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b8e6f02cb6a820cbb793320542ee01a4b70f176a/gnuRequest.java/clean/core/src/classpath/gnu/gnu/CORBA/gnuRequest.java
SocketRepository.put_socket(key, socket );
SocketRepository.put_socket(key, socket);
public synchronized binaryReply submit() { gnu.CORBA.GIOP.MessageHeader header = new gnu.CORBA.GIOP.MessageHeader(); header.setBigEndian(Big_endian); // The byte order will be Big Endian by default. header.message_type = gnu.CORBA.GIOP.MessageHeader.REQUEST; header.version = useVersion(ior.Internet.ve...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b8e6f02cb6a820cbb793320542ee01a4b70f176a/gnuRequest.java/clean/core/src/classpath/gnu/gnu/CORBA/gnuRequest.java
public Unexpected(Exception why)
public Unexpected(String msg, Exception why)
public Unexpected(Exception why) { super(SHARED_MESSAGE); if (why != null) initCause(why); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b8e6f02cb6a820cbb793320542ee01a4b70f176a/Unexpected.java/buggy/core/src/classpath/gnu/gnu/CORBA/Unexpected.java
super(SHARED_MESSAGE);
super(msg + ". " + SHARED_MESSAGE);
public Unexpected(Exception why) { super(SHARED_MESSAGE); if (why != null) initCause(why); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b8e6f02cb6a820cbb793320542ee01a4b70f176a/Unexpected.java/buggy/core/src/classpath/gnu/gnu/CORBA/Unexpected.java
public void add(NamedValue value)
public NamedValue add(int a_flags)
public void add(NamedValue value) { list.add(value); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b8e6f02cb6a820cbb793320542ee01a4b70f176a/gnuNVList.java/buggy/core/src/classpath/gnu/gnu/CORBA/gnuNVList.java
list.add(value);
return add_value(null, new gnuAny(), a_flags);
public void add(NamedValue value) { list.add(value); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b8e6f02cb6a820cbb793320542ee01a4b70f176a/gnuNVList.java/buggy/core/src/classpath/gnu/gnu/CORBA/gnuNVList.java
public static void error(Exception why)
public static void error(String msg, Exception why)
public static void error(Exception why) { throw new Unexpected(why); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b8e6f02cb6a820cbb793320542ee01a4b70f176a/Unexpected.java/buggy/core/src/classpath/gnu/gnu/CORBA/Unexpected.java
throw new Unexpected(why);
throw new Unexpected(msg, why);
public static void error(Exception why) { throw new Unexpected(why); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b8e6f02cb6a820cbb793320542ee01a4b70f176a/Unexpected.java/buggy/core/src/classpath/gnu/gnu/CORBA/Unexpected.java
public abstract void exception(Exception except);
public abstract Exception exception();
public abstract void exception(Exception except);
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8f28a29b36e025f22e3af3a9b984c6450ba6c8d7/Environment.java/buggy/core/src/classpath/org/org/omg/CORBA/Environment.java
public UnknownUserException(Any an_exception)
public UnknownUserException()
public UnknownUserException(Any an_exception) { except = an_exception; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8f28a29b36e025f22e3af3a9b984c6450ba6c8d7/UnknownUserException.java/buggy/core/src/classpath/org/org/omg/CORBA/UnknownUserException.java
except = an_exception;
public UnknownUserException(Any an_exception) { except = an_exception; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8f28a29b36e025f22e3af3a9b984c6450ba6c8d7/UnknownUserException.java/buggy/core/src/classpath/org/org/omg/CORBA/UnknownUserException.java
public Socket(String host, int port) throws UnknownHostException, IOException
public Socket()
public Socket(String host, int port) throws UnknownHostException, IOException { this(InetAddress.getByName(host), port, null, 0, true); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/91f4232dfb8a5dff7627558a11285391ca44ebfd/Socket.java/buggy/core/src/classpath/java/java/net/Socket.java
this(InetAddress.getByName(host), port, null, 0, true);
if (factory != null) impl = factory.createSocketImpl(); else impl = new PlainSocketImpl();
public Socket(String host, int port) throws UnknownHostException, IOException { this(InetAddress.getByName(host), port, null, 0, true); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/91f4232dfb8a5dff7627558a11285391ca44ebfd/Socket.java/buggy/core/src/classpath/java/java/net/Socket.java
DataInputStream din = new DataInputStream(istream);
public void read(java.io.InputStream istream) throws MARSHAL { try { DataInputStream din = new DataInputStream(istream); byte[] xMagic = new byte[ MAGIC.length ]; din.read(xMagic); if (!Arrays.equals(xMagic, MAGIC)) throw new MARSHAL("Not a GIOP message"); ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/322bdf31032fa8067da8c0c35cf403ba70c4c1c4/MessageHeader.java/buggy/core/src/classpath/gnu/gnu/CORBA/GIOP/MessageHeader.java
din.read(xMagic);
istream.read(xMagic);
public void read(java.io.InputStream istream) throws MARSHAL { try { DataInputStream din = new DataInputStream(istream); byte[] xMagic = new byte[ MAGIC.length ]; din.read(xMagic); if (!Arrays.equals(xMagic, MAGIC)) throw new MARSHAL("Not a GIOP message"); ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/322bdf31032fa8067da8c0c35cf403ba70c4c1c4/MessageHeader.java/buggy/core/src/classpath/gnu/gnu/CORBA/GIOP/MessageHeader.java
version = Version.read_version(din);
version = Version.read_version(istream);
public void read(java.io.InputStream istream) throws MARSHAL { try { DataInputStream din = new DataInputStream(istream); byte[] xMagic = new byte[ MAGIC.length ]; din.read(xMagic); if (!Arrays.equals(xMagic, MAGIC)) throw new MARSHAL("Not a GIOP message"); ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/322bdf31032fa8067da8c0c35cf403ba70c4c1c4/MessageHeader.java/buggy/core/src/classpath/gnu/gnu/CORBA/GIOP/MessageHeader.java
flags = (byte) din.read();
abstractDataInputStream din;
public void read(java.io.InputStream istream) throws MARSHAL { try { DataInputStream din = new DataInputStream(istream); byte[] xMagic = new byte[ MAGIC.length ]; din.read(xMagic); if (!Arrays.equals(xMagic, MAGIC)) throw new MARSHAL("Not a GIOP message"); ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/322bdf31032fa8067da8c0c35cf403ba70c4c1c4/MessageHeader.java/buggy/core/src/classpath/gnu/gnu/CORBA/GIOP/MessageHeader.java
/** TODO implement support for the little endian. */ if (!isBigEndian()) throw new MARSHAL("Little endian unsupported.");
flags = (byte) istream.read(); if (isBigEndian()) din = new BigEndianInputStream(istream); else din = new LittleEndianInputStream(istream);
public void read(java.io.InputStream istream) throws MARSHAL { try { DataInputStream din = new DataInputStream(istream); byte[] xMagic = new byte[ MAGIC.length ]; din.read(xMagic); if (!Arrays.equals(xMagic, MAGIC)) throw new MARSHAL("Not a GIOP message"); ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/322bdf31032fa8067da8c0c35cf403ba70c4c1c4/MessageHeader.java/buggy/core/src/classpath/gnu/gnu/CORBA/GIOP/MessageHeader.java
throw new MARSHAL(ex.toString());
MARSHAL t = new MARSHAL(); t.initCause(ex); throw t;
public void read(java.io.InputStream istream) throws MARSHAL { try { DataInputStream din = new DataInputStream(istream); byte[] xMagic = new byte[ MAGIC.length ]; din.read(xMagic); if (!Arrays.equals(xMagic, MAGIC)) throw new MARSHAL("Not a GIOP message"); ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/322bdf31032fa8067da8c0c35cf403ba70c4c1c4/MessageHeader.java/buggy/core/src/classpath/gnu/gnu/CORBA/GIOP/MessageHeader.java
res.put("gnu.java.io.encoding_scheme_alias.UTF-16LE", "UTF16LE"); res.put("gnu.java.io.encoding_scheme_alias.UTF-16BE", "UTF16BE");
public static Properties getInitProperties() { final String arch; final Vm vm = Vm.getVm(); arch = vm.getArch().getName(); final Properties res = new Properties(); // Java properties res.put("java.version", "1.1.0"); res.put("java.vendor", "JNode.org"); res.pu...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/619275604662509763c931fd85c186b1023a544b/VmSystem.java/buggy/core/src/core/org/jnode/vm/VmSystem.java
public ArrayStoreException(String s) { super(s);
public ArrayStoreException() {
public ArrayStoreException(String s) { super(s); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/ArrayStoreException.java/buggy/core/src/classpath/java/java/lang/ArrayStoreException.java
helper.copy(objectPtr, ObjectReference.fromObject(newObj).toAddress(), size);
helper.copy(objectPtr, ObjectReference.fromObject(newObj).toAddress(), Extent.fromIntZeroExtend(size));
public final Object clone(Cloneable object) { testInited(); final VmClassType objectClass = VmMagic.getObjectType(object); final Address objectPtr = ObjectReference.fromObject(object).toAddress(); final int size; if (objectClass.isArray()) { final int slotSize = Unsafe.getCurrentProcessor().getArchitecture().ge...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d72aecd9d9769d27b315f4c415bf7fe4ef49cb91/VmHeapManager.java/buggy/core/src/core/org/jnode/vm/memmgr/VmHeapManager.java
return (VmMethod)Unsafe.getObject(sf, getMethodOffset(sf));
final Object obj = Unsafe.getObject(sf, getMethodOffset(sf)); if (obj instanceof VmMethod) { return (VmMethod)obj; } else if (obj == null) { return null; } else { Unsafe.debug("Method on stacktrace is not instanceof VmMethod but "); Unsafe.debug(obj.getClass().getName()); Unsafe.die("Fatal stack error"); return null; }...
final VmMethod getMethod(Address sf) { return (VmMethod)Unsafe.getObject(sf, getMethodOffset(sf)); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/5fd2b1e0180cda24cafbd8288788f03fd5464c0f/VmStackReader.java/buggy/core/src/core/org/jnode/vm/VmStackReader.java
public Exception(String s)
public Exception()
public Exception(String s) { super(s); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/Exception.java/buggy/core/src/classpath/java/java/lang/Exception.java
super(s);
public Exception(String s) { super(s); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/Exception.java/buggy/core/src/classpath/java/java/lang/Exception.java
entries = Collections.EMPTY_MAP; entryNames = Collections.EMPTY_LIST;
entries = Collections.emptyMap(); entryNames = Collections.emptyList();
private FSEntryTable() { entries = Collections.EMPTY_MAP; entryNames = Collections.EMPTY_LIST; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/982e1b1b1ed579528f868755d8a932bed0e03228/FSEntryTable.java/clean/fs/src/fs/org/jnode/fs/spi/FSEntryTable.java
throw new DomEx(DomEx.NO_MODIFICATION_ALLOWED_ERR);
throw new DomDOMException(DOMException.NO_MODIFICATION_ALLOWED_ERR);
public final void setPrefix(String prefix) { if (readonly) { throw new DomEx(DomEx.NO_MODIFICATION_ALLOWED_ERR); } if (prefix == null) { name = localName; return; } else if (namespace == null) { throw new DomEx(DomEx.NAMESPACE_ERR, ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/DomNsNode.java/clean/core/src/classpath/gnu/gnu/xml/dom/DomNsNode.java
throw new DomEx(DomEx.NAMESPACE_ERR,
throw new DomDOMException(DOMException.NAMESPACE_ERR,
public final void setPrefix(String prefix) { if (readonly) { throw new DomEx(DomEx.NO_MODIFICATION_ALLOWED_ERR); } if (prefix == null) { name = localName; return; } else if (namespace == null) { throw new DomEx(DomEx.NAMESPACE_ERR, ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/DomNsNode.java/clean/core/src/classpath/gnu/gnu/xml/dom/DomNsNode.java
throw new DomEx(DomEx.NAMESPACE_ERR,
throw new DomDOMException(DOMException.NAMESPACE_ERR,
public final void setPrefix(String prefix) { if (readonly) { throw new DomEx(DomEx.NO_MODIFICATION_ALLOWED_ERR); } if (prefix == null) { name = localName; return; } else if (namespace == null) { throw new DomEx(DomEx.NAMESPACE_ERR, ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/DomNsNode.java/clean/core/src/classpath/gnu/gnu/xml/dom/DomNsNode.java
throw new DomEx(DomEx.NAMESPACE_ERR,
throw new DomDOMException(DOMException.NAMESPACE_ERR,
public final void setPrefix(String prefix) { if (readonly) { throw new DomEx(DomEx.NO_MODIFICATION_ALLOWED_ERR); } if (prefix == null) { name = localName; return; } else if (namespace == null) { throw new DomEx(DomEx.NAMESPACE_ERR, ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/DomNsNode.java/clean/core/src/classpath/gnu/gnu/xml/dom/DomNsNode.java
throw new DomEx(DomEx.NAMESPACE_ERR, "xmlns attribute prefix is reserved", this, 0);
throw new DomDOMException(DOMException.NAMESPACE_ERR, "xmlns attribute prefix is reserved", this, 0);
public final void setPrefix(String prefix) { if (readonly) { throw new DomEx(DomEx.NO_MODIFICATION_ALLOWED_ERR); } if (prefix == null) { name = localName; return; } else if (namespace == null) { throw new DomEx(DomEx.NAMESPACE_ERR, ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/DomNsNode.java/clean/core/src/classpath/gnu/gnu/xml/dom/DomNsNode.java
throw new DomEx(DomEx.NAMESPACE_ERR, "namespace declarations can't change names", this, 0);
throw new DomDOMException(DOMException.NAMESPACE_ERR, "namespace declarations can't change names", this, 0);
public final void setPrefix(String prefix) { if (readonly) { throw new DomEx(DomEx.NO_MODIFICATION_ALLOWED_ERR); } if (prefix == null) { name = localName; return; } else if (namespace == null) { throw new DomEx(DomEx.NAMESPACE_ERR, ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/DomNsNode.java/clean/core/src/classpath/gnu/gnu/xml/dom/DomNsNode.java
slider.setOpaque(true);
protected void installDefaults(JSlider slider) { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); slider.setForeground(defaults.getColor("Slider.foreground")); slider.setBackground(defaults.getColor("Slider.background")); shadowColor = defaults.getColor("Slider.shadow"); highlightColor = defa...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/BasicSliderUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicSliderUI.java
public void drawPolygon(Polygon polygon) { drawPolygon(polygon.xpoints, polygon.ypoints, polygon.npoints); }
public abstract void drawPolygon(int xPoints[], int yPoints[], int npoints);
public void drawPolygon(Polygon polygon) { drawPolygon(polygon.xpoints, polygon.ypoints, polygon.npoints); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/0e5ba93f67f359dbdb3b61f9a098e2718a744e71/Graphics.java/buggy/core/src/classpath/java/java/awt/Graphics.java
htmlAttributeSet attributes = gnu.getAttributes();
SimpleAttributeSet attributes = gnu.getAttributes();
protected final void handleStartTag(TagElement tag) { parser.handleStartTag(tag); htmlAttributeSet attributes = gnu.getAttributes(); if (tag.fictional()) attributes.addAttribute(HTMLEditorKit.ParserCallback.IMPLIED, Boolean.TRUE )...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/61e6771ccdb144a4f9e26f7fc81e7d1c4dee81ad/DocumentParser.java/clean/core/src/classpath/javax/javax/swing/text/html/parser/DocumentParser.java
public ClassNotFoundException(String s, Throwable ex)
public ClassNotFoundException()
public ClassNotFoundException(String s, Throwable ex) { super(s, ex); this.ex = ex; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/ClassNotFoundException.java/buggy/core/src/classpath/java/java/lang/ClassNotFoundException.java
super(s, ex); this.ex = ex;
this(null, null);
public ClassNotFoundException(String s, Throwable ex) { super(s, ex); this.ex = ex; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/ClassNotFoundException.java/buggy/core/src/classpath/java/java/lang/ClassNotFoundException.java
protected void addImpl(Component comp, Object constraints, int index) { // If we're adding the rootPane (initialization stages) use super.add. // Otherwise pass the add onto the content pane. if (comp == rootPane) super.addImpl(comp, constraints, index); else { if (isRootPaneCheckingEna...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b0819f69fb87c25602911abcc49016c8e9b9db5d/JApplet.java/buggy/core/src/classpath/javax/javax/swing/JApplet.java
if (comp == rootPane)
if (!initStageDone)
protected void addImpl(Component comp, Object constraints, int index) { // If we're adding the rootPane (initialization stages) use super.add. // Otherwise pass the add onto the content pane. if (comp == rootPane) super.addImpl(comp, constraints, index); else { if (isRootPaneCheckingEna...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b0819f69fb87c25602911abcc49016c8e9b9db5d/JApplet.java/buggy/core/src/classpath/javax/javax/swing/JApplet.java
public Container getContentPane();
Container getContentPane();
public Container getContentPane();
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/RootPaneContainer.java/buggy/core/src/classpath/javax/javax/swing/RootPaneContainer.java
public Component getGlassPane();
Component getGlassPane();
public Component getGlassPane();
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/RootPaneContainer.java/buggy/core/src/classpath/javax/javax/swing/RootPaneContainer.java
public JLayeredPane getLayeredPane();
JLayeredPane getLayeredPane();
public JLayeredPane getLayeredPane();
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/RootPaneContainer.java/buggy/core/src/classpath/javax/javax/swing/RootPaneContainer.java
public JRootPane getRootPane();
JRootPane getRootPane();
public JRootPane getRootPane();
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/RootPaneContainer.java/buggy/core/src/classpath/javax/javax/swing/RootPaneContainer.java
public void setContentPane(Container contentPane);
void setContentPane(Container contentPane);
public void setContentPane(Container contentPane);
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/RootPaneContainer.java/buggy/core/src/classpath/javax/javax/swing/RootPaneContainer.java
public void setGlassPane(Component glassPane);
void setGlassPane(Component glassPane);
public void setGlassPane(Component glassPane);
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/RootPaneContainer.java/buggy/core/src/classpath/javax/javax/swing/RootPaneContainer.java
public void setLayeredPane(JLayeredPane layeredPane);
void setLayeredPane(JLayeredPane layeredPane);
public void setLayeredPane(JLayeredPane layeredPane);
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/RootPaneContainer.java/buggy/core/src/classpath/javax/javax/swing/RootPaneContainer.java
public TreeMap(Comparator<? super K> c)
public TreeMap()
public TreeMap(Comparator<? super K> c) { comparator = c; fabricateTree(0); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/03ccc48ad99f370100d28d05282f5ecf9aba8ad6/TreeMap.java/buggy/core/src/classpath/5.0/java/util/TreeMap.java
comparator = c; fabricateTree(0);
this((Comparator) null);
public TreeMap(Comparator<? super K> c) { comparator = c; fabricateTree(0); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/03ccc48ad99f370100d28d05282f5ecf9aba8ad6/TreeMap.java/buggy/core/src/classpath/5.0/java/util/TreeMap.java
public DecimalFormat() { this("#,##0.###");
public DecimalFormat () { this ("#,##0.###");
public DecimalFormat() { this("#,##0.###"); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
public void applyLocalizedPattern(String pattern) {
public void applyLocalizedPattern (String pattern) {
public void applyLocalizedPattern(String pattern) { // JCL p. 638 claims this throws a ParseException but p. 629 // contradicts this. Empirical tests with patterns of "0,###.0" // and "#.#.#" corroborate the p. 629 statement that an // IllegalArgumentException is thrown. applyPatternWithSymbols(pattern, symbols)...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
applyPatternWithSymbols(pattern, symbols);
applyPatternWithSymbols (pattern, symbols);
public void applyLocalizedPattern(String pattern) { // JCL p. 638 claims this throws a ParseException but p. 629 // contradicts this. Empirical tests with patterns of "0,###.0" // and "#.#.#" corroborate the p. 629 statement that an // IllegalArgumentException is thrown. applyPatternWithSymbols(pattern, symbols)...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
public void applyPattern(String pattern) {
public void applyPattern (String pattern) {
public void applyPattern(String pattern) { // JCL p. 638 claims this throws a ParseException but p. 629 // contradicts this. Empirical tests with patterns of "0,###.0" // and "#.#.#" corroborate the p. 629 statement that an // IllegalArgumentException is thrown. applyPatternWithSymbols(pattern, nonLocalizedSymbo...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
applyPatternWithSymbols(pattern, nonLocalizedSymbols);
applyPatternWithSymbols (pattern, nonLocalizedSymbols);
public void applyPattern(String pattern) { // JCL p. 638 claims this throws a ParseException but p. 629 // contradicts this. Empirical tests with patterns of "0,###.0" // and "#.#.#" corroborate the p. 629 statement that an // IllegalArgumentException is thrown. applyPatternWithSymbols(pattern, nonLocalizedSymbo...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
private final void applyPatternWithSymbols(String pattern, DecimalFormatSymbols syms) {
private final void applyPatternWithSymbols (String pattern, DecimalFormatSymbols syms) {
private final void applyPatternWithSymbols(String pattern, DecimalFormatSymbols syms) { // Initialize to the state the parser expects. negativePrefix = ""; negativeSuffix = ""; positivePrefix = ""; positiveSuffix = ""; decimalSeparatorAlwaysShown = false; groupingSize = 0; minExponentDigits = 0; multiplier = ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
maximumIntegerDigits = 309;
maximumIntegerDigits = MAXIMUM_INTEGER_DIGITS;
private final void applyPatternWithSymbols(String pattern, DecimalFormatSymbols syms) { // Initialize to the state the parser expects. negativePrefix = ""; negativeSuffix = ""; positivePrefix = ""; positiveSuffix = ""; decimalSeparatorAlwaysShown = false; groupingSize = 0; minExponentDigits = 0; multiplier = ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
StringBuffer buf = new StringBuffer(); String patChars = patternChars(syms);
AttributedFormatBuffer buf = new AttributedFormatBuffer (); String patChars = patternChars (syms);
private final void applyPatternWithSymbols(String pattern, DecimalFormatSymbols syms) { // Initialize to the state the parser expects. negativePrefix = ""; negativeSuffix = ""; positivePrefix = ""; positiveSuffix = ""; decimalSeparatorAlwaysShown = false; groupingSize = 0; minExponentDigits = 0; multiplier = ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
int index = scanFix(pattern, 0, buf, patChars, syms, false); positivePrefix = buf.toString();
int index = scanFix (pattern, 0, buf, patChars, syms, false); buf.sync(); positivePrefix = buf.getBuffer().toString(); positivePrefixRanges = buf.getRanges(); positivePrefixAttrs = buf.getAttributes();
private final void applyPatternWithSymbols(String pattern, DecimalFormatSymbols syms) { // Initialize to the state the parser expects. negativePrefix = ""; negativeSuffix = ""; positivePrefix = ""; positiveSuffix = ""; decimalSeparatorAlwaysShown = false; groupingSize = 0; minExponentDigits = 0; multiplier = ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
index = scanFormat(pattern, index, patChars, syms, true);
index = scanFormat (pattern, index, patChars, syms, true);
private final void applyPatternWithSymbols(String pattern, DecimalFormatSymbols syms) { // Initialize to the state the parser expects. negativePrefix = ""; negativeSuffix = ""; positivePrefix = ""; positiveSuffix = ""; decimalSeparatorAlwaysShown = false; groupingSize = 0; minExponentDigits = 0; multiplier = ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
index = scanFix(pattern, index, buf, patChars, syms, true); positiveSuffix = buf.toString();
index = scanFix (pattern, index, buf, patChars, syms, true); buf.sync(); positiveSuffix = buf.getBuffer().toString(); positiveSuffixRanges = buf.getRanges(); positiveSuffixAttrs = buf.getAttributes();
private final void applyPatternWithSymbols(String pattern, DecimalFormatSymbols syms) { // Initialize to the state the parser expects. negativePrefix = ""; negativeSuffix = ""; positivePrefix = ""; positiveSuffix = ""; decimalSeparatorAlwaysShown = false; groupingSize = 0; minExponentDigits = 0; multiplier = ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
if (index == pattern.length()) {
if (index == pattern.length()) {
private final void applyPatternWithSymbols(String pattern, DecimalFormatSymbols syms) { // Initialize to the state the parser expects. negativePrefix = ""; negativeSuffix = ""; positivePrefix = ""; positiveSuffix = ""; decimalSeparatorAlwaysShown = false; groupingSize = 0; minExponentDigits = 0; multiplier = ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
} else {
} else {
private final void applyPatternWithSymbols(String pattern, DecimalFormatSymbols syms) { // Initialize to the state the parser expects. negativePrefix = ""; negativeSuffix = ""; positivePrefix = ""; positiveSuffix = ""; decimalSeparatorAlwaysShown = false; groupingSize = 0; minExponentDigits = 0; multiplier = ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
throw new IllegalArgumentException("separator character " + "expected - index: " + index);
throw new IllegalArgumentException ("separator character " + "expected - index: " + index);
private final void applyPatternWithSymbols(String pattern, DecimalFormatSymbols syms) { // Initialize to the state the parser expects. negativePrefix = ""; negativeSuffix = ""; positivePrefix = ""; positiveSuffix = ""; decimalSeparatorAlwaysShown = false; groupingSize = 0; minExponentDigits = 0; multiplier = ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
index = scanFix(pattern, index + 1, buf, patChars, syms, false); negativePrefix = buf.toString();
index = scanFix (pattern, index + 1, buf, patChars, syms, false); buf.sync(); negativePrefix = buf.getBuffer().toString(); negativePrefixRanges = buf.getRanges(); negativePrefixAttrs = buf.getAttributes();
private final void applyPatternWithSymbols(String pattern, DecimalFormatSymbols syms) { // Initialize to the state the parser expects. negativePrefix = ""; negativeSuffix = ""; positivePrefix = ""; positiveSuffix = ""; decimalSeparatorAlwaysShown = false; groupingSize = 0; minExponentDigits = 0; multiplier = ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
index = scanFormat(pattern, index, patChars, syms, false);
index = scanFormat (pattern, index, patChars, syms, false);
private final void applyPatternWithSymbols(String pattern, DecimalFormatSymbols syms) { // Initialize to the state the parser expects. negativePrefix = ""; negativeSuffix = ""; positivePrefix = ""; positiveSuffix = ""; decimalSeparatorAlwaysShown = false; groupingSize = 0; minExponentDigits = 0; multiplier = ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
index = scanFix(pattern, index, buf, patChars, syms, true); negativeSuffix = buf.toString();
index = scanFix (pattern, index, buf, patChars, syms, true); buf.sync(); negativeSuffix = buf.getBuffer().toString(); negativeSuffixRanges = buf.getRanges(); negativeSuffixAttrs = buf.getAttributes();
private final void applyPatternWithSymbols(String pattern, DecimalFormatSymbols syms) { // Initialize to the state the parser expects. negativePrefix = ""; negativeSuffix = ""; positivePrefix = ""; positiveSuffix = ""; decimalSeparatorAlwaysShown = false; groupingSize = 0; minExponentDigits = 0; multiplier = ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
throw new IllegalArgumentException("end of pattern expected " + "- index: " + index);
throw new IllegalArgumentException ("end of pattern expected " + "- index: " + index);
private final void applyPatternWithSymbols(String pattern, DecimalFormatSymbols syms) { // Initialize to the state the parser expects. negativePrefix = ""; negativeSuffix = ""; positivePrefix = ""; positiveSuffix = ""; decimalSeparatorAlwaysShown = false; groupingSize = 0; minExponentDigits = 0; multiplier = ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
public Object clone() { DecimalFormat c = (DecimalFormat) super.clone(); c.symbols = (DecimalFormatSymbols) symbols.clone();
public Object clone () { DecimalFormat c = (DecimalFormat) super.clone (); c.symbols = (DecimalFormatSymbols) symbols.clone ();
public Object clone() { DecimalFormat c = (DecimalFormat) super.clone(); c.symbols = (DecimalFormatSymbols) symbols.clone(); return c; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
private final String computePattern(DecimalFormatSymbols syms) { StringBuffer mainPattern = new StringBuffer();
private final String computePattern (DecimalFormatSymbols syms) { StringBuffer mainPattern = new StringBuffer ();
private final String computePattern(DecimalFormatSymbols syms) { StringBuffer mainPattern = new StringBuffer(); // We have to at least emit a zero for the minimum number of // digits. Past that we need hash marks up to the grouping // separator (and one beyond). int total_digits = Math.max(minimumIntegerDigits, ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
int total_digits = Math.max(minimumIntegerDigits, groupingUsed ? groupingSize + 1 : 0);
int total_digits = Math.max(minimumIntegerDigits, groupingUsed ? groupingSize + 1: groupingSize);
private final String computePattern(DecimalFormatSymbols syms) { StringBuffer mainPattern = new StringBuffer(); // We have to at least emit a zero for the minimum number of // digits. Past that we need hash marks up to the grouping // separator (and one beyond). int total_digits = Math.max(minimumIntegerDigits, ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
mainPattern.insert(mainPattern.length() - groupingSize, syms.getGroupingSeparator());
mainPattern.insert(mainPattern.length() - groupingSize, syms.getGroupingSeparator());
private final String computePattern(DecimalFormatSymbols syms) { StringBuffer mainPattern = new StringBuffer(); // We have to at least emit a zero for the minimum number of // digits. Past that we need hash marks up to the grouping // separator (and one beyond). int total_digits = Math.max(minimumIntegerDigits, ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
if (minimumFractionDigits > 0 || maximumFractionDigits > 0 || decimalSeparatorAlwaysShown)
if (minimumFractionDigits > 0 || maximumFractionDigits > 0 || decimalSeparatorAlwaysShown)
private final String computePattern(DecimalFormatSymbols syms) { StringBuffer mainPattern = new StringBuffer(); // We have to at least emit a zero for the minimum number of // digits. Past that we need hash marks up to the grouping // separator (and one beyond). int total_digits = Math.max(minimumIntegerDigits, ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
if (useExponentialNotation) {
if (useExponentialNotation) {
private final String computePattern(DecimalFormatSymbols syms) { StringBuffer mainPattern = new StringBuffer(); // We have to at least emit a zero for the minimum number of // digits. Past that we need hash marks up to the grouping // separator (and one beyond). int total_digits = Math.max(minimumIntegerDigits, ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
String patChars = patternChars(syms);
String patChars = patternChars (syms);
private final String computePattern(DecimalFormatSymbols syms) { StringBuffer mainPattern = new StringBuffer(); // We have to at least emit a zero for the minimum number of // digits. Past that we need hash marks up to the grouping // separator (and one beyond). int total_digits = Math.max(minimumIntegerDigits, ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
quoteFix(mainPattern, positivePrefix, patChars);
quoteFix (mainPattern, positivePrefix, patChars);
private final String computePattern(DecimalFormatSymbols syms) { StringBuffer mainPattern = new StringBuffer(); // We have to at least emit a zero for the minimum number of // digits. Past that we need hash marks up to the grouping // separator (and one beyond). int total_digits = Math.max(minimumIntegerDigits, ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
quoteFix(mainPattern, positiveSuffix, patChars);
quoteFix (mainPattern, positiveSuffix, patChars);
private final String computePattern(DecimalFormatSymbols syms) { StringBuffer mainPattern = new StringBuffer(); // We have to at least emit a zero for the minimum number of // digits. Past that we need hash marks up to the grouping // separator (and one beyond). int total_digits = Math.max(minimumIntegerDigits, ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
if (negativePrefix != null) { quoteFix(mainPattern, negativePrefix, patChars);
if (negativePrefix != null) { quoteFix (mainPattern, negativePrefix, patChars);
private final String computePattern(DecimalFormatSymbols syms) { StringBuffer mainPattern = new StringBuffer(); // We have to at least emit a zero for the minimum number of // digits. Past that we need hash marks up to the grouping // separator (and one beyond). int total_digits = Math.max(minimumIntegerDigits, ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
quoteFix(mainPattern, negativeSuffix, patChars);
quoteFix (mainPattern, negativeSuffix, patChars);
private final String computePattern(DecimalFormatSymbols syms) { StringBuffer mainPattern = new StringBuffer(); // We have to at least emit a zero for the minimum number of // digits. Past that we need hash marks up to the grouping // separator (and one beyond). int total_digits = Math.max(minimumIntegerDigits, ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
private final boolean equals(String s1, String s2) {
private final boolean equals (String s1, String s2) {
private final boolean equals(String s1, String s2) { if (s1 == null || s2 == null) return s1 == s2; return s1.equals(s2); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
public StringBuffer format(double number, StringBuffer dest, FieldPosition fieldPos) { if (Double.isNaN(number)) { dest.append(symbols.getNaN()); if (fieldPos != null && fieldPos.getField() == INTEGER_FIELD) { int index = dest.length(); fieldPos.setBeginIndex(index - symbols.getNaN().length()); fieldPos.setEndIndex(in...
public StringBuffer format (double number, StringBuffer dest, FieldPosition fieldPos) { formatInternal (number, new StringFormatBuffer(dest), fieldPos);
public StringBuffer format(double number, StringBuffer dest, FieldPosition fieldPos) { // A very special case. if (Double.isNaN(number)) { dest.append(symbols.getNaN()); if (fieldPos != null && fieldPos.getField() == INTEGER_FIELD) { int index = dest.length(); fieldPos.setBeginIndex(index - symbols.getNaN(...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
public DecimalFormatSymbols getDecimalFormatSymbols() {
public DecimalFormatSymbols getDecimalFormatSymbols () {
public DecimalFormatSymbols getDecimalFormatSymbols() { return symbols; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
public int getGroupingSize() {
public int getGroupingSize () {
public int getGroupingSize() { return groupingSize; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
public int getMultiplier() {
public int getMultiplier () {
public int getMultiplier() { return multiplier; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
public String getNegativePrefix() {
public String getNegativePrefix () {
public String getNegativePrefix() { return negativePrefix; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
public String getNegativeSuffix() {
public String getNegativeSuffix () {
public String getNegativeSuffix() { return negativeSuffix; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
public String getPositivePrefix() {
public String getPositivePrefix () {
public String getPositivePrefix() { return positivePrefix; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
public String getPositiveSuffix() {
public String getPositiveSuffix () {
public String getPositiveSuffix() { return positiveSuffix; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java