summaryrefslogtreecommitdiffstats
path: root/src/nativewindow/classes/com
diff options
context:
space:
mode:
authorHarvey Harrison <[email protected]>2013-10-18 07:55:37 -0700
committerHarvey Harrison <[email protected]>2013-10-20 12:02:37 -0700
commit946e0b59847de43d3dd51080abe7b9703d431e5f (patch)
tree5c2ef304cf144f3e28f498504151b1df0209ff0a /src/nativewindow/classes/com
parent0ba264e878993d8f24254257d39a189b4ebf3937 (diff)
jogl: replce more unneeded String() construction
Signed-off-by: Harvey Harrison <[email protected]>
Diffstat (limited to 'src/nativewindow/classes/com')
-rw-r--r--src/nativewindow/classes/com/jogamp/nativewindow/awt/DirectDataBufferInt.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nativewindow/classes/com/jogamp/nativewindow/awt/DirectDataBufferInt.java b/src/nativewindow/classes/com/jogamp/nativewindow/awt/DirectDataBufferInt.java
index c02fc0a04..eeec66376 100644
--- a/src/nativewindow/classes/com/jogamp/nativewindow/awt/DirectDataBufferInt.java
+++ b/src/nativewindow/classes/com/jogamp/nativewindow/awt/DirectDataBufferInt.java
@@ -70,9 +70,9 @@ public final class DirectDataBufferInt extends DataBuffer {
@Override
public String toString() {
- return new String("BufferedImageInt@"+Integer.toHexString(hashCode())
- +": custom/internal type = "+customImageType+"/"+getType()
- +" "+getColorModel()+" "+getRaster());
+ return "BufferedImageInt@"+Integer.toHexString(hashCode())
+ +": custom/internal type = "+customImageType+"/"+getType()
+ +" "+getColorModel()+" "+getRaster();
}
}