commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tcu...@apache.org
Subject svn commit: r232973 - /jakarta/commons/sandbox/jci/trunk/src/java/org/apache/commons/jci/compilers/eclipse/EclipseJavaCompiler.java
Date Tue, 16 Aug 2005 10:11:25 GMT
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


Mime
View raw message