8340082: Use inline return tag in java.base

Reviewed-by: iris, prappo, lancea, djelinski, naoto, liach
This commit is contained in:
Joe Darcy 2024-09-13 16:49:28 +00:00
parent 1a0a53883f
commit 89c172ac47
21 changed files with 32 additions and 59 deletions

View file

@ -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() {