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

@ -1,5 +1,5 @@
/*
* Copyright (c) 2016, 2022, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -1218,8 +1218,7 @@ public interface ObjectInputFilter {
}
/**
* Returns the pattern used to create this filter.
* @return the pattern used to create this filter
* {@return the pattern used to create this filter}
*/
@Override
public String toString() {

View file

@ -3859,8 +3859,7 @@ public class ObjectInputStream
}
/**
* Returns the number of bytes read from the input stream.
* @return the number of bytes read from the input stream
* {@return the number of bytes read from the input stream}
*/
long getBytesRead() {
return in.getBytesRead();