You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by pk...@apache.org on 2016/08/04 09:19:40 UTC

svn commit: r1755158 - /uima/uimaj/trunk/uimaj-ep-cas-editor/src/main/java/org/apache/uima/caseditor/editor/DocumentUimaImpl.java

Author: pkluegl
Date: Thu Aug  4 09:19:40 2016
New Revision: 1755158

URL: http://svn.apache.org/viewvc?rev=1755158&view=rev
Log:
UIMA-4685
- use URL interface

Modified:
    uima/uimaj/trunk/uimaj-ep-cas-editor/src/main/java/org/apache/uima/caseditor/editor/DocumentUimaImpl.java

Modified: uima/uimaj/trunk/uimaj-ep-cas-editor/src/main/java/org/apache/uima/caseditor/editor/DocumentUimaImpl.java
URL: http://svn.apache.org/viewvc/uima/uimaj/trunk/uimaj-ep-cas-editor/src/main/java/org/apache/uima/caseditor/editor/DocumentUimaImpl.java?rev=1755158&r1=1755157&r2=1755158&view=diff
==============================================================================
--- uima/uimaj/trunk/uimaj-ep-cas-editor/src/main/java/org/apache/uima/caseditor/editor/DocumentUimaImpl.java (original)
+++ uima/uimaj/trunk/uimaj-ep-cas-editor/src/main/java/org/apache/uima/caseditor/editor/DocumentUimaImpl.java Thu Aug  4 09:19:40 2016
@@ -245,7 +245,7 @@ public class DocumentUimaImpl extends Ab
     }
     File file = EFS.getStore(uri).toLocalFile(0, new NullProgressMonitor());
     try {
-      format = CasIOUtils.load(file, null, mCAS, withPartialTypesystem);
+      format = CasIOUtils.load(file.toURI().toURL(), null, mCAS, withPartialTypesystem);
     } catch (IOException e) {
       throwCoreException(e);
     }