[prev in list] [next in list] [prev in thread] [next in thread] 

List:       axis-cvs
Subject:    svn commit: r795544 -
From:       azeez () apache ! org
Date:       2009-07-19 14:06:21
Message-ID: 20090719140621.AECFC23888DC () eris ! apache ! org
[Download RAW message or body]

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;


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic