openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p..@apache.org
Subject svn commit: r561176 - /openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/conf/OpenJPAConfigurationImpl.java
Date Mon, 30 Jul 2007 22:54:55 GMT
Author: pcl
Date: Mon Jul 30 15:54:54 2007
New Revision: 561176

URL: http://svn.apache.org/viewvc?view=rev&rev=561176
Log:
Code cleanup.

Modified:
    openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/conf/OpenJPAConfigurationImpl.java

Modified: openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/conf/OpenJPAConfigurationImpl.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/conf/OpenJPAConfigurationImpl.java?view=diff&rev=561176&r1=561175&r2=561176
==============================================================================
--- openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/conf/OpenJPAConfigurationImpl.java
(original)
+++ openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/conf/OpenJPAConfigurationImpl.java
Mon Jul 30 15:54:54 2007
@@ -412,9 +412,11 @@
 
         readLockLevel = addInt("ReadLockLevel");
         aliases =
-            new String[] { "read", String.valueOf(LockLevels.LOCK_READ),
-                "write", String.valueOf(LockLevels.LOCK_WRITE), "none",
-                String.valueOf(LockLevels.LOCK_NONE), };
+            new String[] {
+                "read", String.valueOf(LockLevels.LOCK_READ),
+                "write", String.valueOf(LockLevels.LOCK_WRITE),
+                "none", String.valueOf(LockLevels.LOCK_NONE),
+            };
         readLockLevel.setAliases(aliases);
         readLockLevel.setDefault(aliases[0]);
         readLockLevel.set(LockLevels.LOCK_READ);
@@ -422,9 +424,11 @@
 
         writeLockLevel = addInt("WriteLockLevel");
         aliases =
-            new String[] { "read", String.valueOf(LockLevels.LOCK_READ),
-                "write", String.valueOf(LockLevels.LOCK_WRITE), "none",
-                String.valueOf(LockLevels.LOCK_NONE), };
+            new String[] {
+                "read", String.valueOf(LockLevels.LOCK_READ),
+                "write", String.valueOf(LockLevels.LOCK_WRITE),
+                "none", String.valueOf(LockLevels.LOCK_NONE),
+            };
         writeLockLevel.setAliases(aliases);
         writeLockLevel.setDefault(aliases[1]);
         writeLockLevel.set(LockLevels.LOCK_WRITE);
@@ -436,7 +440,8 @@
 
         connectionRetainMode = addInt("ConnectionRetainMode");
         aliases =
-            new String[] { "on-demand",
+            new String[] {
+                "on-demand",
                 String.valueOf(ConnectionRetainModes.CONN_RETAIN_DEMAND),
                 "transaction",
                 String.valueOf(ConnectionRetainModes.CONN_RETAIN_TRANS),
@@ -444,7 +449,8 @@
                 String.valueOf(ConnectionRetainModes.CONN_RETAIN_ALWAYS),
                 // deprecated
                 "persistence-manager",
-                String.valueOf(ConnectionRetainModes.CONN_RETAIN_ALWAYS), };
+                String.valueOf(ConnectionRetainModes.CONN_RETAIN_ALWAYS),
+            };
         connectionRetainMode.setAliases(aliases);
         connectionRetainMode.setDefault(aliases[0]);
         connectionRetainMode.setAliasListComprehensive(true);



Mime
View raw message