I fixed a little indendation mistake in javax.swing.plaf.ComponentUI.

2006-01-10  Roman Kennke  <[EMAIL PROTECTED]>

        * javax/swing/plaf/ComponentUI.java
        (update): Fixed indendation.


/Roman
Index: javax/swing/plaf/ComponentUI.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/plaf/ComponentUI.java,v
retrieving revision 1.13
diff -u -r1.13 ComponentUI.java
--- javax/swing/plaf/ComponentUI.java	9 Nov 2005 14:52:02 -0000	1.13
+++ javax/swing/plaf/ComponentUI.java	10 Jan 2006 13:11:05 -0000
@@ -41,7 +41,6 @@
 import java.awt.Color;
 import java.awt.Dimension;
 import java.awt.Graphics;
-import java.awt.Rectangle;
 
 import javax.accessibility.Accessible;
 import javax.swing.JComponent;
@@ -185,12 +184,12 @@
   public void update(Graphics g, JComponent c)
   {
     if (c.isOpaque())
-    {
-      Color oldColor = g.getColor();
-      g.setColor(c.getBackground());
-      g.fillRect(0, 0, c.getWidth(), c.getHeight());
-      g.setColor(oldColor);
-    }
+      {
+        Color oldColor = g.getColor();
+        g.setColor(c.getBackground());
+        g.fillRect(0, 0, c.getWidth(), c.getHeight());
+        g.setColor(oldColor);
+      }
     paint(g, c);
   }
    
_______________________________________________
Classpath-patches mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/classpath-patches

Reply via email to