You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-dev@ws.apache.org by di...@apache.org on 2006/10/19 14:11:49 UTC

svn commit: r465595 - /webservices/commons/trunk/modules/axiom/modules/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMSourcedElementImpl.java

Author: dims
Date: Thu Oct 19 05:11:48 2006
New Revision: 465595

URL: http://svn.apache.org/viewvc?view=rev&rev=465595
Log:
fix build break

Modified:
    webservices/commons/trunk/modules/axiom/modules/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMSourcedElementImpl.java

Modified: webservices/commons/trunk/modules/axiom/modules/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMSourcedElementImpl.java
URL: http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMSourcedElementImpl.java?view=diff&rev=465595&r1=465594&r2=465595
==============================================================================
--- webservices/commons/trunk/modules/axiom/modules/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMSourcedElementImpl.java (original)
+++ webservices/commons/trunk/modules/axiom/modules/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMSourcedElementImpl.java Thu Oct 19 05:11:48 2006
@@ -458,7 +458,7 @@
         	return super.toStringWithConsume();
         } else {
         	StringWriter writer = new StringWriter();
-        	dataSource.serialize(writer, null);
+        	dataSource.serialize(writer, new OMOutputFormat());
         	return writer.toString();
         }
     }
@@ -598,9 +598,9 @@
             log.debug("serialize " + getPrintableName() + " to output stream");
         }
         if (isDataSourceConsumed()) {
-        	super.serializeAndConsume(output, null);
+        	super.serializeAndConsume(output, new OMOutputFormat());
         } else {
-        	dataSource.serialize(output, null);
+        	dataSource.serialize(output, new OMOutputFormat());
         }
     }
 
@@ -614,7 +614,7 @@
         if (isDataSourceConsumed()) {
         	super.serializeAndConsume(writer);
         } else {
-        	dataSource.serialize(writer, null);
+        	dataSource.serialize(writer, new OMOutputFormat());
         }
     }
 



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: commons-dev-help@ws.apache.org