empire-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From franci...@apache.org
Subject svn commit: r786328 - /incubator/empire-db/trunk/empire-db-examples/empire-db-example-struts2-cxf/src/main/java/org/apache/empire/struts2/websample/ws/SampleBeanClass.java
Date Thu, 18 Jun 2009 22:55:26 GMT
Author: francisdb
Date: Thu Jun 18 22:55:26 2009
New Revision: 786328

URL: http://svn.apache.org/viewvc?rev=786328&view=rev
Log:
added FIXME, problem found using findbugs

Modified:
    incubator/empire-db/trunk/empire-db-examples/empire-db-example-struts2-cxf/src/main/java/org/apache/empire/struts2/websample/ws/SampleBeanClass.java

Modified: incubator/empire-db/trunk/empire-db-examples/empire-db-example-struts2-cxf/src/main/java/org/apache/empire/struts2/websample/ws/SampleBeanClass.java
URL: http://svn.apache.org/viewvc/incubator/empire-db/trunk/empire-db-examples/empire-db-example-struts2-cxf/src/main/java/org/apache/empire/struts2/websample/ws/SampleBeanClass.java?rev=786328&r1=786327&r2=786328&view=diff
==============================================================================
--- incubator/empire-db/trunk/empire-db-examples/empire-db-example-struts2-cxf/src/main/java/org/apache/empire/struts2/websample/ws/SampleBeanClass.java
(original)
+++ incubator/empire-db/trunk/empire-db-examples/empire-db-example-struts2-cxf/src/main/java/org/apache/empire/struts2/websample/ws/SampleBeanClass.java
Thu Jun 18 22:55:26 2009
@@ -52,7 +52,10 @@
         if(type==DataType.BOOL)
         	prop.setControlType("checkbox");
         else if("".equals(type))
+        {
+        	// FIXME this case never happens, using equals between String and enum
         	prop.setControlType("text");
+        }
 
         // Add Column
         super.addProp(prop);



Mime
View raw message