/[classpath]/classpath/java/nio/channels/FileLock.java
ViewVC logotype

Diff of /classpath/java/nio/channels/FileLock.java

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

revision 1.5 by mkoch, Sat Dec 21 12:10:04 2002 UTC revision 1.6 by mkoch, Sun May 18 06:36:35 2003 UTC
# Line 101  public abstract class FileLock Line 101  public abstract class FileLock
101     */     */
102    public final boolean overlaps (long position, long size)    public final boolean overlaps (long position, long size)
103    {    {
104      if (position > this.position +this.size)      if (position > this.position + this.size)
105        return false;        return false;
106    
107      if (position + size < this.position)      if (position + size < this.position)

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

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