Skip to content

Commit a760cba

Browse files
committed
Don't need @SuppressWarnings("unchecked")
1 parent a3c23fe commit a760cba

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,6 @@ private String[] soundex(final String source, final boolean branching) {
506506
}
507507

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

512511
for (final Rule rule : rules) {

0 commit comments

Comments
 (0)