summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorMark Donszelmann <duns@macserver.donszelmann.org>2010-10-25 21:55:58 +0200
committerMark Donszelmann <duns@macserver.donszelmann.org>2010-10-25 21:55:58 +0200
commit94886fc2b89832a030c802e6f0068dac8225475e (patch)
treef9dd119d0964c1fb50763089454e741d08d88799 /src/test
parent45186c8d22a9a2d1f62817ebf99c2977b4b9bff4 (diff)
downloadmaven-nar-plugin-94886fc2b89832a030c802e6f0068dac8225475e.tar.gz
maven-nar-plugin-94886fc2b89832a030c802e6f0068dac8225475e.tar.bz2
maven-nar-plugin-94886fc2b89832a030c802e6f0068dac8225475e.tar.xz
maven-nar-plugin-94886fc2b89832a030c802e6f0068dac8225475e.zip
Removed all warnings; extra imports; not used variables
Diffstat (limited to 'src/test')
-rw-r--r--src/test/java/org/apache/maven/plugin/nar/test/TestLinkerVersion.java2
-rw-r--r--src/test/java/org/apache/maven/plugin/nar/test/TestNarFileLayout10.java10
2 files changed, 6 insertions, 6 deletions
diff --git a/src/test/java/org/apache/maven/plugin/nar/test/TestLinkerVersion.java b/src/test/java/org/apache/maven/plugin/nar/test/TestLinkerVersion.java
index 021f7de..ee8eede 100644
--- a/src/test/java/org/apache/maven/plugin/nar/test/TestLinkerVersion.java
+++ b/src/test/java/org/apache/maven/plugin/nar/test/TestLinkerVersion.java
@@ -44,7 +44,7 @@ public class TestLinkerVersion
super.setUp();
String architecture = System.getProperty( "os.arch" );
linker = new Linker();
- String name =
+// String name =
linker.getName( NarUtil.getDefaults(), NarUtil.getArchitecture( architecture ) + "." + NarUtil.getOS( null )
+ "." );
}
diff --git a/src/test/java/org/apache/maven/plugin/nar/test/TestNarFileLayout10.java b/src/test/java/org/apache/maven/plugin/nar/test/TestNarFileLayout10.java
index e75736b..342adee 100644
--- a/src/test/java/org/apache/maven/plugin/nar/test/TestNarFileLayout10.java
+++ b/src/test/java/org/apache/maven/plugin/nar/test/TestNarFileLayout10.java
@@ -35,15 +35,15 @@ import junit.framework.TestCase;
public class TestNarFileLayout10
extends TestCase
{
- private NarFileLayout fileLayout;
+ protected NarFileLayout fileLayout;
- private String artifactId;
+ protected String artifactId;
- private String version;
+ protected String version;
- private String aol;
+ protected String aol;
- private String type;
+ protected String type;
/*
* (non-Javadoc)