You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by tc...@apache.org on 2005/08/16 12:11:25 UTC

svn commit: r232973 - /jakarta/commons/sandbox/jci/trunk/src/java/org/apache/commons/jci/compilers/eclipse/EclipseJavaCompiler.java

Author: tcurdt
Date: Tue Aug 16 03:10:09 2005
New Revision: 232973

URL: http://svn.apache.org/viewcvs?rev=232973&view=rev
Log:
fixed a potentially wrong type name


Modified:
    jakarta/commons/sandbox/jci/trunk/src/java/org/apache/commons/jci/compilers/eclipse/EclipseJavaCompiler.java

Modified: jakarta/commons/sandbox/jci/trunk/src/java/org/apache/commons/jci/compilers/eclipse/EclipseJavaCompiler.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/jci/trunk/src/java/org/apache/commons/jci/compilers/eclipse/EclipseJavaCompiler.java?rev=232973&r1=232972&r2=232973&view=diff
==============================================================================
--- jakarta/commons/sandbox/jci/trunk/src/java/org/apache/commons/jci/compilers/eclipse/EclipseJavaCompiler.java (original)
+++ jakarta/commons/sandbox/jci/trunk/src/java/org/apache/commons/jci/compilers/eclipse/EclipseJavaCompiler.java Tue Aug 16 03:10:09 2005
@@ -133,12 +133,9 @@
             public NameEnvironmentAnswer findType( final char[] typeName, final char[][] packageName ) {
                 final StringBuffer result = new StringBuffer();
                 for (int i = 0; i < packageName.length; i++) {
-                    if (i != 0) {
-                        result.append('.');
-                    }
                     result.append(packageName[i]);
+                    result.append('.');
                 }
-                result.append('.');
                 result.append(typeName);
                 return findType(result.toString());
             }



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org