Skip to content

Commit 6b0dcf5

Browse files
authored
Merge pull request #20 from matthieu-vergne/fix/warnings
Fix warnings
2 parents c46398c + c9c24b7 commit 6b0dcf5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/java/gr/gousiosg/javacg/dyn/Instrumenter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ public static void premain(String argument, Instrumentation instrumentation) {
101101
instrumentation.addTransformer(new Instrumenter());
102102
}
103103

104-
public byte[] transform(ClassLoader loader, String className, Class clazz,
104+
public byte[] transform(ClassLoader loader, String className, Class<?> clazz,
105105
java.security.ProtectionDomain domain, byte[] bytes) {
106106
boolean enhanceClass = false;
107107

src/main/java/gr/gousiosg/javacg/dyn/Pair.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public boolean equals(Object obj) {
2727
if (obj.getClass() != getClass())
2828
return false;
2929

30-
Pair p = (Pair)obj;
30+
Pair<?, ?> p = (Pair<?, ?>)obj;
3131

3232
return first.equals(p.first) && second.equals(p.second);
3333
}

0 commit comments

Comments
 (0)