Skip to content

Commit 46ae94e

Browse files
authored
Fix code style issues
1 parent 8bce0f8 commit 46ae94e

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/main/java/org/codehaus/plexus/components/io/attributes/FileAttributes.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,10 @@ else if ( views.contains( "posix" ) )
9797
{
9898
names = "basic:*";
9999
}
100-
Map<String, Object> attrs = Files.readAttributes( path, names, LinkOption.NOFOLLOW_LINKS);
100+
Map<String, Object> attrs = Files.readAttributes( path, names, LinkOption.NOFOLLOW_LINKS );
101101
if ( !attrs.containsKey( "group" ) && !attrs.containsKey( "owner" ) && views.contains( "owner" ) )
102102
{
103-
Map<String, Object> ownerAttrs = Files.readAttributes( path, "owner:*", LinkOption.NOFOLLOW_LINKS);
103+
Map<String, Object> ownerAttrs = Files.readAttributes( path, "owner:*", LinkOption.NOFOLLOW_LINKS );
104104
Map<String, Object> newAttrs = new HashMap<>( attrs );
105105
newAttrs.putAll( ownerAttrs );
106106
attrs = newAttrs;
@@ -121,7 +121,8 @@ else if ( views.contains( "posix" ) )
121121

122122
public FileAttributes( @Nullable Integer userId, String userName, @Nullable Integer groupId, @Nullable String groupName,
123123
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+
{
125126
this.userId = userId;
126127
this.userName = userName;
127128
this.groupId = groupId;
@@ -346,4 +347,4 @@ protected Set<PosixFilePermission> getPermissions()
346347
{
347348
return permissions;
348349
}
349-
}
350+
}

0 commit comments

Comments
 (0)