Inspectopedia
 
2024.3

Duplicated delimiters in 'StringTokenizer'

Warning
New
Last modified: 03 December 2024

Reports StringTokenizer() constructor calls or nextToken() method calls that contain duplicate characters in the delimiter argument.

Example:

After the quick-fix is applied: