File tree 1 file changed +2
-6
lines changed
src/java.base/share/classes/jdk/internal/jrtfs
1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright (c) 2015, 2022 , Oracle and/or its affiliates. All rights reserved.
2
+ * Copyright (c) 2015, 2023 , Oracle and/or its affiliates. All rights reserved.
3
3
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
4
*
5
5
* This code is free software; you can redistribute it and/or modify it
@@ -649,11 +649,7 @@ final void deleteIfExists() throws IOException {
649
649
}
650
650
651
651
final JrtFileAttributes getAttributes (LinkOption ... options ) throws IOException {
652
- JrtFileAttributes zfas = jrtfs .getFileAttributes (this , options );
653
- if (zfas == null ) {
654
- throw new NoSuchFileException (toString ());
655
- }
656
- return zfas ;
652
+ return jrtfs .getFileAttributes (this , options );
657
653
}
658
654
659
655
final void setAttribute (String attribute , Object value , LinkOption ... options )
You can’t perform that action at this time.
0 commit comments