ceki 2004/11/28 09:37:35 Modified: src/java/org/apache/log4j/spi LoggingEvent.java Log: Commenting out unused methods Revision Changes Path 1.70 +9 -9 logging-log4j/src/java/org/apache/log4j/spi/LoggingEvent.java Index: LoggingEvent.java =================================================================== RCS file: /home/cvs/logging-log4j/src/java/org/apache/log4j/spi/LoggingEvent.java,v retrieving revision 1.69 retrieving revision 1.70 diff -u -r1.69 -r1.70 --- LoggingEvent.java 24 Nov 2004 08:17:01 -0000 1.69 +++ LoggingEvent.java 28 Nov 2004 17:37:35 -0000 1.70 @@ -523,8 +523,8 @@ * are searched. * </p> */ - public Object XXgetMDC(String key) { - Object r; +// public Object XXgetMDC(String key) { +// Object r; // // Note the mdcCopy is used if it exists. Otherwise we use the MDC // // that is associated with the thread. @@ -535,8 +535,8 @@ // return r; // } // } - return MDC.get(key); - } +// return MDC.get(key); +// } /** @@ -546,7 +546,7 @@ * @return Set an unmodifiable set of the MDC keys. * @since 1.3 */ - public Set XXgetMDCKeySet() { +// public Set XXgetMDCKeySet() { // if ( mdcCopy != null ) { // return Collections.unmodifiableSet( mdcCopy.keySet( ) ); // } else { @@ -558,15 +558,15 @@ // return Collections.EMPTY_SET; // } // } - return null; - } +// return null; +// } /** * Obtain a copy of this thread's MDC prior to serialization or asynchronous * logging. */ - public void xgetMDCCopy() { +// public void xgetMDCCopy() { // if ( mdcCopyLookupRequired ) { // mdcCopyLookupRequired = false; // @@ -578,7 +578,7 @@ // mdcCopy = (Hashtable)t.clone( ); // } // } - } +// } /**
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]