Fixed singleton instance() method that always returned a new instance.
authorwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Wed, 5 Feb 2003 05:55:21 +0000 (05:55 +0000)
committerwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Wed, 5 Feb 2003 05:55:21 +0000 (05:55 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@451 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

src/edu/internet2/middleware/shibboleth/aa/arp/provider/BaseArpRepository.java

index 390c30c..ee55531 100755 (executable)
@@ -238,7 +238,8 @@ class ArpCache {
 
        static synchronized ArpCache instance() {
                if (instance == null) {
-                       return new ArpCache();
+                       instance = new ArpCache();
+                       return instance;
                }
                return instance;
        }