- Timestamp:
- 04/02/12 16:17:06 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/windows/LogPreprocessor.java
r223 r403 160 160 String[] lines = FileTools.getLinesFromFile(source, false); 161 161 String incompleteLine = ""; 162 // Open source and read line by line163 162 for (String currentLine : lines) { 164 163 if (currentLine.contains("UL: <session>")) { … … 189 188 byte[] decoded = decoder.decode(actualLine); 190 189 currentContent = new String(decoded, "UTF-16LE"); 191 currentContent = currentContent.substring(0, 192 currentContent.length() - 1); 190 if( currentContent.length()!=0 ) { 191 currentContent = currentContent.substring(0, 192 currentContent.length() - 1); 193 } 193 194 } else { 194 195 currentContent = actualLine;
Note: See TracChangeset
for help on using the changeset viewer.