mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8303024: (fs) WindowsFileSystem.supportedFileAttributeViews can use Set.of
Reviewed-by: bpb
This commit is contained in:
parent
d7ada66129
commit
f893d2315d
1 changed files with 2 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2008, 2022, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2008, 2023, Oracle and/or its affiliates. All rights reserved.
|
||||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
|
@ -203,8 +203,7 @@ class WindowsFileSystem
|
||||||
}
|
}
|
||||||
|
|
||||||
// supported views
|
// supported views
|
||||||
private static final Set<String> supportedFileAttributeViews = Collections
|
private static final Set<String> supportedFileAttributeViews = Set.of("basic", "dos", "acl", "owner", "user");
|
||||||
.unmodifiableSet(new HashSet<String>(Arrays.asList("basic", "dos", "acl", "owner", "user")));
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Set<String> supportedFileAttributeViews() {
|
public Set<String> supportedFileAttributeViews() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue