Commit c824ce21 by Michael Koch Committed by Michael Koch

2003-11-11 Michael Koch <konqueror@gmx.de>

	* java/nio/ByteBuffer.java
	(equals): Remove redundant obj == null check.

From-SVN: r73447
parent 4ba6d1c3
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,
......
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment