You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by ce...@apache.org on 2004/05/20 13:49:46 UTC
cvs commit: logging-log4j/src/java/org/apache/log4j Priority.java
ceki 2004/05/20 04:49:46
Modified: src/java/org/apache/log4j Priority.java
Log:
It should not be possible to create Priority instances.
Revision Changes Path
1.28 +1 -2 logging-log4j/src/java/org/apache/log4j/Priority.java
Index: Priority.java
===================================================================
RCS file: /home/cvs/logging-log4j/src/java/org/apache/log4j/Priority.java,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- Priority.java 19 May 2004 13:15:42 -0000 1.27
+++ Priority.java 20 May 2004 11:49:46 -0000 1.28
@@ -23,13 +23,12 @@
* <font color="#AA4444">Refrain from using this class directly, use the
* {@link Level} class instead</font>.
*
- *
* @author Ceki Gülcü
* @deprecated
*/
public class Priority extends Level {
- protected Priority(int level, String levelStr, int syslogEquivalent) {
+ private Priority(int level, String levelStr, int syslogEquivalent) {
super(level, levelStr, syslogEquivalent);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org