summaryrefslogtreecommitdiff
path: root/java/security
diff options
context:
space:
mode:
authorJeroen Frijters <jeroen@sumatra.nl>2004-10-11 13:11:55 +0000
committerJeroen Frijters <jeroen@sumatra.nl>2004-10-11 13:11:55 +0000
commitaa0ca82cb1cf6ce3ff891f72328fc6ae7a29364f (patch)
tree2615afed05bb5eb56e6ab60dd12220ba1688a422 /java/security
parent3c0344b86c10638fa45638c7f25c7ccd7683c4f1 (diff)
downloadclasspath-aa0ca82cb1cf6ce3ff891f72328fc6ae7a29364f.tar.gz
2004-10-11 Jeroen Frijters <jeroen@frijters.net>
* 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.
Diffstat (limited to 'java/security')
-rw-r--r--java/security/IdentityScope.java2
-rw-r--r--java/security/Policy.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/java/security/IdentityScope.java b/java/security/IdentityScope.java
index 5965a00a1..004f4ee4e 100644
--- a/java/security/IdentityScope.java
+++ b/java/security/IdentityScope.java
@@ -71,7 +71,7 @@ import java.util.Enumeration;
public abstract class IdentityScope extends Identity
{
private static final long serialVersionUID = -2337346281189773310L;
- private static IdentityScope systemScope = null;
+ private static IdentityScope systemScope;
/**
* This constructor is used for serialization only and should not be used by
diff --git a/java/security/Policy.java b/java/security/Policy.java
index 47171cff3..88f2e43d9 100644
--- a/java/security/Policy.java
+++ b/java/security/Policy.java
@@ -95,7 +95,7 @@ import java.util.Map;
*/
public abstract class Policy
{
- static private Policy currentPolicy = null;
+ static private Policy currentPolicy;
/** Map of ProtectionDomains to PermissionCollections for this instance. */
private Map pd2pc = null;