summaryrefslogtreecommitdiffstats
path: root/src
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
parent95dad44d1e825382bc5895f76c21f24bc5776501 (diff)
gluegen: remove unused imports, unneeded semicolons, add missing @Override annotations
Diffstat (limited to 'src')
-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
-rw-r--r--src/java/com/jogamp/gluegen/JavaEmitter.java2
-rw-r--r--src/java/com/jogamp/gluegen/cgram/CSymbolTable.java2
6 files changed, 7 insertions, 6 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);
}
diff --git a/src/java/com/jogamp/gluegen/JavaEmitter.java b/src/java/com/jogamp/gluegen/JavaEmitter.java
index 0490e0c..f9dd13b 100644
--- a/src/java/com/jogamp/gluegen/JavaEmitter.java
+++ b/src/java/com/jogamp/gluegen/JavaEmitter.java
@@ -81,7 +81,7 @@ public class JavaEmitter implements GlueEmitter {
* (InterfaceAndImpl), only the interface (InterfaceOnly), or only
* the implementation (ImplOnly).
*/
- public enum EmissionStyle {AllStatic, InterfaceAndImpl, InterfaceOnly, ImplOnly};
+ public enum EmissionStyle {AllStatic, InterfaceAndImpl, InterfaceOnly, ImplOnly}
/**
* Access control for emitted Java methods.
diff --git a/src/java/com/jogamp/gluegen/cgram/CSymbolTable.java b/src/java/com/jogamp/gluegen/cgram/CSymbolTable.java
index 6e00a72..e59f264 100644
--- a/src/java/com/jogamp/gluegen/cgram/CSymbolTable.java
+++ b/src/java/com/jogamp/gluegen/cgram/CSymbolTable.java
@@ -129,4 +129,4 @@ public class CSymbolTable {
return buff.toString();
}
-};
+}