mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-21 12:42:57 +00:00
quick fix : Raw use of parameterized class
This commit is contained in:
1 parent
f384a4fe28
commit
9cfd723ea3
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) {
|
||||
|
||||
@@ -233,7 +233,7 @@ public class TankLayerScan extends LogicComponent {
|
||||
}
|
||||
|
||||
public int recurseStructureDown(int y) {
|
||||
Iterator i = layerAirCoords.iterator();
|
||||
Iterator<CoordTuple> i = layerAirCoords.iterator();
|
||||
if (i.hasNext()) {
|
||||
CoordTuple coord = (CoordTuple) i.next();
|
||||
if (checkAir(coord.x, y, coord.z)) {
|
||||
@@ -283,7 +283,7 @@ public class TankLayerScan extends LogicComponent {
|
||||
}
|
||||
|
||||
public int recurseStructureUp(int y) {
|
||||
Iterator i = layerBlockCoords.iterator();
|
||||
Iterator<CoordTuple> i = layerBlockCoords.iterator();
|
||||
if (i.hasNext()) {
|
||||
CoordTuple coord = (CoordTuple) i.next();
|
||||
if (checkServant(coord.x, y, coord.z)) {
|
||||
|
||||
Reference in new issue
Block a user