commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tcu...@apache.org
Subject svn commit: r397684 - in /jakarta/commons/sandbox/jci/trunk: compilers/eclipse/pom.xml compilers/janino/pom.xml core/src/java/org/apache/commons/jci/compilers/JavaCompilerFactory.java
Date Fri, 28 Apr 2006 00:18:51 GMT
Author: tcurdt
Date: Thu Apr 27 17:18:48 2006
New Revision: 397684

URL: http://svn.apache.org/viewcvs?rev=397684&view=rev
Log:
fixed the factory, updated to latest janino and eclipse compilers

Modified:
    jakarta/commons/sandbox/jci/trunk/compilers/eclipse/pom.xml
    jakarta/commons/sandbox/jci/trunk/compilers/janino/pom.xml
    jakarta/commons/sandbox/jci/trunk/core/src/java/org/apache/commons/jci/compilers/JavaCompilerFactory.java

Modified: jakarta/commons/sandbox/jci/trunk/compilers/eclipse/pom.xml
URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/jci/trunk/compilers/eclipse/pom.xml?rev=397684&r1=397683&r2=397684&view=diff
==============================================================================
--- jakarta/commons/sandbox/jci/trunk/compilers/eclipse/pom.xml (original)
+++ jakarta/commons/sandbox/jci/trunk/compilers/eclipse/pom.xml Thu Apr 27 17:18:48 2006
@@ -15,7 +15,7 @@
 
   <groupId>org.apache.commons</groupId>
   <artifactId>commons-jci-eclipse</artifactId>
-  <version>3.1.0</version>
+  <version>3.2.0</version>
 
   <name>Jakarta Commons JCI Compiler - Eclipse</name>
 <!--
@@ -45,7 +45,7 @@
     <dependency>
       <groupId>org.eclipse.jdt</groupId>
       <artifactId>core</artifactId>
-      <version>3.2.0.653</version>
+      <version>3.2.0.658</version>
     </dependency>
 
   </dependencies>

Modified: jakarta/commons/sandbox/jci/trunk/compilers/janino/pom.xml
URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/jci/trunk/compilers/janino/pom.xml?rev=397684&r1=397683&r2=397684&view=diff
==============================================================================
--- jakarta/commons/sandbox/jci/trunk/compilers/janino/pom.xml (original)
+++ jakarta/commons/sandbox/jci/trunk/compilers/janino/pom.xml Thu Apr 27 17:18:48 2006
@@ -15,7 +15,7 @@
 
   <groupId>org.apache.commons</groupId>
   <artifactId>commons-jci-janino</artifactId>
-  <version>2.3.7</version>
+  <version>2.4.1</version>
 
   <name>Jakarta Commons JCI Compiler - Janino</name>
 
@@ -30,7 +30,7 @@
     <dependency>
       <groupId>janino</groupId>
       <artifactId>janino</artifactId>
-      <version>2.3.7</version>
+      <version>2.4.1</version>
     </dependency>
 
   </dependencies>

Modified: jakarta/commons/sandbox/jci/trunk/core/src/java/org/apache/commons/jci/compilers/JavaCompilerFactory.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/jci/trunk/core/src/java/org/apache/commons/jci/compilers/JavaCompilerFactory.java?rev=397684&r1=397683&r2=397684&view=diff
==============================================================================
--- jakarta/commons/sandbox/jci/trunk/core/src/java/org/apache/commons/jci/compilers/JavaCompilerFactory.java
(original)
+++ jakarta/commons/sandbox/jci/trunk/core/src/java/org/apache/commons/jci/compilers/JavaCompilerFactory.java
Thu Apr 27 17:18:48 2006
@@ -75,7 +75,7 @@
     public JavaCompiler createCompiler(final String pHint) {
         
         final String className;
-        if (pHint.charAt('.') < 0) {
+        if (pHint.indexOf('.') < 0) {
             className = "org.apache.commons.jci.compilers." + toJavaCasing(pHint) + "JavaCompiler";
         } else {
             className = pHint;
@@ -104,4 +104,4 @@
         }
     }
     
-}
\ No newline at end of file
+}



---------------------------------------------------------------------
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