diff options
| author | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-05-04 15:50:34 +0000 |
|---|---|---|
| committer | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-05-04 15:50:34 +0000 |
| commit | c3a5f1656b89e35bea2f988526098f0d178eda4a (patch) | |
| tree | f8a39214ab1068b5c5daff2e7c514fdafb29c17d /libjava/java/util/Locale.java | |
| parent | fb0c90edba18e44b6c7fefdd9fec99b28a97540c (diff) | |
| download | gcc-c3a5f1656b89e35bea2f988526098f0d178eda4a.tar.gz | |
* java/util/Locale.java (Locale): Don't explicitly check for
null.
* java/util/Hashtable.java (containsKey): Don't explicitly check
for null.
(get): Likewise.
* java/util/BitSet.java (and, or, xor): Don't explicitly check for
null.
* java/util/zip/ZipEntry.java (ZipEntry): Don't explicitly check
for null.
* java/text/StringCharacterIterator.java
(StringCharacterIterator): Don't check for null.
* java/text/ChoiceFormat.java (setChoices): Don't explicitly check
for null pointer.
* java/net/MulticastSocket.java (joinGroup): Don't explicitly
check for null pointer.
(leaveGroup): Likewise.
* java/net/DatagramPacket.java (DatagramPacket): Removed erroneous
comment.
(setData): Likewise.
* java/lang/ThreadGroup.java (ThreadGroup): Don't explicitly check
for `p==null'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33671 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java/util/Locale.java')
| -rw-r--r-- | libjava/java/util/Locale.java | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/libjava/java/util/Locale.java b/libjava/java/util/Locale.java index e427e2ed43a..d2dc2f75917 100644 --- a/libjava/java/util/Locale.java +++ b/libjava/java/util/Locale.java @@ -1,4 +1,4 @@ -/* Copyright (C) 1998, 1999 Free Software Foundation +/* Copyright (C) 1998, 1999, 2000 Free Software Foundation This file is part of libgcj. @@ -65,10 +65,6 @@ public final class Locale implements java.io.Serializable, Cloneable public Locale (String languageCode, String countryCode, String variantCode) { - // We must explicitly check the arguments. - if (languageCode == null || countryCode == null - || variantCode == null) - throw new NullPointerException (); language = languageCode.toLowerCase(); country = countryCode.toUpperCase(); variant = variantCode.toUpperCase(); |
