apply remove redundant cast

GitOrigin-RevId: 2bcbd253668f66ca2740074953cb661ebb6f3513
master
Anna Kozlova 4 years ago committed by intellij-monorepo-bot
parent 1685759f61
commit 5f94a0d0d5
  1. 2
      src/org/jetbrains/java/decompiler/modules/decompiler/vars/VarTypeProcessor.java

@ -170,7 +170,7 @@ public class VarTypeProcessor {
case Exprent.EXPRENT_VAR:
VarVersionPair pair = null;
if (exprent.type == Exprent.EXPRENT_CONST) {
pair = new VarVersionPair(((ConstExprent)exprent).id, -1);
pair = new VarVersionPair(exprent.id, -1);
}
else if (exprent.type == Exprent.EXPRENT_VAR) {
pair = new VarVersionPair((VarExprent)exprent);

Loading…
Cancel
Save