You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by jo...@apache.org on 2009/08/17 15:10:09 UTC

svn commit: r804968 - /incubator/uima/uimaj/trunk/uimaj-examples/src/main/java/org/apache/uima/examples/xmi/UimaTypeSystem2Ecore.java

Author: joern
Date: Mon Aug 17 13:10:09 2009
New Revision: 804968

URL: http://svn.apache.org/viewvc?rev=804968&view=rev
Log:
UIMA-1496

Modified:
    incubator/uima/uimaj/trunk/uimaj-examples/src/main/java/org/apache/uima/examples/xmi/UimaTypeSystem2Ecore.java

Modified: incubator/uima/uimaj/trunk/uimaj-examples/src/main/java/org/apache/uima/examples/xmi/UimaTypeSystem2Ecore.java
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-examples/src/main/java/org/apache/uima/examples/xmi/UimaTypeSystem2Ecore.java?rev=804968&r1=804967&r2=804968&view=diff
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-examples/src/main/java/org/apache/uima/examples/xmi/UimaTypeSystem2Ecore.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-examples/src/main/java/org/apache/uima/examples/xmi/UimaTypeSystem2Ecore.java Mon Aug 17 13:10:09 2009
@@ -135,7 +135,7 @@
 
     // merge, to eliminate duplicate type definitions
     try {
-      aTypeSystem = CasCreationUtils.mergeTypeSystems(Arrays.asList(new Object[] { aTypeSystem }));
+      aTypeSystem = CasCreationUtils.mergeTypeSystems(Arrays.asList(new TypeSystemDescription[] { aTypeSystem }));
     } catch (ResourceInitializationException e) {
       throw new InvalidXMLException(e);
     }