cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From torehal...@apache.org
Subject svn commit: r611949 - /cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/merge/MergeDirection.java
Date Mon, 14 Jan 2008 22:04:41 GMT
Author: torehalset
Date: Mon Jan 14 14:04:39 2008
New Revision: 611949

URL: http://svn.apache.org/viewvc?rev=611949&view=rev
Log:
_ID does not need to be public. perhaps this should be converted to enum.

Modified:
    cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/merge/MergeDirection.java

Modified: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/merge/MergeDirection.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/merge/MergeDirection.java?rev=611949&r1=611948&r2=611949&view=diff
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/merge/MergeDirection.java
(original)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/merge/MergeDirection.java
Mon Jan 14 14:04:39 2008
@@ -26,8 +26,8 @@
  */
 public class MergeDirection {
 
-    public static final int TO_DB_ID = 1;
-    public static final int TO_MODEL_ID = 2;
+    private static final int TO_DB_ID = 1;
+    private static final int TO_MODEL_ID = 2;
 
     public static final MergeDirection TO_DB = new MergeDirection(TO_DB_ID, "To DB");
     public static final MergeDirection TO_MODEL = new MergeDirection(



Mime
View raw message