Ignore:
Timestamp:
09/06/12 09:10:42 (12 years ago)
Author:
sherbold
Message:
  • fixed a couple of FindBugs? warnings in quest-plugin-mfc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/quest-plugin-mfc/src/main/java/de/ugoe/cs/quest/plugin/mfc/MFCLogParser.java

    r766 r774  
    66import java.io.IOException; 
    77import java.io.InputStreamReader; 
     8import java.io.UnsupportedEncodingException; 
    89import java.util.Collection; 
    910import java.util.HashMap; 
     
    168169        try { 
    169170            saxParser = spf.newSAXParser(); 
    170             inputSource = new InputSource(new InputStreamReader(new FileInputStream(file)));// , 
    171                                                                                                 // "UTF-8")); 
    172             // } catch (UnsupportedEncodingException e) { 
    173             // e.printStackTrace(); 
     171            inputSource = new InputSource(new InputStreamReader(new FileInputStream(file), "UTF-8")); 
     172        }  
     173        catch (UnsupportedEncodingException e) { 
     174            // TODO handle Exception 
     175            e.printStackTrace(); 
    174176        } 
    175177        catch (ParserConfigurationException e) { 
Note: See TracChangeset for help on using the changeset viewer.