RFR [13] 8218022: Repeated words typos in java.base (was: Duplicate words typos in comments/javadoc/strings)

Pavel Rappo pavel.rappo at oracle.com
Wed Jan 30 00:28:15 UTC 2019


Alan, Lance,

I have created a webrev with the change:

    http://cr.openjdk.java.net/~prappo/8218022/webrev.00/

I added bonus fixes and updated the copyright years. If everybody is fine with
this change, I'm pushing it.
   
List of locations of additional fixes added to Andrey's patch:
 
    sun.net.www.http.HttpClient#HttpClient(java.net.URL, java.lang.String, int)
    jdk.internal.module.ServicesCatalog#create
    jdk.internal.platform.Metrics#getCpuSetMemoryPressure
    java.lang.invoke.MethodHandleNatives#linkMethod
    java.lang.LiveStackFrame#getStackWalker(java.util.Set<java.lang.StackWalker.Option>)

-Pavel

P.S. 

I also added a missing '*' to the sun.security.util.ConstraintsParameters top
level doc and removed the "on" preposition from the second sentence. The words
seemed to be out of order: "on passed" instead of "passed on".

It might look even better if we remove this preposition completely:

...
 * This is currently passed between PKIX, AlgorithmChecker,
 * and DisabledAlgorithmConstraints.
 */
public class ConstraintsParameters {



More information about the core-libs-dev mailing list