* java/nio/ByteBuffer.java
(equals): Remove redundant obj == null check.
From-SVN: r73447
2003-11-11 Michael Koch <konqueror@gmx.de>
+ * java/nio/ByteBuffer.java
+ (equals): Remove redundant obj == null check.
+
+2003-11-11 Michael Koch <konqueror@gmx.de>
+
* gnu/java/nio/natPipeImpl.cc,
gnu/java/nio/natSelectorImpl.cc: Removed
* gnu/java/nio/natPipeImplEcos.cc,
*/
public boolean equals (Object obj)
{
- if (obj != null &&
- obj instanceof ByteBuffer)
+ if (obj instanceof ByteBuffer)
{
return compareTo (obj) == 0;
}