costin 00/12/04 10:47:46
Modified: src/share/org/apache/tomcat/core BaseInterceptor.java
Log:
Change log() methods in BaseInterceptor to public - if get/set
debug and all other methods are public there is no reason to make
the log() method protected.
This also fix a build problem on 1.2.2/solaris ( where the SimpleRealm
doesn't compile - and I'm not sure the compiler is right or wrong
rejecting access to a protected method from an internal class of
a class that extends the base class )
Revision Changes Path
1.29 +4 -4
jakarta-tomcat/src/share/org/apache/tomcat/core/BaseInterceptor.java
Index: BaseInterceptor.java
===================================================================
RCS file:
/home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/core/BaseInterceptor.java,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- BaseInterceptor.java 2000/12/04 00:41:04 1.28
+++ BaseInterceptor.java 2000/12/04 18:47:46 1.29
@@ -428,19 +428,19 @@
loghelper.setLogger(ctx.getLog().getLogger());
}
- protected void log( String s ) {
+ public void log( String s ) {
loghelper.log(s);
}
- protected void log( String s, Throwable t ) {
+ public void log( String s, Throwable t ) {
loghelper.log(s, t);
}
- protected void log( String s, int level ) {
+ public void log( String s, int level ) {
loghelper.log(s, level);
}
- protected void log( String s, Throwable t, int level ) {
+ public void log( String s, Throwable t, int level ) {
loghelper.log(s, t, level);
}