mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2026-11-18 20:34:27 +00:00
Remove most raw types
This means we can remove even more casts and what not.
This commit is contained in:
1 parent
9af15d1e30
commit
db9cd15fb3
38 files changed
+106
-141
No files matched your search
@@ -124,7 +124,7 @@ public class FSAPI implements ILuaAPI
|
||||
throw new LuaException( "Expected string" );
|
||||
}
|
||||
String path = (String)args[0];
|
||||
return new Object[]{ m_fileSystem.getName( path ) };
|
||||
return new Object[]{ FileSystem.getName( path ) };
|
||||
}
|
||||
case 3:
|
||||
{
|
||||
@@ -359,7 +359,7 @@ public class FSAPI implements ILuaAPI
|
||||
throw new LuaException( "Expected string" );
|
||||
}
|
||||
String path = (String)args[0];
|
||||
return new Object[]{ m_fileSystem.getDirectory( path ) };
|
||||
return new Object[]{ FileSystem.getDirectory( path ) };
|
||||
}
|
||||
default:
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user