eclipse-ee4j / jersey

Eclipse Jersey Project - Read our Wiki:
https://github.com/eclipse-ee4j/jersey/wiki
Other
692 stars 353 forks source link

FilesScanner Tokenizer does not work well with input containing delimiter characters #3006

Open jerseyrobot opened 9 years ago

jerseyrobot commented 9 years ago

this.files = new File[Tokenizer.tokenize(fileNames, Tokenizer.COMMON_DELIMITERS).length]; for (int i = 0; i < files.length; i++)

{ files[i] = new File(fileNames[i]); }

This code has multiple problems:

jerseyrobot commented 6 years ago
jerseyrobot commented 9 years ago

@glassfishrobot Commented Reported by philipp91

jerseyrobot commented 9 years ago

@glassfishrobot Commented @japod said: Although the issue does not contain a real use case, the code is indeed wrong and should be fixed.

jerseyrobot commented 7 years ago

@glassfishrobot Commented This issue was imported from java.net JIRA JERSEY-2734