[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] static field clean up
From: |
Jeroen Frijters |
Subject: |
[cp-patches] static field clean up |
Date: |
Mon, 11 Oct 2004 15:11:41 +0200 |
Hi,
I committed the attached patch that removes a bunch of redundant field
initializers and makes a couple of static fields final.
Regards,
Jeroen
2004-10-11 Jeroen Frijters <address@hidden>
* java/awt/EventDispatchThread.java
(dispatchThreadNum): Removed initializer.
(EventDispatchThread): Pre-increment dispatchThreadNum.
* java/awt/Button.java
(next_button_number): Removed useless initializer.
* java/awt/Frame.java
(next_frame_number): Likewise.
* java/awt/Scrollbar.java
(next_scrollbar_number): Likewise.
* java/awt/TextArea.java
(next_text_number): Likewise.
* java/io/ObjectInputStream.java
(dump): Likewise.
* java/lang/reflect/Proxy.java
(count): Likewise.
* java/security/IdentityScope.java
(systemScope): Likewise.
* java/security/Policy.java
(currentPolicy): Likewise.
* java/util/Timer.java
(nr): Likewise.
* java/util/logging/LogRecord.java
(lastSeqNum): Likewise.
* javax/naming/spi/NamingManager.java
(icfb, ofb): Likewise.
* javax/swing/JDialog.java
(decorated): Likewise.
* javax/swing/JFrame.java
(defaultLookAndFeelDecorated): Likewise.
* javax/swing/plaf/basic/BasicToolBarUI.java
(offset, regular): Made final.
* javax/swing/plaf/basic/BasicScrollBarUI.java
(DECREASE_HIGHLIGHT, INCREASE_HIGHLIGHT, NO_HIGHLIGHT,
POSITIVE_SCROLL, NEGATIVE_SCROLL): Made final.
* java/util/zip/ZipEntry.java
(KNOWN_SIZE, KNOWN_CSIZE, KNOWN_CRC, KNOWN_TIME): Made final.
* java/net/HttpURLConnection.java
(valid_methods): Made final.
statics.patch
Description: statics.patch
- [cp-patches] static field clean up,
Jeroen Frijters <=