[kaffe] CVS kaffe (robilad): Resynced with GNU Classpath: initialization fixes for TextAttribute

Kaffe CVS cvs-commits at kaffe.org
Thu Oct 28 16:05:16 PDT 2004


PatchSet 5379 
Date: 2004/10/28 23:01:34
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
Resynced with GNU Classpath: initialization fixes for TextAttribute

2004-10-28  Dalibor Topic  <robilad at kaffe.org>

        *  libraries/javalib/java/awt/font/TextAttribute.java:
        Resynced with GNU Classpath.

        2004-10-28  Michael Koch  <konqueror at gmx.de>

        * java/awt/font/TextAttribute.java
        (RUN_DIRECTION_LTR): Initialie with static value instead of
        calculating it.
        (RUN_DIRECTION_RTL): Likewise.
        (STRIKETHROUGH_ON): Likewise.
        (SWAP_COLORS_ON): Likewise.

Members: 
	ChangeLog:1.2931->1.2932 
	libraries/javalib/java/awt/font/TextAttribute.java:1.2->1.3 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.2931 kaffe/ChangeLog:1.2932
--- kaffe/ChangeLog:1.2931	Thu Oct 28 22:34:19 2004
+++ kaffe/ChangeLog	Thu Oct 28 23:01:34 2004
@@ -1,5 +1,19 @@
 2004-10-28  Dalibor Topic  <robilad at kaffe.org>
 
+	*  libraries/javalib/java/awt/font/TextAttribute.java:
+        Resynced with GNU Classpath.
+
+	2004-10-28  Michael Koch  <konqueror at gmx.de>
+
+        * java/awt/font/TextAttribute.java
+        (RUN_DIRECTION_LTR): Initialie with static value instead of
+        calculating it.
+        (RUN_DIRECTION_RTL): Likewise.
+        (STRIKETHROUGH_ON): Likewise.
+        (SWAP_COLORS_ON): Likewise.
+
+2004-10-28  Dalibor Topic  <robilad at kaffe.org>
+
 	* libraries/javalib/gnu/java/awt/peer/gtk/GdkFontPeer.java,
 	libraries/javalib/gnu/java/awt/peer/gtk/GdkGraphics2D.java:
         Resynced with GNU Classpath.
Index: kaffe/libraries/javalib/java/awt/font/TextAttribute.java
diff -u kaffe/libraries/javalib/java/awt/font/TextAttribute.java:1.2 kaffe/libraries/javalib/java/awt/font/TextAttribute.java:1.3
--- kaffe/libraries/javalib/java/awt/font/TextAttribute.java:1.2	Mon Oct 25 19:12:10 2004
+++ kaffe/libraries/javalib/java/awt/font/TextAttribute.java	Thu Oct 28 23:01:36 2004
@@ -1,5 +1,5 @@
-/* TextAttribute.java
-   Copyright (C) 2003 Free Software Foundation, Inc.
+/* TextAttribute.java --
+   Copyright (C) 2003, 2004  Free Software Foundation, Inc.
 
 This file is part of GNU Classpath.
 
@@ -70,19 +70,19 @@
   public static final Float POSTURE_REGULAR = new Float (0.0);
   public static final TextAttribute RUN_DIRECTION =
     new TextAttribute ("RUN_DIRECTION");
-  public static final Boolean RUN_DIRECTION_LTR = Boolean.valueOf(true);
-  public static final Boolean RUN_DIRECTION_RTL = Boolean.valueOf(false);
+  public static final Boolean RUN_DIRECTION_LTR = Boolean.TRUE;
+  public static final Boolean RUN_DIRECTION_RTL = Boolean.FALSE;
   public static final TextAttribute SIZE = new TextAttribute ("SIZE");
   public static final TextAttribute STRIKETHROUGH =
     new TextAttribute ("STRIKETHROUGH");
-  public static final Boolean STRIKETHROUGH_ON = Boolean.valueOf(true);
+  public static final Boolean STRIKETHROUGH_ON = Boolean.TRUE;
   public static final TextAttribute SUPERSCRIPT =
     new TextAttribute ("SUPERSCRIPT");
   public static final Integer SUPERSCRIPT_SUB = new Integer (-1);
   public static final Integer SUPERSCRIPT_SUPER = new Integer (1);
   public static final TextAttribute SWAP_COLORS =
     new TextAttribute ("SWAP_COLORS");
-  public static final Boolean SWAP_COLORS_ON = Boolean.valueOf(true);
+  public static final Boolean SWAP_COLORS_ON = Boolean.TRUE;
   public static final TextAttribute TRANSFORM = new TextAttribute ("TRANSFORM");
   public static final TextAttribute UNDERLINE = new TextAttribute ("UNDERLINE");
   public static final Integer UNDERLINE_LOW_DASHED = new Integer (0);




More information about the kaffe mailing list