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/05/13 18:44:32 UTC
svn commit: r1743717 -
/uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/java/org/apache/uima/cas/impl/FeatureStructureImplC.java
Author: schor
Date: Fri May 13 18:44:32 2016
New Revision: 1743717
URL: http://svn.apache.org/viewvc?rev=1743717&view=rev
Log:
[UIMA-4674] _typeImpl not final (to support ll_setInt backward compatibility), change refs to it to _getTypeImpl() for protection
Modified:
uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/java/org/apache/uima/cas/impl/FeatureStructureImplC.java
Modified: uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/java/org/apache/uima/cas/impl/FeatureStructureImplC.java
URL: http://svn.apache.org/viewvc/uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/java/org/apache/uima/cas/impl/FeatureStructureImplC.java?rev=1743717&r1=1743716&r2=1743717&view=diff
==============================================================================
--- uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/java/org/apache/uima/cas/impl/FeatureStructureImplC.java (original)
+++ uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/java/org/apache/uima/cas/impl/FeatureStructureImplC.java Fri May 13 18:44:32 2016
@@ -145,7 +145,7 @@ public class FeatureStructureImplC imple
*/
public final CASImpl _casView;
- public TypeImpl _typeImpl; // experiment : support switching the type
+ private TypeImpl _typeImpl; //for backwards compatibility and deser typed arrays: support switching the type
// Called only to generate a dummy value for the REMOVED flag in bag indexes
@@ -1402,4 +1402,13 @@ public class FeatureStructureImplC imple
// _flags = (_flags & ~bitMaskRefOffset) | v << shiftRefOffset;
// }
+ public TypeImpl _getTypeImpl() {
+ return _typeImpl;
+ }
+
+ protected void _setTypeImpl(TypeImpl ti) {
+ _typeImpl = ti;
+ }
+
+
}
\ No newline at end of file