diff options
author | Michael Bien <[email protected]> | 2010-02-24 02:06:34 +0100 |
---|---|---|
committer | Michael Bien <[email protected]> | 2010-02-24 02:06:34 +0100 |
commit | 01775d5597d6d1ef4fff195f572c1a6528438f66 (patch) | |
tree | 5868fed2cce5addd388bffb729590b28b94d0196 /src/com/mbien/opencl/CLException.java | |
parent | d78faf0ef678cc87f5220d2cb8eccbe173449541 (diff) |
code review. Fixed typos in javadoc and fixed some warnings.
Diffstat (limited to 'src/com/mbien/opencl/CLException.java')
-rw-r--r-- | src/com/mbien/opencl/CLException.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/mbien/opencl/CLException.java b/src/com/mbien/opencl/CLException.java index 2f6a02a4..baa187a5 100644 --- a/src/com/mbien/opencl/CLException.java +++ b/src/com/mbien/opencl/CLException.java @@ -32,7 +32,7 @@ public class CLException extends RuntimeException { /** * Throws a CLException when <code>status != CL_SUCCESS</code>. */ - public static final void checkForError(int status, String message) { + public static void checkForError(int status, String message) { if(status != CL_SUCCESS) { CLException ex = newException(status, message); ex.fillInStackTrace(); @@ -43,7 +43,7 @@ public class CLException extends RuntimeException { /** * Returns a CLException specific to the error code. */ - public static final CLException newException(int status, String message) { + public static CLException newException(int status, String message) { CLException specificEx = createSpecificException(status, message); if(specificEx != null) { specificEx.fillInStackTrace(); |