8274075: Fix miscellaneous typos in java.base

Reviewed-by: dfuchs, darcy, iris, lancea, bpb
This commit is contained in:
Pavel Rappo 2021-09-23 08:08:39 +00:00
parent 8b833bbea8
commit 8799856528
9 changed files with 25 additions and 26 deletions

View file

@ -899,7 +899,7 @@ public class PrintStream extends FilterOutputStream
}
/**
* Prints a boolean and then terminate the line. This method behaves as
* Prints a boolean and then terminates the line. This method behaves as
* though it invokes {@link #print(boolean)} and then
* {@link #println()}.
*
@ -917,7 +917,7 @@ public class PrintStream extends FilterOutputStream
}
/**
* Prints a character and then terminate the line. This method behaves as
* Prints a character and then terminates the line. This method behaves as
* though it invokes {@link #print(char)} and then
* {@link #println()}.
*
@ -935,7 +935,7 @@ public class PrintStream extends FilterOutputStream
}
/**
* Prints an integer and then terminate the line. This method behaves as
* Prints an integer and then terminates the line. This method behaves as
* though it invokes {@link #print(int)} and then
* {@link #println()}.
*
@ -953,7 +953,7 @@ public class PrintStream extends FilterOutputStream
}
/**
* Prints a long and then terminate the line. This method behaves as
* Prints a long and then terminates the line. This method behaves as
* though it invokes {@link #print(long)} and then
* {@link #println()}.
*
@ -971,7 +971,7 @@ public class PrintStream extends FilterOutputStream
}
/**
* Prints a float and then terminate the line. This method behaves as
* Prints a float and then terminates the line. This method behaves as
* though it invokes {@link #print(float)} and then
* {@link #println()}.
*
@ -989,7 +989,7 @@ public class PrintStream extends FilterOutputStream
}
/**
* Prints a double and then terminate the line. This method behaves as
* Prints a double and then terminates the line. This method behaves as
* though it invokes {@link #print(double)} and then
* {@link #println()}.
*
@ -1007,7 +1007,7 @@ public class PrintStream extends FilterOutputStream
}
/**
* Prints an array of characters and then terminate the line. This method
* Prints an array of characters and then terminates the line. This method
* behaves as though it invokes {@link #print(char[])} and
* then {@link #println()}.
*
@ -1025,7 +1025,7 @@ public class PrintStream extends FilterOutputStream
}
/**
* Prints a String and then terminate the line. This method behaves as
* Prints a String and then terminates the line. This method behaves as
* though it invokes {@link #print(String)} and then
* {@link #println()}.
*
@ -1043,7 +1043,7 @@ public class PrintStream extends FilterOutputStream
}
/**
* Prints an Object and then terminate the line. This method calls
* Prints an Object and then terminates the line. This method calls
* at first String.valueOf(x) to get the printed object's string value,
* then behaves as
* though it invokes {@link #print(String)} and then

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 1996, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1996, 2021, 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
@ -30,7 +30,7 @@ package java.io;
* write operation. Thrown during a read operation when one of the
* ObjectStreamExceptions was thrown during a write operation. The
* exception that terminated the write can be found in the detail
* field. The stream is reset to it's initial state and all references
* field. The stream is reset to its initial state and all references
* to objects already deserialized are discarded.
*
* @since 1.1