summaryrefslogtreecommitdiffstats
path: root/src/com/jogamp/opencl/util/JOCLVersion.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2014-07-03 16:35:47 +0200
committerSven Gothel <[email protected]>2014-07-03 16:35:47 +0200
commita90ee128ce0550cd05f969d0283312c2f42b8254 (patch)
treedade644101970d8f69ea3845db310499f2b66a76 /src/com/jogamp/opencl/util/JOCLVersion.java
parenta0e0c8a39d0ef41ff6b64d9b40d058f21b786e81 (diff)
Code Clean-Up based on our Recommended Settings (jogamp-scripting c47bc86ae2ee268a1f38c5580d11f93d7f8d6e74)
- Change non static accesses to static members using declaring type - Change indirect accesses to static members to direct accesses (accesses through subtypes) - Add final modifier to private fields - Add final modifier to method parameters - Add final modifier to local variables - Remove unnecessary casts - Remove unnecessary '$NON-NLS$' tags - Remove trailing white spaces on all lines
Diffstat (limited to 'src/com/jogamp/opencl/util/JOCLVersion.java')
-rw-r--r--src/com/jogamp/opencl/util/JOCLVersion.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/com/jogamp/opencl/util/JOCLVersion.java b/src/com/jogamp/opencl/util/JOCLVersion.java
index 7b837486..cc1edebc 100644
--- a/src/com/jogamp/opencl/util/JOCLVersion.java
+++ b/src/com/jogamp/opencl/util/JOCLVersion.java
@@ -53,7 +53,7 @@ public class JOCLVersion extends JogampVersion {
private static final String PACKAGE = "com.jogamp.opencl";
- private JOCLVersion(Manifest mf) {
+ private JOCLVersion(final Manifest mf) {
super(PACKAGE, mf);
}
@@ -84,7 +84,7 @@ public class JOCLVersion extends JogampVersion {
sb.append(Platform.getNewline());
createInstance().toString(sb);
sb.append(Platform.getNewline());
- }catch(Exception e) {
+ }catch(final Exception e) {
sb.append(e.getMessage());
e.printStackTrace();
}
@@ -92,7 +92,7 @@ public class JOCLVersion extends JogampVersion {
return sb.toString();
}
- public static void main(String[] args) {
+ public static void main(final String[] args) {
System.out.println(JOCLVersion.getAllVersions());
}
}