commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rlel...@apache.org
Subject cvs commit: jakarta-commons/validator/src/share/org/apache/commons/validator GenericValidator.java
Date Wed, 30 Apr 2003 21:17:48 GMT
rleland     2003/04/30 14:17:48

  Modified:    validator/src/share/org/apache/commons/validator
                        GenericValidator.java
  Log:
  Follow Validator convention and place field at TOP
  of Class.
  
  Revision  Changes    Path
  1.17      +8 -6      jakarta-commons/validator/src/share/org/apache/commons/validator/GenericValidator.java
  
  Index: GenericValidator.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/validator/src/share/org/apache/commons/validator/GenericValidator.java,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- GenericValidator.java	30 Apr 2003 19:04:23 -0000	1.16
  +++ GenericValidator.java	30 Apr 2003 21:17:48 -0000	1.17
  @@ -88,6 +88,10 @@
      public final static String REGEXP_DELIM = ValidatorUtil.REGEXP_DELIMITER;
   
      /**
  +    * UrlValidator used in wrapper method, lazy initialization.
  +    */
  +   private static UrlValidator urlValidator = null;
  +   /**
       * <p>Checks if the field isn't null and length of the field is greater than zero
not
       * including whitespace.</p>
       *
  @@ -370,6 +374,4 @@
      protected static String getDelimittedRegexp(String regexp) {
         return ValidatorUtil.getDelimitedRegExp(regexp);
      }
  -
  -   static UrlValidator urlValidator = null;
   }
  
  
  

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


Mime
View raw message