mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-20 12:24:09 +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:
@@ -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