[java] Make changes following Julien's review of my recent patch

java/runtime/JavaInternal.java:
java/runtime/MercuryRuntime.java:
java/runtime/MercuryThreadPool.java:
samples/java_interface/standalone_java/JavaMain.java:
samples/java_interface/standalone_java/Makefile:
samples/java_interface/standalone_java/mercury_lib.m:
    As above.
This commit is contained in:
Paul Bone
2014-12-16 12:45:37 +11:00
parent e4a0adf424
commit 8b48c420d7
6 changed files with 25 additions and 22 deletions

View File

@@ -9,7 +9,7 @@ package jmercury.runtime;
/**
* Interface to the Mercury Runtime System for Java code.
*
* No instance of this class is ever created, all it's members and methods
* No instance of this class is ever created, all its members and methods
* are static.
*/
public class MercuryRuntime
@@ -40,7 +40,7 @@ public class MercuryRuntime
}
/**
* Retrive the exit status stored in the IO state.
* Retrive the exit status stored in the I/O state.
*/
public static int getExitStatus() {
return JavaInternal.exit_status;
@@ -48,8 +48,8 @@ public class MercuryRuntime
/**
* Finalise the runtime system.
* This _must_ be cAlled at the normal end of any program. Currently
* it runs finalisers and stops the thread pool.
* This _must_ be called at the normal end of any program. It runs
* finalisers and stops the thread pool.
*/
public static void finalise() {
JavaInternal.run_finalisers();