@@ -97,10 +97,10 @@ else if ( views.contains( "posix" ) )
97
97
{
98
98
names = "basic:*" ;
99
99
}
100
- Map <String , Object > attrs = Files .readAttributes ( path , names , LinkOption .NOFOLLOW_LINKS );
100
+ Map <String , Object > attrs = Files .readAttributes ( path , names , LinkOption .NOFOLLOW_LINKS );
101
101
if ( !attrs .containsKey ( "group" ) && !attrs .containsKey ( "owner" ) && views .contains ( "owner" ) )
102
102
{
103
- Map <String , Object > ownerAttrs = Files .readAttributes ( path , "owner:*" , LinkOption .NOFOLLOW_LINKS );
103
+ Map <String , Object > ownerAttrs = Files .readAttributes ( path , "owner:*" , LinkOption .NOFOLLOW_LINKS );
104
104
Map <String , Object > newAttrs = new HashMap <>( attrs );
105
105
newAttrs .putAll ( ownerAttrs );
106
106
attrs = newAttrs ;
@@ -121,7 +121,8 @@ else if ( views.contains( "posix" ) )
121
121
122
122
public FileAttributes ( @ Nullable Integer userId , String userName , @ Nullable Integer groupId , @ Nullable String groupName ,
123
123
int octalMode , boolean symbolicLink , boolean regularFile , boolean directory , boolean other ,
124
- Set <PosixFilePermission > permissions , long size , FileTime lastModifiedTime ) {
124
+ Set <PosixFilePermission > permissions , long size , FileTime lastModifiedTime )
125
+ {
125
126
this .userId = userId ;
126
127
this .userName = userName ;
127
128
this .groupId = groupId ;
@@ -346,4 +347,4 @@ protected Set<PosixFilePermission> getPermissions()
346
347
{
347
348
return permissions ;
348
349
}
349
- }
350
+ }
0 commit comments