Skip to content

Commit 9aa2fd9

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

File tree

9 files changed

+9
-10
lines changed

9 files changed

+9
-10
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ private static final class View extends AbstractAttributeView implements AclFile
119119

120120
private final FileOwnerAttributeView ownerView;
121121

122-
public View(FileLookup lookup, FileOwnerAttributeView ownerView) {
122+
View(FileLookup lookup, FileOwnerAttributeView ownerView) {
123123
super(lookup);
124124
this.ownerView = checkNotNull(ownerView);
125125
}

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/DosAttributeProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ private static final class View extends AbstractAttributeView implements DosFile
118118

119119
private final BasicFileAttributeView basicView;
120120

121-
public View(FileLookup lookup, BasicFileAttributeView basicView) {
121+
View(FileLookup lookup, BasicFileAttributeView basicView) {
122122
super(lookup);
123123
this.basicView = checkNotNull(basicView);
124124
}

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/OwnerAttributeProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public FileOwnerAttributeView view(
100100
/** Implementation of {@link FileOwnerAttributeView}. */
101101
private static final class View extends AbstractAttributeView implements FileOwnerAttributeView {
102102

103-
public View(FileLookup lookup) {
103+
View(FileLookup lookup) {
104104
super(lookup);
105105
}
106106

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,8 +191,7 @@ private static class View extends AbstractAttributeView implements PosixFileAttr
191191
private final BasicFileAttributeView basicView;
192192
private final FileOwnerAttributeView ownerView;
193193

194-
protected View(
195-
FileLookup lookup, BasicFileAttributeView basicView, FileOwnerAttributeView ownerView) {
194+
View(FileLookup lookup, BasicFileAttributeView basicView, FileOwnerAttributeView ownerView) {
196195
super(lookup);
197196
this.basicView = checkNotNull(basicView);
198197
this.ownerView = checkNotNull(ownerView);

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ public UserDefinedFileAttributeView view(
113113
/** Implementation of {@link UserDefinedFileAttributeView}. */
114114
private static class View extends AbstractAttributeView implements UserDefinedFileAttributeView {
115115

116-
public View(FileLookup lookup) {
116+
View(FileLookup lookup) {
117117
super(lookup);
118118
}
119119

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ static GroupPrincipal createGroupPrincipal(String name) {
6363
/** Base class for {@link UserPrincipal} and {@link GroupPrincipal} implementations. */
6464
private abstract static class NamedPrincipal implements UserPrincipal {
6565

66-
protected final String name;
66+
final String name;
6767

6868
private NamedPrincipal(String name) {
6969
this.name = checkNotNull(name);

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)