openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strub...@apache.org
Subject svn commit: r1079997 - /openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/corespi/scanner/AnnotationDB.java
Date Wed, 09 Mar 2011 21:12:22 GMT
Author: struberg
Date: Wed Mar  9 21:12:22 2011
New Revision: 1079997

URL: http://svn.apache.org/viewvc?rev=1079997&view=rev
Log:
OWB-461 make internal fields private

Modified:
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/corespi/scanner/AnnotationDB.java

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/corespi/scanner/AnnotationDB.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/corespi/scanner/AnnotationDB.java?rev=1079997&r1=1079996&r2=1079997&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/corespi/scanner/AnnotationDB.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/corespi/scanner/AnnotationDB.java
Wed Mar  9 21:12:22 2011
@@ -61,15 +61,15 @@ import java.util.Set;
  */
 public class AnnotationDB implements Serializable
 {
-    protected Map<String, Set<String>> annotationIndex = new HashMap<String,
Set<String>>();
-    protected Map<String, Set<String>> implementsIndex = new HashMap<String,
Set<String>>();
-    protected Map<String, Set<String>> classIndex = new HashMap<String, Set<String>>();
-
-    protected boolean scanClassAnnotations = true;
-    protected boolean scanMethodAnnotations = true;
-    protected boolean scanParameterAnnotations = true;
-    protected boolean scanFieldAnnotations = true;
-    protected String[] ignoredPackages = {"javax", "java", "sun", "com.sun", "javassist"};
+    private Map<String, Set<String>> annotationIndex = new HashMap<String,
Set<String>>();
+    private Map<String, Set<String>> implementsIndex = new HashMap<String,
Set<String>>();
+    private Map<String, Set<String>> classIndex = new HashMap<String, Set<String>>();
+
+    private boolean scanClassAnnotations = true;
+    private boolean scanMethodAnnotations = true;
+    private boolean scanParameterAnnotations = true;
+    private boolean scanFieldAnnotations = true;
+    private String[] ignoredPackages = {"javax", "java", "sun", "com.sun", "javassist"};
 
     public class CrossReferenceException extends Exception
     {



Mime
View raw message