aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/net/Inet6Address.java
diff options
context:
space:
mode:
authorMichael Koch <konqueror@gmx.de>2003-11-11 12:22:20 +0000
committerMichael Koch <mkoch@gcc.gnu.org>2003-11-11 12:22:20 +0000
commit5237cd77c28ff1bcfddc6ef7029038bd747bea4c (patch)
tree4fa45868beabc11ccfac0015241a40e4f53ec8b1 /libjava/java/net/Inet6Address.java
parentc824ce21ca58c7fc312dc95e8671d7f584b967a7 (diff)
downloadgcc-5237cd77c28ff1bcfddc6ef7029038bd747bea4c.zip
gcc-5237cd77c28ff1bcfddc6ef7029038bd747bea4c.tar.gz
gcc-5237cd77c28ff1bcfddc6ef7029038bd747bea4c.tar.bz2
Font.java, [...]: Removed some redundant obj == null checks.
2003-11-11 Michael Koch <konqueror@gmx.de> * java/awt/Font.java, java/awt/datatransfer/DataFlavor.java, java/math/BigInteger.java, java/net/Inet4Address.java, java/net/Inet6Address.java, java/rmi/MarshalledObject.java, java/rmi/server/RMIClassLoader.java, java/security/cert/CertStore.java, java/sql/Timestamp.java, java/text/SimpleDateFormat.java, javax/naming/CompoundName.java: Removed some redundant obj == null checks. From-SVN: r73448
Diffstat (limited to 'libjava/java/net/Inet6Address.java')
-rw-r--r--libjava/java/net/Inet6Address.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/java/net/Inet6Address.java b/libjava/java/net/Inet6Address.java
index 4f4563d..c3418c6 100644
--- a/libjava/java/net/Inet6Address.java
+++ b/libjava/java/net/Inet6Address.java
@@ -243,7 +243,7 @@ public final class Inet6Address extends InetAddress
*/
public boolean equals (Object obj)
{
- if (obj == null || ! (obj instanceof Inet6Address))
+ if (! (obj instanceof Inet6Address))
return false;
Inet6Address tmp = (Inet6Address) obj;