incubator-amber-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1002999 - /incubator/amber/trunk/spec-api/src/main/java/org/apache/amber/OAuth.java
Date Thu, 30 Sep 2010 10:41:17 GMT
Author: simonetripodi
Date: Thu Sep 30 10:41:17 2010
New Revision: 1002999

URL: http://svn.apache.org/viewvc?rev=1002999&view=rev
Log:
calling ServiceLoader#reload() means calling reload() twice

Modified:
    incubator/amber/trunk/spec-api/src/main/java/org/apache/amber/OAuth.java

Modified: incubator/amber/trunk/spec-api/src/main/java/org/apache/amber/OAuth.java
URL: http://svn.apache.org/viewvc/incubator/amber/trunk/spec-api/src/main/java/org/apache/amber/OAuth.java?rev=1002999&r1=1002998&r2=1002999&view=diff
==============================================================================
--- incubator/amber/trunk/spec-api/src/main/java/org/apache/amber/OAuth.java (original)
+++ incubator/amber/trunk/spec-api/src/main/java/org/apache/amber/OAuth.java Thu Sep 30 10:41:17
2010
@@ -155,10 +155,6 @@ public final class OAuth {
             try {
                 ServiceLoader<OAuthProvider> providers = ServiceLoader.load(OAuthProvider.class);
 
-                // Is this surplus, or might it help if we're in a modifiable
-                // environment?
-                providers.reload();
-
                 for (OAuthProvider provider : providers) {
                     factory.register(provider);
                 }



Mime
View raw message