Skip to content

Commit a3c23fe

Browse files
committed
Redundant specification of type arguments.
1 parent 163d643 commit a3c23fe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/org/apache/commons/codec/language/DaitchMokotoffSoundex.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@ private String[] soundex(final String source, final boolean branching) {
507507

508508
// use an EMPTY_LIST to avoid false positive warnings wrt potential null pointer access
509509
@SuppressWarnings("unchecked")
510-
final List<Branch> nextBranches = branching ? new ArrayList<Branch>() : Collections.EMPTY_LIST;
510+
final List<Branch> nextBranches = branching ? new ArrayList<>() : Collections.EMPTY_LIST;
511511

512512
for (final Rule rule : rules) {
513513
if (rule.matches(inputContext)) {

0 commit comments

Comments
 (0)