simple search for equals("\w") shows 600 matches in workspace
Activate PMD rule PositionLiteralsFirstInComparisons: Position literals first in String comparisons - that way if the String is null you won't get a NullPointerException, it'll just return false.
- Denis Golovin (Inactive)
- Denis Golovin (Inactive)
- Votes:
-
0 Vote for this issue
- Watchers:
-
1 Start watching this issue
- Created:
- Updated:
- Resolved: