Changeset 1081


Ignore:
Timestamp:
02/15/13 16:18:32 (12 years ago)
Author:
pharms
Message:
  • prevented findbugs warnings
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/autoquest-ui-swt/src/main/java/de/ugoe/cs/autoquest/ui/swt/SWTConsole.java

    r927 r1081  
    9393        messageBox.open(); 
    9494         
     95        String stackTrace = null; 
    9596        ByteArrayOutputStream baos = new ByteArrayOutputStream(); 
    96         PrintStream ps = new PrintStream(baos); 
    97         e.printStackTrace(ps);         
    98         String stackTrace = null; 
    9997        try { 
     98            PrintStream ps = new PrintStream(baos, false, "UTF-8"); 
     99            e.printStackTrace(ps);         
    100100            stackTrace = baos.toString("UTF-8"); 
    101101        } 
Note: See TracChangeset for help on using the changeset viewer.