[cvs] epoll commit by mtraum: fix deprecated

JCorporate Ltd jcorp at jcorp2.servlets.net
Wed Oct 13 13:13:31 PDT 2004


Log Message:
-----------
fix deprecated

Modified Files:
--------------
    epoll/src/WEB-INF/src/com/jcorporate/epoll/controller:
        Booth.java

Revision Data
-------------
Index: Booth.java
===================================================================
RCS file: /home/javacorp/.cvs/expresso/epoll/src/WEB-INF/src/com/jcorporate/epoll/controller/Booth.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -Lsrc/WEB-INF/src/com/jcorporate/epoll/controller/Booth.java -Lsrc/WEB-INF/src/com/jcorporate/epoll/controller/Booth.java -u -r1.4 -r1.5
--- src/WEB-INF/src/com/jcorporate/epoll/controller/Booth.java
+++ src/WEB-INF/src/com/jcorporate/epoll/controller/Booth.java
@@ -628,7 +628,7 @@
 			}
 			// If all the questions in the form are validated, store the choices in the DB
 			// The "Valid" output includes either a succesful indication or an error message
-			if (ec.empty()) {
+			if (ec.getErrorCount() <= 0) {
 
 				// We are writing to two DB's and this needs to be an atomic opeartion so that the two DBs
 				// have consistent information ....


More information about the cvs mailing list