Skip to content

Commit ca50b82

Browse files
cpovirkJimfs Team
authored andcommitted
RELNOTES=n/a PiperOrigin-RevId: 813888825
1 parent 9aa2fd9 commit ca50b82

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

jimfs/src/main/java/com/google/common/jimfs/JimfsSecureDirectoryStream.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public synchronized void close() {
7979
fileSystemState.unregister(this);
8080
}
8181

82-
protected synchronized void checkOpen() {
82+
synchronized void checkOpen() {
8383
if (!open) {
8484
throw new ClosedDirectoryStreamException();
8585
}

jimfs/src/main/java/com/google/common/jimfs/PathService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ public JimfsPath createPath(@Nullable Name root, Iterable<Name> names) {
175175
}
176176

177177
/** Returns a path with the given root (or no root, if null) and the given names. */
178-
protected final JimfsPath createPathInternal(@Nullable Name root, Iterable<Name> names) {
178+
final JimfsPath createPathInternal(@Nullable Name root, Iterable<Name> names) {
179179
return new JimfsPath(this, root, names);
180180
}
181181

jimfs/src/test/java/com/google/common/jimfs/PathSubject.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public static Subject.Factory<PathSubject, Path> paths() {
5555
private static final LinkOption[] NOFOLLOW_LINKS = {LinkOption.NOFOLLOW_LINKS};
5656

5757
private final Path actual;
58-
protected LinkOption[] linkOptions = FOLLOW_LINKS;
58+
LinkOption[] linkOptions = FOLLOW_LINKS;
5959
private Charset charset = UTF_8;
6060

6161
private PathSubject(FailureMetadata failureMetadata, Path subject) {

0 commit comments

Comments
 (0)