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 2008/10/15 14:46:50 UTC

svn commit: r704895 - /webservices/axis2/trunk/java/modules/mtompolicy-mar/src/org/apache/axis2/mtompolicy/MTOMPolicy.java

Author: nandana
Date: Wed Oct 15 05:46:50 2008
New Revision: 704895

URL: http://svn.apache.org/viewvc?rev=704895&view=rev
Log:
using constants

Modified:
    webservices/axis2/trunk/java/modules/mtompolicy-mar/src/org/apache/axis2/mtompolicy/MTOMPolicy.java

Modified: webservices/axis2/trunk/java/modules/mtompolicy-mar/src/org/apache/axis2/mtompolicy/MTOMPolicy.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/mtompolicy-mar/src/org/apache/axis2/mtompolicy/MTOMPolicy.java?rev=704895&r1=704894&r2=704895&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/mtompolicy-mar/src/org/apache/axis2/mtompolicy/MTOMPolicy.java (original)
+++ webservices/axis2/trunk/java/modules/mtompolicy-mar/src/org/apache/axis2/mtompolicy/MTOMPolicy.java Wed Oct 15 05:46:50 2008
@@ -57,10 +57,11 @@
         }
 
         if (isOptional) {
-            axisDescription
-                    .addParameter("enableMTOM", Constants.VALUE_OPTIONAL);
+            axisDescription.addParameter(Constants.Configuration.ENABLE_MTOM,
+                    Constants.VALUE_OPTIONAL);
         } else {
-            axisDescription.addParameter("enableMTOM", Constants.VALUE_TRUE);
+            axisDescription.addParameter(Constants.Configuration.ENABLE_MTOM,
+                    Constants.VALUE_TRUE);
         }
 
     }