summaryrefslogtreecommitdiffstats
path: root/libjava/classpath/java/awt/Rectangle.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/classpath/java/awt/Rectangle.java')
-rw-r--r--libjava/classpath/java/awt/Rectangle.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/libjava/classpath/java/awt/Rectangle.java b/libjava/classpath/java/awt/Rectangle.java
index ac2494ee078..1d5a8da0782 100644
--- a/libjava/classpath/java/awt/Rectangle.java
+++ b/libjava/classpath/java/awt/Rectangle.java
@@ -183,7 +183,7 @@ public class Rectangle extends Rectangle2D implements Shape, Serializable
* @param p the upper left corner of the rectangle
*/
public Rectangle(Point p)
- {
+ {
x = p.x;
y = p.y;
}
@@ -196,7 +196,7 @@ public class Rectangle extends Rectangle2D implements Shape, Serializable
* @param d the width and height of the rectangle
*/
public Rectangle(Dimension d)
- {
+ {
width = d.width;
height = d.height;
}
@@ -299,7 +299,7 @@ public class Rectangle extends Rectangle2D implements Shape, Serializable
/**
* Updates this rectangle to have the specified dimensions, rounded to the
* integer precision used by this class (the values are rounded "outwards" so
- * that the stored rectangle completely encloses the specified double
+ * that the stored rectangle completely encloses the specified double
* precision rectangle).
*
* @param x the new X coordinate of the upper left hand corner
OpenPOWER on IntegriCloud