summaryrefslogtreecommitdiffstats
path: root/libjava/java/awt/Component.java
diff options
context:
space:
mode:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2003-09-20 21:30:39 +0000
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2003-09-20 21:30:39 +0000
commit460ab0f54664bc49f89fc33ae03e1ce661166811 (patch)
treeb2b121d5c114a37847fcac083bb47e28511c103d /libjava/java/awt/Component.java
parent5f8cbb247ec85219df52dc33c57b2feb0f1e641f (diff)
downloadppe42-gcc-460ab0f54664bc49f89fc33ae03e1ce661166811.tar.gz
ppe42-gcc-460ab0f54664bc49f89fc33ae03e1ce661166811.zip
* java/awt/Component.java: Indentation cleanup from Classpath.
2003-09-20 Dalibor Topic <robilad@kaffe.org> * java/awt/BasicStroke.java (BasicStroke): Fixed illegal argument checking to follow 1.4.2 spec. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71612 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java/awt/Component.java')
-rw-r--r--libjava/java/awt/Component.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/libjava/java/awt/Component.java b/libjava/java/awt/Component.java
index 11663a7d122..d70ed50be1c 100644
--- a/libjava/java/awt/Component.java
+++ b/libjava/java/awt/Component.java
@@ -1870,12 +1870,12 @@ public abstract class Component
{
Image returnValue = null;
if (!GraphicsEnvironment.isHeadless ())
- {
- if (isLightweight () && parent != null)
- returnValue = parent.createImage (width, height);
- else if (peer != null)
- returnValue = peer.createImage (width, height);
- }
+ {
+ if (isLightweight () && parent != null)
+ returnValue = parent.createImage (width, height);
+ else if (peer != null)
+ returnValue = peer.createImage (width, height);
+ }
return returnValue;
}
OpenPOWER on IntegriCloud