[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] [Patch] java.lang.Boolean improvments
From: |
Michael Koch |
Subject: |
[cp-patches] [Patch] java.lang.Boolean improvments |
Date: |
Mon, 25 Oct 2004 12:41:32 +0200 |
User-agent: |
Mutt/1.5.6+20040722i |
Hi list,
I just commited the attached patch to improve usage of java.lang.Boolean
usage. Its better to use Boolean.valueOf() instead of creating a new
instance each time.
Michael
2004-10-25 Michael Koch <address@hidden>
* java/awt/font/TextAttribute.java,
javax/swing/JComponent.java,
javax/swing/JInternalFrame.java,
javax/swing/table/TableColumn.java,
javax/swing/text/StyleConstants.java:
Replaced "new Boolean(boolean)" with "Boolean.valueOf(boolean)".
bool.diff
Description: Text document
- [cp-patches] [Patch] java.lang.Boolean improvments,
Michael Koch <=