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
commit 0dc391445f
7 changed files with 7 additions and 7 deletions

View File

@ -1,4 +1,4 @@
package com.baeldung.factoryGeneric; package com.baeldung.factorygeneric;
import java.util.Date; import java.util.Date;

View File

@ -1,4 +1,4 @@
package com.baeldung.factoryGeneric; package com.baeldung.factorygeneric;
import java.util.Date; import java.util.Date;

View File

@ -1,4 +1,4 @@
package com.baeldung.factoryGeneric; package com.baeldung.factorygeneric;
public interface Notifier<T> { public interface Notifier<T> {

View File

@ -1,4 +1,4 @@
package com.baeldung.factoryGeneric; package com.baeldung.factorygeneric;
import java.util.Date; import java.util.Date;

View File

@ -1,4 +1,4 @@
package com.baeldung.factoryGeneric; package com.baeldung.factorygeneric;
import java.util.Date; import java.util.Date;

View File

@ -1,4 +1,4 @@
package com.baeldung.factoryGeneric; package com.baeldung.factorygeneric;
public class StringNotifier implements Notifier<String> { public class StringNotifier implements Notifier<String> {

View File

@ -1,4 +1,4 @@
package com.baeldung.factoryGeneric; package com.baeldung.factorygeneric;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.*; import static org.junit.jupiter.api.Assertions.*;