empire-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From doeb...@apache.org
Subject svn commit: r1298293 - in /empire-db/trunk/empire-db-examples: empire-db-example-jsf2/src/main/java/org/apache/empire/jsf2/websample/db/SampleTable.java empire-db-example-struts2/src/main/java/org/apache/empire/struts2/websample/db/SampleTable.java
Date Thu, 08 Mar 2012 08:16:19 GMT
Author: doebele
Date: Thu Mar  8 08:16:18 2012
New Revision: 1298293

URL: http://svn.apache.org/viewvc?rev=1298293&view=rev
Log:
EMPIREDB-126
Code consistency correction

Modified:
    empire-db/trunk/empire-db-examples/empire-db-example-jsf2/src/main/java/org/apache/empire/jsf2/websample/db/SampleTable.java
    empire-db/trunk/empire-db-examples/empire-db-example-struts2/src/main/java/org/apache/empire/struts2/websample/db/SampleTable.java

Modified: empire-db/trunk/empire-db-examples/empire-db-example-jsf2/src/main/java/org/apache/empire/jsf2/websample/db/SampleTable.java
URL: http://svn.apache.org/viewvc/empire-db/trunk/empire-db-examples/empire-db-example-jsf2/src/main/java/org/apache/empire/jsf2/websample/db/SampleTable.java?rev=1298293&r1=1298292&r2=1298293&view=diff
==============================================================================
--- empire-db/trunk/empire-db-examples/empire-db-example-jsf2/src/main/java/org/apache/empire/jsf2/websample/db/SampleTable.java
(original)
+++ empire-db/trunk/empire-db-examples/empire-db-example-jsf2/src/main/java/org/apache/empire/jsf2/websample/db/SampleTable.java
Thu Mar  8 08:16:18 2012
@@ -40,7 +40,7 @@ public class SampleTable extends DBTable
     }
 
     @Override
-    protected DBTableColumn addColumn(DBTableColumn column)
+    protected void addColumn(DBTableColumn column)
     {
         // Set Translation Title
         String col = column.getBeanPropertyName();  
@@ -53,6 +53,6 @@ public class SampleTable extends DBTable
         column.setControlType((type==DataType.BOOL) ? "checkbox" : "text");
 
         // Add Column
-        return super.addColumn(column);
+        super.addColumn(column);
     }
 }

Modified: empire-db/trunk/empire-db-examples/empire-db-example-struts2/src/main/java/org/apache/empire/struts2/websample/db/SampleTable.java
URL: http://svn.apache.org/viewvc/empire-db/trunk/empire-db-examples/empire-db-example-struts2/src/main/java/org/apache/empire/struts2/websample/db/SampleTable.java?rev=1298293&r1=1298292&r2=1298293&view=diff
==============================================================================
--- empire-db/trunk/empire-db-examples/empire-db-example-struts2/src/main/java/org/apache/empire/struts2/websample/db/SampleTable.java
(original)
+++ empire-db/trunk/empire-db-examples/empire-db-example-struts2/src/main/java/org/apache/empire/struts2/websample/db/SampleTable.java
Thu Mar  8 08:16:18 2012
@@ -40,7 +40,7 @@ public class SampleTable extends DBTable
     }
 
     @Override
-    protected DBTableColumn addColumn(DBTableColumn column)
+    protected void addColumn(DBTableColumn column)
     {
         // Set Translation Title
         String col = column.getBeanPropertyName();  
@@ -53,6 +53,6 @@ public class SampleTable extends DBTable
         column.setControlType((type==DataType.BOOL) ? "checkbox" : "text");
 
         // Add Column
-        return super.addColumn(column);
+        super.addColumn(column);
     }
 }



Mime
View raw message