mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8218022: Repeated words typos in java.base
Reviewed-by: alanb, lancea, mchung
This commit is contained in:
parent
150a6a95d0
commit
cfeb359800
22 changed files with 49 additions and 49 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2015, 2019, 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
|
||||
|
@ -166,7 +166,7 @@ interface LiveStackFrame extends StackFrame {
|
|||
* @param options stack walk {@link StackWalker.Option options}
|
||||
*
|
||||
* @throws SecurityException if the security manager is present and
|
||||
* it denies access to {@code RuntimePermission("liveStackFrames")}; or
|
||||
* it denies access to {@code RuntimePermission("liveStackFrames")};
|
||||
* or if the given {@code options} contains
|
||||
* {@link StackWalker.Option#RETAIN_CLASS_REFERENCE Option.RETAIN_CLASS_REFERENCE}
|
||||
* and it denies access to {@code RuntimePermission("getStackWalkerWithClassReference")}.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1994, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1994, 2019, 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
|
||||
|
@ -430,7 +430,7 @@ public class Object {
|
|||
* }</pre>
|
||||
*
|
||||
* @param timeoutMillis the maximum time to wait, in milliseconds
|
||||
* @param nanos additional time, in nanoseconds, in the range range 0-999999 inclusive
|
||||
* @param nanos additional time, in nanoseconds, in the range 0-999999 inclusive
|
||||
* @throws IllegalArgumentException if {@code timeoutMillis} is negative,
|
||||
* or if the value of {@code nanos} is out of range
|
||||
* @throws IllegalMonitorStateException if the current thread is not
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1994, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1994, 2019, 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
|
||||
|
@ -2698,7 +2698,7 @@ public final class String
|
|||
* <p>
|
||||
* Otherwise, returns a substring of this string beginning with the first
|
||||
* code point that is not a {@link Character#isWhitespace(int) white space}
|
||||
* up to to and including the last code point of this string.
|
||||
* up to and including the last code point of this string.
|
||||
* <p>
|
||||
* This method may be used to trim
|
||||
* {@link Character#isWhitespace(int) white space} from
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2008, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2008, 2019, 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
|
||||
|
@ -1083,7 +1083,7 @@ assertEquals("[A, B, C]", (String) caToString2.invokeExact('A', "BC".toCharArray
|
|||
* else if (makeVarargs)
|
||||
* return asVarargsCollector(type().lastParameterType());
|
||||
* else
|
||||
* return return asFixedArity();
|
||||
* return asFixedArity();
|
||||
* }</pre></blockquote>
|
||||
* @param makeVarargs true if the return method handle should have variable arity behavior
|
||||
* @return a method handle of the same type, with possibly adjusted variable arity behavior
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2008, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2008, 2019, 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
|
||||
|
@ -434,7 +434,7 @@ class MethodHandleNatives {
|
|||
* completely in the linker method.
|
||||
* As a corner case, if N==255, no appendix is possible.
|
||||
* In this case, the method returned must be custom-generated to
|
||||
* to perform any needed type checking.
|
||||
* perform any needed type checking.
|
||||
* <p>
|
||||
* If the JVM does not reify a method at a call site, but instead
|
||||
* calls {@code linkMethod}, the corresponding call represented
|
||||
|
|
|
@ -2160,7 +2160,7 @@ public abstract class VarHandle implements Constable {
|
|||
* Construct a {@linkplain VarHandleDesc} given a kind, name, and declaring
|
||||
* class.
|
||||
*
|
||||
* @param kind the kind of of the var handle
|
||||
* @param kind the kind of the var handle
|
||||
* @param name the unqualified name of the field, for field var handles; otherwise ignored
|
||||
* @param declaringClass a {@link ClassDesc} describing the declaring class,
|
||||
* for field var handles
|
||||
|
@ -2217,7 +2217,7 @@ public abstract class VarHandle implements Constable {
|
|||
|
||||
/**
|
||||
* Returns a {@linkplain VarHandleDesc} corresponding to a {@link VarHandle}
|
||||
* for for an array type.
|
||||
* for an array type.
|
||||
*
|
||||
* @param arrayClass a {@link ClassDesc} describing the type of the array
|
||||
* @return the {@linkplain VarHandleDesc}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2013, 2017, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2013, 2019, 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
|
||||
|
@ -659,7 +659,7 @@ final class Resolver {
|
|||
* Checks the readability graph to ensure that
|
||||
* <ol>
|
||||
* <li><p> A module does not read two or more modules with the same name.
|
||||
* This includes the case where a module reads another another with the
|
||||
* This includes the case where a module reads another module with the
|
||||
* same name as itself. </p></li>
|
||||
* <li><p> Two or more modules in the configuration don't export the same
|
||||
* package to a module that reads both. This includes the case where a
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue