tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1238324 - in /tomcat/trunk/java/org/apache/tomcat/util/modeler/modules: MbeansDescriptorsDigesterSource.java MbeansDescriptorsIntrospectionSource.java MbeansDescriptorsSerSource.java
Date Tue, 31 Jan 2012 09:32:44 GMT
Author: markt
Date: Tue Jan 31 09:32:43 2012
New Revision: 1238324

URL: http://svn.apache.org/viewvc?rev=1238324&view=rev
Log:
Reduce visibility

Modified:
    tomcat/trunk/java/org/apache/tomcat/util/modeler/modules/MbeansDescriptorsDigesterSource.java
    tomcat/trunk/java/org/apache/tomcat/util/modeler/modules/MbeansDescriptorsIntrospectionSource.java
    tomcat/trunk/java/org/apache/tomcat/util/modeler/modules/MbeansDescriptorsSerSource.java

Modified: tomcat/trunk/java/org/apache/tomcat/util/modeler/modules/MbeansDescriptorsDigesterSource.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/modeler/modules/MbeansDescriptorsDigesterSource.java?rev=1238324&r1=1238323&r2=1238324&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/modeler/modules/MbeansDescriptorsDigesterSource.java
(original)
+++ tomcat/trunk/java/org/apache/tomcat/util/modeler/modules/MbeansDescriptorsDigesterSource.java
Tue Jan 31 09:32:43 2012
@@ -37,12 +37,12 @@ public class MbeansDescriptorsDigesterSo
     private static final Log log =
             LogFactory.getLog(MbeansDescriptorsDigesterSource.class);
 
-    Registry registry;
-    String type;
-    List<ObjectName> mbeans = new ArrayList<ObjectName>();
-    protected static volatile Digester digester = null;
+    private Registry registry;
+    private String type;
+    private List<ObjectName> mbeans = new ArrayList<ObjectName>();
+    private static volatile Digester digester = null;
 
-    protected static Digester createDigester() {
+    private static Digester createDigester() {
 
         Digester digester = new Digester();
         digester.setNamespaceAware(false);

Modified: tomcat/trunk/java/org/apache/tomcat/util/modeler/modules/MbeansDescriptorsIntrospectionSource.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/modeler/modules/MbeansDescriptorsIntrospectionSource.java?rev=1238324&r1=1238323&r2=1238324&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/modeler/modules/MbeansDescriptorsIntrospectionSource.java
(original)
+++ tomcat/trunk/java/org/apache/tomcat/util/modeler/modules/MbeansDescriptorsIntrospectionSource.java
Tue Jan 31 09:32:43 2012
@@ -40,9 +40,9 @@ public class MbeansDescriptorsIntrospect
 {
     private static final Log log = LogFactory.getLog(MbeansDescriptorsIntrospectionSource.class);
 
-    Registry registry;
-    String type;
-    List<ObjectName> mbeans = new ArrayList<ObjectName>();
+    private Registry registry;
+    private String type;
+    private List<ObjectName> mbeans = new ArrayList<ObjectName>();
 
     public void setRegistry(Registry reg) {
         this.registry=reg;
@@ -89,7 +89,7 @@ public class MbeansDescriptorsIntrospect
 
     // ------------ Implementation for non-declared introspection classes
 
-    static Hashtable<String,String> specialMethods =
+    private static Hashtable<String,String> specialMethods =
         new Hashtable<String,String>();
     static {
         specialMethods.put( "preDeregister", "");
@@ -152,7 +152,7 @@ public class MbeansDescriptorsIntrospect
      * @param javaType The class to check
      * @return boolean True if the class is compatible.
      */
-    protected boolean isBeanCompatible(Class<?> javaType) {
+    private boolean isBeanCompatible(Class<?> javaType) {
         // Must be a non-primitive and non array
         if (javaType.isArray() || javaType.isPrimitive()) {
             return false;

Modified: tomcat/trunk/java/org/apache/tomcat/util/modeler/modules/MbeansDescriptorsSerSource.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/modeler/modules/MbeansDescriptorsSerSource.java?rev=1238324&r1=1238323&r2=1238324&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/modeler/modules/MbeansDescriptorsSerSource.java
(original)
+++ tomcat/trunk/java/org/apache/tomcat/util/modeler/modules/MbeansDescriptorsSerSource.java
Tue Jan 31 09:32:43 2012
@@ -33,9 +33,9 @@ import org.apache.tomcat.util.modeler.Re
 public class MbeansDescriptorsSerSource extends ModelerSource
 {
     private static final Log log = LogFactory.getLog(MbeansDescriptorsSerSource.class);
-    Registry registry;
-    String type;
-    List<ObjectName> mbeans=new ArrayList<ObjectName>();
+    private Registry registry;
+    private String type;
+    private List<ObjectName> mbeans=new ArrayList<ObjectName>();
 
     public void setRegistry(Registry reg) {
         this.registry=reg;



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


Mime
View raw message