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

@ -340,8 +340,7 @@ public class AtomicInteger extends Number implements java.io.Serializable {
}
/**
* Returns the String representation of the current value.
* @return the String representation of the current value
* {@return the String representation of the current value}
*/
public String toString() {
return Integer.toString(get());