[java-decompiler] IDEA-326015 Support common cases of deconstruction in switch

- not hide variables, which have names
 - fix tests

GitOrigin-RevId: e60ff327233eb3d26f2b3fafcbb034fcce420e80
This commit is contained in:
Mikhail Pyltsin
2023-11-15 17:24:29 +01:00
committed by intellij-monorepo-bot
parent 6e2f14a3e6
commit 2ceecd5210

View File

@@ -18,7 +18,8 @@ public class Loader {
stream.close();
return new String(bytes, "UTF-8");
} catch (Exception var5) {
throw new RuntimeException("Resource load failed", var5);
Exception e = var5;
throw new RuntimeException("Resource load failed", e);
}
}
}