From 4b643dd163d3a9cfd079967eff481dbc01b69683 Mon Sep 17 00:00:00 2001 From: Mark Donszelmann Date: Thu, 13 May 2010 22:01:07 +0200 Subject: Moved back to jdk 1.4 --- pom.xml | 4 ++-- src/main/java/org/apache/maven/plugin/nar/NarInfo.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 580ad5a..b85328b 100644 --- a/pom.xml +++ b/pom.xml @@ -182,8 +182,8 @@ org.apache.maven.plugins maven-compiler-plugin - 1.5 - 1.5 + 1.4 + 1.4 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 ) -- cgit v1.2.3