/[classpath]/classpath/java/nio/ByteBuffer.java
ViewVC logotype

Diff of /classpath/java/nio/ByteBuffer.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.16 by mkoch, Wed Jun 11 15:15:08 2003 UTC revision 1.17 by mkoch, Tue Nov 4 10:00:28 2003 UTC
# Line 278  public abstract class ByteBuffer extends Line 278  public abstract class ByteBuffer extends
278     */     */
279    public boolean equals (Object obj)    public boolean equals (Object obj)
280    {    {
281      if (obj != null &&      if (obj instanceof ByteBuffer)
         obj instanceof ByteBuffer)  
282        {        {
283          return compareTo (obj) == 0;          return compareTo (obj) == 0;
284        }        }

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26