From 4c70a81345c566d7b4dd6dc2fad51fe70726c8f0 Mon Sep 17 00:00:00 2001 From: Mark Donszelmann Date: Wed, 18 Nov 2009 16:40:23 +0100 Subject: Further cleanup --- src/it/it0017-toolchain/src/main/java/it0017/HelloWorldJNI.java | 2 +- .../it0017-toolchain/src/test/java/it0017/test/HelloWorldJNITest.java | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'src/it/it0017-toolchain') diff --git a/src/it/it0017-toolchain/src/main/java/it0017/HelloWorldJNI.java b/src/it/it0017-toolchain/src/main/java/it0017/HelloWorldJNI.java index 4e4de59..b41439a 100644 --- a/src/it/it0017-toolchain/src/main/java/it0017/HelloWorldJNI.java +++ b/src/it/it0017-toolchain/src/main/java/it0017/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/it0017-toolchain/src/test/java/it0017/test/HelloWorldJNITest.java b/src/it/it0017-toolchain/src/test/java/it0017/test/HelloWorldJNITest.java index 9d39f6e..7ac0a79 100644 --- a/src/it/it0017-toolchain/src/test/java/it0017/test/HelloWorldJNITest.java +++ b/src/it/it0017-toolchain/src/test/java/it0017/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(); -- cgit v1.2.3