Skip to content

Commit 91dfc20

Browse files
author
alxkm
committed
fix: Class Anagrams should be declared as final
1 parent 72b4c97 commit 91dfc20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/thealgorithms/strings/Anagrams.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* also the word binary into brainy and the word adobe into abode.
1111
* Reference from https://en.wikipedia.org/wiki/Anagram
1212
*/
13-
public class Anagrams {
13+
public final class Anagrams {
1414
private Anagrams() {
1515
}
1616

0 commit comments

Comments
 (0)