aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/jogamp/common/os
diff options
context:
space:
mode:
authorHarvey Harrison <[email protected]>2013-10-17 21:34:47 -0700
committerHarvey Harrison <[email protected]>2013-10-17 21:34:47 -0700
commit7607867f0bba56792cad320695d6209b49acce9d (patch)
tree36f348562c272f5b994c12519c27d5b06b233566 /src/java/jogamp/common/os
parent791a2749886f02ec7b8db25bf8862e8269b96da5 (diff)
gluegen: add all missing @Override annotations
Signed-off-by: Harvey Harrison <[email protected]>
Diffstat (limited to 'src/java/jogamp/common/os')
-rw-r--r--src/java/jogamp/common/os/DynamicLinkerImpl.java1
-rw-r--r--src/java/jogamp/common/os/PlatformPropsImpl.java2
-rw-r--r--src/java/jogamp/common/os/elf/ElfHeader.java1
-rw-r--r--src/java/jogamp/common/os/elf/Section.java1
-rw-r--r--src/java/jogamp/common/os/elf/SectionArmAttributes.java3
-rw-r--r--src/java/jogamp/common/os/elf/SectionHeader.java1
6 files changed, 9 insertions, 0 deletions
diff --git a/src/java/jogamp/common/os/DynamicLinkerImpl.java b/src/java/jogamp/common/os/DynamicLinkerImpl.java
index 39c112e..dde4d5c 100644
--- a/src/java/jogamp/common/os/DynamicLinkerImpl.java
+++ b/src/java/jogamp/common/os/DynamicLinkerImpl.java
@@ -50,6 +50,7 @@ import com.jogamp.common.util.LongObjectHashMap;
public final int getRefCount() { return refCount; }
public final String getName() { return name; }
+ @Override
public final String toString() { return "LibRef["+name+", refCount "+refCount+"]"; }
private final String name;
diff --git a/src/java/jogamp/common/os/PlatformPropsImpl.java b/src/java/jogamp/common/os/PlatformPropsImpl.java
index e632647..503bed3 100644
--- a/src/java/jogamp/common/os/PlatformPropsImpl.java
+++ b/src/java/jogamp/common/os/PlatformPropsImpl.java
@@ -118,6 +118,7 @@ public abstract class PlatformPropsImpl {
private static final String getJavaRuntimeNameImpl() {
// the fast path, check property Java SE instead of traversing through the ClassLoader
return AccessController.doPrivileged(new PrivilegedAction<String>() {
+ @Override
public String run() {
return System.getProperty("java.runtime.name");
}
@@ -232,6 +233,7 @@ public abstract class PlatformPropsImpl {
}
return AccessController.doPrivileged(new PrivilegedAction<ABIType>() {
private final String GNU_LINUX_SELF_EXE = "/proc/self/exe";
+ @Override
public ABIType run() {
boolean abiARM = false;
boolean abiVFPArgsAcceptsVFPVariant = false;
diff --git a/src/java/jogamp/common/os/elf/ElfHeader.java b/src/java/jogamp/common/os/elf/ElfHeader.java
index d76dbab..e6645b6 100644
--- a/src/java/jogamp/common/os/elf/ElfHeader.java
+++ b/src/java/jogamp/common/os/elf/ElfHeader.java
@@ -527,6 +527,7 @@ public class ElfHeader {
return null;
}
+ @Override
public final String toString() {
return string;
}
diff --git a/src/java/jogamp/common/os/elf/Section.java b/src/java/jogamp/common/os/elf/Section.java
index a653668..01dc62b 100644
--- a/src/java/jogamp/common/os/elf/Section.java
+++ b/src/java/jogamp/common/os/elf/Section.java
@@ -40,6 +40,7 @@ public class Section {
this.length = length;
}
+ @Override
public String toString() {
return "Section["+toSubString()+"]";
}
diff --git a/src/java/jogamp/common/os/elf/SectionArmAttributes.java b/src/java/jogamp/common/os/elf/SectionArmAttributes.java
index 413250a..249b2e3 100644
--- a/src/java/jogamp/common/os/elf/SectionArmAttributes.java
+++ b/src/java/jogamp/common/os/elf/SectionArmAttributes.java
@@ -147,6 +147,7 @@ public class SectionArmAttributes extends Section {
throw new IllegalArgumentException("Not ULEB128 but "+tag.type);
}
+ @Override
public String toString() {
return tag+" = "+value;
}
@@ -161,6 +162,7 @@ public class SectionArmAttributes extends Section {
this.attributes = attributes;
}
+ @Override
public String toString() {
return vendor + attributes.toString();
}
@@ -172,6 +174,7 @@ public class SectionArmAttributes extends Section {
this.vendorAttributesList = parse(data, offset, length);
}
+ @Override
public String toString() {
return "SectionArmAttributes["+super.toSubString()+", "+vendorAttributesList.toString()+"]";
}
diff --git a/src/java/jogamp/common/os/elf/SectionHeader.java b/src/java/jogamp/common/os/elf/SectionHeader.java
index fd28d2a..8a83b61 100644
--- a/src/java/jogamp/common/os/elf/SectionHeader.java
+++ b/src/java/jogamp/common/os/elf/SectionHeader.java
@@ -186,6 +186,7 @@ public class SectionHeader {
name = null;
}
+ @Override
public String toString() {
return "SectionHeader[idx "+idx+", name "+name+", type "+toHexString(getType())+", link "+d.getSh_link()+", info "+toHexString(d.getSh_info())+", flags "+toHexString(getFlags())+"]";
}