mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-22 08:16:24 +00:00
Merge pull request #364 from DevFactory/release/The-diamond-operator-should-be-used-fix-1
squid:S2293 - The diamond operator should be used
This commit is contained in:
commit
f08af14555
13 files changed
+17
-17
No files matched your search
@@ -49,8 +49,8 @@ import com.iluwatar.servicelayer.wizard.Wizard;
|
||||
public class Spellbook extends BaseEntity {
|
||||
|
||||
public Spellbook() {
|
||||
spells = new HashSet<Spell>();
|
||||
wizards = new HashSet<Wizard>();
|
||||
spells = new HashSet<>();
|
||||
wizards = new HashSet<>();
|
||||
}
|
||||
|
||||
public Spellbook(String name) {
|
||||
|
||||
Reference in new issue
Block a user