Merge pull request #12969 from ulisseslima/bael-5851_quick-fix_factory-pattern-generics

bael-5851 - quick fix - Factory Pattern with Generics in Java
This commit is contained in:
Loredana Crusoveanu
2022-11-01 19:37:34 +02:00
committed by GitHub
7 changed files with 7 additions and 7 deletions
@@ -1,4 +1,4 @@
package com.baeldung.factoryGeneric;
package com.baeldung.factorygeneric;
import java.util.Date;
@@ -1,4 +1,4 @@
package com.baeldung.factoryGeneric;
package com.baeldung.factorygeneric;
import java.util.Date;
@@ -1,4 +1,4 @@
package com.baeldung.factoryGeneric;
package com.baeldung.factorygeneric;
public interface Notifier<T> {
@@ -1,4 +1,4 @@
package com.baeldung.factoryGeneric;
package com.baeldung.factorygeneric;
import java.util.Date;
@@ -1,4 +1,4 @@
package com.baeldung.factoryGeneric;
package com.baeldung.factorygeneric;
import java.util.Date;
@@ -1,4 +1,4 @@
package com.baeldung.factoryGeneric;
package com.baeldung.factorygeneric;
public class StringNotifier implements Notifier<String> {
@@ -1,4 +1,4 @@
package com.baeldung.factoryGeneric;
package com.baeldung.factorygeneric;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.*;