james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From don...@apache.org
Subject svn commit: r1683571 - in /james/hupa/trunk/client/src/main/java/org/apache/hupa/client/validation: EmailListValidator.java NotEmptyValidator.java
Date Thu, 04 Jun 2015 15:06:12 GMT
Author: dongxu
Date: Thu Jun  4 15:06:12 2015
New Revision: 1683571

URL: http://svn.apache.org/r1683571
Log:
remove some warnings using the suppress warnings.

Modified:
    james/hupa/trunk/client/src/main/java/org/apache/hupa/client/validation/EmailListValidator.java
    james/hupa/trunk/client/src/main/java/org/apache/hupa/client/validation/NotEmptyValidator.java

Modified: james/hupa/trunk/client/src/main/java/org/apache/hupa/client/validation/EmailListValidator.java
URL: http://svn.apache.org/viewvc/james/hupa/trunk/client/src/main/java/org/apache/hupa/client/validation/EmailListValidator.java?rev=1683571&r1=1683570&r2=1683571&view=diff
==============================================================================
--- james/hupa/trunk/client/src/main/java/org/apache/hupa/client/validation/EmailListValidator.java
(original)
+++ james/hupa/trunk/client/src/main/java/org/apache/hupa/client/validation/EmailListValidator.java
Thu Jun  4 15:06:12 2015
@@ -40,7 +40,8 @@ public class EmailListValidator extends
         this.text = text;
     }
 
-    @Override
+    @SuppressWarnings("unchecked")
+	@Override
     public void invokeActions(ValidationResult result) {
         for (ValidationAction<HasText> action : getFailureActions())
             action.invoke(result, text);

Modified: james/hupa/trunk/client/src/main/java/org/apache/hupa/client/validation/NotEmptyValidator.java
URL: http://svn.apache.org/viewvc/james/hupa/trunk/client/src/main/java/org/apache/hupa/client/validation/NotEmptyValidator.java?rev=1683571&r1=1683570&r2=1683571&view=diff
==============================================================================
--- james/hupa/trunk/client/src/main/java/org/apache/hupa/client/validation/NotEmptyValidator.java
(original)
+++ james/hupa/trunk/client/src/main/java/org/apache/hupa/client/validation/NotEmptyValidator.java
Thu Jun  4 15:06:12 2015
@@ -38,7 +38,8 @@ public class NotEmptyValidator extends V
     public NotEmptyValidator(HasText text) {
         this.text = text;
     }
-    @Override
+    @SuppressWarnings("unchecked")
+	@Override
     public void invokeActions(ValidationResult result) {
         for (ValidationAction<HasText> action : getFailureActions())
             action.invoke(result, text);



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message