Skip to content

Commit

Permalink
[java-decompiler] IDEA-326015 Support common cases of deconstruction…
Browse files Browse the repository at this point in the history
… in switch

 - not hide variables, which have names
 - fix tests

GitOrigin-RevId: e60ff327233eb3d26f2b3fafcbb034fcce420e80
  • Loading branch information
Mikhail Pyltsin authored and intellij-monorepo-bot committed Nov 15, 2023
1 parent 32a9da2 commit ee778ce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion testData/bulk/pkg/res/Loader.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ public String getResource() {
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);
}
}
}
Expand Down

0 comments on commit ee778ce

Please sign in to comment.