You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by re...@apache.org on 2015/04/09 20:54:12 UTC

svn commit: r1672451 - /uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/FSIndexRepository.java

Author: rec
Date: Thu Apr  9 18:54:12 2015
New Revision: 1672451

URL: http://svn.apache.org/r1672451
Log:
UIMA-4299 - improve generics for UIMA indexes and iterators
- Fix source incompatibility in cases that previously triggered a compiler warning and with the recent changes turned into an error. This fix makes it compile cleanly.

Modified:
    uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/FSIndexRepository.java

Modified: uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/FSIndexRepository.java
URL: http://svn.apache.org/viewvc/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/FSIndexRepository.java?rev=1672451&r1=1672450&r2=1672451&view=diff
==============================================================================
--- uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/FSIndexRepository.java (original)
+++ uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/FSIndexRepository.java Thu Apr  9 18:54:12 2015
@@ -72,7 +72,7 @@ public interface FSIndexRepository {
    * 
    * @return All indexes.
    */
-  Iterator<FSIndex<? extends FeatureStructure>> getIndexes();
+  <T extends FeatureStructure> Iterator<FSIndex<T>> getIndexes();
 
   /**
    * Get all indexes in this repository as low level indexes