quick fix : Raw use of parameterized class

This commit is contained in:
Alexdoru committed 2023-01-25 23:23:08 +01:00
1 parent d0c3b57e22
commit 26b074a50d
11 files changed
+48 -49

No files matched your search

@@ -616,7 +616,7 @@ public class TConstructRegistry {
LiquidCasting tableCasting() {
try {
Class clazz = Class.forName("tconstruct.TConstruct");
Class<?> clazz = Class.forName("tconstruct.TConstruct");
Method method = clazz.getMethod("getTableCasting");
return (LiquidCasting) method.invoke(this);
} catch (Exception e) {
@@ -631,7 +631,7 @@ public class TConstructRegistry {
LiquidCasting basinCasting() {
try {
Class clazz = Class.forName("tconstruct.TConstruct");
Class<?> clazz = Class.forName("tconstruct.TConstruct");
Method method = clazz.getMethod("getBasinCasting");
return (LiquidCasting) method.invoke(this);
} catch (Exception e) {
@@ -646,7 +646,7 @@ public class TConstructRegistry {
Detailing chiselDetailing() {
try {
Class clazz = Class.forName("tconstruct.TConstruct");
Class<?> clazz = Class.forName("tconstruct.TConstruct");
Method method = clazz.getMethod("getChiselDetailing");
return (Detailing) method.invoke(this);
} catch (Exception e) {