Closed stokpop closed 2 weeks ago
This one matches in pmd6, not in pmd7:
!userId.matches(FooConstant.USER_REGEX)
There is however a check that says "assume remote contant for regex is ok". Should we turn that around: assume it is not ok? In this case the regex is:
public static final String USER_REGEX = "^USR\\d+$";
As discussed, we will assume remote constants as OK.
This one matches in pmd6, not in pmd7:
There is however a check that says "assume remote contant for regex is ok". Should we turn that around: assume it is not ok? In this case the regex is: