commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n...@apache.org
Subject svn commit: r1128458 - in /commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines: DomainValidator.java EmailValidator.java
Date Fri, 27 May 2011 21:11:39 GMT
Author: nick
Date: Fri May 27 21:11:39 2011
New Revision: 1128458

URL: http://svn.apache.org/viewvc?rev=1128458&view=rev
Log:
VALIDATOR-295 Fix checkstyle warnings

Modified:
    commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/DomainValidator.java
    commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/EmailValidator.java

Modified: commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/DomainValidator.java
URL: http://svn.apache.org/viewvc/commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/DomainValidator.java?rev=1128458&r1=1128457&r2=1128458&view=diff
==============================================================================
--- commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/DomainValidator.java
(original)
+++ commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/DomainValidator.java
Fri May 27 21:11:39 2011
@@ -106,6 +106,7 @@ public class DomainValidator implements 
      * Returns the singleton instance of this validator,
      *  with local validation as required.
      * @param allowLocal Should local addresses be considered valid?
+     * @return the singleton instance of this validator
      */
     public static DomainValidator getInstance(boolean allowLocal) {
        if(allowLocal) {

Modified: commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/EmailValidator.java
URL: http://svn.apache.org/viewvc/commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/EmailValidator.java?rev=1128458&r1=1128457&r2=1128458&view=diff
==============================================================================
--- commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/EmailValidator.java
(original)
+++ commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/EmailValidator.java
Fri May 27 21:11:39 2011
@@ -81,7 +81,9 @@ public class EmailValidator implements S
     /**
      * Returns the Singleton instance of this validator,
      *  with local validation as required.
+     *  
      * @param allowLocal Should local addresses be considered valid?
+     * @return singleton instance of this validator
      */
     public static EmailValidator getInstance(boolean allowLocal) {
         if(allowLocal) {
@@ -92,6 +94,8 @@ public class EmailValidator implements S
 
     /**                                       
      * Protected constructor for subclasses to use.
+     *  
+     * @param allowLocal Should local addresses be considered valid?
      */
     protected EmailValidator(boolean allowLocal) {
         super();



Mime
View raw message