Skip to content

Commit

Permalink
Fixes saved file name
Browse files Browse the repository at this point in the history
  • Loading branch information
emmanue1 committed May 22, 2015
1 parent 256e1b8 commit 1f9767c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ class ClassFilePage
String getFileName() {
def path = entry.path
int index = path.lastIndexOf('.')
return path.substring(index+1) + '.java'
return path.substring(0, index) + '.java'
}

void save(API api, OutputStream os) {
Expand Down

0 comments on commit 1f9767c

Please sign in to comment.