diff options
author | Mark Donszelmann <Mark.Donszelmann@gmail.com> | 2009-11-18 16:40:23 +0100 |
---|---|---|
committer | Mark Donszelmann <Mark.Donszelmann@gmail.com> | 2009-11-18 16:40:23 +0100 |
commit | 4c70a81345c566d7b4dd6dc2fad51fe70726c8f0 (patch) | |
tree | e4394385ba7610bdee04af81abedcbbc0bc169ae /src/it/it0003-jni/src | |
parent | 59a81bc23a42a82dca675b8c7cd661a3c0fa40db (diff) | |
download | maven-nar-plugin-4c70a81345c566d7b4dd6dc2fad51fe70726c8f0.tar.gz maven-nar-plugin-4c70a81345c566d7b4dd6dc2fad51fe70726c8f0.tar.bz2 maven-nar-plugin-4c70a81345c566d7b4dd6dc2fad51fe70726c8f0.tar.xz maven-nar-plugin-4c70a81345c566d7b4dd6dc2fad51fe70726c8f0.zip |
Further cleanup
Diffstat (limited to 'src/it/it0003-jni/src')
-rw-r--r-- | src/it/it0003-jni/src/main/java/it0003/HelloWorldJNI.java | 2 | ||||
-rw-r--r-- | src/it/it0003-jni/src/test/java/it0003/test/HelloWorldJNITest.java | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/it/it0003-jni/src/main/java/it0003/HelloWorldJNI.java b/src/it/it0003-jni/src/main/java/it0003/HelloWorldJNI.java index b1f3a84..8a5284f 100644 --- a/src/it/it0003-jni/src/main/java/it0003/HelloWorldJNI.java +++ b/src/it/it0003-jni/src/main/java/it0003/HelloWorldJNI.java @@ -26,7 +26,7 @@ public class HelloWorldJNI NarSystem.loadLibrary(); } - public native String sayHello(); + public final native String sayHello(); public static void main( String[] args ) { diff --git a/src/it/it0003-jni/src/test/java/it0003/test/HelloWorldJNITest.java b/src/it/it0003-jni/src/test/java/it0003/test/HelloWorldJNITest.java index 718acb4..15b85b5 100644 --- a/src/it/it0003-jni/src/test/java/it0003/test/HelloWorldJNITest.java +++ b/src/it/it0003-jni/src/test/java/it0003/test/HelloWorldJNITest.java @@ -25,8 +25,7 @@ import org.junit.Test; public class HelloWorldJNITest { - @Test - public void testNativeHelloWorldJNI() + @Test public final void testNativeHelloWorldJNI() throws Exception { HelloWorldJNI app = new HelloWorldJNI(); |