8300867: Fix document issues in java.io

Reviewed-by: alanb, lancea, iris
This commit is contained in:
Per Minborg 2023-01-23 17:53:20 +00:00
parent a7f035db76
commit 4525aa318a
6 changed files with 38 additions and 38 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 1996, 2022, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1996, 2023, 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
@ -1093,9 +1093,9 @@ public class ObjectInputStream
}
/**
* Reads an 8 bit byte.
* Reads an 8-bit byte.
*
* @return the 8 bit byte read.
* @return the 8-bit byte read.
* @throws EOFException If end of file is reached.
* @throws IOException If other I/O error has occurred.
*/
@ -1104,9 +1104,9 @@ public class ObjectInputStream
}
/**
* Reads an unsigned 8 bit byte.
* Reads an unsigned 8-bit byte.
*
* @return the 8 bit byte read.
* @return the 8-bit byte read.
* @throws EOFException If end of file is reached.
* @throws IOException If other I/O error has occurred.
*/
@ -1115,9 +1115,9 @@ public class ObjectInputStream
}
/**
* Reads a 16 bit char.
* Reads a 16-bit char.
*
* @return the 16 bit char read.
* @return the 16-bit char read.
* @throws EOFException If end of file is reached.
* @throws IOException If other I/O error has occurred.
*/
@ -1126,9 +1126,9 @@ public class ObjectInputStream
}
/**
* Reads a 16 bit short.
* Reads a 16-bit short.
*
* @return the 16 bit short read.
* @return the 16-bit short read.
* @throws EOFException If end of file is reached.
* @throws IOException If other I/O error has occurred.
*/
@ -1137,9 +1137,9 @@ public class ObjectInputStream
}
/**
* Reads an unsigned 16 bit short.
* Reads an unsigned 16-bit short.
*
* @return the 16 bit short read.
* @return the 16-bit short read.
* @throws EOFException If end of file is reached.
* @throws IOException If other I/O error has occurred.
*/
@ -1148,9 +1148,9 @@ public class ObjectInputStream
}
/**
* Reads a 32 bit int.
* Reads a 32-bit int.
*
* @return the 32 bit integer read.
* @return the 32-bit integer read.
* @throws EOFException If end of file is reached.
* @throws IOException If other I/O error has occurred.
*/
@ -1159,9 +1159,9 @@ public class ObjectInputStream
}
/**
* Reads a 64 bit long.
* Reads a 64-bit long.
*
* @return the read 64 bit long.
* @return the read 64-bit long.
* @throws EOFException If end of file is reached.
* @throws IOException If other I/O error has occurred.
*/
@ -1170,9 +1170,9 @@ public class ObjectInputStream
}
/**
* Reads a 32 bit float.
* Reads a 32-bit float.
*
* @return the 32 bit float read.
* @return the 32-bit float read.
* @throws EOFException If end of file is reached.
* @throws IOException If other I/O error has occurred.
*/
@ -1181,9 +1181,9 @@ public class ObjectInputStream
}
/**
* Reads a 64 bit double.
* Reads a 64-bit double.
*
* @return the 64 bit double read.
* @return the 64-bit double read.
* @throws EOFException If end of file is reached.
* @throws IOException If other I/O error has occurred.
*/