8278168: Add a few missing words to the specification of Files.mismatch

Reviewed-by: rriggs, bpb, iris, alanb
This commit is contained in:
Pavel Rappo 2021-12-03 09:54:23 +00:00
parent 45da3aea22
commit d1cad2463a

View File

@ -1552,7 +1552,7 @@ public final class Files {
* <ul>
* <li> The two paths locate the {@linkplain #isSameFile(Path, Path) same file},
* even if two {@linkplain Path#equals(Object) equal} paths locate a file
* does not exist, or </li>
* that does not exist, or </li>
* <li> The two files are the same size, and every byte in the first file
* is identical to the corresponding byte in the second file. </li>
* </ul>
@ -1561,7 +1561,7 @@ public final class Files {
* returned by this method is:
* <ul>
* <li> The position of the first mismatched byte, or </li>
* <li> The size of the smaller file (in bytes) when the files are different
* <li> The size of the smaller file (in bytes) when the files are of different
* sizes and every byte of the smaller file is identical to the
* corresponding byte of the larger file. </li>
* </ul>