mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8241014: Miscellaneous typos in documentation comments
Reviewed-by: igerasim, prappo, psandoz, rriggs, weijun
This commit is contained in:
parent
c5a7490809
commit
17ff85d4ad
39 changed files with 104 additions and 107 deletions
|
@ -1379,12 +1379,12 @@ s.writeObject(this.parameterArray());
|
|||
|
||||
/**
|
||||
* This implementation returns {@code true} if {@code obj} is another
|
||||
* {@code WeakEntry} whose referent is equals to this referent, or
|
||||
* if {@code obj} is equals to the referent of this. This allows
|
||||
* {@code WeakEntry} whose referent is equal to this referent, or
|
||||
* if {@code obj} is equal to the referent of this. This allows
|
||||
* lookups to be made without wrapping in a {@code WeakEntry}.
|
||||
*
|
||||
* @param obj the object to compare
|
||||
* @return true if {@code obj} is equals to this or the referent of this
|
||||
* @return true if {@code obj} is equal to this or the referent of this
|
||||
* @see MethodType#equals(Object)
|
||||
* @see Object#equals(Object)
|
||||
*/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2015, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2015, 2020, 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
|
||||
|
@ -536,14 +536,14 @@ public final class StringConcatFactory {
|
|||
* <li>The number of parameter slots in {@code concatType} is less than
|
||||
* or equal to 200</li>
|
||||
*
|
||||
* <li>The parameter count in {@code concatType} equals to number of \1 tags
|
||||
* <li>The parameter count in {@code concatType} is equal to number of \1 tags
|
||||
* in {@code recipe}</li>
|
||||
*
|
||||
* <li>The return type in {@code concatType} is assignable
|
||||
* from {@link java.lang.String}, and matches the return type of the
|
||||
* returned {@link MethodHandle}</li>
|
||||
*
|
||||
* <li>The number of elements in {@code constants} equals to number of \2
|
||||
* <li>The number of elements in {@code constants} is equal to number of \2
|
||||
* tags in {@code recipe}</li>
|
||||
* </ul>
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue