incubator-amber-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pids...@apache.org
Subject svn commit: r962619 - /incubator/amber/trunk/spec-api/src/main/java/org/apache/amber/OAuthFactory.java
Date Fri, 09 Jul 2010 17:52:47 GMT
Author: pidster
Date: Fri Jul  9 17:52:47 2010
New Revision: 962619

URL: http://svn.apache.org/viewvc?rev=962619&view=rev
Log:
Type erasure should mean that we can package the core/client spec API and implementation without
the server spec API sub-package - the factory object impl will check the class is present
before proceeding

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

Modified: incubator/amber/trunk/spec-api/src/main/java/org/apache/amber/OAuthFactory.java
URL: http://svn.apache.org/viewvc/incubator/amber/trunk/spec-api/src/main/java/org/apache/amber/OAuthFactory.java?rev=962619&r1=962618&r2=962619&view=diff
==============================================================================
--- incubator/amber/trunk/spec-api/src/main/java/org/apache/amber/OAuthFactory.java (original)
+++ incubator/amber/trunk/spec-api/src/main/java/org/apache/amber/OAuthFactory.java Fri Jul
 9 17:52:47 2010
@@ -66,6 +66,6 @@ public interface OAuthFactory extends Se
      * @return service
      * @throws OAuthException
      */
-    OAuthServer createServer(String realm) throws OAuthException;
+    <T extends OAuthServer> T createServer(String realm) throws OAuthException;
 
 }



Mime
View raw message