Author: schor
Date: Tue Jun  7 13:30:12 2016
New Revision: 1747230

URL: http://svn.apache.org/viewvc?rev=1747230&view=rev
Log:
[UIMA-4518] add comments, remove unused class

Removed:
    
uima/uimaj/uimaj-v3migration-jcas/src/main/java/org/apache/uima/jcas/tcas/Annotation.java
Modified:
    
uima/uimaj/uimaj-v3migration-jcas/src/main/java/org/apache/uima/jcas/cas/AnnotationBase.java
    
uima/uimaj/uimaj-v3migration-jcas/src/main/java/org/apache/uima/jcas/cas/TOP.java

Modified: 
uima/uimaj/uimaj-v3migration-jcas/src/main/java/org/apache/uima/jcas/cas/AnnotationBase.java
URL: 
http://svn.apache.org/viewvc/uima/uimaj/uimaj-v3migration-jcas/src/main/java/org/apache/uima/jcas/cas/AnnotationBase.java?rev=1747230&r1=1747229&r2=1747230&view=diff
==============================================================================
--- 
uima/uimaj/uimaj-v3migration-jcas/src/main/java/org/apache/uima/jcas/cas/AnnotationBase.java
 (original)
+++ 
uima/uimaj/uimaj-v3migration-jcas/src/main/java/org/apache/uima/jcas/cas/AnnotationBase.java
 Tue Jun  7 13:30:12 2016
@@ -28,6 +28,7 @@ import org.apache.uima.cas.impl.TypeSyst
 import org.apache.uima.jcas.JCas;
 import org.apache.uima.jcas.JCasRegistry;
 
+
 /**
  * the JCas class model for the CAS type uima.cas.AnnotationBase. 
  * The AnnotationBase type defines one system-used feature which 
@@ -46,6 +47,11 @@ import org.apache.uima.jcas.JCasRegistry
  * (which is view-specific),
  * it should be a subtype of this base type.
  */
+
+/**
+ *  DUMMY VERSION ONLY USED FOR DECOMPILING 
+ *
+ */
 public class AnnotationBase extends TOP implements AnnotationBaseFS {
 
   public final static int typeIndexID = 
JCasRegistry.register(AnnotationBase.class);
@@ -84,7 +90,7 @@ public class AnnotationBase extends TOP
       throw new 
CASRuntimeException(CASRuntimeException.DISALLOW_CREATE_ANNOTATION_IN_BASE_CAS, 
this.getClass().getName());
     }
     // no journaling, no index corruption checking
-    _refData[_FI_sofa] = _casView.getSofa();
+//    _getRefData()[_FI_sofa] = _casView.getSofa();  // this is a dummy 
version only used for decompiling
   }
 
   /**
@@ -100,7 +106,7 @@ public class AnnotationBase extends TOP
       throw new 
CASRuntimeException(CASRuntimeException.DISALLOW_CREATE_ANNOTATION_IN_BASE_CAS, 
this.getClass().getName());
     }
     // no journaling, no index corruption checking
-    _refData[_FI_sofa] = _casView.getSofa();
+//    _getRefData()[_FI_sofa] = _casView.getSofa();  // this is a dummy 
version only used for decompiling
   }
 
   // *------------------*

Modified: 
uima/uimaj/uimaj-v3migration-jcas/src/main/java/org/apache/uima/jcas/cas/TOP.java
URL: 
http://svn.apache.org/viewvc/uima/uimaj/uimaj-v3migration-jcas/src/main/java/org/apache/uima/jcas/cas/TOP.java?rev=1747230&r1=1747229&r2=1747230&view=diff
==============================================================================
--- 
uima/uimaj/uimaj-v3migration-jcas/src/main/java/org/apache/uima/jcas/cas/TOP.java
 (original)
+++ 
uima/uimaj/uimaj-v3migration-jcas/src/main/java/org/apache/uima/jcas/cas/TOP.java
 Tue Jun  7 13:30:12 2016
@@ -27,7 +27,8 @@ import org.apache.uima.jcas.JCasRegistry
 import org.apache.uima.jcas.impl.JCasImpl;
 
 // *********************************
-// * Implementation of TOP *
+// * Implementation of TOP         *
+// *   D U M M Y   VERSION ONLY USED FOR DECOMPILING *
 // *********************************
 /**
  * The JCas Class model corresponding to the Cas TOP type. This type is the 
super type of all


Reply via email to