You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by sk...@apache.org on 2004/04/08 08:09:59 UTC
cvs commit: jakarta-commons/digester/src/java/org/apache/commons/digester/plugins LogUtils.java
skitching 2004/04/07 23:09:59
Modified: digester/src/java/org/apache/commons/digester/plugins
LogUtils.java
Log:
Made class package-scope, added comment that this class is not intended
for public use.
Revision Changes Path
1.5 +7 -2 jakarta-commons/digester/src/java/org/apache/commons/digester/plugins/LogUtils.java
Index: LogUtils.java
===================================================================
RCS file: /home/cvs/jakarta-commons/digester/src/java/org/apache/commons/digester/plugins/LogUtils.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- LogUtils.java 29 Feb 2004 02:22:15 -0000 1.4
+++ LogUtils.java 8 Apr 2004 06:09:59 -0000 1.5
@@ -21,6 +21,9 @@
/**
* Simple utility class to assist in logging.
* <p>
+ * This class is intended only for the use of the code in the
+ * plugins packages. No "user" code should use this package.
+ * <p>
* The Digester module has an interesting approach to logging:
* all logging should be done via the Log object stored on the
* digester instance that the object *doing* the logging is associated
@@ -45,9 +48,11 @@
* And it also implies that logging filtering can no longer be applied
* to subcomponents of the Digester, because all logging is done via
* a single Log object (a single Category). C'est la vie...
+ *
+ * @since 1.6
*/
-public class LogUtils {
+class LogUtils {
/**
* Get the Log object associated with the specified Digester instance,
@@ -56,7 +61,7 @@
* You should use this method instead of digester.getLogger() in
* any situation where the digester might be null.
*/
- public static Log getLogger(Digester digester) {
+ static Log getLogger(Digester digester) {
if (digester == null) {
return new org.apache.commons.logging.impl.NoOpLog();
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org