aboutsummaryrefslogtreecommitdiffstats
path: root/src/nativewindow/classes/javax
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2013-10-18 09:43:24 +0200
committerSven Gothel <[email protected]>2013-10-18 09:43:24 +0200
commitc6b8ad4a8972f62fb8d0c1dcd7eca1de24393028 (patch)
treeb09aac018616200214b8d5518df4dcb2f2c9822a /src/nativewindow/classes/javax
parent1c51abc1872b3cb984800fd76941a82dacd9e7b1 (diff)
parent6aaca0f31eb25938ffab92dd19ffcaacbe5768d9 (diff)
Merge remote-tracking branch 'hharrison/master'
Diffstat (limited to 'src/nativewindow/classes/javax')
-rw-r--r--src/nativewindow/classes/javax/media/nativewindow/util/Dimension.java2
-rw-r--r--src/nativewindow/classes/javax/media/nativewindow/util/Insets.java2
-rw-r--r--src/nativewindow/classes/javax/media/nativewindow/util/Point.java2
-rw-r--r--src/nativewindow/classes/javax/media/nativewindow/util/Rectangle.java2
-rw-r--r--src/nativewindow/classes/javax/media/nativewindow/util/SurfaceSize.java2
5 files changed, 5 insertions, 5 deletions
diff --git a/src/nativewindow/classes/javax/media/nativewindow/util/Dimension.java b/src/nativewindow/classes/javax/media/nativewindow/util/Dimension.java
index b8dc53c83..24ccc836a 100644
--- a/src/nativewindow/classes/javax/media/nativewindow/util/Dimension.java
+++ b/src/nativewindow/classes/javax/media/nativewindow/util/Dimension.java
@@ -87,7 +87,7 @@ public class Dimension implements Cloneable, DimensionImmutable {
@Override
public String toString() {
- return new String(width+" x "+height);
+ return width + " x " + height;
}
@Override
diff --git a/src/nativewindow/classes/javax/media/nativewindow/util/Insets.java b/src/nativewindow/classes/javax/media/nativewindow/util/Insets.java
index c84359dcd..3644916fe 100644
--- a/src/nativewindow/classes/javax/media/nativewindow/util/Insets.java
+++ b/src/nativewindow/classes/javax/media/nativewindow/util/Insets.java
@@ -103,7 +103,7 @@ public class Insets implements Cloneable, InsetsImmutable {
@Override
public String toString() {
- return new String("[ l "+l+", r "+r+" - t "+t+", b "+b+" - "+getTotalWidth()+"x"+getTotalHeight()+"]");
+ return "[ l "+l+", r "+r+" - t "+t+", b "+b+" - "+getTotalWidth()+"x"+getTotalHeight()+"]";
}
}
diff --git a/src/nativewindow/classes/javax/media/nativewindow/util/Point.java b/src/nativewindow/classes/javax/media/nativewindow/util/Point.java
index 57c6fb716..331c1388e 100644
--- a/src/nativewindow/classes/javax/media/nativewindow/util/Point.java
+++ b/src/nativewindow/classes/javax/media/nativewindow/util/Point.java
@@ -99,7 +99,7 @@ public class Point implements Cloneable, PointImmutable {
@Override
public String toString() {
- return new String( x + " / " + y );
+ return x + " / " + y;
}
public final void set(int x, int y) { this.x = x; this.y = y; }
diff --git a/src/nativewindow/classes/javax/media/nativewindow/util/Rectangle.java b/src/nativewindow/classes/javax/media/nativewindow/util/Rectangle.java
index 8dc8f4562..d0d8bfb13 100644
--- a/src/nativewindow/classes/javax/media/nativewindow/util/Rectangle.java
+++ b/src/nativewindow/classes/javax/media/nativewindow/util/Rectangle.java
@@ -195,7 +195,7 @@ public class Rectangle implements Cloneable, RectangleImmutable {
@Override
public String toString() {
- return new String("[ "+x+" / "+y+" "+width+" x "+height+" ]");
+ return "[ "+x+" / "+y+" "+width+" x "+height+" ]";
}
}
diff --git a/src/nativewindow/classes/javax/media/nativewindow/util/SurfaceSize.java b/src/nativewindow/classes/javax/media/nativewindow/util/SurfaceSize.java
index f1749dfa6..77619731f 100644
--- a/src/nativewindow/classes/javax/media/nativewindow/util/SurfaceSize.java
+++ b/src/nativewindow/classes/javax/media/nativewindow/util/SurfaceSize.java
@@ -58,7 +58,7 @@ public class SurfaceSize implements Comparable<SurfaceSize> {
@Override
public final String toString() {
- return new String("[ "+resolution+" x "+bitsPerPixel+" bpp ]");
+ return "[ "+resolution+" x "+bitsPerPixel+" bpp ]";
}
/**