You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by ng...@apache.org on 2006/12/13 06:24:54 UTC

svn commit: r486499 - /webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/util/JavaUtils.java

Author: ngallardo
Date: Tue Dec 12 21:24:53 2006
New Revision: 486499

URL: http://svn.apache.org/viewvc?view=rev&rev=486499
Log:
Removing the step that converts all package names to lower case.  This is 
allowed by the Java language specification.  

Modified:
    webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/util/JavaUtils.java

Modified: webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/util/JavaUtils.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/util/JavaUtils.java?view=diff&rev=486499&r1=486498&r2=486499
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/util/JavaUtils.java (original)
+++ webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/util/JavaUtils.java Tue Dec 12 21:24:53 2006
@@ -116,12 +116,10 @@
             list.add(words[i]);
         }
         
-        // Step 7: lowercase each word
-        // Step 8: make into and an appropriate java word
+        // Step 7: make into and an appropriate java word
         for (int i =0; i<list.size(); i++) {
             String word = list.get(i);
-            word = word.toLowerCase();
-            
+
             // Convert non-java words to underscore.
             // TODO: Need to do this for all chars..not just hyphens
             word = replace(word, "-", "_");
@@ -135,7 +133,7 @@
             list.set(i, word);
         }
         
-        // Step 9: Concatenate and return
+        // Step 8: Concatenate and return
         String name = "";
         for (int i =0; i<list.size(); i++) {
             if (i == 0) {



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