rem stringlengths 0 477k | add stringlengths 0 313k | context stringlengths 6 599k | meta stringlengths 141 403 |
|---|---|---|---|
public ZipException (String msg) | public ZipException() | public ZipException (String msg) { super(msg); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/fd6a57fe2ed88cedb0f331b4b49081272bc198c5/ZipException.java/buggy/core/src/classpath/java/java/util/zip/ZipException.java |
super(msg); | public ZipException (String msg) { super(msg); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/fd6a57fe2ed88cedb0f331b4b49081272bc198c5/ZipException.java/buggy/core/src/classpath/java/java/util/zip/ZipException.java | |
public void setInput (byte[] buf, int off, int len) | public void setInput (byte[] buf) | public void setInput (byte[] buf, int off, int len) { input.setInput (buf, off, len); totalIn += len; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/fd6a57fe2ed88cedb0f331b4b49081272bc198c5/Inflater.java/buggy/core/src/classpath/java/java/util/zip/Inflater.java |
input.setInput (buf, off, len); totalIn += len; | setInput (buf, 0, buf.length); | public void setInput (byte[] buf, int off, int len) { input.setInput (buf, off, len); totalIn += len; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/fd6a57fe2ed88cedb0f331b4b49081272bc198c5/Inflater.java/buggy/core/src/classpath/java/java/util/zip/Inflater.java |
public int inflate (byte[] buf, int off, int len) throws DataFormatException | public int inflate (byte[] buf) throws DataFormatException | public int inflate (byte[] buf, int off, int len) throws DataFormatException { /* Special case: len may be zero */ if (len == 0) return 0; /* Check for correct buff, off, len triple */ if (0 > off || off > off + len || off + len > buf.length) throw new ArrayIndexOutOfBoundsException(); int c... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/fd6a57fe2ed88cedb0f331b4b49081272bc198c5/Inflater.java/buggy/core/src/classpath/java/java/util/zip/Inflater.java |
/* Special case: len may be zero */ if (len == 0) return 0; /* Check for correct buff, off, len triple */ if (0 > off || off > off + len || off + len > buf.length) throw new ArrayIndexOutOfBoundsException(); int count = 0; int more; do { if (mode != DECODE_CHKSUM) { /* Don't give away any output, if we are waiting for ... | return inflate (buf, 0, buf.length); | public int inflate (byte[] buf, int off, int len) throws DataFormatException { /* Special case: len may be zero */ if (len == 0) return 0; /* Check for correct buff, off, len triple */ if (0 > off || off > off + len || off + len > buf.length) throw new ArrayIndexOutOfBoundsException(); int c... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/fd6a57fe2ed88cedb0f331b4b49081272bc198c5/Inflater.java/buggy/core/src/classpath/java/java/util/zip/Inflater.java |
{ | Template(Stylesheet stylesheet, QName name, Pattern match, TemplateNode node, int precedence, double priority, QName mode) { this.stylesheet = stylesheet; this.name = name; this.match = match; this.node = node; // adjust priority if necessary // see XSLT section 5.5 Test tes... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/Template.java/buggy/core/src/classpath/gnu/gnu/xml/transform/Template.java | |
} | Template(Stylesheet stylesheet, QName name, Pattern match, TemplateNode node, int precedence, double priority, QName mode) { this.stylesheet = stylesheet; this.name = name; this.match = match; this.node = node; // adjust priority if necessary // see XSLT section 5.5 Test tes... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/Template.java/buggy/core/src/classpath/gnu/gnu/xml/transform/Template.java | |
{ | Template(Stylesheet stylesheet, QName name, Pattern match, TemplateNode node, int precedence, double priority, QName mode) { this.stylesheet = stylesheet; this.name = name; this.match = match; this.node = node; // adjust priority if necessary // see XSLT section 5.5 Test tes... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/Template.java/buggy/core/src/classpath/gnu/gnu/xml/transform/Template.java | |
} | isAnyNode = false; | Template(Stylesheet stylesheet, QName name, Pattern match, TemplateNode node, int precedence, double priority, QName mode) { this.stylesheet = stylesheet; this.name = name; this.match = match; this.node = node; // adjust priority if necessary // see XSLT section 5.5 Test tes... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/Template.java/buggy/core/src/classpath/gnu/gnu/xml/transform/Template.java |
{ | Template(Stylesheet stylesheet, QName name, Pattern match, TemplateNode node, int precedence, double priority, QName mode) { this.stylesheet = stylesheet; this.name = name; this.match = match; this.node = node; // adjust priority if necessary // see XSLT section 5.5 Test tes... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/Template.java/buggy/core/src/classpath/gnu/gnu/xml/transform/Template.java | |
} | Template(Stylesheet stylesheet, QName name, Pattern match, TemplateNode node, int precedence, double priority, QName mode) { this.stylesheet = stylesheet; this.name = name; this.match = match; this.node = node; // adjust priority if necessary // see XSLT section 5.5 Test tes... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/Template.java/buggy/core/src/classpath/gnu/gnu/xml/transform/Template.java | |
{ | Template(Stylesheet stylesheet, QName name, Pattern match, TemplateNode node, int precedence, double priority, QName mode) { this.stylesheet = stylesheet; this.name = name; this.match = match; this.node = node; // adjust priority if necessary // see XSLT section 5.5 Test tes... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/Template.java/buggy/core/src/classpath/gnu/gnu/xml/transform/Template.java | |
} | else isAnyNode = false; | Template(Stylesheet stylesheet, QName name, Pattern match, TemplateNode node, int precedence, double priority, QName mode) { this.stylesheet = stylesheet; this.name = name; this.match = match; this.node = node; // adjust priority if necessary // see XSLT section 5.5 Test tes... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/Template.java/buggy/core/src/classpath/gnu/gnu/xml/transform/Template.java |
{ | void apply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { System.err.println("...applying " + toString() + " to " + context); if (node != null) { node.apply(stylesheet, mode, ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/Template.java/buggy/core/src/classpath/gnu/gnu/xml/transform/Template.java | |
} | void apply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { System.err.println("...applying " + toString() + " to " + context); if (node != null) { node.apply(stylesheet, mode, ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/Template.java/buggy/core/src/classpath/gnu/gnu/xml/transform/Template.java | |
{ | public int compareTo(Object other) { if (other instanceof Template) { Template t = (Template) other; int d = t.precedence - precedence; if (d != 0) { return d; } double d2 = t.priority - priority; if (d2 != 0.0d) { return (in... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/Template.java/buggy/core/src/classpath/gnu/gnu/xml/transform/Template.java | |
} | public int compareTo(Object other) { if (other instanceof Template) { Template t = (Template) other; int d = t.precedence - precedence; if (d != 0) { return d; } double d2 = t.priority - priority; if (d2 != 0.0d) { return (in... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/Template.java/buggy/core/src/classpath/gnu/gnu/xml/transform/Template.java | |
{ | public int compareTo(Object other) { if (other instanceof Template) { Template t = (Template) other; int d = t.precedence - precedence; if (d != 0) { return d; } double d2 = t.priority - priority; if (d2 != 0.0d) { return (in... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/Template.java/buggy/core/src/classpath/gnu/gnu/xml/transform/Template.java | |
} | public int compareTo(Object other) { if (other instanceof Template) { Template t = (Template) other; int d = t.precedence - precedence; if (d != 0) { return d; } double d2 = t.priority - priority; if (d2 != 0.0d) { return (in... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/Template.java/buggy/core/src/classpath/gnu/gnu/xml/transform/Template.java | |
{ | Test getNodeTest(Expr expr) { if (expr instanceof Selector) { Selector selector = (Selector) expr; Test[] tests = selector.getTests(); if (tests.length > 0) { return tests[0]; } } return null; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/Template.java/buggy/core/src/classpath/gnu/gnu/xml/transform/Template.java | |
} | Test getNodeTest(Expr expr) { if (expr instanceof Selector) { Selector selector = (Selector) expr; Test[] tests = selector.getTests(); if (tests.length > 0) { return tests[0]; } } return null; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/Template.java/buggy/core/src/classpath/gnu/gnu/xml/transform/Template.java | |
{ | boolean imports(Template other) { for (Stylesheet ctx = other.stylesheet.parent; ctx != null; ctx = ctx.parent) { if (ctx == stylesheet) { return true; } } return false; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/Template.java/buggy/core/src/classpath/gnu/gnu/xml/transform/Template.java | |
} | boolean imports(Template other) { for (Stylesheet ctx = other.stylesheet.parent; ctx != null; ctx = ctx.parent) { if (ctx == stylesheet) { return true; } } return false; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/Template.java/buggy/core/src/classpath/gnu/gnu/xml/transform/Template.java | |
{ | void list(PrintStream out) { out.println(toString()); if (node != null) { node.list(1, out, true); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/Template.java/buggy/core/src/classpath/gnu/gnu/xml/transform/Template.java | |
} | void list(PrintStream out) { out.println(toString()); if (node != null) { node.list(1, out, true); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/Template.java/buggy/core/src/classpath/gnu/gnu/xml/transform/Template.java | |
{ | boolean matches(QName mode, Node node) { if ((mode == null && this.mode != null) || (mode != null && !mode.equals(this.mode))) { return false; } if (match == null) { return false; } return match.matches(node); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/Template.java/buggy/core/src/classpath/gnu/gnu/xml/transform/Template.java | |
} | boolean matches(QName mode, Node node) { if ((mode == null && this.mode != null) || (mode != null && !mode.equals(this.mode))) { return false; } if (match == null) { return false; } return match.matches(node); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/Template.java/buggy/core/src/classpath/gnu/gnu/xml/transform/Template.java | |
{ | boolean matches(QName mode, Node node) { if ((mode == null && this.mode != null) || (mode != null && !mode.equals(this.mode))) { return false; } if (match == null) { return false; } return match.matches(node); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/Template.java/buggy/core/src/classpath/gnu/gnu/xml/transform/Template.java | |
} | if (isAnyNode && node.getNodeType() == Node.DOCUMENT_NODE) return false; | boolean matches(QName mode, Node node) { if ((mode == null && this.mode != null) || (mode != null && !mode.equals(this.mode))) { return false; } if (match == null) { return false; } return match.matches(node); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/Template.java/buggy/core/src/classpath/gnu/gnu/xml/transform/Template.java |
{ | void list(int depth, PrintStream out, boolean listNext) { for (int i = 0; i < depth; i++) { out.print(" "); } out.println(toString()); if (children != null) { children.list(depth + 1, out, true); } if (listNext && next != null) { next.list(depth, out, listNe... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/TemplateNode.java/buggy/core/src/classpath/gnu/gnu/xml/transform/TemplateNode.java | |
} | void list(int depth, PrintStream out, boolean listNext) { for (int i = 0; i < depth; i++) { out.print(" "); } out.println(toString()); if (children != null) { children.list(depth + 1, out, true); } if (listNext && next != null) { next.list(depth, out, listNe... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/TemplateNode.java/buggy/core/src/classpath/gnu/gnu/xml/transform/TemplateNode.java | |
{ | void list(int depth, PrintStream out, boolean listNext) { for (int i = 0; i < depth; i++) { out.print(" "); } out.println(toString()); if (children != null) { children.list(depth + 1, out, true); } if (listNext && next != null) { next.list(depth, out, listNe... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/TemplateNode.java/buggy/core/src/classpath/gnu/gnu/xml/transform/TemplateNode.java | |
} | void list(int depth, PrintStream out, boolean listNext) { for (int i = 0; i < depth; i++) { out.print(" "); } out.println(toString()); if (children != null) { children.list(depth + 1, out, true); } if (listNext && next != null) { next.list(depth, out, listNe... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/TemplateNode.java/buggy/core/src/classpath/gnu/gnu/xml/transform/TemplateNode.java | |
{ | void list(int depth, PrintStream out, boolean listNext) { for (int i = 0; i < depth; i++) { out.print(" "); } out.println(toString()); if (children != null) { children.list(depth + 1, out, true); } if (listNext && next != null) { next.list(depth, out, listNe... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/TemplateNode.java/buggy/core/src/classpath/gnu/gnu/xml/transform/TemplateNode.java | |
} | void list(int depth, PrintStream out, boolean listNext) { for (int i = 0; i < depth; i++) { out.print(" "); } out.println(toString()); if (children != null) { children.list(depth + 1, out, true); } if (listNext && next != null) { next.list(depth, out, listNe... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/TemplateNode.java/buggy/core/src/classpath/gnu/gnu/xml/transform/TemplateNode.java | |
Object getNegotiatedProperty(String propName) throws SaslException; | Object getNegotiatedProperty(String propName); | Object getNegotiatedProperty(String propName) throws SaslException; | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e607bce31cfb856ba77722e6c4f9f876b63f1cf8/SaslServer.java/buggy/core/src/classpath/javax/javax/security/sasl/SaslServer.java |
public DecimalFormat (String pattern, DecimalFormatSymbols symbols) | public DecimalFormat () | public DecimalFormat (String pattern, DecimalFormatSymbols symbols) { if (symbols == null) { throw new NullPointerException("Supplied set of symbols is null."); } this.symbols = symbols; applyPattern(pattern); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/322bdf31032fa8067da8c0c35cf403ba70c4c1c4/DecimalFormat.java/buggy/core/src/classpath/java/java/text/DecimalFormat.java |
if (symbols == null) { throw new NullPointerException("Supplied set of symbols is null."); } this.symbols = symbols; applyPattern(pattern); | this ("#,##0.###"); | public DecimalFormat (String pattern, DecimalFormatSymbols symbols) { if (symbols == null) { throw new NullPointerException("Supplied set of symbols is null."); } this.symbols = symbols; applyPattern(pattern); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/322bdf31032fa8067da8c0c35cf403ba70c4c1c4/DecimalFormat.java/buggy/core/src/classpath/java/java/text/DecimalFormat.java |
public NO_IMPLEMENT() | public NO_IMPLEMENT(String message) | public NO_IMPLEMENT() { super("", 0, CompletionStatus.COMPLETED_NO); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8f28a29b36e025f22e3af3a9b984c6450ba6c8d7/NO_IMPLEMENT.java/buggy/core/src/classpath/org/org/omg/CORBA/NO_IMPLEMENT.java |
super("", 0, CompletionStatus.COMPLETED_NO); | super(message, 0, CompletionStatus.COMPLETED_NO); | public NO_IMPLEMENT() { super("", 0, CompletionStatus.COMPLETED_NO); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8f28a29b36e025f22e3af3a9b984c6450ba6c8d7/NO_IMPLEMENT.java/buggy/core/src/classpath/org/org/omg/CORBA/NO_IMPLEMENT.java |
public PendingBuffer(int bufsize) | public PendingBuffer() | public PendingBuffer(int bufsize) { buf = new byte[bufsize]; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/fd6a57fe2ed88cedb0f331b4b49081272bc198c5/PendingBuffer.java/buggy/core/src/classpath/java/java/util/zip/PendingBuffer.java |
buf = new byte[bufsize]; | this( 4096 ); | public PendingBuffer(int bufsize) { buf = new byte[bufsize]; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/fd6a57fe2ed88cedb0f331b4b49081272bc198c5/PendingBuffer.java/buggy/core/src/classpath/java/java/util/zip/PendingBuffer.java |
public Object clone() { try { | public Object clone() { try { | public Object clone() { try { // The JCL says that the `extra' field is also copied. ZipEntry clone = (ZipEntry) super.clone(); if (extra != null) clone.extra = (byte[]) extra.clone(); return clone; } catch (CloneNotSupportedException ex) { throw new InternalError(); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/ZipEntry.java/buggy/core/src/classpath/java/java/util/zip/ZipEntry.java |
} catch (CloneNotSupportedException ex) { | } catch (CloneNotSupportedException ex) { | public Object clone() { try { // The JCL says that the `extra' field is also copied. ZipEntry clone = (ZipEntry) super.clone(); if (extra != null) clone.extra = (byte[]) extra.clone(); return clone; } catch (CloneNotSupportedException ex) { throw new InternalError(); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/ZipEntry.java/buggy/core/src/classpath/java/java/util/zip/ZipEntry.java |
public RandomAccessFile (String fileName, String mode) | public RandomAccessFile (File file, String mode) | public RandomAccessFile (String fileName, String mode) throws FileNotFoundException { this (new File(fileName), mode); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ba6c8424cfc5e0b2250088f94b5bbf356d91781a/RandomAccessFile.java/buggy/core/src/classpath/5.0/java/io/RandomAccessFile.java |
this (new File(fileName), mode); | int fdmode; if (mode.equals("r")) fdmode = FileChannelImpl.READ; else if (mode.equals("rw")) fdmode = FileChannelImpl.READ | FileChannelImpl.WRITE; else if (mode.equals("rws")) { fdmode = (FileChannelImpl.READ | FileChannelImpl.WRITE | FileChannelImpl.SYNC); } else if (mode.equals("rwd")) { fdmode = (FileChannelImpl.RE... | public RandomAccessFile (String fileName, String mode) throws FileNotFoundException { this (new File(fileName), mode); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ba6c8424cfc5e0b2250088f94b5bbf356d91781a/RandomAccessFile.java/buggy/core/src/classpath/5.0/java/io/RandomAccessFile.java |
public int getMethod() { | public int getMethod() { | public int getMethod() { return method; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/ZipEntry.java/buggy/core/src/classpath/java/java/util/zip/ZipEntry.java |
public long getCompressedSize() { | public long getCompressedSize() { | public long getCompressedSize() { return (known & KNOWN_CSIZE) != 0 ? compressedSize & 0xffffffffL : -1L; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/ZipEntry.java/buggy/core/src/classpath/java/java/util/zip/ZipEntry.java |
public void setMethod(int method) { if (method != ZipOutputStream.STORED && method != ZipOutputStream.DEFLATED) | public void setMethod(int method) { if (method != ZipOutputStream.STORED && method != ZipOutputStream.DEFLATED) | public void setMethod(int method) { if (method != ZipOutputStream.STORED && method != ZipOutputStream.DEFLATED) throw new IllegalArgumentException(); this.method = (short) method; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/ZipEntry.java/buggy/core/src/classpath/java/java/util/zip/ZipEntry.java |
public void setCrc(long crc) { if ((crc & 0xffffffff00000000L) != 0) { throw new IllegalArgumentException("invalid crc"); } | public void setCrc(long crc) { if ((crc & 0xffffffff00000000L) != 0) throw new IllegalArgumentException(); | public void setCrc(long crc) { if ((crc & 0xffffffff00000000L) != 0) { throw new IllegalArgumentException("invalid crc"); } this.crc = (int) crc; this.known |= KNOWN_CRC; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/ZipEntry.java/buggy/core/src/classpath/java/java/util/zip/ZipEntry.java |
public void setSize(long size) { | public void setSize(long size) { | public void setSize(long size) { if ((size & 0xffffffff00000000L) != 0) throw new IllegalArgumentException(); this.size = (int) size; this.known |= KNOWN_SIZE; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/ZipEntry.java/buggy/core/src/classpath/java/java/util/zip/ZipEntry.java |
public void setCompressedSize(long csize) { | public void setCompressedSize(long csize) { | public void setCompressedSize(long csize) { if ((csize & 0xffffffff00000000L) != 0) throw new IllegalArgumentException(); this.compressedSize = (int) csize; this.known |= KNOWN_CSIZE; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/ZipEntry.java/buggy/core/src/classpath/java/java/util/zip/ZipEntry.java |
final void setDOSTime(int dostime) { | final void setDOSTime(int dostime) { | final void setDOSTime(int dostime) { this.dostime = dostime; known |= KNOWN_TIME; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/ZipEntry.java/buggy/core/src/classpath/java/java/util/zip/ZipEntry.java |
public void setExtra(byte[] extra) { if (extra == null) { | public void setExtra(byte[] extra) { if (extra == null) { | public void setExtra(byte[] extra) { if (extra == null) { this.extra = null; return; } if (extra.length > 0xffff) throw new IllegalArgumentException(); this.extra = extra; try { int pos = 0; while (pos < extra.length) { int sig = (extra[pos++] & 0xff) | (extra[pos++] & 0xff) << 8; int len = (extra... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/ZipEntry.java/buggy/core/src/classpath/java/java/util/zip/ZipEntry.java |
try { | try { | public void setExtra(byte[] extra) { if (extra == null) { this.extra = null; return; } if (extra.length > 0xffff) throw new IllegalArgumentException(); this.extra = extra; try { int pos = 0; while (pos < extra.length) { int sig = (extra[pos++] & 0xff) | (extra[pos++] & 0xff) << 8; int len = (extra... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/ZipEntry.java/buggy/core/src/classpath/java/java/util/zip/ZipEntry.java |
while (pos < extra.length) { int sig = (extra[pos++] & 0xff) | (extra[pos++] & 0xff) << 8; int len = (extra[pos++] & 0xff) | (extra[pos++] & 0xff) << 8; if (sig == 0x5455) { | while (pos < extra.length) { int sig = (extra[pos++] & 0xff) | (extra[pos++] & 0xff) << 8; int len = (extra[pos++] & 0xff) | (extra[pos++] & 0xff) << 8; if (sig == 0x5455) { | public void setExtra(byte[] extra) { if (extra == null) { this.extra = null; return; } if (extra.length > 0xffff) throw new IllegalArgumentException(); this.extra = extra; try { int pos = 0; while (pos < extra.length) { int sig = (extra[pos++] & 0xff) | (extra[pos++] & 0xff) << 8; int len = (extra... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/ZipEntry.java/buggy/core/src/classpath/java/java/util/zip/ZipEntry.java |
if ((flags & 1) != 0) { long time = ((extra[pos + 1] & 0xff) | (extra[pos + 2] & 0xff) << 8 | (extra[pos + 3] & 0xff) << 16 | (extra[pos + 4] & 0xff) << 24); | if ((flags & 1) != 0) { long time = ((extra[pos+1] & 0xff) | (extra[pos+2] & 0xff) << 8 | (extra[pos+3] & 0xff) << 16 | (extra[pos+4] & 0xff) << 24); | public void setExtra(byte[] extra) { if (extra == null) { this.extra = null; return; } if (extra.length > 0xffff) throw new IllegalArgumentException(); this.extra = extra; try { int pos = 0; while (pos < extra.length) { int sig = (extra[pos++] & 0xff) | (extra[pos++] & 0xff) << 8; int len = (extra... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/ZipEntry.java/buggy/core/src/classpath/java/java/util/zip/ZipEntry.java |
} catch (ArrayIndexOutOfBoundsException ex) { | } catch (ArrayIndexOutOfBoundsException ex) { | public void setExtra(byte[] extra) { if (extra == null) { this.extra = null; return; } if (extra.length > 0xffff) throw new IllegalArgumentException(); this.extra = extra; try { int pos = 0; while (pos < extra.length) { int sig = (extra[pos++] & 0xff) | (extra[pos++] & 0xff) << 8; int len = (extra... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/ZipEntry.java/buggy/core/src/classpath/java/java/util/zip/ZipEntry.java |
public void setComment(String comment) { if (comment.length() > 0xffff) | public void setComment(String comment) { if (comment != null && comment.length() > 0xffff) | public void setComment(String comment) { if (comment.length() > 0xffff) throw new IllegalArgumentException(); this.comment = comment; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/ZipEntry.java/buggy/core/src/classpath/java/java/util/zip/ZipEntry.java |
int x, int y, int clickCount, boolean popupTrigger) | int x, int y, int clickCount, boolean popupTrigger, int button) | public MouseEvent(Component source, int id, long when, int modifiers, int x, int y, int clickCount, boolean popupTrigger) { this(source, id, when, modifiers, x, y, clickCount, popupTrigger, NOBUTTON); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/MouseEvent.java/buggy/core/src/classpath/java/java/awt/event/MouseEvent.java |
this(source, id, when, modifiers, x, y, clickCount, popupTrigger, NOBUTTON); | super(source, id, when, modifiers); this.x = x; this.y = y; this.clickCount = clickCount; this.popupTrigger = popupTrigger; this.button = button; if (button < NOBUTTON || button > BUTTON3) throw new IllegalArgumentException(); if ((modifiers & EventModifier.OLD_MASK) != 0) { if ((modifiers & BUTTON1_MASK) != 0) this.bu... | public MouseEvent(Component source, int id, long when, int modifiers, int x, int y, int clickCount, boolean popupTrigger) { this(source, id, when, modifiers, x, y, clickCount, popupTrigger, NOBUTTON); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/MouseEvent.java/buggy/core/src/classpath/java/java/awt/event/MouseEvent.java |
emmit(out); | emit(out); | public void performTwoPasses(Reader reader, OutputStream out) throws Exception{ StringWriter sw = new StringWriter(); char[] buf = new char[1024]; for(int count; (count = reader.read(buf)) > -1; sw.write(buf, 0, count)); sw.flush(); sw.close(); String data = sw.toString(); ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/82fc0ae80f4a9b2a303cad50a43f7e852298607c/Assembler.java/buggy/builder/src/builder/org/jnode/jnasm/assembler/Assembler.java |
AbstractFormatter formatter = createFormatter(newValue); try { setText(formatter.valueToString(newValue)); } catch (ParseException ex) { } | public void setValue (Object newValue) { if (value == newValue) return; Object oldValue = value; value = newValue; firePropertyChange("value", oldValue, newValue); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1edc4cba009ff2c639001f1fd1842c4da4b86249/JFormattedTextField.java/buggy/core/src/classpath/javax/javax/swing/JFormattedTextField.java | |
{ return "JEditorPane"; } | { return "EditorPaneUI"; } | public String getUIClassID() { return "JEditorPane"; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/JEditorPane.java/buggy/core/src/classpath/javax/javax/swing/JEditorPane.java |
public String toExternalForm() { | public String toExternalForm() { | public String toExternalForm() { // Identical to toString(). return handler.toExternalForm(this); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9ce66a563f0f5fab6f343b0309996bee3627787a/URL.java/buggy/core/src/classpath/java/java/net/URL.java |
return handler.toExternalForm(this); | return ph.toExternalForm(this); | public String toExternalForm() { // Identical to toString(). return handler.toExternalForm(this); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9ce66a563f0f5fab6f343b0309996bee3627787a/URL.java/buggy/core/src/classpath/java/java/net/URL.java |
public String getValue(Name name) | public String getValue(String name) | public String getValue(Name name) { return (String) get(name); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b12e4b97d99b73f08ccf219bf0a3ffe50371c94a/Attributes.java/buggy/core/src/classpath/java/java/util/jar/Attributes.java |
return (String) get(name); | return (String) get(new Name(name)); | public String getValue(Name name) { return (String) get(name); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b12e4b97d99b73f08ccf219bf0a3ffe50371c94a/Attributes.java/buggy/core/src/classpath/java/java/util/jar/Attributes.java |
String replacementText); | EntityDeclaration declaration); | public abstract EntityReference createEntityReference(String name, String replacementText); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/89208158729137f73c8259a059fc5845c4da3e56/XMLEventFactory.java/clean/core/src/classpath/javax/javax/xml/stream/XMLEventFactory.java |
Attribute(String name, String value) | Attribute(String name, String value, boolean specified) | Attribute(String name, String value) { this.name = name; this.value = value; this.nameSpace = ""; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/SAXDriver.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/SAXDriver.java |
this.specified = specified; | Attribute(String name, String value) { this.name = name; this.value = value; this.nameSpace = ""; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/SAXDriver.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/SAXDriver.java | |
if (attributeCount == attributeSpecified.length) { boolean temp [] = new boolean [attributeSpecified.length + 5]; System.arraycopy (attributeSpecified, 0, temp, 0, attributeCount); attributeSpecified = temp; } attributeSpecified [attributeCount] = isSpecified; | void attribute (String qname, String value, boolean isSpecified) throws SAXException { if (!attributes) { attributes = true; if (namespaces) prefixStack.pushContext (); } // process namespace decls immediately; // then maybe forget this as an attribute if (namespaces) { int index; // default... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/SAXDriver.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/SAXDriver.java | |
attributesList.add(new Attribute(qname, value)); | attributesList.add(new Attribute(qname, value, isSpecified)); | void attribute (String qname, String value, boolean isSpecified) throws SAXException { if (!attributes) { attributes = true; if (namespaces) prefixStack.pushContext (); } // process namespace decls immediately; // then maybe forget this as an attribute if (namespaces) { int index; // default... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/SAXDriver.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/SAXDriver.java |
return attributeDeclared [index]; | String type = parser.getAttributeType(elementName, getQName(index)); return (type != null); | public boolean isDeclared (int index) { if (index < 0 || index >= attributeCount) throw new ArrayIndexOutOfBoundsException (); return attributeDeclared [index]; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/SAXDriver.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/SAXDriver.java |
if (index < 0 || index >= attributeCount) throw new ArrayIndexOutOfBoundsException (); return attributeSpecified [index]; | return ((Attribute) attributesList.get(index)).specified; | public boolean isSpecified (int index) { if (index < 0 || index >= attributeCount) throw new ArrayIndexOutOfBoundsException (); return attributeSpecified [index]; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/SAXDriver.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/SAXDriver.java |
attributeSpecified = new boolean[10]; attributeDeclared = new boolean[10]; | private void reset () { elementName = null; entityStack = new Stack (); attributesList = Collections.synchronizedList(new ArrayList()); attributeSpecified = new boolean[10]; attributeDeclared = new boolean[10]; attributeCount = 0; attributes = false; nsTemp = new String[3]... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/SAXDriver.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/SAXDriver.java | |
public int getColumnNumber () | public int getColumnNumber() | public int getColumnNumber () { return column; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java |
boolean isStandalone () { return docIsStandalone; } | boolean isStandalone() { return docIsStandalone; } | boolean isStandalone () { return docIsStandalone; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java |
public int getLineNumber () | public int getLineNumber() | public int getLineNumber () { return line; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java |
public String getAttributeType (String name, String aname) | public String getAttributeType(String name, String aname) | public String getAttributeType (String name, String aname) { Object attribute[] = getAttribute (name, aname); if (attribute == null) { return null; } else { return (String) attribute [0]; } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java |
Object attribute[] = getAttribute (name, aname); if (attribute == null) { return null; } else { return (String) attribute [0]; } | AttributeDecl attribute = getAttribute(name, aname); return (attribute == null) ? null : attribute.type; | public String getAttributeType (String name, String aname) { Object attribute[] = getAttribute (name, aname); if (attribute == null) { return null; } else { return (String) attribute [0]; } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java |
XmlParser () { } | XmlParser() { } | XmlParser () { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java |
void setHandler (SAXDriver handler) { this.handler = handler; } | void setHandler(SAXDriver handler) { this.handler = handler; } | void setHandler (SAXDriver handler) { this.handler = handler; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java |
void doParse ( String systemId, String publicId, Reader reader, InputStream stream, String encoding ) throws Exception { if (handler == null) throw new IllegalStateException ("no callback handler"); | void doParse(String systemId, String publicId, Reader reader, InputStream stream, String encoding) throws Exception { if (handler == null) { throw new IllegalStateException("no callback handler"); } | void doParse ( String systemId, String publicId, Reader reader, InputStream stream, String encoding ) throws Exception { if (handler == null) throw new IllegalStateException ("no callback handler"); initializeVariables (); // predeclare the built-in entities here (replacement texts) // we don't need t... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java |
initializeVariables (); | initializeVariables(); | void doParse ( String systemId, String publicId, Reader reader, InputStream stream, String encoding ) throws Exception { if (handler == null) throw new IllegalStateException ("no callback handler"); initializeVariables (); // predeclare the built-in entities here (replacement texts) // we don't need t... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java |
setInternalEntity ("amp", "&"); setInternalEntity ("lt", "<"); setInternalEntity ("gt", ">"); setInternalEntity ("apos", "'"); setInternalEntity ("quot", """); | setInternalEntity("amp", "&"); setInternalEntity("lt", "<"); setInternalEntity("gt", ">"); setInternalEntity("apos", "'"); setInternalEntity("quot", """); | void doParse ( String systemId, String publicId, Reader reader, InputStream stream, String encoding ) throws Exception { if (handler == null) throw new IllegalStateException ("no callback handler"); initializeVariables (); // predeclare the built-in entities here (replacement texts) // we don't need t... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java |
try { handler.startDocument (); pushURL (false, "[document]", new String [] { publicId, systemId, null}, reader, stream, encoding, false); parseDocument (); } catch (EOFException e){ error("empty document, with no root element."); }finally { if (reader != null) try { reader.close (); } catch (IOException e) { /* i... | try { handler.startDocument(); pushURL(false, "[document]", new ExternalIdentifiers(publicId, systemId, null), reader, stream, encoding, false); parseDocument(); } catch (EOFException e) { error("empty document, with no root element."); } finally { if (reader != null) { try { reader.close(); } catch (IOException e... | void doParse ( String systemId, String publicId, Reader reader, InputStream stream, String encoding ) throws Exception { if (handler == null) throw new IllegalStateException ("no callback handler"); initializeVariables (); // predeclare the built-in entities here (replacement texts) // we don't need t... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java |
public Throwable getException() { return containedException; } | public Throwable getException() { return cause; } | public Throwable getException() { return containedException; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2c0635b05f68dbb361b3532fd5813a38b74cf57a/TransformerException.java/clean/core/src/classpath/javax/javax/xml/transform/TransformerException.java |
public String getLocationAsString() { if (locator == null) return null; StringBuffer retval = new StringBuffer (); if (locator.getPublicId () != null) { retval.append ("public='"); retval.append (locator.getPublicId ()); retval.append ("' "); } if (locator.getSystemId () != null) { retval.append ("uri='"); retval.app... | public String getLocationAsString() { if (locator == null) { return null; | public String getLocationAsString() { if (locator == null) return null; StringBuffer retval = new StringBuffer (); if (locator.getPublicId () != null) { retval.append ("public='"); retval.append (locator.getPublicId ()); retval.append ("' "); } if (locator.getSystemId () != null) { retval.appe... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2c0635b05f68dbb361b3532fd5813a38b74cf57a/TransformerException.java/clean/core/src/classpath/javax/javax/xml/transform/TransformerException.java |
String publicId = locator.getPublicId(); String systemId = locator.getSystemId(); int lineNumber = locator.getLineNumber(); int columnNumber = locator.getColumnNumber(); StringBuffer buffer = new StringBuffer (); if (publicId != null) { buffer.append ("publicId="); buffer.append (publicId); } if (systemId != null) { if... | public String getLocationAsString() { if (locator == null) return null; StringBuffer retval = new StringBuffer (); if (locator.getPublicId () != null) { retval.append ("public='"); retval.append (locator.getPublicId ()); retval.append ("' "); } if (locator.getSystemId () != null) { retval.appe... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2c0635b05f68dbb361b3532fd5813a38b74cf57a/TransformerException.java/clean/core/src/classpath/javax/javax/xml/transform/TransformerException.java | |
public SourceLocator getLocator() { return locator; | public SourceLocator getLocator() { return locator; | public SourceLocator getLocator() { return locator; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2c0635b05f68dbb361b3532fd5813a38b74cf57a/TransformerException.java/clean/core/src/classpath/javax/javax/xml/transform/TransformerException.java |
public String getMessageAndLocation() { if (locator == null) return getMessage (); return getMessage () + ": " + getLocationAsString (); | public String getMessageAndLocation() { return (locator == null) ? getMessage() : getMessage() + ": " + getLocationAsString(); | public String getMessageAndLocation() { if (locator == null) return getMessage (); return getMessage () + ": " + getLocationAsString (); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2c0635b05f68dbb361b3532fd5813a38b74cf57a/TransformerException.java/clean/core/src/classpath/javax/javax/xml/transform/TransformerException.java |
public synchronized Throwable initCause(Throwable cause) { if (cause == this) throw new IllegalArgumentException (); if (containedException != null) throw new IllegalStateException (); containedException = cause; causeKnown = true; return cause; | public Throwable initCause(Throwable cause) { if (this.cause != null) { throw new IllegalStateException(); } if (cause == this) { throw new IllegalArgumentException(); | public synchronized Throwable initCause(Throwable cause) { if (cause == this) throw new IllegalArgumentException (); if (containedException != null) throw new IllegalStateException (); containedException = cause; causeKnown = true;// FIXME: spec implies "this" may be the right value; another bug? ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2c0635b05f68dbb361b3532fd5813a38b74cf57a/TransformerException.java/clean/core/src/classpath/javax/javax/xml/transform/TransformerException.java |
this.cause = cause; return this; } | public synchronized Throwable initCause(Throwable cause) { if (cause == this) throw new IllegalArgumentException (); if (containedException != null) throw new IllegalStateException (); containedException = cause; causeKnown = true;// FIXME: spec implies "this" may be the right value; another bug? ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2c0635b05f68dbb361b3532fd5813a38b74cf57a/TransformerException.java/clean/core/src/classpath/javax/javax/xml/transform/TransformerException.java | |
public void printStackTrace() { printStackTrace(System.out); } | public void printStackTrace() { printStackTrace(System.out); } | public void printStackTrace() { printStackTrace(System.out);// shouldn't it be System.err? } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2c0635b05f68dbb361b3532fd5813a38b74cf57a/TransformerException.java/clean/core/src/classpath/javax/javax/xml/transform/TransformerException.java |
public void setLocator (SourceLocator location) { locator = location; | public void setLocator(SourceLocator location) { locator = location; | public void setLocator (SourceLocator location) { locator = location; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2c0635b05f68dbb361b3532fd5813a38b74cf57a/TransformerException.java/clean/core/src/classpath/javax/javax/xml/transform/TransformerException.java |
{ | LiteralNode(Node source) { this.source = source; if (source.getNodeType() == Node.ELEMENT_NODE) { NamedNodeMap attrs = source.getAttributes(); Node attr = attrs.getNamedItemNS(Stylesheet.XSL_NS, "exclude-result-prefixes"); if (attr != null) ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/LiteralNode.java/clean/core/src/classpath/gnu/gnu/xml/transform/LiteralNode.java | |
} | LiteralNode(Node source) { this.source = source; if (source.getNodeType() == Node.ELEMENT_NODE) { NamedNodeMap attrs = source.getAttributes(); Node attr = attrs.getNamedItemNS(Stylesheet.XSL_NS, "exclude-result-prefixes"); if (attr != null) ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/LiteralNode.java/clean/core/src/classpath/gnu/gnu/xml/transform/LiteralNode.java | |
{ | LiteralNode(Node source) { this.source = source; if (source.getNodeType() == Node.ELEMENT_NODE) { NamedNodeMap attrs = source.getAttributes(); Node attr = attrs.getNamedItemNS(Stylesheet.XSL_NS, "exclude-result-prefixes"); if (attr != null) ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/LiteralNode.java/clean/core/src/classpath/gnu/gnu/xml/transform/LiteralNode.java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.