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 2015/11/01 15:29:40 UTC

svn commit: r1711774 - /uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/java/org/apache/uima/cas/impl/TypeSystem2Xml.java

Author: schor
Date: Sun Nov  1 14:29:39 2015
New Revision: 1711774

URL: http://svn.apache.org/viewvc?rev=1711774&view=rev
Log:
no Jira - rename of internal class

Modified:
    uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/java/org/apache/uima/cas/impl/TypeSystem2Xml.java

Modified: uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/java/org/apache/uima/cas/impl/TypeSystem2Xml.java
URL: http://svn.apache.org/viewvc/uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/java/org/apache/uima/cas/impl/TypeSystem2Xml.java?rev=1711774&r1=1711773&r2=1711774&view=diff
==============================================================================
--- uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/java/org/apache/uima/cas/impl/TypeSystem2Xml.java (original)
+++ uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/java/org/apache/uima/cas/impl/TypeSystem2Xml.java Sun Nov  1 14:29:39 2015
@@ -157,9 +157,9 @@ public class TypeSystem2Xml {
       typeDesc.setFeatures(featDescArr);
 
       // check for string subtypes
-      if (type instanceof StringTypeImpl) {
-	LowLevelTypeSystem lts = aTypeSystem.getLowLevelTypeSystem();
-	final int typeCode = lts.ll_getCodeForType(type);
+      if (type instanceof TypeImplString) {
+        LowLevelTypeSystem lts = aTypeSystem.getLowLevelTypeSystem();
+        final int typeCode = lts.ll_getCodeForType(type);
         String[] strings = lts.ll_getStringSet(typeCode);
         AllowedValue[] allowedVals = new AllowedValue[strings.length];
         for (int i = 0; i < strings.length; i++) {