dgraham 2004/11/26 13:25:12 Modified: validator/src/share/org/apache/commons/validator/util ValidatorUtils.java validator/src/share/org/apache/commons/validator GenericTypeValidator.java Log: Made Log instance final. Revision Changes Path 1.9 +5 -11 jakarta-commons/validator/src/share/org/apache/commons/validator/util/ValidatorUtils.java Index: ValidatorUtils.java =================================================================== RCS file: /home/cvs/jakarta-commons/validator/src/share/org/apache/commons/validator/util/ValidatorUtils.java,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- ValidatorUtils.java 8 Jun 2004 17:17:44 -0000 1.8 +++ ValidatorUtils.java 26 Nov 2004 21:25:12 -0000 1.9 @@ -41,10 +41,7 @@ */ public class ValidatorUtils { - /** - * Logger. - */ - private static Log log = LogFactory.getLog(ValidatorUtils.class); + private static final Log log = LogFactory.getLog(ValidatorUtils.class); /** * <p>Replace part of a <code>String</code> with another value.</p> @@ -53,10 +50,7 @@ * @param key The name of the constant. * @param replaceValue The value of the constant. */ - public static String replace( - String value, - String key, - String replaceValue) { + public static String replace(String value, String key, String replaceValue) { if (value == null || key == null || replaceValue == null) { return value; 1.15 +4 -4 jakarta-commons/validator/src/share/org/apache/commons/validator/GenericTypeValidator.java Index: GenericTypeValidator.java =================================================================== RCS file: /home/cvs/jakarta-commons/validator/src/share/org/apache/commons/validator/GenericTypeValidator.java,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- GenericTypeValidator.java 9 Apr 2004 00:16:39 -0000 1.14 +++ GenericTypeValidator.java 26 Nov 2004 21:25:12 -0000 1.15 @@ -36,7 +36,7 @@ */ public class GenericTypeValidator implements Serializable { - private static Log log = LogFactory.getLog(GenericTypeValidator.class); + private static final Log log = LogFactory.getLog(GenericTypeValidator.class); /** * Checks if the value can safely be converted to a byte primitive.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]