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 2010/05/18 02:20:40 UTC

svn commit: r945443 - /uima/uimaj/trunk/uimaj-ep-cas-editor/src/main/java/org/apache/uima/caseditor/ui/wizards/DocumentImportStructureProvider.java

Author: joern
Date: Tue May 18 00:20:40 2010
New Revision: 945443

URL: http://svn.apache.org/viewvc?rev=945443&view=rev
Log:
UIMA-1782 Removed TODO comment for this issue

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

Modified: uima/uimaj/trunk/uimaj-ep-cas-editor/src/main/java/org/apache/uima/caseditor/ui/wizards/DocumentImportStructureProvider.java
URL: http://svn.apache.org/viewvc/uima/uimaj/trunk/uimaj-ep-cas-editor/src/main/java/org/apache/uima/caseditor/ui/wizards/DocumentImportStructureProvider.java?rev=945443&r1=945442&r2=945443&view=diff
==============================================================================
--- uima/uimaj/trunk/uimaj-ep-cas-editor/src/main/java/org/apache/uima/caseditor/ui/wizards/DocumentImportStructureProvider.java (original)
+++ uima/uimaj/trunk/uimaj-ep-cas-editor/src/main/java/org/apache/uima/caseditor/ui/wizards/DocumentImportStructureProvider.java Tue May 18 00:20:40 2010
@@ -161,14 +161,13 @@ final class DocumentImportStructureProvi
       try {
         in = new FileInputStream((File) element);
 
-        StringBuffer textStringBuffer = new StringBuffer();
+        StringBuilder textStringBuffer = new StringBuilder();
 
         byte[] readBuffer = new byte[2048];
 
         while (in.available() > 0) {
           int length = in.read(readBuffer);
 
-          // TODO: ask the user for the correct encoding
           textStringBuffer.append(new String(readBuffer, 0, length, importEncoding));
         }