Fix typos
See gh-38983
This commit is contained in:
committed by
Moritz Halbritter
parent
93d41497dc
commit
b7c9c82180
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2023 the original author or authors.
|
||||
* Copyright 2012-2024 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -195,7 +195,7 @@ class NestedFileSystem extends FileSystem {
|
||||
|
||||
@Override
|
||||
public WatchService newWatchService() throws IOException {
|
||||
throw new UnsupportedOperationException("Nested paths do not support the WacherService");
|
||||
throw new UnsupportedOperationException("Nested paths do not support the WatchService");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2023 the original author or authors.
|
||||
* Copyright 2012-2024 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -657,7 +657,7 @@ public final class ZipContent implements Closeable {
|
||||
|
||||
private static ZipContent loadNestedDirectory(Source source, ZipContent zip, Entry directoryEntry)
|
||||
throws IOException {
|
||||
debug.log("Loading nested directry entry '%s' from '%s'", source.nestedEntryName(), source.path());
|
||||
debug.log("Loading nested directory entry '%s' from '%s'", source.nestedEntryName(), source.path());
|
||||
if (!source.nestedEntryName().endsWith("/")) {
|
||||
throw new IllegalArgumentException("Nested entry name must end with '/'");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user