Author: joern
Date: Fri Feb 21 15:20:57 2014
New Revision: 1570605

URL: http://svn.apache.org/r1570605
Log:
OPENNLP-579 Removed uneccessary type parameter I, all sub types of 
EntityLinkerProptery can be passed in anyway.

Modified:
    
opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/entitylinker/EntityLinkerFactory.java

Modified: 
opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/entitylinker/EntityLinkerFactory.java
URL: 
http://svn.apache.org/viewvc/opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/entitylinker/EntityLinkerFactory.java?rev=1570605&r1=1570604&r2=1570605&view=diff
==============================================================================
--- 
opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/entitylinker/EntityLinkerFactory.java
 (original)
+++ 
opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/entitylinker/EntityLinkerFactory.java
 Fri Feb 21 15:20:57 2014
@@ -32,7 +32,7 @@ public class EntityLinkerFactory {
    *                   init(..) method, so it is an appropriate place to put 
additional resources.
    * @return an EntityLinker impl
    */
-  public static synchronized <I extends EntityLinkerProperties> EntityLinker 
getLinker(String entityType, I properties)throws Exception {
+  public static synchronized EntityLinker getLinker(String entityType, 
EntityLinkerProperties properties)throws Exception {
     if (entityType == null || properties == null) {
       throw new IllegalArgumentException("Null argument in 
entityLinkerFactory");
     }


Reply via email to