axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ami...@apache.org
Subject svn commit: r529977 - /webservices/axis2/branches/java/1_2/modules/codegen/src/org/apache/axis2/wsdl/codegen/CodegenConfigLoader.java
Date Wed, 18 Apr 2007 11:06:43 GMT
Author: amilas
Date: Wed Apr 18 04:06:42 2007
New Revision: 529977

URL: http://svn.apache.org/viewvc?view=rev&rev=529977
Log:
set the async and sync flags on only if one is specified. default is both on

Modified:
    webservices/axis2/branches/java/1_2/modules/codegen/src/org/apache/axis2/wsdl/codegen/CodegenConfigLoader.java

Modified: webservices/axis2/branches/java/1_2/modules/codegen/src/org/apache/axis2/wsdl/codegen/CodegenConfigLoader.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_2/modules/codegen/src/org/apache/axis2/wsdl/codegen/CodegenConfigLoader.java?view=diff&rev=529977&r1=529976&r2=529977
==============================================================================
--- webservices/axis2/branches/java/1_2/modules/codegen/src/org/apache/axis2/wsdl/codegen/CodegenConfigLoader.java
(original)
+++ webservices/axis2/branches/java/1_2/modules/codegen/src/org/apache/axis2/wsdl/codegen/CodegenConfigLoader.java
Wed Apr 18 04:06:42 2007
@@ -69,11 +69,11 @@
         boolean syncFlagPresent =
                 (loadOption(WSDL2JavaConstants.CODEGEN_SYNC_ONLY_OPTION,
                             WSDL2JavaConstants.CODEGEN_SYNC_ONLY_OPTION_LONG, optionMap)
!= null);
-        if (asyncFlagPresent) {
+        if (asyncFlagPresent && !syncFlagPresent) {
             config.setAsyncOn(true);
             config.setSyncOn(false);
         }
-        if (syncFlagPresent) {
+        if (syncFlagPresent && !asyncFlagPresent) {
             config.setAsyncOn(false);
             config.setSyncOn(true);
         }



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


Mime
View raw message