summaryrefslogtreecommitdiff
path: root/src/it/it0009-jni-dep-lib-shared
diff options
context:
space:
mode:
authorMark Donszelmann <Mark.Donszelmann@gmail.com>2009-11-18 16:40:23 +0100
committerMark Donszelmann <Mark.Donszelmann@gmail.com>2009-11-18 16:40:23 +0100
commit4c70a81345c566d7b4dd6dc2fad51fe70726c8f0 (patch)
treee4394385ba7610bdee04af81abedcbbc0bc169ae /src/it/it0009-jni-dep-lib-shared
parent59a81bc23a42a82dca675b8c7cd661a3c0fa40db (diff)
downloadmaven-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/it0009-jni-dep-lib-shared')
-rw-r--r--src/it/it0009-jni-dep-lib-shared/src/main/java/it0009/HelloWorldSharedLibJNI.java2
-rw-r--r--src/it/it0009-jni-dep-lib-shared/src/test/java/it0009/test/HelloWorldSharedLibJNITest.java3
2 files changed, 2 insertions, 3 deletions
diff --git a/src/it/it0009-jni-dep-lib-shared/src/main/java/it0009/HelloWorldSharedLibJNI.java b/src/it/it0009-jni-dep-lib-shared/src/main/java/it0009/HelloWorldSharedLibJNI.java
index 001ec98..04eb225 100644
--- a/src/it/it0009-jni-dep-lib-shared/src/main/java/it0009/HelloWorldSharedLibJNI.java
+++ b/src/it/it0009-jni-dep-lib-shared/src/main/java/it0009/HelloWorldSharedLibJNI.java
@@ -26,7 +26,7 @@ public class HelloWorldSharedLibJNI
NarSystem.loadLibrary();
}
- public native String sayHello();
+ public final native String sayHello();
public static void main( String[] args )
{
diff --git a/src/it/it0009-jni-dep-lib-shared/src/test/java/it0009/test/HelloWorldSharedLibJNITest.java b/src/it/it0009-jni-dep-lib-shared/src/test/java/it0009/test/HelloWorldSharedLibJNITest.java
index e1e9af1..e052096 100644
--- a/src/it/it0009-jni-dep-lib-shared/src/test/java/it0009/test/HelloWorldSharedLibJNITest.java
+++ b/src/it/it0009-jni-dep-lib-shared/src/test/java/it0009/test/HelloWorldSharedLibJNITest.java
@@ -25,8 +25,7 @@ import org.junit.Test;
public class HelloWorldSharedLibJNITest
{
- @Test
- public void testNativeHelloWorldSharedLibJNI()
+ @Test public final void testNativeHelloWorldSharedLibJNI()
throws Exception
{
HelloWorldSharedLibJNI app = new HelloWorldSharedLibJNI();