axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From az...@apache.org
Subject svn commit: r795544 - /webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/util/CommandLineOption.java
Date Sun, 19 Jul 2009 14:06:21 GMT
Author: azeez
Date: Sun Jul 19 14:06:21 2009
New Revision: 795544

URL: http://svn.apache.org/viewvc?rev=795544&view=rev
Log:
Need to trim strings

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

Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/util/CommandLineOption.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/util/CommandLineOption.java?rev=795544&r1=795543&r2=795544&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/util/CommandLineOption.java
(original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/util/CommandLineOption.java
Sun Jul 19 14:06:21 2009
@@ -30,6 +30,9 @@
         setOptionType(type);
         ArrayList arrayList = new ArrayList(values.length);
         for (int i = 0; i < values.length; i++) {
+            if (values[i] != null) {
+                values[i] = values[i].trim();
+            }
             arrayList.add(values[i]);
         }
         this.optionValues = arrayList;



Mime
View raw message