Skip to content

Commit 82fc374

Browse files
cpovirkJimfs Team
authored andcommitted
RELNOTES=n/a PiperOrigin-RevId: 813888825
1 parent bc03e93 commit 82fc374

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public BasicFileAttributes readAttributes(File file) {
132132
/** Implementation of {@link BasicFileAttributeView}. */
133133
private static final class View extends AbstractAttributeView implements BasicFileAttributeView {
134134

135-
protected View(FileLookup lookup) {
135+
View(FileLookup lookup) {
136136
super(lookup);
137137
}
138138

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ private final class SymbolicLinkSupplier implements Supplier<SymbolicLink> {
113113

114114
private final JimfsPath target;
115115

116-
protected SymbolicLinkSupplier(JimfsPath target) {
116+
SymbolicLinkSupplier(JimfsPath target) {
117117
this.target = checkNotNull(target);
118118
}
119119

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) {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ static void assertUriRoundTripsCorrectly(PathType type, String path) {
110110
/** Arbitrary path type with $ as the root, / as the separator and \ as an alternate separator. */
111111
private static final class FakePathType extends PathType {
112112

113-
protected FakePathType() {
113+
FakePathType() {
114114
super(false, '/', '\\');
115115
}
116116

0 commit comments

Comments
 (0)