diff --git a/.classpath b/.classpath index 4721a1e..9e9cade 100644 --- a/.classpath +++ b/.classpath @@ -1,39 +1,39 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/main/java/de/kreth/property2java/Generator.java b/src/main/java/de/kreth/property2java/Generator.java index e89b705..7c81b93 100644 --- a/src/main/java/de/kreth/property2java/Generator.java +++ b/src/main/java/de/kreth/property2java/Generator.java @@ -1,6 +1,5 @@ package de.kreth.property2java; -import java.io.File; import java.io.IOException; import java.io.Reader; import java.io.Writer; @@ -39,7 +38,7 @@ public class Generator { for (Map.Entry entry : config.getInput().entrySet()) { String fileName = entry.getKey(); - try (Writer out = config.outWriter(new File(fileName).getName())) { + try (Writer out = config.outWriter(fileName)) { Properties properties = new Properties(); properties.load(entry.getValue());