mirror of
https://github.com/TheAlgorithms/Java.git
synced 2026-03-13 08:40:43 +08:00
style: enable FinalClass in checkstyle (#5154)
This commit is contained in:
committed by
GitHub
parent
52f15b2b08
commit
bbe4a025df
@@ -13,7 +13,7 @@ public class Bag<Element> implements Iterable<Element> {
|
||||
private Node<Element> firstElement; // first element of the bag
|
||||
private int size; // size of bag
|
||||
|
||||
private static class Node<Element> {
|
||||
private static final class Node<Element> {
|
||||
|
||||
private Element content;
|
||||
private Node<Element> nextElement;
|
||||
|
||||
Reference in New Issue
Block a user