Changeset 774


Ignore:
Timestamp:
09/06/12 09:10:42 (12 years ago)
Author:
sherbold
Message:
  • fixed a couple of FindBugs? warnings in quest-plugin-mfc
Location:
trunk/quest-plugin-mfc/src/main/java/de/ugoe/cs/quest/plugin/mfc
Files:
2 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) { 
  • trunk/quest-plugin-mfc/src/main/java/de/ugoe/cs/quest/plugin/mfc/eventcore/WindowsMessage.java

    r655 r774  
    11package de.ugoe.cs.quest.plugin.mfc.eventcore; 
    22 
     3import java.io.Serializable; 
    34import java.util.HashMap; 
    45import java.util.Map; 
     
    1617 *  
    1718 */ 
    18 public class WindowsMessage { 
     19public class WindowsMessage  implements Serializable { 
     20 
     21    /** 
     22     * <p> 
     23     * Id for object serialization. 
     24     * </p> 
     25     */ 
     26    private static final long serialVersionUID = 1L; 
    1927 
    2028    /** 
Note: See TracChangeset for help on using the changeset viewer.