You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oltu.apache.org by pi...@apache.org on 2010/07/09 19:52:47 UTC
svn commit: r962619 -
/incubator/amber/trunk/spec-api/src/main/java/org/apache/amber/OAuthFactory.java
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;
}