You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by rl...@apache.org on 2003/02/11 16:37:04 UTC

cvs commit: jakarta-struts/src/share/org/apache/struts/validator FieldChecks.java

rleland     2003/02/11 07:37:04

  Modified:    src/share/org/apache/struts/validator FieldChecks.java
  Log:
  change isString() from private to public so it is easier to add additional custom
  fieldChecks that use it. I don't think this violates the spirit of the code
  freeze, since it is so small a change, otherwise I'll remove the change.
  
  Revision  Changes    Path
  1.3       +2 -2      jakarta-struts/src/share/org/apache/struts/validator/FieldChecks.java
  
  Index: FieldChecks.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/validator/FieldChecks.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- FieldChecks.java	27 Oct 2002 06:44:00 -0000	1.2
  +++ FieldChecks.java	11 Feb 2003 15:37:04 -0000	1.3
  @@ -1,7 +1,7 @@
   /*
    *  The Apache Software License, Version 1.1
    *
  - *  Copyright (c) 1999 The Apache Software Foundation.  All rights
  + *  Copyright (c) 1999-2003 The Apache Software Foundation.  All rights
    *  reserved.
    *
    *  Redistribution and use in source and binary forms, with or without
  @@ -910,7 +910,7 @@
        *@param  o  Object to be tested
        *@return    The string value
        */
  -    private static boolean isString(Object o) {
  +    public static boolean isString(Object o) {
   
           if (o == null) {
               return (true);
  
  
  

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