2003-11-11 Michael Koch <konqueror@gmx.de>
* java/nio/ByteBuffer.java (equals): Remove redundant obj == null check. From-SVN: r73447
This commit is contained in:
parent
4ba6d1c3e2
commit
c824ce21ca
2 changed files with 6 additions and 2 deletions
|
@ -278,8 +278,7 @@ public abstract class ByteBuffer extends Buffer
|
|||
*/
|
||||
public boolean equals (Object obj)
|
||||
{
|
||||
if (obj != null &&
|
||||
obj instanceof ByteBuffer)
|
||||
if (obj instanceof ByteBuffer)
|
||||
{
|
||||
return compareTo (obj) == 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue