Skip to content

Commit

Permalink
Fixed class location URL
Browse files Browse the repository at this point in the history
  • Loading branch information
ethauvin committed May 11, 2024
1 parent 8fe93a3 commit b725eb7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ public static void writeTemplate(Template template, GeneratedVersion gv) {
if (LOGGER.isLoggable(Level.INFO)) {
LOGGER.log(Level.INFO, "Generated version ({0}) class has been {1}: {2}",
new String[]{gv.getProject().version().toString(), updated ? "updated" : "created",
"file://" + gv.getClassFile().toString()});
"file://" + gv.getClassFile().toURI().getPath()});
}
} catch (IOException e) {
if (LOGGER.isLoggable(Level.SEVERE)) {
Expand Down

0 comments on commit b725eb7

Please sign in to comment.