Ignore:
Timestamp:
2010-03-20T21:08:01+01:00 (15 years ago)
Author:
bastik
Message:

'filter control characters that are send to the consol and create morse code effect'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified applications/editors/josm/plugins/wmsplugin/src/wmsplugin/WMSGrabber.java ΒΆ

    r19417 r20566  
    210210        String line = null;
    211211        while( (line = br.readLine()) != null) {
    212             exception.append(line);
     212            // filter non-ASCII characters and control characters
     213            exception.append(line.replaceAll("[^\\p{Print}]", ""));
    213214            exception.append('\n');
    214215        }
Note: See TracChangeset for help on using the changeset viewer.