From: Robin Rosenberg Date: Wed, 28 Feb 2007 22:26:10 GMT Subject: [EGIT PATCH 1/9] Minor fix. Message-ID: <20070228222610.12021.1782.stgit@lathund.dewire.com> In-Reply-To: <20070228222355.12021.13029.stgit@lathund.dewire.com> Eclipse's strict checking thinks there is an error. Signed-off-by: Robin Rosenberg --- .../src/org/spearce/jgit/lib/WindowedFile.java | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/org.spearce.jgit/src/org/spearce/jgit/lib/WindowedFile.java b/org.spearce.jgit/src/org/spearce/jgit/lib/WindowedFile.java index 28b495f..827cc22 100644 --- a/org.spearce.jgit/src/org/spearce/jgit/lib/WindowedFile.java +++ b/org.spearce.jgit/src/org/spearce/jgit/lib/WindowedFile.java @@ -21,6 +21,7 @@ import java.io.File; import java.io.IOException; import java.io.RandomAccessFile; import java.nio.MappedByteBuffer; +import java.nio.channels.FileChannel; import java.nio.channels.FileChannel.MapMode; import java.util.zip.DataFormatException; import java.util.zip.Inflater; @@ -85,7 +86,7 @@ public class WindowedFile { * use the same window cache. * @param file * the file to open. The file will be opened for reading only, - * unless {@link MapMode#READ_WRITE} or {@link MapMode#PRIVATE} + * unless {@link FileChannel.MapMode#READ_WRITE} or {@link FileChannel.MapMode#PRIVATE} * is given. * @param windowSz * number of bytes within a window. This value must be a power of