You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by sc...@apache.org on 2016/08/02 14:07:47 UTC

svn commit: r1754933 - in /uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/java/org/apache/uima/jcas: JCasRegistry.java JFSIndexRepository.java

Author: schor
Date: Tue Aug  2 14:07:46 2016
New Revision: 1754933

URL: http://svn.apache.org/viewvc?rev=1754933&view=rev
Log:
no Jira - make class abstract to prevent instantiation, and update javadoc comment

Modified:
    uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/java/org/apache/uima/jcas/JCasRegistry.java
    uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/java/org/apache/uima/jcas/JFSIndexRepository.java

Modified: uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/java/org/apache/uima/jcas/JCasRegistry.java
URL: http://svn.apache.org/viewvc/uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/java/org/apache/uima/jcas/JCasRegistry.java?rev=1754933&r1=1754932&r2=1754933&view=diff
==============================================================================
--- uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/java/org/apache/uima/jcas/JCasRegistry.java (original)
+++ uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/java/org/apache/uima/jcas/JCasRegistry.java Tue Aug  2 14:07:46 2016
@@ -44,7 +44,7 @@ import org.apache.uima.jcas.cas.TOP;
  *      -- multiple instances of pipelines running in one JVM each with different type systems 
  * 
  */
-public class JCasRegistry {
+public abstract class JCasRegistry {  // abstract to insure no instances are made
   
   /**
    * A WeakReference class holding 

Modified: uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/java/org/apache/uima/jcas/JFSIndexRepository.java
URL: http://svn.apache.org/viewvc/uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/java/org/apache/uima/jcas/JFSIndexRepository.java?rev=1754933&r1=1754932&r2=1754933&view=diff
==============================================================================
--- uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/java/org/apache/uima/jcas/JFSIndexRepository.java (original)
+++ uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/java/org/apache/uima/jcas/JFSIndexRepository.java Tue Aug  2 14:07:46 2016
@@ -132,7 +132,7 @@ public interface JFSIndexRepository {
    * Generics:  The returned Java cover class may not be a JCas one.
    * 
    * @param aType
-   *          The type obtained by doing MyJCasClass.type
+   *          The JCas unique type id obtained by doing MyJCasClass.type
    * @param <T> the Java Class corresponding to aType
    * @return An iterator that returns all indexed FeatureStructures of type <code>aType</code>,
    *         in no particular order.