Skip to content

Commit

Permalink
Remove requirement for .class ending as the extension filter forces .…
Browse files Browse the repository at this point in the history
…class save. (#773)
  • Loading branch information
036 committed Apr 3, 2024
1 parent a041775 commit aa2ceb2
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,6 @@ public void export(@Nonnull JvmClassInfo classInfo) {

// Ensure path ends with '.class'
Path exportPath = selectedPath.toPath();
if (!exportPath.endsWith(".class"))
exportPath = exportPath.resolveSibling(exportPath.getFileName() + ".class");

// Update last export dir for classes.
lastClassExportDir.setValue(selectedPath.getParent());
Expand Down

0 comments on commit aa2ceb2

Please sign in to comment.