diff options
-rw-r--r-- | pom.xml | 4 | ||||
-rw-r--r-- | src/main/java/org/apache/maven/plugin/nar/NarInfo.java | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -182,8 +182,8 @@ <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> - <source>1.5</source> - <target>1.5</target> + <source>1.4</source> + <target>1.4</target> </configuration> </plugin> </plugins> diff --git a/src/main/java/org/apache/maven/plugin/nar/NarInfo.java b/src/main/java/org/apache/maven/plugin/nar/NarInfo.java index 9337ea3..0b4dbfb 100644 --- a/src/main/java/org/apache/maven/plugin/nar/NarInfo.java +++ b/src/main/java/org/apache/maven/plugin/nar/NarInfo.java @@ -215,7 +215,7 @@ public class NarInfo public final boolean getProperty( AOL aol, String key, boolean defaultValue ) { - return Boolean.parseBoolean( getProperty( aol, key, String.valueOf( defaultValue ) ) ); + return (new Boolean( getProperty( aol, key, String.valueOf( defaultValue ) ) )).booleanValue(); } public final File getProperty( AOL aol, String key, File defaultValue ) |