You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ws.apache.org by ve...@apache.org on 2016/05/08 17:37:52 UTC

svn commit: r1742842 - /webservices/axiom/trunk/aspects/core-aspects/src/main/java/org/apache/axiom/core/stream/serializer/XmlWriter.java

Author: veithen
Date: Sun May  8 17:37:52 2016
New Revision: 1742842

URL: http://svn.apache.org/viewvc?rev=1742842&view=rev
Log:
Revert r1742841.

Modified:
    webservices/axiom/trunk/aspects/core-aspects/src/main/java/org/apache/axiom/core/stream/serializer/XmlWriter.java

Modified: webservices/axiom/trunk/aspects/core-aspects/src/main/java/org/apache/axiom/core/stream/serializer/XmlWriter.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/aspects/core-aspects/src/main/java/org/apache/axiom/core/stream/serializer/XmlWriter.java?rev=1742842&r1=1742841&r2=1742842&view=diff
==============================================================================
--- webservices/axiom/trunk/aspects/core-aspects/src/main/java/org/apache/axiom/core/stream/serializer/XmlWriter.java (original)
+++ webservices/axiom/trunk/aspects/core-aspects/src/main/java/org/apache/axiom/core/stream/serializer/XmlWriter.java Sun May  8 17:37:52 2016
@@ -23,13 +23,6 @@ import java.io.IOException;
 abstract class XmlWriter {
     abstract void write(int c) throws IOException;
     abstract void write(String s) throws IOException;
-    abstract void write(char chars[], int start, int length) throws IOException;
+    abstract void write(final char chars[], final int start, final int length) throws IOException;
     abstract void flush() throws IOException;
-    
-    final void writeCharacterReference(int codePoint) throws IOException {
-        write("&#");
-        // TODO: optimize this
-        write(Integer.toString(codePoint));
-        write(';');
-    }
 }