empire-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From franci...@apache.org
Subject svn commit: r749096 - /incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/data/bean/BeanProperty.java
Date Sun, 01 Mar 2009 20:55:09 GMT
Author: francisdb
Date: Sun Mar  1 20:55:08 2009
New Revision: 749096

URL: http://svn.apache.org/viewvc?rev=749096&view=rev
Log:
set non-optional fields final

Modified:
    incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/data/bean/BeanProperty.java

Modified: incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/data/bean/BeanProperty.java
URL: http://svn.apache.org/viewvc/incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/data/bean/BeanProperty.java?rev=749096&r1=749095&r2=749096&view=diff
==============================================================================
--- incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/data/bean/BeanProperty.java
(original)
+++ incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/data/bean/BeanProperty.java
Sun Mar  1 20:55:08 2009
@@ -30,10 +30,11 @@
  */
 public class BeanProperty implements Column
 {
-    private String   name;        // required
-    private DataType dataType;    // required
-    private double   size;        // required
-    private boolean  required;    // required
+    private final String   name;
+    private final DataType dataType;
+    private final double   size;
+    private final boolean  required;
+    
     private String   controlType; // optional (default is 'text')
     private boolean  readOnly;    // optional
     private String   title;       // optional



Mime
View raw message