Add '\n' to the list of illegal characters in filenames.
This commit is contained in:
parent
91341ecdb0
commit
765c67629f
|
@ -6,7 +6,7 @@ import java.util.Arrays;
|
|||
public class FileNameGenerator {
|
||||
|
||||
private static final char[] ILLEGAL_CHARACTERS = { '/', '\\', '?', '%',
|
||||
'*', ':', '|', '"', '<', '>' };
|
||||
'*', ':', '|', '"', '<', '>', '\n' };
|
||||
static {
|
||||
Arrays.sort(ILLEGAL_CHARACTERS);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue