openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strub...@apache.org
Subject svn commit: r1683235 - /openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jdbc/meta/TestBuildSchema.java
Date Wed, 03 Jun 2015 06:12:45 GMT
Author: struberg
Date: Wed Jun  3 06:12:45 2015
New Revision: 1683235

URL: http://svn.apache.org/r1683235
Log:
fix commented out code which made the test pretty much nil

Modified:
    openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jdbc/meta/TestBuildSchema.java

Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jdbc/meta/TestBuildSchema.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jdbc/meta/TestBuildSchema.java?rev=1683235&r1=1683234&r2=1683235&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jdbc/meta/TestBuildSchema.java
(original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jdbc/meta/TestBuildSchema.java
Wed Jun  3 06:12:45 2015
@@ -80,13 +80,7 @@ public class TestBuildSchema
     }
 
     private String fixNewline(String str) {
-        //FIXME 
-        /*
-        return serp.util.Strings.join
-            (serp.util.Strings.split
-                (str, "\r\n", -1), "\n");
-         */
-        return "";
+        return str.replaceAll("\r\n", "\n");
     }
     
 }



Mime
View raw message