summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Donszelmann <duns@macserver.donszelmann.org>2010-05-13 22:01:07 +0200
committerMark Donszelmann <duns@macserver.donszelmann.org>2010-05-13 22:01:07 +0200
commit4b643dd163d3a9cfd079967eff481dbc01b69683 (patch)
tree30ee688fcc6f7037d37f133c466a84f0a711fb7e
parent0913c7ba9c27ec7d6e2a3146baf806f75952f586 (diff)
downloadmaven-nar-plugin-4b643dd163d3a9cfd079967eff481dbc01b69683.tar.gz
maven-nar-plugin-4b643dd163d3a9cfd079967eff481dbc01b69683.tar.bz2
maven-nar-plugin-4b643dd163d3a9cfd079967eff481dbc01b69683.tar.xz
maven-nar-plugin-4b643dd163d3a9cfd079967eff481dbc01b69683.zip
Moved back to jdk 1.4
-rw-r--r--pom.xml4
-rw-r--r--src/main/java/org/apache/maven/plugin/nar/NarInfo.java2
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 @@
<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 )