You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by rh...@apache.org on 2011/11/04 15:14:38 UTC

svn commit: r1197579 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/BaseTestCase.java

Author: rhillegas
Date: Fri Nov  4 14:14:37 2011
New Revision: 1197579

URL: http://svn.apache.org/viewvc?rev=1197579&view=rev
Log:
DERBY-5490: Fix previous patch to compile against CDC/FP 1.1 libraries.

Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/BaseTestCase.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/BaseTestCase.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/BaseTestCase.java?rev=1197579&r1=1197578&r2=1197579&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/BaseTestCase.java (original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/BaseTestCase.java Fri Nov  4 14:14:37 2011
@@ -595,7 +595,7 @@ public abstract class BaseTestCase
         }
 
         // derby-5490. workaround problem if executable name contains spaces
-        if ( vmname.contains( " " ) )
+        if ( vmname.indexOf( " " ) >= 0 )
         {
             if ( getSystemProperty( "os.name" ).equals( "Mac OS X" ) )
             {