rem stringlengths 0 477k | add stringlengths 0 313k | context stringlengths 6 599k | meta stringlengths 141 403 |
|---|---|---|---|
} | TemplateNode clone(Stylesheet stylesheet) { TemplateNode ret = new CopyNode(uas); if (children != null) { ret.children = children.clone(stylesheet); } if (next != null) { ret.next = next.clone(stylesheet); } return ret; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/CopyNode.java/buggy/core/src/classpath/gnu/gnu/xml/transform/CopyNode.java | |
{ | TemplateNode clone(Stylesheet stylesheet) { TemplateNode ret = new CopyNode(uas); if (children != null) { ret.children = children.clone(stylesheet); } if (next != null) { ret.next = next.clone(stylesheet); } return ret; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/CopyNode.java/buggy/core/src/classpath/gnu/gnu/xml/transform/CopyNode.java | |
} | TemplateNode clone(Stylesheet stylesheet) { TemplateNode ret = new CopyNode(uas); if (children != null) { ret.children = children.clone(stylesheet); } if (next != null) { ret.next = next.clone(stylesheet); } return ret; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/CopyNode.java/buggy/core/src/classpath/gnu/gnu/xml/transform/CopyNode.java | |
{ | void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { Node copy = parent; switch (context.getNodeType()) { case Node.TEXT_NODE: case Node.ATTRIBUTE_NODE: case Node.ELEMENT_N... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/CopyNode.java/buggy/core/src/classpath/gnu/gnu/xml/transform/CopyNode.java | |
} | void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { Node copy = parent; switch (context.getNodeType()) { case Node.TEXT_NODE: case Node.ATTRIBUTE_NODE: case Node.ELEMENT_N... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/CopyNode.java/buggy/core/src/classpath/gnu/gnu/xml/transform/CopyNode.java | |
{ | void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { Node copy = parent; switch (context.getNodeType()) { case Node.TEXT_NODE: case Node.ATTRIBUTE_NODE: case Node.ELEMENT_N... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/CopyNode.java/buggy/core/src/classpath/gnu/gnu/xml/transform/CopyNode.java | |
} | void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { Node copy = parent; switch (context.getNodeType()) { case Node.TEXT_NODE: case Node.ATTRIBUTE_NODE: case Node.ELEMENT_N... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/CopyNode.java/buggy/core/src/classpath/gnu/gnu/xml/transform/CopyNode.java | |
{ | void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { Node copy = parent; switch (context.getNodeType()) { case Node.TEXT_NODE: case Node.ATTRIBUTE_NODE: case Node.ELEMENT_N... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/CopyNode.java/buggy/core/src/classpath/gnu/gnu/xml/transform/CopyNode.java | |
} | void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { Node copy = parent; switch (context.getNodeType()) { case Node.TEXT_NODE: case Node.ATTRIBUTE_NODE: case Node.ELEMENT_N... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/CopyNode.java/buggy/core/src/classpath/gnu/gnu/xml/transform/CopyNode.java | |
{ | void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { Node copy = parent; switch (context.getNodeType()) { case Node.TEXT_NODE: case Node.ATTRIBUTE_NODE: case Node.ELEMENT_N... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/CopyNode.java/buggy/core/src/classpath/gnu/gnu/xml/transform/CopyNode.java | |
} | void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { Node copy = parent; switch (context.getNodeType()) { case Node.TEXT_NODE: case Node.ATTRIBUTE_NODE: case Node.ELEMENT_N... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/CopyNode.java/buggy/core/src/classpath/gnu/gnu/xml/transform/CopyNode.java | |
{ | void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { Node copy = parent; switch (context.getNodeType()) { case Node.TEXT_NODE: case Node.ATTRIBUTE_NODE: case Node.ELEMENT_N... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/CopyNode.java/buggy/core/src/classpath/gnu/gnu/xml/transform/CopyNode.java | |
} | void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { Node copy = parent; switch (context.getNodeType()) { case Node.TEXT_NODE: case Node.ATTRIBUTE_NODE: case Node.ELEMENT_N... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/CopyNode.java/buggy/core/src/classpath/gnu/gnu/xml/transform/CopyNode.java | |
{ | void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { Node copy = parent; switch (context.getNodeType()) { case Node.TEXT_NODE: case Node.ATTRIBUTE_NODE: case Node.ELEMENT_N... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/CopyNode.java/buggy/core/src/classpath/gnu/gnu/xml/transform/CopyNode.java | |
} | void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { Node copy = parent; switch (context.getNodeType()) { case Node.TEXT_NODE: case Node.ATTRIBUTE_NODE: case Node.ELEMENT_N... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/CopyNode.java/buggy/core/src/classpath/gnu/gnu/xml/transform/CopyNode.java | |
StringBuffer buf = new StringBuffer(getClass().getName()); | StringBuffer buf = new StringBuffer("copy"); if (uas != null) { | public String toString() { StringBuffer buf = new StringBuffer(getClass().getName()); buf.append('['); buf.append(']'); return buf.toString(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/CopyNode.java/buggy/core/src/classpath/gnu/gnu/xml/transform/CopyNode.java |
} | public String toString() { StringBuffer buf = new StringBuffer(getClass().getName()); buf.append('['); buf.append(']'); return buf.toString(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/CopyNode.java/buggy/core/src/classpath/gnu/gnu/xml/transform/CopyNode.java | |
protected AccessibleAWTButton() { } | protected AccessibleAWTButton() { } | protected AccessibleAWTButton() { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/Button.java/clean/core/src/classpath/java/java/awt/Button.java |
vmClass.resolveCpRefs(clsMgr); | vmClass.resolveCpRefs(/*clsMgr*/); | private final void compileClasses(NativeStream os, VmArchitecture arch) throws ClassNotFoundException { final NativeCodeCompiler[] compilers = arch.getCompilers(); final int optLevel = compilers.length - 1; // Use the most optimizing compiler here final NativeCodeCompiler comp... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/578e69457c85cdcc9a5372e1ecffff908633297c/AbstractBootImageBuilder.java/clean/builder/src/builder/org/jnode/build/AbstractBootImageBuilder.java |
public SAXResult() { } | public SAXResult() { } | public SAXResult() { } // SAXResult() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2c0635b05f68dbb361b3532fd5813a38b74cf57a/SAXResult.java/clean/core/src/classpath/javax/javax/xml/transform/sax/SAXResult.java |
public String getSystemId() { return systemId; | public String getSystemId() { return systemId; | public String getSystemId() { return systemId; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2c0635b05f68dbb361b3532fd5813a38b74cf57a/SAXResult.java/clean/core/src/classpath/javax/javax/xml/transform/sax/SAXResult.java |
public void setHandler(ContentHandler handler) { this.handler = handler; } | public void setHandler(ContentHandler handler) { this.handler = handler; } | public void setHandler(ContentHandler handler) { this.handler = handler; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2c0635b05f68dbb361b3532fd5813a38b74cf57a/SAXResult.java/clean/core/src/classpath/javax/javax/xml/transform/sax/SAXResult.java |
public void setLexicalHandler(LexicalHandler lexHandler) { this.lexhandler = lexHandler; | public void setLexicalHandler(LexicalHandler handler) { lexicalHandler = handler; | public void setLexicalHandler(LexicalHandler lexHandler) { this.lexhandler = lexHandler; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2c0635b05f68dbb361b3532fd5813a38b74cf57a/SAXResult.java/clean/core/src/classpath/javax/javax/xml/transform/sax/SAXResult.java |
public void setSystemId(String systemID) { this.systemId = systemID; | public void setSystemId(String systemId) { this.systemId = systemId; | public void setSystemId(String systemID) { this.systemId = systemID; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2c0635b05f68dbb361b3532fd5813a38b74cf57a/SAXResult.java/clean/core/src/classpath/javax/javax/xml/transform/sax/SAXResult.java |
return (localName.equals(node.getLocalName())); | String nodeLocalName = node.getLocalName(); if (nodeLocalName == null) { nodeLocalName = node.getNodeName(); } return (localName.equals(nodeLocalName)); | public boolean matches(Node node, int pos, int len) { switch (node.getNodeType()) { case Node.ATTRIBUTE_NODE: // Only match namespace attributes String uri = node.getNamespaceURI(); if (XMLConstants.XMLNS_ATTRIBUTE_NS_URI.equals(uri) || XMLConstants.XMLNS_ATTRIBUTE.equals... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b8e6f02cb6a820cbb793320542ee01a4b70f176a/NamespaceTest.java/clean/core/src/classpath/gnu/gnu/xml/xpath/NamespaceTest.java |
public CertPathValidatorException(String msg) | public CertPathValidatorException() | public CertPathValidatorException(String msg) { super(msg); index = -1; certPath = null; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b12e4b97d99b73f08ccf219bf0a3ffe50371c94a/CertPathValidatorException.java/buggy/core/src/classpath/java/java/security/cert/CertPathValidatorException.java |
super(msg); index = -1; certPath = null; | this((String) null); | public CertPathValidatorException(String msg) { super(msg); index = -1; certPath = null; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b12e4b97d99b73f08ccf219bf0a3ffe50371c94a/CertPathValidatorException.java/buggy/core/src/classpath/java/java/security/cert/CertPathValidatorException.java |
return certFacSpi.engineGenerateCertificates( inStream ); | return certFacSpi.engineGenerateCertificates(inStream); | public final Collection generateCertificates(InputStream inStream) throws CertificateException { return certFacSpi.engineGenerateCertificates( inStream ); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1007f675673d392de852ea798af2cedde0e31ef9/CertificateFactory.java/buggy/core/src/classpath/java/java/security/cert/CertificateFactory.java |
put("Alg.Alias.MessageDigest.SHA-160", "SHA"); | public Object run() { // Note that all implementation class names are referenced by using // Class.getName(). That way when we staticly link the Gnu provider // we automatically get all the implementation classes. // Signature put("Signature.SHA1withDSA", gnu.java.security.provider.DSAS... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/Gnu.java/buggy/core/src/classpath/gnu/gnu/java/security/provider/Gnu.java | |
private void hideTip() | void hideTip() | private void hideTip() { if (currentTip == null || ! currentTip.isVisible() || ! enabled) return; currentTip.setVisible(false); if (containerPanel != null) { Container parent = containerPanel.getParent(); if (parent == null) return; parent.remove(containerPanel); parent.invalidate(); parent.vali... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/01dce648448be461531cfd95f93f9421282da0f4/ToolTipManager.java/buggy/core/src/classpath/javax/javax/swing/ToolTipManager.java |
private void showTip() | void showTip() | private void showTip() { if (! enabled || currentComponent == null) return; if (currentTip == null || currentTip.getComponent() != currentComponent && currentComponent instanceof JComponent) currentTip = ((JComponent) currentComponent).createToolTip(); Point p = currentPoint; Dime... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/01dce648448be461531cfd95f93f9421282da0f4/ToolTipManager.java/buggy/core/src/classpath/javax/javax/swing/ToolTipManager.java |
if (vgap < 0) throw new IllegalArgumentException ("vertical gap must be nonnegative"); | public void setVgap (int vgap) { if (vgap < 0) throw new IllegalArgumentException ("vertical gap must be nonnegative"); this.vgap = vgap; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6927129f1f7f8acd84e5ca16651e8fe5aa4e194b/FlowLayout.java/buggy/core/src/classpath/java/java/awt/FlowLayout.java | |
if (hgap < 0) throw new IllegalArgumentException ("horizontal gap must be nonnegative"); | public void setHgap (int hgap) { if (hgap < 0) throw new IllegalArgumentException ("horizontal gap must be nonnegative"); this.hgap = hgap; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6927129f1f7f8acd84e5ca16651e8fe5aa4e194b/FlowLayout.java/buggy/core/src/classpath/java/java/awt/FlowLayout.java | |
try { return res.getString ("intlCurrencySymbol"); } catch (Exception _) { return null; } | return currencyCode; | public String getCurrencyCode () { try { return res.getString ("intlCurrencySymbol"); } catch (Exception _) { return null; } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/61b8e27fab61a8487622d1793b61aa19c130c7ab/Currency.java/clean/core/src/classpath/java/java/util/Currency.java |
try { return res.getString ("intlCurrencySymbol"); | return getCurrencyCode(); | public String toString() { try { return res.getString ("intlCurrencySymbol"); } catch (Exception _) { return "(unknown currency)"; } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/61b8e27fab61a8487622d1793b61aa19c130c7ab/Currency.java/clean/core/src/classpath/java/java/util/Currency.java |
catch (Exception _) { return "(unknown currency)"; } } | public String toString() { try { return res.getString ("intlCurrencySymbol"); } catch (Exception _) { return "(unknown currency)"; } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/61b8e27fab61a8487622d1793b61aa19c130c7ab/Currency.java/clean/core/src/classpath/java/java/util/Currency.java | |
long tmp = getStartLba() + getNrSectors(); | long tmp = getStartLba() + getNrSectors() - 1; | public String toString() { StringBuilder b = new StringBuilder(32); b.append('['); b.append(getBootIndicator() ? 'A' : ' '); b.append(' '); b.append(NumberUtils.hex(getSystemIndicator(), 2)); b.append(' '); b.append("s:"+getStartLba()); b.append(' '); long tmp = getStartLba() + getNrSectors(); b.ap... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/cdf7b9b24f376fc384e05ed082ce07179f005a4a/IBMPartitionTableEntry.java/clean/fs/src/fs/org/jnode/partitions/ibm/IBMPartitionTableEntry.java |
int hour = zoneOffs / (60 * 60 * 1000); int minute = (zoneOffs - 60 * 60 * 1000 * hour) / (60 * 1000); int seconds = (zoneOffs - 60 * 60 * 1000 * hour - 60 * 1000 * minute) / 1000; int millis = zoneOffs - 60 * 60 * 1000 * hour - 60 * 1000 * minute - seconds * 1000; | public final void clear() { isTimeSet = false; areFieldsSet = false; int zoneOffs = zone.getRawOffset(); int hour = zoneOffs / (60 * 60 * 1000); int minute = (zoneOffs - 60 * 60 * 1000 * hour) / (60 * 1000); int seconds = (zoneOffs - 60 * 60 * 1000 * hour - 60 * 1000 * minute) / 1000; int millis = z... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b12e4b97d99b73f08ccf219bf0a3ffe50371c94a/Calendar.java/buggy/core/src/classpath/java/java/util/Calendar.java | |
1, 1970, JANUARY, 1, 1, 1, 1, THURSDAY, 1, AM, hour, hour, minute, seconds, millis, zoneOffs, 0 | 1, 1970, JANUARY, 1, 1, 1, 1, THURSDAY, 1, AM, 0, 0, 0, 0, 0, zoneOffs, 0 | public final void clear() { isTimeSet = false; areFieldsSet = false; int zoneOffs = zone.getRawOffset(); int hour = zoneOffs / (60 * 60 * 1000); int minute = (zoneOffs - 60 * 60 * 1000 * hour) / (60 * 1000); int seconds = (zoneOffs - 60 * 60 * 1000 * hour - 60 * 1000 * minute) / 1000; int millis = z... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b12e4b97d99b73f08ccf219bf0a3ffe50371c94a/Calendar.java/buggy/core/src/classpath/java/java/util/Calendar.java |
private void checkDiscarding() | void checkDiscarding() | private void checkDiscarding() throws TRANSIENT { if (m_manager.get_state() == State.DISCARDING) throw new TRANSIENT("Discarding mode", 1, CompletionStatus.COMPLETED_MAYBE); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b53ee23d2db4d673b2dea5fee94b6bff00d241bf/gnuPOA.java/buggy/core/src/classpath/gnu/gnu/CORBA/Poa/gnuPOA.java |
public void connect(org.omg.CORBA.Object object, byte[] key) | public void connect(org.omg.CORBA.Object object) | public void connect(org.omg.CORBA.Object object, byte[] key) { int a_port = getFreePort(); Connected_objects.cObject ref = connected_objects.add(key, object, a_port, null); IOR ior = createIOR(ref); prepareObject(object, ior); if (running) startService(ior); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8820e7a18265b8e9be753676d9477fb94a1447c8/OrbFunctional.java/buggy/core/src/classpath/gnu/gnu/CORBA/OrbFunctional.java |
Connected_objects.cObject ref = connected_objects.add(key, object, a_port, null); | Connected_objects.cObject ref = connected_objects.add(object, a_port); | public void connect(org.omg.CORBA.Object object, byte[] key) { int a_port = getFreePort(); Connected_objects.cObject ref = connected_objects.add(key, object, a_port, null); IOR ior = createIOR(ref); prepareObject(object, ior); if (running) startService(ior); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8820e7a18265b8e9be753676d9477fb94a1447c8/OrbFunctional.java/buggy/core/src/classpath/gnu/gnu/CORBA/OrbFunctional.java |
public AdapterAlreadyExists(String why) | public AdapterAlreadyExists() | public AdapterAlreadyExists(String why) { super(why); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8f28a29b36e025f22e3af3a9b984c6450ba6c8d7/AdapterAlreadyExists.java/buggy/core/src/classpath/org/org/omg/PortableServer/POAPackage/AdapterAlreadyExists.java |
super(why); | public AdapterAlreadyExists(String why) { super(why); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8f28a29b36e025f22e3af3a9b984c6450ba6c8d7/AdapterAlreadyExists.java/buggy/core/src/classpath/org/org/omg/PortableServer/POAPackage/AdapterAlreadyExists.java | |
public Obj add(ServantDelegateImpl delegate) | public Obj add(gnuServantObject object, Servant servant, gnuPOA poa) | public Obj add(ServantDelegateImpl delegate) { Obj rec = new Obj(delegate.object, delegate.servant_id, delegate.servant, delegate.poa ); objects.put(delegate.servant_id, rec); return rec; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/AOM.java/buggy/core/src/classpath/gnu/gnu/CORBA/Poa/AOM.java |
Obj rec = new Obj(delegate.object, delegate.servant_id, delegate.servant, delegate.poa ); objects.put(delegate.servant_id, rec); return rec; | return add(generateObjectKey(object), object, servant, poa); | public Obj add(ServantDelegateImpl delegate) { Obj rec = new Obj(delegate.object, delegate.servant_id, delegate.servant, delegate.poa ); objects.put(delegate.servant_id, rec); return rec; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/AOM.java/buggy/core/src/classpath/gnu/gnu/CORBA/Poa/AOM.java |
Iterator iter = objects.entrySet().iterator(); | Iterator iter; | public Obj findObject(org.omg.CORBA.Object stored_object) { if (stored_object == null) return null; Map.Entry item; Iterator iter = objects.entrySet().iterator(); Obj ref; while (iter.hasNext()) { item = (Map.Entry) iter.next(); ref = (Obj) item.getValue(); if (stored_ob... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/AOM.java/buggy/core/src/classpath/gnu/gnu/CORBA/Poa/AOM.java |
if (stored_object instanceof ObjectImpl) { Delegate d = ((ObjectImpl) stored_object)._get_delegate(); Delegate d2; if (d != null) { iter = objects.entrySet().iterator(); while (iter.hasNext()) { item = (Map.Entry) iter.next(); ref = (Obj) item.getValue(); d2 = ref.object._get_delegate(); if (d == d2 || (d2 != null &... | public Obj findObject(org.omg.CORBA.Object stored_object) { if (stored_object == null) return null; Map.Entry item; Iterator iter = objects.entrySet().iterator(); Obj ref; while (iter.hasNext()) { item = (Map.Entry) iter.next(); ref = (Obj) item.getValue(); if (stored_ob... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/AOM.java/buggy/core/src/classpath/gnu/gnu/CORBA/Poa/AOM.java | |
public OBJ_ADAPTER(String reason, int minor, CompletionStatus completed) | public OBJ_ADAPTER(String message) | public OBJ_ADAPTER(String reason, int minor, CompletionStatus completed) { super(reason, minor, completed); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8f28a29b36e025f22e3af3a9b984c6450ba6c8d7/OBJ_ADAPTER.java/buggy/core/src/classpath/org/org/omg/CORBA/OBJ_ADAPTER.java |
super(reason, minor, completed); | super(message, 0, CompletionStatus.COMPLETED_NO); | public OBJ_ADAPTER(String reason, int minor, CompletionStatus completed) { super(reason, minor, completed); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8f28a29b36e025f22e3af3a9b984c6450ba6c8d7/OBJ_ADAPTER.java/buggy/core/src/classpath/org/org/omg/CORBA/OBJ_ADAPTER.java |
if (b.getDisabledIcon() == null) b.setDisabledIcon(icon); if (b.getDisabledSelectedIcon() == null) b.setDisabledSelectedIcon(icon); | protected void installDefaults(AbstractButton b) { super.installDefaults(b); if (b.getIcon() == null) b.setIcon(icon); if (b.getSelectedIcon() == null) b.setSelectedIcon(icon); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/BasicRadioButtonUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicRadioButtonUI.java | |
if (b.isSelected()) | if (b.isSelected() && b.isEnabled()) | public void paint(Graphics g, JComponent c) { AbstractButton b = (AbstractButton) c; Rectangle tr = new Rectangle(); Rectangle ir = new Rectangle(); Rectangle vr = new Rectangle(); Font f = c.getFont(); g.setFont(f); Icon currentIcon = null; if (b.isSelected()) currentIcon = b.getSelecte... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/BasicRadioButtonUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicRadioButtonUI.java |
else | else if (!b.isSelected() && b.isEnabled()) | public void paint(Graphics g, JComponent c) { AbstractButton b = (AbstractButton) c; Rectangle tr = new Rectangle(); Rectangle ir = new Rectangle(); Rectangle vr = new Rectangle(); Font f = c.getFont(); g.setFont(f); Icon currentIcon = null; if (b.isSelected()) currentIcon = b.getSelecte... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/BasicRadioButtonUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicRadioButtonUI.java |
if (b.hasFocus()) | if (b.hasFocus() && b.isFocusPainted()) | public void paint(Graphics g, JComponent c) { AbstractButton b = (AbstractButton) c; Rectangle tr = new Rectangle(); Rectangle ir = new Rectangle(); Rectangle vr = new Rectangle(); Font f = c.getFont(); g.setFont(f); Icon currentIcon = null; if (b.isSelected()) currentIcon = b.getSelecte... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/BasicRadioButtonUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicRadioButtonUI.java |
public void setSelectedIcon(Icon selectedIcon) { } | public void setSelectedIcon(Icon selectedIcon) { Icon old = selected_icon; selected_icon = selectedIcon; if (old != selectedIcon) { firePropertyChange(SELECTED_ICON_CHANGED_PROPERTY, old, selectedIcon); revalidate(); repaint(); } } | public void setSelectedIcon(Icon selectedIcon) { // Sets the selected icon for the button. } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/AbstractButton.java/buggy/core/src/classpath/javax/javax/swing/AbstractButton.java |
public void setDisabledIcon(Icon disabledIcon) { disabled_button = disabledIcon; revalidate(); repaint(); } | public void setDisabledIcon(Icon disabledIcon) { disabled_icon = disabledIcon; revalidate(); repaint(); } | public void setDisabledIcon(Icon disabledIcon) { disabled_button = disabledIcon; revalidate(); repaint(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/AbstractButton.java/buggy/core/src/classpath/javax/javax/swing/AbstractButton.java |
public void setDisabledSelectedIcon(Icon disabledSelectedIcon) { } | public void setDisabledSelectedIcon(Icon disabledSelectedIcon) { Icon old = disabled_selected_icon; disabled_selected_icon = disabledSelectedIcon; if (old != disabledSelectedIcon) { firePropertyChange(DISABLED_SELECTED_ICON_CHANGED_PROPERTY, old, disabledSelectedIcon); revalidate(); repaint(); } } | public void setDisabledSelectedIcon(Icon disabledSelectedIcon) { // Sets the disabled selection icon for the button. } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/AbstractButton.java/buggy/core/src/classpath/javax/javax/swing/AbstractButton.java |
public final void resolveCpRefs(VmClassLoader clc) { | public final void resolveCpRefs() { | public final void resolveCpRefs(VmClassLoader clc) { if (!resolvedCpRefs) { prepare(); if (superClass != null) { superClass.resolveCpRefs(clc); } /** * Step 2b: Load the classes of my fields */ final int fcnt = getNoDeclaredFields(); for (int i = 0; i < fcnt; i++) { final VmField fs = fieldTab... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/578e69457c85cdcc9a5372e1ecffff908633297c/VmType.java/clean/core/src/core/org/jnode/vm/classmgr/VmType.java |
superClass.resolveCpRefs(clc); | superClass.resolveCpRefs(); | public final void resolveCpRefs(VmClassLoader clc) { if (!resolvedCpRefs) { prepare(); if (superClass != null) { superClass.resolveCpRefs(clc); } /** * Step 2b: Load the classes of my fields */ final int fcnt = getNoDeclaredFields(); for (int i = 0; i < fcnt; i++) { final VmField fs = fieldTab... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/578e69457c85cdcc9a5372e1ecffff908633297c/VmType.java/clean/core/src/core/org/jnode/vm/classmgr/VmType.java |
fs.resolve(clc); | fs.resolve(); | public final void resolveCpRefs(VmClassLoader clc) { if (!resolvedCpRefs) { prepare(); if (superClass != null) { superClass.resolveCpRefs(clc); } /** * Step 2b: Load the classes of my fields */ final int fcnt = getNoDeclaredFields(); for (int i = 0; i < fcnt; i++) { final VmField fs = fieldTab... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/578e69457c85cdcc9a5372e1ecffff908633297c/VmType.java/clean/core/src/core/org/jnode/vm/classmgr/VmType.java |
mts.resolve(clc); | mts.resolve(); | public final void resolveCpRefs(VmClassLoader clc) { if (!resolvedCpRefs) { prepare(); if (superClass != null) { superClass.resolveCpRefs(clc); } /** * Step 2b: Load the classes of my fields */ final int fcnt = getNoDeclaredFields(); for (int i = 0; i < fcnt; i++) { final VmField fs = fieldTab... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/578e69457c85cdcc9a5372e1ecffff908633297c/VmType.java/clean/core/src/core/org/jnode/vm/classmgr/VmType.java |
((VmResolvableConstObject) obj).resolve(clc); | ((VmResolvableConstObject) obj).resolve(loader); | public final void resolveCpRefs(VmClassLoader clc) { if (!resolvedCpRefs) { prepare(); if (superClass != null) { superClass.resolveCpRefs(clc); } /** * Step 2b: Load the classes of my fields */ final int fcnt = getNoDeclaredFields(); for (int i = 0; i < fcnt; i++) { final VmField fs = fieldTab... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/578e69457c85cdcc9a5372e1ecffff908633297c/VmType.java/clean/core/src/core/org/jnode/vm/classmgr/VmType.java |
public ExceptionInInitializerError(Throwable t) | public ExceptionInInitializerError() | public ExceptionInInitializerError(Throwable t) { super(null); initCause(t); exception = t; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/ExceptionInInitializerError.java/buggy/core/src/classpath/java/java/lang/ExceptionInInitializerError.java |
super(null); initCause(t); exception = t; | this((String) null); | public ExceptionInInitializerError(Throwable t) { super(null); initCause(t); exception = t; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/ExceptionInInitializerError.java/buggy/core/src/classpath/java/java/lang/ExceptionInInitializerError.java |
this.data = (VmInterfaceClass)type; | this.data = (VmInterfaceClass<?>)type; | protected void resolve(VmClassLoader clc) throws ClassNotFoundException { final Object data = this.data; if (data instanceof String) { final String className = (String)data; final VmType<?> type = clc.loadClass(className, true); if (type instanceof VmInterfaceClass) { this.data = (VmInterfac... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/982e1b1b1ed579528f868755d8a932bed0e03228/VmImplementedInterface.java/buggy/core/src/core/org/jnode/vm/classmgr/VmImplementedInterface.java |
protected synchronized void resolve(VmClassLoader cl) { | protected final synchronized void resolve() { | protected synchronized void resolve(VmClassLoader cl) { try { type = new Signature(getSignature(), declaringClass.getLoader()).getType(); } catch (ClassNotFoundException ex) { throw (Error)new NoClassDefFoundError().initCause(ex); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/578e69457c85cdcc9a5372e1ecffff908633297c/VmField.java/buggy/core/src/core/org/jnode/vm/classmgr/VmField.java |
protected void resolve(VmClassLoader cl) { | protected final void resolve() { | protected void resolve(VmClassLoader cl) { resolveTypes(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/578e69457c85cdcc9a5372e1ecffff908633297c/VmMethod.java/buggy/core/src/core/org/jnode/vm/classmgr/VmMethod.java |
{ throw new IndexOutOfBoundsException("index=" + index + ", size=" + size()); } | throw new IndexOutOfBoundsException("index=" + index + ", size=" + size()); | public Object get(int index) { if (index < 0 || index >= size()) { throw new IndexOutOfBoundsException("index=" + index + ", size=" + size()); } return sequence[index]; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3a66fbdd7aa8ebdfaab43610332f1a4d60081b57/Sequence.java/clean/core/src/classpath/gnu/gnu/java/security/util/Sequence.java |
CallTemplateNode(TemplateNode children, TemplateNode next, QName name, List withParams) | CallTemplateNode(QName name, List withParams) | CallTemplateNode(TemplateNode children, TemplateNode next, QName name, List withParams) { super(children, next); this.name = name; this.withParams = withParams; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b8e6f02cb6a820cbb793320542ee01a4b70f176a/CallTemplateNode.java/buggy/core/src/classpath/gnu/gnu/xml/transform/CallTemplateNode.java |
super(children, next); | CallTemplateNode(TemplateNode children, TemplateNode next, QName name, List withParams) { super(children, next); this.name = name; this.withParams = withParams; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b8e6f02cb6a820cbb793320542ee01a4b70f176a/CallTemplateNode.java/buggy/core/src/classpath/gnu/gnu/xml/transform/CallTemplateNode.java | |
return new CallTemplateNode((children == null) ? null : children.clone(stylesheet), (next == null) ? null : next.clone(stylesheet), name, withParams2); | TemplateNode ret = new CallTemplateNode(name, withParams2); if (children != null) { ret.children = children.clone(stylesheet); } if (next != null) { ret.next = next.clone(stylesheet); } return ret; | TemplateNode clone(Stylesheet stylesheet) { int len = withParams.size(); List withParams2 = new ArrayList(len); for (int i = 0; i < len; i++) { withParams2.add(((WithParam) withParams.get(i)).clone(stylesheet)); } return new CallTemplateNode((children == null) ? null : ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b8e6f02cb6a820cbb793320542ee01a4b70f176a/CallTemplateNode.java/buggy/core/src/classpath/gnu/gnu/xml/transform/CallTemplateNode.java |
invalidate(); | public void updateUI() { setUI((SeparatorUI) UIManager.getUI(this)); invalidate(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/563d61706c08a9c62b0e997a1e5a45e90d1e8cd7/JSeparator.java/clean/core/src/classpath/javax/javax/swing/JSeparator.java | |
throw new Error ("Not implemented"); | if (targetChild == null) throw new IllegalArgumentException(); if (children.containsKey(targetChild)) return false; children.put(targetChild, targetChild); return true; | public boolean add (Object targetChild) { throw new Error ("Not implemented"); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/320c6e82f0607a5c7ec66c594ec20bb9010947d1/BeanContextSupport.java/clean/core/src/classpath/java/java/beans/beancontext/BeanContextSupport.java |
throw new Error ("Not implemented"); | throw new UnsupportedOperationException(); | public boolean addAll (Collection c) { throw new Error ("Not implemented"); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/320c6e82f0607a5c7ec66c594ec20bb9010947d1/BeanContextSupport.java/clean/core/src/classpath/java/java/beans/beancontext/BeanContextSupport.java |
public void addBeanContextMembershipListener (BeanContextMembershipListener bcml) | public void addBeanContextMembershipListener (BeanContextMembershipListener listener) | public void addBeanContextMembershipListener (BeanContextMembershipListener bcml) { throw new Error ("Not implemented"); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/320c6e82f0607a5c7ec66c594ec20bb9010947d1/BeanContextSupport.java/clean/core/src/classpath/java/java/beans/beancontext/BeanContextSupport.java |
throw new Error ("Not implemented"); | if (! bcmListeners.contains(listener)) bcmListeners.add(listener); | public void addBeanContextMembershipListener (BeanContextMembershipListener bcml) { throw new Error ("Not implemented"); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/320c6e82f0607a5c7ec66c594ec20bb9010947d1/BeanContextSupport.java/clean/core/src/classpath/java/java/beans/beancontext/BeanContextSupport.java |
throw new Error ("Not implemented"); | throw new UnsupportedOperationException(); | public void clear () { throw new Error ("Not implemented"); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/320c6e82f0607a5c7ec66c594ec20bb9010947d1/BeanContextSupport.java/clean/core/src/classpath/java/java/beans/beancontext/BeanContextSupport.java |
throw new Error ("Not implemented"); | return locale; | public Locale getLocale () { throw new Error ("Not implemented"); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/320c6e82f0607a5c7ec66c594ec20bb9010947d1/BeanContextSupport.java/clean/core/src/classpath/java/java/beans/beancontext/BeanContextSupport.java |
throw new Error ("Not implemented"); | bcmListeners = new ArrayList(); children = new HashMap(); | protected void initialize () { throw new Error ("Not implemented"); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/320c6e82f0607a5c7ec66c594ec20bb9010947d1/BeanContextSupport.java/clean/core/src/classpath/java/java/beans/beancontext/BeanContextSupport.java |
throw new Error ("Not implemented"); | return children.keySet().iterator(); | public Iterator iterator () { throw new Error ("Not implemented"); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/320c6e82f0607a5c7ec66c594ec20bb9010947d1/BeanContextSupport.java/clean/core/src/classpath/java/java/beans/beancontext/BeanContextSupport.java |
throw new Error ("Not implemented"); | return remove(targetChild, true); | public boolean remove (Object targetChild) { throw new Error ("Not implemented"); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/320c6e82f0607a5c7ec66c594ec20bb9010947d1/BeanContextSupport.java/clean/core/src/classpath/java/java/beans/beancontext/BeanContextSupport.java |
throw new Error ("Not implemented"); | throw new UnsupportedOperationException(); | public boolean removeAll (Collection c) { throw new Error ("Not implemented"); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/320c6e82f0607a5c7ec66c594ec20bb9010947d1/BeanContextSupport.java/clean/core/src/classpath/java/java/beans/beancontext/BeanContextSupport.java |
throw new Error ("Not implemented"); | throw new UnsupportedOperationException(); | public boolean retainAll (Collection c) { throw new Error ("Not implemented"); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/320c6e82f0607a5c7ec66c594ec20bb9010947d1/BeanContextSupport.java/clean/core/src/classpath/java/java/beans/beancontext/BeanContextSupport.java |
throw new Error ("Not implemented"); | return children.keySet().toArray(); | public Object[] toArray () { throw new Error ("Not implemented"); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/320c6e82f0607a5c7ec66c594ec20bb9010947d1/BeanContextSupport.java/clean/core/src/classpath/java/java/beans/beancontext/BeanContextSupport.java |
Enumeration enum; | Enumeration e; | public int getLeafCount() { // Variables Enumeration enum; int count; TreeNode current; // Get Enumeration of all descendants enum = depthFirstEnumeration(); // Process Nodes count = 0; while (enum.hasMoreElements() == true) { current = (TreeNode) enum.nextElement(); if (current.isLeaf() == true) { c... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DefaultMutableTreeNode.java/clean/core/src/classpath/javax/javax/swing/tree/DefaultMutableTreeNode.java |
enum = depthFirstEnumeration(); | e = depthFirstEnumeration(); | public int getLeafCount() { // Variables Enumeration enum; int count; TreeNode current; // Get Enumeration of all descendants enum = depthFirstEnumeration(); // Process Nodes count = 0; while (enum.hasMoreElements() == true) { current = (TreeNode) enum.nextElement(); if (current.isLeaf() == true) { c... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DefaultMutableTreeNode.java/clean/core/src/classpath/javax/javax/swing/tree/DefaultMutableTreeNode.java |
while (enum.hasMoreElements() == true) { current = (TreeNode) enum.nextElement(); | while (e.hasMoreElements() == true) { current = (TreeNode) e.nextElement(); | public int getLeafCount() { // Variables Enumeration enum; int count; TreeNode current; // Get Enumeration of all descendants enum = depthFirstEnumeration(); // Process Nodes count = 0; while (enum.hasMoreElements() == true) { current = (TreeNode) enum.nextElement(); if (current.isLeaf() == true) { c... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DefaultMutableTreeNode.java/clean/core/src/classpath/javax/javax/swing/tree/DefaultMutableTreeNode.java |
return count; } | public int getLeafCount() { // Variables Enumeration enum; int count; TreeNode current; // Get Enumeration of all descendants enum = depthFirstEnumeration(); // Process Nodes count = 0; while (enum.hasMoreElements() == true) { current = (TreeNode) enum.nextElement(); if (current.isLeaf() == true) { c... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DefaultMutableTreeNode.java/clean/core/src/classpath/javax/javax/swing/tree/DefaultMutableTreeNode.java | |
UIDefaults defaults = UIManager.getLookAndFeelDefaults(); list.setForeground(defaults.getColor("List.foreground")); list.setBackground(defaults.getColor("List.background")); list.setSelectionForeground(defaults.getColor("List.selectionForeground")); list.setSelectionBackground(defaults.getColor("List.selectionBackgroun... | LookAndFeel.installColorsAndFont(list, "List.background", "List.foreground", "List.font"); list.setSelectionForeground(UIManager.getColor("List.selectionForeground")); list.setSelectionBackground(UIManager.getColor("List.selectionBackground")); | protected void installDefaults() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); list.setForeground(defaults.getColor("List.foreground")); list.setBackground(defaults.getColor("List.background")); list.setSelectionForeground(defaults.getColor("List.selectionForeground")); list.setSelection... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/BasicListUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicListUI.java |
r.translate(0, (int) r.getHeight()); | r.translate(0, (int) r.getHeight() - 1); | public int getLastVisibleIndex() { ComponentOrientation or = getComponentOrientation(); Rectangle r = getVisibleRect(); r.translate(0, (int) r.getHeight()); if (or == ComponentOrientation.LEFT_TO_RIGHT) r.translate((int) r.getWidth(), 0); return getUI().locationToIndex(this, r.getLocation()); ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/03ccc48ad99f370100d28d05282f5ecf9aba8ad6/JList.java/buggy/core/src/classpath/javax/javax/swing/JList.java |
r.translate((int) r.getWidth(), 0); | r.translate((int) r.getWidth() - 1, 0); | public int getLastVisibleIndex() { ComponentOrientation or = getComponentOrientation(); Rectangle r = getVisibleRect(); r.translate(0, (int) r.getHeight()); if (or == ComponentOrientation.LEFT_TO_RIGHT) r.translate((int) r.getWidth(), 0); return getUI().locationToIndex(this, r.getLocation()); ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/03ccc48ad99f370100d28d05282f5ecf9aba8ad6/JList.java/buggy/core/src/classpath/javax/javax/swing/JList.java |
w = 7; h = 15; | w = 7; h = 15; | public void addNotify() { super.addNotify(); /* FontMetrics fm = getGraphics().getFontMetrics(); w = fm.getMaxAdvance(); h = fm.getHeight() + 1; */ w = 7; h = 15; screen.setSize(screen.getMaximumSize()); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f3732a1343a9f8ee06b01f0d2463e7f03a54e0b4/SwingPcTextScreen.java/buggy/gui/src/driver/org/jnode/driver/textscreen/swing/SwingPcTextScreen.java |
public void close(){ | public void close() { | public void close(){ frame.dispose(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f3732a1343a9f8ee06b01f0d2463e7f03a54e0b4/SwingPcTextScreen.java/buggy/gui/src/driver/org/jnode/driver/textscreen/swing/SwingPcTextScreen.java |
this.threadGroup = new ThreadGroup("Process-" + id, this); | this.threadGroup = new ThreadGroup("Process-" + id); | public VmProcess(String mainClassName, String[] args, InputStream in, PrintStream out, PrintStream err) { synchronized (getClass()) { this.id = lastId++; } this.running = true; this.threadGroup = new ThreadGroup("Process-" + id, this); this.mainClassName = mainClassName; if (args == null) { this.args = new S... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f430efb81bd22eb38981cff753b29a9fe438ed2f/VmProcess.java/clean/core/src/core/org/jnode/vm/VmProcess.java |
JMenuBar() { } | public JMenuBar() { selectionModel = new DefaultSingleSelectionModel(); paintBorder = true; updateUI(); } | JMenuBar() { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JMenuBar.java/buggy/core/src/classpath/javax/javax/swing/JMenuBar.java |
FileDescriptor(ByteChannel channel) | public FileDescriptor() | FileDescriptor(ByteChannel channel) { this.channel = channel; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/67c2ff0c3d34dd004ba0d996a7c4de7175721249/FileDescriptor.java/buggy/core/src/classpath/java/java/io/FileDescriptor.java |
this.channel = channel; | channel = null; | FileDescriptor(ByteChannel channel) { this.channel = channel; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/67c2ff0c3d34dd004ba0d996a7c4de7175721249/FileDescriptor.java/buggy/core/src/classpath/java/java/io/FileDescriptor.java |
if (tc.isEnabled() && tc.isEditable()) | enabledTextBorder = tc.isEnabled() && tc.isEditable(); } else enabledTextBorder = false; if (enabledTextBorder) | public void paintBorder(Component c, Graphics g, int x, int y, int w, int h) { JTextComponent tc = (JTextComponent) c; if (tc.isEnabled() && tc.isEditable()) super.paintBorder(c, g, x, y, w, h); else { Color savedColor = g.getColor(); g.setColor(MetalLookAnd... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/MetalBorders.java/buggy/core/src/classpath/javax/javax/swing/plaf/metal/MetalBorders.java |
if (gt) { | if (!gt) { | final static void compare(AbstractX86Stream os, EmitterContext ec, VirtualStack vstack, boolean gt, int type, Label curInstrLabel) { final Item v2 = vstack.pop(type); final Item v1 = vstack.pop(type); // Prepare operands final FPUStack fpuStack = vstack.fpuStack; final Register reg; reg = prepareForOperation(o... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7f3f443c80552e30cb144c1a1ce760d89fa35f2b/FPUHelper.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/FPUHelper.java |
/* ignore all errors */ | queue.stop(); | public void run() { TimerTask task; while ((task = queue.serve()) != null) { // If this task has not been canceled if (task.scheduled >= 0) { // Mark execution time task.lastExecutionTime = task.scheduled; // Repeatable task? if (task.period < 0) { // Last time this ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24b73181a09b4527eb22c4c8eb2b482d63993ef9/Timer.java/clean/core/src/classpath/java/java/util/Timer.java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.