Skip to content

Commit ed1852a

Browse files
committed
Fix unused generic type in PrototypeTest
1 parent 56ba78a commit ed1852a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

prototype/src/test/java/com/iluwatar/prototype/PrototypeTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public static Collection<Object[]> data() {
5656
/**
5757
* The tested prototype instance
5858
*/
59-
private final Prototype testedPrototype;
59+
private final P testedPrototype;
6060

6161
/**
6262
* The expected {@link Prototype#toString()} value
@@ -69,7 +69,7 @@ public static Collection<Object[]> data() {
6969
* @param testedPrototype The tested prototype instance
7070
* @param expectedToString The expected {@link Prototype#toString()} value
7171
*/
72-
public PrototypeTest(final Prototype testedPrototype, final String expectedToString) {
72+
public PrototypeTest(final P testedPrototype, final String expectedToString) {
7373
this.expectedToString = expectedToString;
7474
this.testedPrototype = testedPrototype;
7575
}

0 commit comments

Comments
 (0)