Closes gh-4572
This commit is contained in:
Johnny Lim
2015-11-21 12:12:05 +09:00
committed by Stephane Nicoll
parent 31d7ebc96e
commit 8ec00c35bf
40 changed files with 70 additions and 70 deletions

View File

@@ -28,7 +28,7 @@ import java.io.InputStream;
public interface RandomAccessData {
/**
* Returns an {@link InputStream} that can be used to read the underling data. The
* Returns an {@link InputStream} that can be used to read the underlying data. The
* caller is responsible close the underlying stream.
* @param access hint indicating how the underlying data should be accessed
* @return a new input stream that can be used to read the underlying data.

View File

@@ -87,7 +87,7 @@ public class RandomAccessDataFile implements RandomAccessData {
}
/**
* Returns the underling File.
* Returns the underlying File.
* @return the underlying file
*/
public File getFile() {

View File

@@ -155,7 +155,7 @@ public final class JarEntryData {
}
/**
* Decode MSDOS Date Time details. See
* Decode MS-DOS Date Time details. See
* <a href="http://mindprod.com/jgloss/zip.html">mindprod.com/jgloss/zip.html</a> for
* more details of the format.
* @param date the date part

View File

@@ -145,7 +145,7 @@ public class RandomAccessDataFileTests {
}
@Test
public void inputSteamReadOffsetBytes() throws Exception {
public void inputStreamReadOffsetBytes() throws Exception {
byte[] b = new byte[7];
this.inputStream.skip(1);
int amountRead = this.inputStream.read(b, 2, 3);