rem stringlengths 0 477k | add stringlengths 0 313k | context stringlengths 6 599k | meta stringlengths 141 403 |
|---|---|---|---|
if (authority.length() != 0) { sb.append(" } | if (authority.length() != 0 || file.startsWith(" sb.append(" else | protected String toExternalForm(URL url) { String protocol; String file; String ref; String authority; protocol = url.getProtocol(); authority = url.getAuthority(); if (authority == null) authority = ""; file = url.getFile(); ref = url.getRef(); // Guess a reasonable size for the str... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/91f4232dfb8a5dff7627558a11285391ca44ebfd/URLStreamHandler.java/buggy/core/src/classpath/java/java/net/URLStreamHandler.java |
final static void checkArraySize(int arraylength, int offset, int length) | static final void checkArraySize(int arraylength, int offset, int length) | final static void checkArraySize(int arraylength, int offset, int length) { if ((offset < 0) || (length < 0) || (arraylength < length + offset)) throw new IndexOutOfBoundsException (); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/61b8e27fab61a8487622d1793b61aa19c130c7ab/Buffer.java/clean/core/src/classpath/java/java/nio/Buffer.java |
public static boolean equals(byte[] a1, byte[] a2) | public static boolean equals(boolean[] a1, boolean[] a2) | public static boolean equals(byte[] a1, byte[] a2) { // Quick test which saves comparing elements of the same array, and also // catches the case that both are null. if (a1 == a2) return true; if (null == a1 || null == a2) return false; // If they're the same length, test each element if ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/03ccc48ad99f370100d28d05282f5ecf9aba8ad6/Arrays.java/buggy/core/src/classpath/5.0/java/util/Arrays.java |
public static boolean equals(byte[] a1, byte[] a2) { // Quick test which saves comparing elements of the same array, and also // catches the case that both are null. if (a1 == a2) return true; if (null == a1 || null == a2) return false; // If they're the same length, test each element if ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/03ccc48ad99f370100d28d05282f5ecf9aba8ad6/Arrays.java/buggy/core/src/classpath/5.0/java/util/Arrays.java | ||
public void update (byte[] buffer) | public void update (int bval) | public void update (byte[] buffer) { update(buffer, 0, buffer.length); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/fd6a57fe2ed88cedb0f331b4b49081272bc198c5/Adler32.java/buggy/core/src/classpath/java/java/util/zip/Adler32.java |
update(buffer, 0, buffer.length); | int s1 = checksum & 0xffff; int s2 = checksum >>> 16; s1 = (s1 + (bval & 0xFF)) % BASE; s2 = (s1 + s2) % BASE; checksum = (s2 << 16) + s1; | public void update (byte[] buffer) { update(buffer, 0, buffer.length); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/fd6a57fe2ed88cedb0f331b4b49081272bc198c5/Adler32.java/buggy/core/src/classpath/java/java/util/zip/Adler32.java |
boolean add(E o); | void add(int index, E o); | boolean add(E o); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/03ccc48ad99f370100d28d05282f5ecf9aba8ad6/List.java/buggy/core/src/classpath/5.0/java/util/List.java |
{ | public static QName valueOf(String qNameAsString) { String namespaceUri = "", prefix = null; int start = qNameAsString.indexOf('{'); int end = qNameAsString.indexOf('}'); if (start != -1) { if (end < start) { throw new IllegalArgumentException(qNameAsString); } ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/QName.java/buggy/core/src/classpath/javax/javax/xml/namespace/QName.java | |
} | public static QName valueOf(String qNameAsString) { String namespaceUri = "", prefix = null; int start = qNameAsString.indexOf('{'); int end = qNameAsString.indexOf('}'); if (start != -1) { if (end < start) { throw new IllegalArgumentException(qNameAsString); } ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/QName.java/buggy/core/src/classpath/javax/javax/xml/namespace/QName.java | |
protected ColorModel(int pixel_bits, int[] bits, ColorSpace cspace, boolean hasAlpha, boolean isAlphaPremultiplied, int transparency, int transferType) | public ColorModel(int bits) | protected ColorModel(int pixel_bits, int[] bits, ColorSpace cspace, boolean hasAlpha, boolean isAlphaPremultiplied, int transparency, int transferType) { int bits_sum = 0; for (int i = 0; i < bits.length; i++) { if (bits [i] < 0) throw new IllegalArgumentException (); ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/ColorModel.java/buggy/core/src/classpath/java/java/awt/image/ColorModel.java |
int bits_sum = 0; for (int i = 0; i < bits.length; i++) { if (bits [i] < 0) throw new IllegalArgumentException (); bits_sum |= bits [i]; } if ((bits.length < cspace.getNumComponents()) || (bits_sum < 1)) throw new IllegalArgumentException (); this.pixel_bits = pixel_bits; this.bits = bits; this.cspace = cspace; this... | this(bits, nArray(bits / 4, 4), ColorSpace.getInstance(ColorSpace.CS_sRGB), true, false, TRANSLUCENT, Buffers.smallestAppropriateTransferType(bits * 4)); | protected ColorModel(int pixel_bits, int[] bits, ColorSpace cspace, boolean hasAlpha, boolean isAlphaPremultiplied, int transparency, int transferType) { int bits_sum = 0; for (int i = 0; i < bits.length; i++) { if (bits [i] < 0) throw new IllegalArgumentException (); ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/ColorModel.java/buggy/core/src/classpath/java/java/awt/image/ColorModel.java |
DataBuffer db, | public static WritableRaster createWritableRaster(SampleModel sm, DataBuffer db, Point location) { return new WritableRaster(sm, db, location); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/Raster.java/buggy/core/src/classpath/java/java/awt/image/Raster.java | |
return new WritableRaster(sm, db, location); | return new WritableRaster(sm, location); | public static WritableRaster createWritableRaster(SampleModel sm, DataBuffer db, Point location) { return new WritableRaster(sm, db, location); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/Raster.java/buggy/core/src/classpath/java/java/awt/image/Raster.java |
public Object yyparse (yyInput yyLex) | public Object yyparse (yyInput yyLex, Object yydebug) | public Object yyparse (yyInput yyLex) throws java.io.IOException, yyException { if (yyMax <= 0) yyMax = 256; // initial size int yyState = 0, yyStates[] = new int[yyMax]; // state stack Object yyVal = null, yyVals[] = new Object[yyMax]; // value stack int yyToken = -1; // current input int yyE... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XPathParser.java/buggy/core/src/classpath/gnu/gnu/xml/xpath/XPathParser.java |
if (yyMax <= 0) yyMax = 256; int yyState = 0, yyStates[] = new int[yyMax]; Object yyVal = null, yyVals[] = new Object[yyMax]; int yyToken = -1; int yyErrorFlag = 0; yyLoop: for (int yyTop = 0;; ++ yyTop) { if (yyTop >= yyStates.length) { int[] i = new int[yyStates.length+yyMax]; System.arraycopy(yyStates, 0, i, 0, yyS... | return yyparse(yyLex); | public Object yyparse (yyInput yyLex) throws java.io.IOException, yyException { if (yyMax <= 0) yyMax = 256; // initial size int yyState = 0, yyStates[] = new int[yyMax]; // state stack Object yyVal = null, yyVals[] = new Object[yyMax]; // value stack int yyToken = -1; // current input int yyE... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XPathParser.java/buggy/core/src/classpath/gnu/gnu/xml/xpath/XPathParser.java |
{ | public Expr clone(Object context) { NamespaceContext n = nsctx; if (context instanceof NamespaceContext) { n = (NamespaceContext) context; } ElementAvailableFunction f = new ElementAvailableFunction(n); int len = args.size(); List args2 = new ArrayList(len); for (int i = 0; i < len... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/ElementAvailableFunction.java/buggy/core/src/classpath/gnu/gnu/xml/transform/ElementAvailableFunction.java | |
} | public Expr clone(Object context) { NamespaceContext n = nsctx; if (context instanceof NamespaceContext) { n = (NamespaceContext) context; } ElementAvailableFunction f = new ElementAvailableFunction(n); int len = args.size(); List args2 = new ArrayList(len); for (int i = 0; i < len... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/ElementAvailableFunction.java/buggy/core/src/classpath/gnu/gnu/xml/transform/ElementAvailableFunction.java | |
{ | public Expr clone(Object context) { NamespaceContext n = nsctx; if (context instanceof NamespaceContext) { n = (NamespaceContext) context; } ElementAvailableFunction f = new ElementAvailableFunction(n); int len = args.size(); List args2 = new ArrayList(len); for (int i = 0; i < len... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/ElementAvailableFunction.java/buggy/core/src/classpath/gnu/gnu/xml/transform/ElementAvailableFunction.java | |
} | public Expr clone(Object context) { NamespaceContext n = nsctx; if (context instanceof NamespaceContext) { n = (NamespaceContext) context; } ElementAvailableFunction f = new ElementAvailableFunction(n); int len = args.size(); List args2 = new ArrayList(len); for (int i = 0; i < len... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/ElementAvailableFunction.java/buggy/core/src/classpath/gnu/gnu/xml/transform/ElementAvailableFunction.java | |
{ | public boolean references(QName var) { for (Iterator i = args.iterator(); i.hasNext(); ) { if (((Expr) i.next()).references(var)) { return true; } } return false; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/ElementAvailableFunction.java/buggy/core/src/classpath/gnu/gnu/xml/transform/ElementAvailableFunction.java | |
} | public boolean references(QName var) { for (Iterator i = args.iterator(); i.hasNext(); ) { if (((Expr) i.next()).references(var)) { return true; } } return false; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/ElementAvailableFunction.java/buggy/core/src/classpath/gnu/gnu/xml/transform/ElementAvailableFunction.java | |
public SignatureException(String msg) | public SignatureException() | public SignatureException(String msg) { super(msg); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/SignatureException.java/buggy/core/src/classpath/java/java/security/SignatureException.java |
super(msg); | public SignatureException(String msg) { super(msg); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/SignatureException.java/buggy/core/src/classpath/java/java/security/SignatureException.java | |
Oid(int[] components) | public Oid(String strOid) throws GSSException | Oid(int[] components) { this.components = components; relative = false; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2c0635b05f68dbb361b3532fd5813a38b74cf57a/Oid.java/buggy/core/src/classpath/org/org/ietf/jgss/Oid.java |
this.components = components; | if (strOid == null) throw new NullPointerException(); this.strOid = strOid; try { StringTokenizer tok = new StringTokenizer(strOid, "."); components = new int[tok.countTokens()]; int i = 0; while (tok.hasMoreTokens() && i < components.length) { components[i++] = Integer.parseInt(tok.nextToken()); } } catch (Exception x... | Oid(int[] components) { this.components = components; relative = false; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2c0635b05f68dbb361b3532fd5813a38b74cf57a/Oid.java/buggy/core/src/classpath/org/org/ietf/jgss/Oid.java |
public void read(InputStream in, Document doc, int pos) | public void read(InputStream in, Document document, int offset) | public void read(InputStream in, Document doc, int pos) throws BadLocationException, IOException { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3fecc4797b433a10203c51309b9d8626f7783895/DefaultEditorKit.java/clean/core/src/classpath/javax/javax/swing/text/DefaultEditorKit.java |
read(new InputStreamReader(in), document, offset); | public void read(InputStream in, Document doc, int pos) throws BadLocationException, IOException { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3fecc4797b433a10203c51309b9d8626f7783895/DefaultEditorKit.java/clean/core/src/classpath/javax/javax/swing/text/DefaultEditorKit.java | |
public void write(OutputStream out, Document doc, int pos, int len) | public void write(OutputStream out, Document document, int offset, int len) | public void write(OutputStream out, Document doc, int pos, int len) throws BadLocationException, IOException { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3fecc4797b433a10203c51309b9d8626f7783895/DefaultEditorKit.java/clean/core/src/classpath/javax/javax/swing/text/DefaultEditorKit.java |
write(new OutputStreamWriter(out), document, offset, len); | public void write(OutputStream out, Document doc, int pos, int len) throws BadLocationException, IOException { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3fecc4797b433a10203c51309b9d8626f7783895/DefaultEditorKit.java/clean/core/src/classpath/javax/javax/swing/text/DefaultEditorKit.java | |
encoding = System.getProperty("file.encoding"); | encoding = SystemProperties.getProperty("file.encoding"); | public InputStreamReader(InputStream in) { if (in == null) throw new NullPointerException(); this.in = in; try { encoding = System.getProperty("file.encoding"); // Don't use NIO if avoidable if(EncodingHelper.isISOLatin1(encoding)) { encoding = "ISO8859_1"; maxBytesPerChar = 1f;... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ba6c8424cfc5e0b2250088f94b5bbf356d91781a/InputStreamReader.java/buggy/core/src/classpath/5.0/java/io/InputStreamReader.java |
public OutputStreamWriter (OutputStream out) | public OutputStreamWriter (OutputStream out, String encoding_scheme) throws UnsupportedEncodingException | public OutputStreamWriter (OutputStream out) { this.out = out; outputBuffer = null; try { String encoding = System.getProperty("file.encoding"); Charset cs = Charset.forName(encoding); encoder = cs.newEncoder(); encodingName = EncodingHelper.getOldCanonical(cs.name()); } catch(RuntimeExcepti... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ba6c8424cfc5e0b2250088f94b5bbf356d91781a/OutputStreamWriter.java/buggy/core/src/classpath/5.0/java/io/OutputStreamWriter.java |
outputBuffer = null; | public OutputStreamWriter (OutputStream out) { this.out = out; outputBuffer = null; try { String encoding = System.getProperty("file.encoding"); Charset cs = Charset.forName(encoding); encoder = cs.newEncoder(); encodingName = EncodingHelper.getOldCanonical(cs.name()); } catch(RuntimeExcepti... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ba6c8424cfc5e0b2250088f94b5bbf356d91781a/OutputStreamWriter.java/buggy/core/src/classpath/5.0/java/io/OutputStreamWriter.java | |
String encoding = System.getProperty("file.encoding"); Charset cs = Charset.forName(encoding); | if(EncodingHelper.isISOLatin1(encoding_scheme)) { encodingName = "ISO8859_1"; encoder = null; return; } /* * Workraround for encodings with a byte-order-mark. * We only want to write it once per stream. */ try { if(encoding_scheme.equalsIgnoreCase("UnicodeBig") || encoding_scheme.equalsIgnoreCase("UTF-16") || encodin... | public OutputStreamWriter (OutputStream out) { this.out = out; outputBuffer = null; try { String encoding = System.getProperty("file.encoding"); Charset cs = Charset.forName(encoding); encoder = cs.newEncoder(); encodingName = EncodingHelper.getOldCanonical(cs.name()); } catch(RuntimeExcepti... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ba6c8424cfc5e0b2250088f94b5bbf356d91781a/OutputStreamWriter.java/buggy/core/src/classpath/5.0/java/io/OutputStreamWriter.java |
encodingName = EncodingHelper.getOldCanonical(cs.name()); | encodingName = EncodingHelper.getOldCanonical(cs.name()); encoder.onMalformedInput(CodingErrorAction.REPLACE); encoder.onUnmappableCharacter(CodingErrorAction.REPLACE); | public OutputStreamWriter (OutputStream out) { this.out = out; outputBuffer = null; try { String encoding = System.getProperty("file.encoding"); Charset cs = Charset.forName(encoding); encoder = cs.newEncoder(); encodingName = EncodingHelper.getOldCanonical(cs.name()); } catch(RuntimeExcepti... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ba6c8424cfc5e0b2250088f94b5bbf356d91781a/OutputStreamWriter.java/buggy/core/src/classpath/5.0/java/io/OutputStreamWriter.java |
if(encoder != null) { encoder.onMalformedInput(CodingErrorAction.REPLACE); encoder.onUnmappableCharacter(CodingErrorAction.REPLACE); outputBuffer = CharBuffer.allocate(BUFFER_SIZE); } | public OutputStreamWriter (OutputStream out) { this.out = out; outputBuffer = null; try { String encoding = System.getProperty("file.encoding"); Charset cs = Charset.forName(encoding); encoder = cs.newEncoder(); encodingName = EncodingHelper.getOldCanonical(cs.name()); } catch(RuntimeExcepti... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ba6c8424cfc5e0b2250088f94b5bbf356d91781a/OutputStreamWriter.java/buggy/core/src/classpath/5.0/java/io/OutputStreamWriter.java | |
while (namespaces.containsValue(prefix)) | if (namespaces.isEmpty()) return prefix; HashMap ctx = (HashMap) namespaces.getFirst(); while (ctx.containsValue(prefix)) | String define(String uri, String prefix) { while (namespaces.containsValue(prefix)) { // Fabricate new prefix prefix = prefix + "_"; } namespaces.put(uri, prefix); return prefix; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/StreamSerializer.java/buggy/core/src/classpath/gnu/gnu/xml/transform/StreamSerializer.java |
namespaces.put(uri, prefix); | ctx.put(uri, prefix); | String define(String uri, String prefix) { while (namespaces.containsValue(prefix)) { // Fabricate new prefix prefix = prefix + "_"; } namespaces.put(uri, prefix); return prefix; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/StreamSerializer.java/buggy/core/src/classpath/gnu/gnu/xml/transform/StreamSerializer.java |
{ | private void doSerialize(final Node node, final OutputStream out, boolean convertToCdata) throws IOException { if (out == null) { throw new NullPointerException("no output stream"); } String value, prefix; Node children; String uri = node.getNamespaceURI(); boolean ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/StreamSerializer.java/buggy/core/src/classpath/gnu/gnu/xml/transform/StreamSerializer.java | |
} | htmlEncoded = false; | private void doSerialize(final Node node, final OutputStream out, boolean convertToCdata) throws IOException { if (out == null) { throw new NullPointerException("no output stream"); } String value, prefix; Node children; String uri = node.getNamespaceURI(); boolean ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/StreamSerializer.java/buggy/core/src/classpath/gnu/gnu/xml/transform/StreamSerializer.java |
boolean defined = false; | private void doSerialize(final Node node, final OutputStream out, boolean convertToCdata) throws IOException { if (out == null) { throw new NullPointerException("no output stream"); } String value, prefix; Node children; String uri = node.getNamespaceURI(); boolean ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/StreamSerializer.java/buggy/core/src/classpath/gnu/gnu/xml/transform/StreamSerializer.java | |
{ | private void doSerialize(final Node node, final OutputStream out, boolean convertToCdata) throws IOException { if (out == null) { throw new NullPointerException("no output stream"); } String value, prefix; Node children; String uri = node.getNamespaceURI(); boolean ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/StreamSerializer.java/buggy/core/src/classpath/gnu/gnu/xml/transform/StreamSerializer.java | |
} | private void doSerialize(final Node node, final OutputStream out, boolean convertToCdata) throws IOException { if (out == null) { throw new NullPointerException("no output stream"); } String value, prefix; Node children; String uri = node.getNamespaceURI(); boolean ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/StreamSerializer.java/buggy/core/src/classpath/gnu/gnu/xml/transform/StreamSerializer.java | |
if (isDefined(nsuri)) { | if (isDefined(nsuri, prefix)) | private void doSerialize(final Node node, final OutputStream out, boolean convertToCdata) throws IOException { if (out == null) { throw new NullPointerException("no output stream"); } String value, prefix; Node children; String uri = node.getNamespaceURI(); boolean ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/StreamSerializer.java/buggy/core/src/classpath/gnu/gnu/xml/transform/StreamSerializer.java |
} | private void doSerialize(final Node node, final OutputStream out, boolean convertToCdata) throws IOException { if (out == null) { throw new NullPointerException("no output stream"); } String value, prefix; Node children; String uri = node.getNamespaceURI(); boolean ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/StreamSerializer.java/buggy/core/src/classpath/gnu/gnu/xml/transform/StreamSerializer.java | |
else if (uri != null && !isDefined(uri)) | else if (uri != null && !isDefined(uri, prefix)) | private void doSerialize(final Node node, final OutputStream out, boolean convertToCdata) throws IOException { if (out == null) { throw new NullPointerException("no output stream"); } String value, prefix; Node children; String uri = node.getNamespaceURI(); boolean ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/StreamSerializer.java/buggy/core/src/classpath/gnu/gnu/xml/transform/StreamSerializer.java |
String nsvalue = "'" + encode(uri, true, true) + "'"; | String nsvalue = "\"" + encode(uri, true, true) + "\""; | private void doSerialize(final Node node, final OutputStream out, boolean convertToCdata) throws IOException { if (out == null) { throw new NullPointerException("no output stream"); } String value, prefix; Node children; String uri = node.getNamespaceURI(); boolean ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/StreamSerializer.java/buggy/core/src/classpath/gnu/gnu/xml/transform/StreamSerializer.java |
defined = true; | private void doSerialize(final Node node, final OutputStream out, boolean convertToCdata) throws IOException { if (out == null) { throw new NullPointerException("no output stream"); } String value, prefix; Node children; String uri = node.getNamespaceURI(); boolean ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/StreamSerializer.java/buggy/core/src/classpath/gnu/gnu/xml/transform/StreamSerializer.java | |
{ | private void doSerialize(final Node node, final OutputStream out, boolean convertToCdata) throws IOException { if (out == null) { throw new NullPointerException("no output stream"); } String value, prefix; Node children; String uri = node.getNamespaceURI(); boolean ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/StreamSerializer.java/buggy/core/src/classpath/gnu/gnu/xml/transform/StreamSerializer.java | |
} | private void doSerialize(final Node node, final OutputStream out, boolean convertToCdata) throws IOException { if (out == null) { throw new NullPointerException("no output stream"); } String value, prefix; Node children; String uri = node.getNamespaceURI(); boolean ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/StreamSerializer.java/buggy/core/src/classpath/gnu/gnu/xml/transform/StreamSerializer.java | |
value = "'" + encode(a_nodeValue, true, true) + "'"; | value = "\"" + encode(a_nodeValue, true, true) + "\""; | private void doSerialize(final Node node, final OutputStream out, boolean convertToCdata) throws IOException { if (out == null) { throw new NullPointerException("no output stream"); } String value, prefix; Node children; String uri = node.getNamespaceURI(); boolean ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/StreamSerializer.java/buggy/core/src/classpath/gnu/gnu/xml/transform/StreamSerializer.java |
if (uri != null && !isDefined(uri)) { prefix = define(uri, node.getPrefix()); | prefix = node.getPrefix(); if (uri != null && !isDefined(uri, prefix)) { prefix = define(uri, prefix); | private void doSerialize(final Node node, final OutputStream out, boolean convertToCdata) throws IOException { if (out == null) { throw new NullPointerException("no output stream"); } String value, prefix; Node children; String uri = node.getNamespaceURI(); boolean ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/StreamSerializer.java/buggy/core/src/classpath/gnu/gnu/xml/transform/StreamSerializer.java |
String nsvalue = "'" + encode(uri, true, true) + "'"; | String nsvalue = "\"" + encode(uri, true, true) + "\""; | private void doSerialize(final Node node, final OutputStream out, boolean convertToCdata) throws IOException { if (out == null) { throw new NullPointerException("no output stream"); } String value, prefix; Node children; String uri = node.getNamespaceURI(); boolean ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/StreamSerializer.java/buggy/core/src/classpath/gnu/gnu/xml/transform/StreamSerializer.java |
defined = true; | private void doSerialize(final Node node, final OutputStream out, boolean convertToCdata) throws IOException { if (out == null) { throw new NullPointerException("no output stream"); } String value, prefix; Node children; String uri = node.getNamespaceURI(); boolean ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/StreamSerializer.java/buggy/core/src/classpath/gnu/gnu/xml/transform/StreamSerializer.java | |
{ | private void doSerialize(final Node node, final OutputStream out, boolean convertToCdata) throws IOException { if (out == null) { throw new NullPointerException("no output stream"); } String value, prefix; Node children; String uri = node.getNamespaceURI(); boolean ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/StreamSerializer.java/buggy/core/src/classpath/gnu/gnu/xml/transform/StreamSerializer.java | |
} | private void doSerialize(final Node node, final OutputStream out, boolean convertToCdata) throws IOException { if (out == null) { throw new NullPointerException("no output stream"); } String value, prefix; Node children; String uri = node.getNamespaceURI(); boolean ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/StreamSerializer.java/buggy/core/src/classpath/gnu/gnu/xml/transform/StreamSerializer.java | |
{ | private void doSerialize(final Node node, final OutputStream out, boolean convertToCdata) throws IOException { if (out == null) { throw new NullPointerException("no output stream"); } String value, prefix; Node children; String uri = node.getNamespaceURI(); boolean ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/StreamSerializer.java/buggy/core/src/classpath/gnu/gnu/xml/transform/StreamSerializer.java | |
} | private void doSerialize(final Node node, final OutputStream out, boolean convertToCdata) throws IOException { if (out == null) { throw new NullPointerException("no output stream"); } String value, prefix; Node children; String uri = node.getNamespaceURI(); boolean ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/StreamSerializer.java/buggy/core/src/classpath/gnu/gnu/xml/transform/StreamSerializer.java | |
value = "<![CDATA[" + node.getNodeValue() + "]]>"; out.write(encodeText(value)); | value = node.getNodeValue(); int bbk = value.indexOf("]]>"); while (bbk != -1) { String head = value.substring(0, bbk + 2); out.write(encodeText("<![CDATA[" + head + "]]>")); value = value.substring(bbk + 2); bbk = value.indexOf("]]>"); } out.write(encodeText("<![CDATA[" + value + "]]>")); | private void doSerialize(final Node node, final OutputStream out, boolean convertToCdata) throws IOException { if (out == null) { throw new NullPointerException("no output stream"); } String value, prefix; Node children; String uri = node.getNamespaceURI(); boolean ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/StreamSerializer.java/buggy/core/src/classpath/gnu/gnu/xml/transform/StreamSerializer.java |
{ | private void doSerialize(final Node node, final OutputStream out, boolean convertToCdata) throws IOException { if (out == null) { throw new NullPointerException("no output stream"); } String value, prefix; Node children; String uri = node.getNamespaceURI(); boolean ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/StreamSerializer.java/buggy/core/src/classpath/gnu/gnu/xml/transform/StreamSerializer.java | |
} | private void doSerialize(final Node node, final OutputStream out, boolean convertToCdata) throws IOException { if (out == null) { throw new NullPointerException("no output stream"); } String value, prefix; Node children; String uri = node.getNamespaceURI(); boolean ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/StreamSerializer.java/buggy/core/src/classpath/gnu/gnu/xml/transform/StreamSerializer.java | |
{ | private void doSerialize(final Node node, final OutputStream out, boolean convertToCdata) throws IOException { if (out == null) { throw new NullPointerException("no output stream"); } String value, prefix; Node children; String uri = node.getNamespaceURI(); boolean ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/StreamSerializer.java/buggy/core/src/classpath/gnu/gnu/xml/transform/StreamSerializer.java | |
} | private void doSerialize(final Node node, final OutputStream out, boolean convertToCdata) throws IOException { if (out == null) { throw new NullPointerException("no output stream"); } String value, prefix; Node children; String uri = node.getNamespaceURI(); boolean ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/StreamSerializer.java/buggy/core/src/classpath/gnu/gnu/xml/transform/StreamSerializer.java | |
{ | private void doSerialize(final Node node, final OutputStream out, boolean convertToCdata) throws IOException { if (out == null) { throw new NullPointerException("no output stream"); } String value, prefix; Node children; String uri = node.getNamespaceURI(); boolean ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/StreamSerializer.java/buggy/core/src/classpath/gnu/gnu/xml/transform/StreamSerializer.java | |
} | private void doSerialize(final Node node, final OutputStream out, boolean convertToCdata) throws IOException { if (out == null) { throw new NullPointerException("no output stream"); } String value, prefix; Node children; String uri = node.getNamespaceURI(); boolean ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/StreamSerializer.java/buggy/core/src/classpath/gnu/gnu/xml/transform/StreamSerializer.java | |
out.write("xml version='".getBytes("US-ASCII")); | out.write("xml version=\"".getBytes("US-ASCII")); | private void doSerialize(final Node node, final OutputStream out, boolean convertToCdata) throws IOException { if (out == null) { throw new NullPointerException("no output stream"); } String value, prefix; Node children; String uri = node.getNamespaceURI(); boolean ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/StreamSerializer.java/buggy/core/src/classpath/gnu/gnu/xml/transform/StreamSerializer.java |
out.write(APOS); | out.write(0x22); | private void doSerialize(final Node node, final OutputStream out, boolean convertToCdata) throws IOException { if (out == null) { throw new NullPointerException("no output stream"); } String value, prefix; Node children; String uri = node.getNamespaceURI(); boolean ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/StreamSerializer.java/buggy/core/src/classpath/gnu/gnu/xml/transform/StreamSerializer.java |
out.write(" encoding='".getBytes("US-ASCII")); | out.write(" encoding=\"".getBytes("US-ASCII")); | private void doSerialize(final Node node, final OutputStream out, boolean convertToCdata) throws IOException { if (out == null) { throw new NullPointerException("no output stream"); } String value, prefix; Node children; String uri = node.getNamespaceURI(); boolean ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/StreamSerializer.java/buggy/core/src/classpath/gnu/gnu/xml/transform/StreamSerializer.java |
out.write(APOS); | out.write(0x22); | private void doSerialize(final Node node, final OutputStream out, boolean convertToCdata) throws IOException { if (out == null) { throw new NullPointerException("no output stream"); } String value, prefix; Node children; String uri = node.getNamespaceURI(); boolean ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/StreamSerializer.java/buggy/core/src/classpath/gnu/gnu/xml/transform/StreamSerializer.java |
{ out.write(" standalone='yes'".getBytes("US-ASCII")); } | out.write(" standalone=\"yes\"".getBytes("US-ASCII")); | private void doSerialize(final Node node, final OutputStream out, boolean convertToCdata) throws IOException { if (out == null) { throw new NullPointerException("no output stream"); } String value, prefix; Node children; String uri = node.getNamespaceURI(); boolean ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/StreamSerializer.java/buggy/core/src/classpath/gnu/gnu/xml/transform/StreamSerializer.java |
private void doSerialize(final Node node, final OutputStream out, boolean convertToCdata) throws IOException { if (out == null) { throw new NullPointerException("no output stream"); } String value, prefix; Node children; String uri = node.getNamespaceURI(); boolean ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/StreamSerializer.java/buggy/core/src/classpath/gnu/gnu/xml/transform/StreamSerializer.java | ||
{ | private void doSerialize(final Node node, final OutputStream out, boolean convertToCdata) throws IOException { if (out == null) { throw new NullPointerException("no output stream"); } String value, prefix; Node children; String uri = node.getNamespaceURI(); boolean ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/StreamSerializer.java/buggy/core/src/classpath/gnu/gnu/xml/transform/StreamSerializer.java | |
} | private void doSerialize(final Node node, final OutputStream out, boolean convertToCdata) throws IOException { if (out == null) { throw new NullPointerException("no output stream"); } String value, prefix; Node children; String uri = node.getNamespaceURI(); boolean ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/StreamSerializer.java/buggy/core/src/classpath/gnu/gnu/xml/transform/StreamSerializer.java | |
if (ctx.getNodeType() == Node.ELEMENT_NODE) | if (ctx.getNodeType() == Node.ELEMENT_NODE && isHTMLElement(ctx, "html")) | private void doSerialize(final Node node, final OutputStream out, boolean convertToCdata) throws IOException { if (out == null) { throw new NullPointerException("no output stream"); } String value, prefix; Node children; String uri = node.getNamespaceURI(); boolean ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/StreamSerializer.java/buggy/core/src/classpath/gnu/gnu/xml/transform/StreamSerializer.java |
if (html == null) { html = doc.createElement("html"); node.appendChild(html); } | if (html != null) { | private void doSerialize(final Node node, final OutputStream out, boolean convertToCdata) throws IOException { if (out == null) { throw new NullPointerException("no output stream"); } String value, prefix; Node children; String uri = node.getNamespaceURI(); boolean ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/StreamSerializer.java/buggy/core/src/classpath/gnu/gnu/xml/transform/StreamSerializer.java |
if (ctx.getNodeType() == Node.ELEMENT_NODE) { String name = ctx.getLocalName(); if (name == null) { name = ctx.getNodeName(); } if ("head".equalsIgnoreCase(name)) | if (isHTMLElement(ctx, "head")) | private void doSerialize(final Node node, final OutputStream out, boolean convertToCdata) throws IOException { if (out == null) { throw new NullPointerException("no output stream"); } String value, prefix; Node children; String uri = node.getNamespaceURI(); boolean ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/StreamSerializer.java/buggy/core/src/classpath/gnu/gnu/xml/transform/StreamSerializer.java |
} if (head == null) { head = doc.createElement("head"); Node c1 = null; for (Node ctx = html.getFirstChild(); ctx != null; ctx = ctx.getNextSibling()) { if (ctx.getNodeType() == Node.ELEMENT_NODE) | if (head != null) | private void doSerialize(final Node node, final OutputStream out, boolean convertToCdata) throws IOException { if (out == null) { throw new NullPointerException("no output stream"); } String value, prefix; Node children; String uri = node.getNamespaceURI(); boolean ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/StreamSerializer.java/buggy/core/src/classpath/gnu/gnu/xml/transform/StreamSerializer.java |
c1 = ctx; break; } } if (c1 != null) { html.insertBefore(head, c1); } else { html.appendChild(head); } } | private void doSerialize(final Node node, final OutputStream out, boolean convertToCdata) throws IOException { if (out == null) { throw new NullPointerException("no output stream"); } String value, prefix; Node children; String uri = node.getNamespaceURI(); boolean ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/StreamSerializer.java/buggy/core/src/classpath/gnu/gnu/xml/transform/StreamSerializer.java | |
if (ctx.getNodeType() == Node.ELEMENT_NODE) { String name = ctx.getLocalName(); if (name == null) { name = ctx.getNodeName(); } if ("meta".equalsIgnoreCase(name)) | if (isHTMLElement(ctx, "meta")) | private void doSerialize(final Node node, final OutputStream out, boolean convertToCdata) throws IOException { if (out == null) { throw new NullPointerException("no output stream"); } String value, prefix; Node children; String uri = node.getNamespaceURI(); boolean ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/StreamSerializer.java/buggy/core/src/classpath/gnu/gnu/xml/transform/StreamSerializer.java |
{ | private void doSerialize(final Node node, final OutputStream out, boolean convertToCdata) throws IOException { if (out == null) { throw new NullPointerException("no output stream"); } String value, prefix; Node children; String uri = node.getNamespaceURI(); boolean ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/StreamSerializer.java/buggy/core/src/classpath/gnu/gnu/xml/transform/StreamSerializer.java | |
} | private void doSerialize(final Node node, final OutputStream out, boolean convertToCdata) throws IOException { if (out == null) { throw new NullPointerException("no output stream"); } String value, prefix; Node children; String uri = node.getNamespaceURI(); boolean ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/StreamSerializer.java/buggy/core/src/classpath/gnu/gnu/xml/transform/StreamSerializer.java | |
{ | private void doSerialize(final Node node, final OutputStream out, boolean convertToCdata) throws IOException { if (out == null) { throw new NullPointerException("no output stream"); } String value, prefix; Node children; String uri = node.getNamespaceURI(); boolean ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/StreamSerializer.java/buggy/core/src/classpath/gnu/gnu/xml/transform/StreamSerializer.java | |
} | private void doSerialize(final Node node, final OutputStream out, boolean convertToCdata) throws IOException { if (out == null) { throw new NullPointerException("no output stream"); } String value, prefix; Node children; String uri = node.getNamespaceURI(); boolean ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/StreamSerializer.java/buggy/core/src/classpath/gnu/gnu/xml/transform/StreamSerializer.java | |
} | private void doSerialize(final Node node, final OutputStream out, boolean convertToCdata) throws IOException { if (out == null) { throw new NullPointerException("no output stream"); } String value, prefix; Node children; String uri = node.getNamespaceURI(); boolean ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/StreamSerializer.java/buggy/core/src/classpath/gnu/gnu/xml/transform/StreamSerializer.java | |
{ | private void doSerialize(final Node node, final OutputStream out, boolean convertToCdata) throws IOException { if (out == null) { throw new NullPointerException("no output stream"); } String value, prefix; Node children; String uri = node.getNamespaceURI(); boolean ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/StreamSerializer.java/buggy/core/src/classpath/gnu/gnu/xml/transform/StreamSerializer.java | |
} | private void doSerialize(final Node node, final OutputStream out, boolean convertToCdata) throws IOException { if (out == null) { throw new NullPointerException("no output stream"); } String value, prefix; Node children; String uri = node.getNamespaceURI(); boolean ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/StreamSerializer.java/buggy/core/src/classpath/gnu/gnu/xml/transform/StreamSerializer.java | |
{ | private void doSerialize(final Node node, final OutputStream out, boolean convertToCdata) throws IOException { if (out == null) { throw new NullPointerException("no output stream"); } String value, prefix; Node children; String uri = node.getNamespaceURI(); boolean ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/StreamSerializer.java/buggy/core/src/classpath/gnu/gnu/xml/transform/StreamSerializer.java | |
} | private void doSerialize(final Node node, final OutputStream out, boolean convertToCdata) throws IOException { if (out == null) { throw new NullPointerException("no output stream"); } String value, prefix; Node children; String uri = node.getNamespaceURI(); boolean ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/StreamSerializer.java/buggy/core/src/classpath/gnu/gnu/xml/transform/StreamSerializer.java | |
htmlEncoded = true; } } | private void doSerialize(final Node node, final OutputStream out, boolean convertToCdata) throws IOException { if (out == null) { throw new NullPointerException("no output stream"); } String value, prefix; Node children; String uri = node.getNamespaceURI(); boolean ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/StreamSerializer.java/buggy/core/src/classpath/gnu/gnu/xml/transform/StreamSerializer.java | |
{ | private void doSerialize(final Node node, final OutputStream out, boolean convertToCdata) throws IOException { if (out == null) { throw new NullPointerException("no output stream"); } String value, prefix; Node children; String uri = node.getNamespaceURI(); boolean ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/StreamSerializer.java/buggy/core/src/classpath/gnu/gnu/xml/transform/StreamSerializer.java | |
} | private void doSerialize(final Node node, final OutputStream out, boolean convertToCdata) throws IOException { if (out == null) { throw new NullPointerException("no output stream"); } String value, prefix; Node children; String uri = node.getNamespaceURI(); boolean ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/StreamSerializer.java/buggy/core/src/classpath/gnu/gnu/xml/transform/StreamSerializer.java | |
} if (defined) { undefine(uri); | default: System.err.println("Unhandled node type: "+nt); | private void doSerialize(final Node node, final OutputStream out, boolean convertToCdata) throws IOException { if (out == null) { throw new NullPointerException("no output stream"); } String value, prefix; Node children; String uri = node.getNamespaceURI(); boolean ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/StreamSerializer.java/buggy/core/src/classpath/gnu/gnu/xml/transform/StreamSerializer.java |
{ | String encode(String text, boolean encodeCtl, boolean inAttr) { int len = text.length(); StringBuffer buf = null; for (int i = 0; i < len; i++) { char c = text.charAt(i); if (c == '<') { if (buf == null) { buf = new StringBuffer(text.substri... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/StreamSerializer.java/buggy/core/src/classpath/gnu/gnu/xml/transform/StreamSerializer.java | |
} | String encode(String text, boolean encodeCtl, boolean inAttr) { int len = text.length(); StringBuffer buf = null; for (int i = 0; i < len; i++) { char c = text.charAt(i); if (c == '<') { if (buf == null) { buf = new StringBuffer(text.substri... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/StreamSerializer.java/buggy/core/src/classpath/gnu/gnu/xml/transform/StreamSerializer.java | |
{ | String encode(String text, boolean encodeCtl, boolean inAttr) { int len = text.length(); StringBuffer buf = null; for (int i = 0; i < len; i++) { char c = text.charAt(i); if (c == '<') { if (buf == null) { buf = new StringBuffer(text.substri... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/StreamSerializer.java/buggy/core/src/classpath/gnu/gnu/xml/transform/StreamSerializer.java | |
} | String encode(String text, boolean encodeCtl, boolean inAttr) { int len = text.length(); StringBuffer buf = null; for (int i = 0; i < len; i++) { char c = text.charAt(i); if (c == '<') { if (buf == null) { buf = new StringBuffer(text.substri... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/StreamSerializer.java/buggy/core/src/classpath/gnu/gnu/xml/transform/StreamSerializer.java | |
{ | String encode(String text, boolean encodeCtl, boolean inAttr) { int len = text.length(); StringBuffer buf = null; for (int i = 0; i < len; i++) { char c = text.charAt(i); if (c == '<') { if (buf == null) { buf = new StringBuffer(text.substri... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/StreamSerializer.java/buggy/core/src/classpath/gnu/gnu/xml/transform/StreamSerializer.java | |
} | String encode(String text, boolean encodeCtl, boolean inAttr) { int len = text.length(); StringBuffer buf = null; for (int i = 0; i < len; i++) { char c = text.charAt(i); if (c == '<') { if (buf == null) { buf = new StringBuffer(text.substri... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/StreamSerializer.java/buggy/core/src/classpath/gnu/gnu/xml/transform/StreamSerializer.java | |
{ | String encode(String text, boolean encodeCtl, boolean inAttr) { int len = text.length(); StringBuffer buf = null; for (int i = 0; i < len; i++) { char c = text.charAt(i); if (c == '<') { if (buf == null) { buf = new StringBuffer(text.substri... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/StreamSerializer.java/buggy/core/src/classpath/gnu/gnu/xml/transform/StreamSerializer.java | |
} | String encode(String text, boolean encodeCtl, boolean inAttr) { int len = text.length(); StringBuffer buf = null; for (int i = 0; i < len; i++) { char c = text.charAt(i); if (c == '<') { if (buf == null) { buf = new StringBuffer(text.substri... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/StreamSerializer.java/buggy/core/src/classpath/gnu/gnu/xml/transform/StreamSerializer.java | |
{ | String encode(String text, boolean encodeCtl, boolean inAttr) { int len = text.length(); StringBuffer buf = null; for (int i = 0; i < len; i++) { char c = text.charAt(i); if (c == '<') { if (buf == null) { buf = new StringBuffer(text.substri... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/StreamSerializer.java/buggy/core/src/classpath/gnu/gnu/xml/transform/StreamSerializer.java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.