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/23 22:31:14 UTC
svn commit: r1715963 -
/uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/java/org/apache/uima/cas/impl/TypeSystemUtils.java
Author: schor
Date: Mon Nov 23 21:31:13 2015
New Revision: 1715963
URL: http://svn.apache.org/viewvc?rev=1715963&view=rev
Log:
[UIMA-4673] reorganized - moved classification of types
Modified:
uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/java/org/apache/uima/cas/impl/TypeSystemUtils.java
Modified: uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/java/org/apache/uima/cas/impl/TypeSystemUtils.java
URL: http://svn.apache.org/viewvc/uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/java/org/apache/uima/cas/impl/TypeSystemUtils.java?rev=1715963&r1=1715962&r2=1715963&view=diff
==============================================================================
--- uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/java/org/apache/uima/cas/impl/TypeSystemUtils.java (original)
+++ uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/java/org/apache/uima/cas/impl/TypeSystemUtils.java Mon Nov 23 21:31:13 2015
@@ -396,18 +396,4 @@ public abstract class TypeSystemUtils {
}
}
- /**
- * Classify types into FS type, array type etc. For the full list of return types, see the
- * <code>LowLevelCAS.TYPE_CLASS*</code> constants, as well as the documentation for
- * {@link LowLevelCAS#ll_getTypeClass(int) LowLevelCAS.ll_getTypeClass(int)}.
- *
- * @param type
- * The type to classify.
- * @return An integer encoding the the type class. See above.
- */
- public static final int classifyType(Type type) {
- LowLevelTypeSystem llts = ((TypeImpl) type).getTypeSystem().getLowLevelTypeSystem();
- return llts.ll_getTypeClass(llts.ll_getCodeForType(type));
- }
-
}