cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r592072 - in /incubator/cxf/branches/2.0.x-fixes: ./ tools/common/src/main/java/org/apache/cxf/tools/common/toolspec/parser/CommandLineParser.java
Date Mon, 05 Nov 2007 16:34:03 GMT
Author: dkulp
Date: Mon Nov  5 08:34:03 2007
New Revision: 592072

URL: http://svn.apache.org/viewvc?rev=592072&view=rev
Log:
Merged revisions 591807 via svnmerge from 
https://svn.apache.org/repos/asf/incubator/cxf/trunk

........
  r591807 | ema | 2007-11-04 12:31:32 -0500 (Sun, 04 Nov 2007) | 1 line
  
  Fixed another typo.
........

Modified:
    incubator/cxf/branches/2.0.x-fixes/   (props changed)
    incubator/cxf/branches/2.0.x-fixes/tools/common/src/main/java/org/apache/cxf/tools/common/toolspec/parser/CommandLineParser.java

Propchange: incubator/cxf/branches/2.0.x-fixes/
------------------------------------------------------------------------------
Binary property 'svnmerge-integrated' - no diff available.

Modified: incubator/cxf/branches/2.0.x-fixes/tools/common/src/main/java/org/apache/cxf/tools/common/toolspec/parser/CommandLineParser.java
URL: http://svn.apache.org/viewvc/incubator/cxf/branches/2.0.x-fixes/tools/common/src/main/java/org/apache/cxf/tools/common/toolspec/parser/CommandLineParser.java?rev=592072&r1=592071&r2=592072&view=diff
==============================================================================
--- incubator/cxf/branches/2.0.x-fixes/tools/common/src/main/java/org/apache/cxf/tools/common/toolspec/parser/CommandLineParser.java
(original)
+++ incubator/cxf/branches/2.0.x-fixes/tools/common/src/main/java/org/apache/cxf/tools/common/toolspec/parser/CommandLineParser.java
Mon Nov  5 08:34:03 2007
@@ -212,33 +212,33 @@
         StringTokenizer st1 = new StringTokenizer(usage, lineSeparator);
         int i = 0;
         int length = st1.countTokens();
-        String[] orignalStrs = new String[length];
+        String[] originalStrs = new String[length];
         while (st1.hasMoreTokens()) {
             String str = st1.nextToken();
-            orignalStrs[i] = str;
+            originalStrs[i] = str;
             i++;
         }
         StringBuffer strbuffer = new StringBuffer();
         for (int j = 0; j < length - 1; j = j + 2) {
-            int optionLen = orignalStrs[j].length();
+            int optionLen = originalStrs[j].length();
             addWhiteNamespace(strbuffer, beforeOptSpan);
             if (optionLen <= optSpan) {
                 // && beforeOptSpan + optionLen + optSpan + desLen <= totalLen
-
                 // 1) {
 
-                strbuffer.append(orignalStrs[j]);
-                addWhiteNamespace(strbuffer, optSpan - orignalStrs[j].length());
+                strbuffer.append(originalStrs[j]);
+                addWhiteNamespace(strbuffer, optSpan - originalStrs[j].length());
                 strbuffer.append(" ");
-                if (orignalStrs[j + 1].length() > totalLen - beforeDesSpan) {
-                    String tmp = orignalStrs[j + 1].substring(0, totalLen - beforeDesSpan);
+                if (originalStrs[j + 1].length() > totalLen - beforeDesSpan) {
+                    String tmp = originalStrs[j + 1].substring(0, totalLen - beforeDesSpan);
                     strbuffer.append(tmp);
-                    orignalStrs[j + 1] = orignalStrs[j + 1].substring(totalLen - beforeDesSpan,

-                                                                      orignalStrs[j + 1].length());
+                    originalStrs[j + 1] = originalStrs[j + 1].substring(totalLen - beforeDesSpan,

+                                                                        originalStrs[j +
1].length());
                     strbuffer.append(lineSeparator);
                 } else {
-                    strbuffer.append(orignalStrs[j + 1]);
+                    strbuffer.append(originalStrs[j + 1]);
                     strbuffer.append(lineSeparator);
-                    orignalStrs[j + 1] = "";
+                    originalStrs[j + 1] = "";
                 }
                 
                 // strbuffer.append(orginalStrs[j + 1]);
@@ -246,10 +246,10 @@
                 // strbuffer.append(lineSeparator);
             } else {
                 // addWhiteNamespace(strbuffer, beforeOptSpan);
-                strbuffer.append(orignalStrs[j]);
+                strbuffer.append(originalStrs[j]);
                 strbuffer.append(lineSeparator);
             }
-            String tmpStr = orignalStrs[j + 1];
+            String tmpStr = originalStrs[j + 1];
             
             for (i = 0; i < tmpStr.length(); i = i + (totalLen - beforeDesSpan)) {
                 if (i + totalLen - beforeDesSpan < tmpStr.length()) {



Mime
View raw message