OSDN Git Service
(root)
/
dictzip-java
/
dictzip-java.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
style: update javadoc
[dictzip-java/dictzip-java.git]
/
dictzip-lib
/
src
/
main
/
java
/
org
/
dict
/
zip
/
RandomAccessInputStream.java
diff --git
a/dictzip-lib/src/main/java/org/dict/zip/RandomAccessInputStream.java
b/dictzip-lib/src/main/java/org/dict/zip/RandomAccessInputStream.java
index
d0a6373
..
162ec5c
100644
(file)
--- a/
dictzip-lib/src/main/java/org/dict/zip/RandomAccessInputStream.java
+++ b/
dictzip-lib/src/main/java/org/dict/zip/RandomAccessInputStream.java
@@
-70,9
+70,10
@@
public class RandomAccessInputStream extends InputStream {
}
/**
}
/**
- * Get a
n
unique FileChannel Object related to the file.
+ * Get a unique FileChannel Object related to the file.
* @return FileChannel object.
*/
* @return FileChannel object.
*/
+ @SuppressWarnings("unused")
public final FileChannel getChannel() {
return fileChannel;
}
public final FileChannel getChannel() {
return fileChannel;
}
@@
-237,9
+238,10
@@
public class RandomAccessInputStream extends InputStream {
/**
* Seek file position.
* <p>
/**
* Seek file position.
* <p>
- * when specified position is beyond
of
end of the file, position is set to end of file.
+ * when specified position is beyond
the
end of the file, position is set to end of file.
*
* @param pos file position in byte.
*
* @param pos file position in byte.
+ * @throws IOException when seek position is negative.
*/
public final void seek(final long pos) throws IOException {
if (pos < 0) {
*/
public final void seek(final long pos) throws IOException {
if (pos < 0) {