Closed
Description
both isAntPrefixedPattern()
and isRegexPrefixedPattern
have a length requirement for the pattern to be greater than 1 character in length. I think this is an error and should only require that the pattern be at least 1 character in length.
The code from the methods looks like
pattern.length() > HANDLER_PREFIX.length() + HANDLER_SUFFIX.length() + 1
I think that either the >
should be >=
or the + 1
should be removed.