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
This commit is contained in:
parent
c824ce21ca
commit
5237cd77c2
12 changed files with 22 additions and 21 deletions
|
@ -1565,7 +1565,7 @@ public class BigInteger extends Number implements Comparable
|
|||
/* Assumes this and obj are both canonicalized. */
|
||||
public boolean equals(Object obj)
|
||||
{
|
||||
if (obj == null || ! (obj instanceof BigInteger))
|
||||
if (! (obj instanceof BigInteger))
|
||||
return false;
|
||||
return equals(this, (BigInteger) obj);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue