craigmcc 2002/12/15 16:21:02
Modified: beanutils/src/java/org/apache/commons/beanutils
BeanUtils.java PropertyUtils.java
Log:
Add "@deprecated" tags as needed on the "debug" variable (and associated
getter and setter), since it is no longer used.
Revision Changes Path
1.29 +7 -5
jakarta-commons/beanutils/src/java/org/apache/commons/beanutils/BeanUtils.java
Index: BeanUtils.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/beanutils/src/java/org/apache/commons/beanutils/BeanUtils.java,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- BeanUtils.java 1 Dec 2002 22:38:27 -0000 1.28
+++ BeanUtils.java 16 Dec 2002 00:21:02 -0000 1.29
@@ -112,7 +112,9 @@
/**
* The debugging detail level for this component.
- * Deprecated: use the log variable
+ * @deprecated BeanUtils now uses commons-logging for all log messages.
+ * Use your favorite logging tool to configure logging for
+ * this class.
*/
private static int debug = 0;
1.36 +11 -4
jakarta-commons/beanutils/src/java/org/apache/commons/beanutils/PropertyUtils.java
Index: PropertyUtils.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/beanutils/src/java/org/apache/commons/beanutils/PropertyUtils.java,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -r1.35 -r1.36
--- PropertyUtils.java 1 Dec 2002 22:38:27 -0000 1.35
+++ PropertyUtils.java 16 Dec 2002 00:21:02 -0000 1.36
@@ -178,13 +178,20 @@
/**
* The debugging detail level for this component.
+ * @deprecated The <code>debug</code> static property is no longer used
*/
private static int debug = 0;
+ /**
+ * @deprecated The <code>debug</code> static property is no longer used
+ */
public static int getDebug() {
return (debug);
}
+ /**
+ * @deprecated The <code>debug</code> static property is no longer used
+ */
public static void setDebug(int newDebug) {
debug = newDebug;
}
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>