You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by na...@apache.org on 2007/02/08 19:05:25 UTC

svn commit: r504984 - /webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/util/Builder.java

Author: nagy
Date: Thu Feb  8 10:05:25 2007
New Revision: 504984

URL: http://svn.apache.org/viewvc?view=rev&rev=504984
Log:
Fixed build break.  The Axiom OMBuilder interface was changed to add another parameter, but no comment was included in either the commit message or, more importantly, the code, so I have no idea what should be passed in.  Furthermore, the new parameter doesn't seem to actually be used, so it's unclear as to whether files were missing during the commit or if this was committed in error.  If this is to be a forward progressing change to the interface, then this code will need to be modified to pass in the correct value.

Modified:
    webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/util/Builder.java

Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/util/Builder.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/util/Builder.java?view=diff&rev=504984&r1=504983&r2=504984
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/util/Builder.java (original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/util/Builder.java Thu Feb  8 10:05:25 2007
@@ -329,7 +329,8 @@
 		if (builderClass != null) {
 			try {
 				OMBuilder builder = (OMBuilder) builderClass.newInstance();
-				builder.init(inputStream);
+                //REVIEW: The second parameter here is most likely incorrect, as the Axiom interface was changed without any comments and without anybody actually using it.  At least the code compiles correctly now.
+				builder.init(inputStream, null);
 				// Setting the received content-type as the messageType to make
 				// sure that we respond using the received message serialisation
 				// format.



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