mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8340082: Use inline return tag in java.base
Reviewed-by: iris, prappo, lancea, djelinski, naoto, liach
This commit is contained in:
parent
1a0a53883f
commit
89c172ac47
21 changed files with 32 additions and 59 deletions
|
@ -498,8 +498,7 @@ public class ZipFile implements ZipConstants, Closeable {
|
|||
}
|
||||
|
||||
/**
|
||||
* Returns the path name of the ZIP file.
|
||||
* @return the path name of the ZIP file
|
||||
* {@return the path name of the ZIP file}
|
||||
*/
|
||||
public String getName() {
|
||||
return filePath;
|
||||
|
@ -560,8 +559,7 @@ public class ZipFile implements ZipConstants, Closeable {
|
|||
}
|
||||
|
||||
/**
|
||||
* Returns an enumeration of the ZIP file entries.
|
||||
* @return an enumeration of the ZIP file entries
|
||||
* {@return an enumeration of the ZIP file entries}
|
||||
* @throws IllegalStateException if the ZIP file has been closed
|
||||
*/
|
||||
public Enumeration<? extends ZipEntry> entries() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue