You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2016/06/13 08:02:16 UTC

svn commit: r1748124 - /commons/proper/bcel/trunk/src/main/java/org/apache/bcel/util/SyntheticRepository.java

Author: ggregory
Date: Mon Jun 13 08:02:16 2016
New Revision: 1748124

URL: http://svn.apache.org/viewvc?rev=1748124&view=rev
Log:
Rename private vars to remove leading underscore.

Modified:
    commons/proper/bcel/trunk/src/main/java/org/apache/bcel/util/SyntheticRepository.java

Modified: commons/proper/bcel/trunk/src/main/java/org/apache/bcel/util/SyntheticRepository.java
URL: http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/main/java/org/apache/bcel/util/SyntheticRepository.java?rev=1748124&r1=1748123&r2=1748124&view=diff
==============================================================================
--- commons/proper/bcel/trunk/src/main/java/org/apache/bcel/util/SyntheticRepository.java (original)
+++ commons/proper/bcel/trunk/src/main/java/org/apache/bcel/util/SyntheticRepository.java Mon Jun 13 08:02:16 2016
@@ -33,7 +33,7 @@ import java.util.Map;
 public class SyntheticRepository extends MemorySensitiveClassPathRepository {
 
     // private static final String DEFAULT_PATH = ClassPath.getClassPath();
-    private static final Map<ClassPath, SyntheticRepository> _instances = new HashMap<>(); // CLASSPATH X REPOSITORY
+    private static final Map<ClassPath, SyntheticRepository> instances = new HashMap<>(); // CLASSPATH X REPOSITORY
 
     private SyntheticRepository(final ClassPath path) {
         super(path);
@@ -44,10 +44,10 @@ public class SyntheticRepository extends
     }
 
     public static SyntheticRepository getInstance(final ClassPath classPath) {
-        SyntheticRepository rep = _instances.get(classPath);
+        SyntheticRepository rep = instances.get(classPath);
         if (rep == null) {
             rep = new SyntheticRepository(classPath);
-            _instances.put(classPath, rep);
+            instances.put(classPath, rep);
         }
         return rep;
     }