aboutsummaryrefslogtreecommitdiff
path: root/src/share/demo/nio
diff options
context:
space:
mode:
authormalenkov <none@none>2013-10-29 17:01:06 +0400
committermalenkov <none@none>2013-10-29 17:01:06 +0400
commit94b405df465ecf2b9e0cda5b4df2e22dd615d570 (patch)
treee4ac86ea9cb2d671bd686c8aba4729df79cd50ab /src/share/demo/nio
parent2cdf1dcb4327a74a681f59299cbb3a857191692a (diff)
downloadjdk8u_jdk-94b405df465ecf2b9e0cda5b4df2e22dd615d570.tar.gz
8022746: List of spelling errors in API doc
Reviewed-by: alexsch, smarks
Diffstat (limited to 'src/share/demo/nio')
-rw-r--r--src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/ZipFileSystem.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/ZipFileSystem.java b/src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/ZipFileSystem.java
index e9fb82abf5..6276548509 100644
--- a/src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/ZipFileSystem.java
+++ b/src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/ZipFileSystem.java
@@ -1023,7 +1023,7 @@ public class ZipFileSystem extends FileSystem {
}
// Reads zip file central directory. Returns the file position of first
- // CEN header, otherwise returns -1 if an error occured. If zip->msg != NULL
+ // CEN header, otherwise returns -1 if an error occurred. If zip->msg != NULL
// then the error was a zip format error and zip->msg has the error text.
// Always pass in -1 for knownTotal; it's used for a recursive call.
private byte[] initCEN() throws IOException {
@@ -1740,7 +1740,7 @@ public class ZipFileSystem extends FileSystem {
static class IndexNode {
byte[] name;
int hashcode; // node is hashable/hashed by its name
- int pos = -1; // postion in cen table, -1 menas the
+ int pos = -1; // position in cen table, -1 menas the
// entry does not exists in zip file
IndexNode(byte[] name, int pos) {
name(name);