Component.java: Indentation cleanup from Classpath.
* 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. From-SVN: r71612
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user