mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-13 02:14:45 +00:00
pmd:RedundantFieldInitializer - Redundant-Field-Initializer
This commit is contained in:
1 parent
57be8aa522
commit
0003c6cb00
12 files changed
+15
-15
No files matched your search
@@ -34,7 +34,7 @@ public class Producer {
|
||||
|
||||
private final String name;
|
||||
|
||||
private int itemId = 0;
|
||||
private int itemId;
|
||||
|
||||
public Producer(String name, ItemQueue queue) {
|
||||
this.name = name;
|
||||
|
||||
Reference in new issue
Block a user