summaryrefslogtreecommitdiffstats
path: root/src/java/com/jogamp/common/util
diff options
context:
space:
mode:
authorHarvey Harrison <[email protected]>2014-07-07 07:25:19 -0700
committerHarvey Harrison <[email protected]>2014-07-07 07:25:19 -0700
commite774abd1a18ee53caa2c550718179f0567d45323 (patch)
tree0779f634d9d84111e677696ec2719402b8e3f549 /src/java/com/jogamp/common/util
parent95dad44d1e825382bc5895f76c21f24bc5776501 (diff)
gluegen: remove unused imports, unneeded semicolons, add missing @Override annotations
Diffstat (limited to 'src/java/com/jogamp/common/util')
-rw-r--r--src/java/com/jogamp/common/util/Bitstream.java1
-rw-r--r--src/java/com/jogamp/common/util/IntIntHashMap.java2
-rw-r--r--src/java/com/jogamp/common/util/JogampVersion.java5
-rw-r--r--src/java/com/jogamp/common/util/ReflectionUtil.java1
4 files changed, 5 insertions, 4 deletions
diff --git a/src/java/com/jogamp/common/util/Bitstream.java b/src/java/com/jogamp/common/util/Bitstream.java
index 7d9c4fd..a242faf 100644
--- a/src/java/com/jogamp/common/util/Bitstream.java
+++ b/src/java/com/jogamp/common/util/Bitstream.java
@@ -1414,6 +1414,7 @@ public class Bitstream<T> {
}
}
+ @Override
public String toString() {
return String.format("Bitstream[%s]", toStringImpl());
}
diff --git a/src/java/com/jogamp/common/util/IntIntHashMap.java b/src/java/com/jogamp/common/util/IntIntHashMap.java
index 4cb2329..e61b59f 100644
--- a/src/java/com/jogamp/common/util/IntIntHashMap.java
+++ b/src/java/com/jogamp/common/util/IntIntHashMap.java
@@ -75,7 +75,7 @@ public class /*name*/IntIntHashMap/*name*/ implements Cloneable,
private static final Constructor</*name*/IntIntHashMap/*name*/.Entry> entryConstructor;
private static final Method equalsMethod;
- static class EntryCM { EntryCM() { c = null; m1 = null; } Constructor<Entry> c; Method m1; };
+ static class EntryCM { EntryCM() { c = null; m1 = null; } Constructor<Entry> c; Method m1; }
static {
final Class<?> valueClazz = /*value*/int/*value*/.class;
diff --git a/src/java/com/jogamp/common/util/JogampVersion.java b/src/java/com/jogamp/common/util/JogampVersion.java
index 2ff7d81..e9becc6 100644
--- a/src/java/com/jogamp/common/util/JogampVersion.java
+++ b/src/java/com/jogamp/common/util/JogampVersion.java
@@ -28,9 +28,6 @@
package com.jogamp.common.util;
-import com.jogamp.common.GlueGenVersion;
-import com.jogamp.common.os.Platform;
-
import java.util.Iterator;
import java.util.Set;
import java.util.jar.Attributes;
@@ -38,6 +35,8 @@ import java.util.jar.Manifest;
import jogamp.common.os.AndroidUtils;
+import com.jogamp.common.os.Platform;
+
public class JogampVersion {
/** See {@link #getImplementationBuild()} */
diff --git a/src/java/com/jogamp/common/util/ReflectionUtil.java b/src/java/com/jogamp/common/util/ReflectionUtil.java
index 7117f56..9e716b8 100644
--- a/src/java/com/jogamp/common/util/ReflectionUtil.java
+++ b/src/java/com/jogamp/common/util/ReflectionUtil.java
@@ -89,6 +89,7 @@ public final class ReflectionUtil {
public final String name;
public long nanoCosts;
public int count;
+ @Override
public String toString() {
return String.format("%8.3f ms, %03d invoc, %s", nanoCosts/1e6, count, name);
}