cleanup: remove redundant cast

This commit is contained in:
P0nk
2021-04-08 17:23:45 +02:00
parent ebb3aa7ba3
commit 3434c7334b
48 changed files with 243 additions and 359 deletions

View File

@@ -104,7 +104,7 @@ public class WZTool {
if (b == 0x7F) {
strLength = llea.readInt();
} else {
strLength = (int) b;
strLength = b;
}
if (strLength < 0) {
return "";
@@ -173,7 +173,7 @@ public class WZTool {
if (b == -128) {
return lea.readInt();
} else {
return ((int) b);
return b;
}
}