You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2013/02/17 18:35:34 UTC

svn commit: r1447047 - /tomcat/trunk/java/org/apache/jasper/JspCompilationContext.java

Author: markt
Date: Sun Feb 17 17:35:34 2013
New Revision: 1447047

URL: http://svn.apache.org/r1447047
Log:
UCDetector
 - use final
 - reduce visibility

Modified:
    tomcat/trunk/java/org/apache/jasper/JspCompilationContext.java

Modified: tomcat/trunk/java/org/apache/jasper/JspCompilationContext.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/jasper/JspCompilationContext.java?rev=1447047&r1=1447046&r2=1447047&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/jasper/JspCompilationContext.java (original)
+++ tomcat/trunk/java/org/apache/jasper/JspCompilationContext.java Sun Feb 17 17:35:34 2013
@@ -62,38 +62,38 @@ public class JspCompilationContext {
 
     private final Log log = LogFactory.getLog(JspCompilationContext.class); // must not be static
 
-    protected final Map<String, JarResource> tagFileJarUrls;
+    private final Map<String, JarResource> tagFileJarUrls;
 
-    protected String className;
-    protected final String jspUri;
-    protected String basePackageName;
-    protected String derivedPackageName;
-    protected String servletJavaFileName;
-    protected String javaPath;
-    protected String classFileName;
-    protected ServletWriter writer;
-    protected final Options options;
-    protected final JspServletWrapper jsw;
-    protected Compiler jspCompiler;
-    protected String classPath;
-
-    protected final String baseURI;
-    protected String outputDir;
-    protected final ServletContext context;
-    protected ClassLoader loader;
-
-    protected final JspRuntimeContext rctxt;
-
-    protected volatile boolean removed = false;
-
-    protected URLClassLoader jspLoader;
-    protected URL baseUrl;
-    protected Class<?> servletClass;
-
-    protected final boolean isTagFile;
-    protected boolean protoTypeMode;
-    protected TagInfo tagInfo;
-    protected final JarResource tagJarResource;
+    private String className;
+    private final String jspUri;
+    private String basePackageName;
+    private String derivedPackageName;
+    private String servletJavaFileName;
+    private String javaPath;
+    private String classFileName;
+    private ServletWriter writer;
+    private final Options options;
+    private final JspServletWrapper jsw;
+    private Compiler jspCompiler;
+    private String classPath;
+
+    private final String baseURI;
+    private String outputDir;
+    private final ServletContext context;
+    private ClassLoader loader;
+
+    private final JspRuntimeContext rctxt;
+
+    private volatile boolean removed = false;
+
+    private URLClassLoader jspLoader;
+    private URL baseUrl;
+    private Class<?> servletClass;
+
+    private final boolean isTagFile;
+    private boolean protoTypeMode;
+    private TagInfo tagInfo;
+    private final JarResource tagJarResource;
 
     // jspURI _must_ be relative to the context
     public JspCompilationContext(String jspUri,
@@ -669,7 +669,7 @@ public class JspCompilationContext {
 
     // ==================== protected methods ====================
 
-    static final Object outputDirLock = new Object();
+    private static final Object outputDirLock = new Object();
 
     public void checkOutputDir() {
         if (outputDir != null) {



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org