mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8242230: Whitespace typos, relaxed javadoc, formatting
Reviewed-by: darcy, igerasim
This commit is contained in:
parent
59684e10d1
commit
4c4271f283
19 changed files with 52 additions and 53 deletions
|
@ -242,7 +242,7 @@ class Character implements java.io.Serializable, Comparable<Character> {
|
|||
* General category "Nd" in the Unicode specification.
|
||||
* @since 1.1
|
||||
*/
|
||||
public static final byte DECIMAL_DIGIT_NUMBER = 9;
|
||||
public static final byte DECIMAL_DIGIT_NUMBER = 9;
|
||||
|
||||
/**
|
||||
* General category "Nl" in the Unicode specification.
|
||||
|
@ -11072,7 +11072,7 @@ class Character implements java.io.Serializable, Comparable<Character> {
|
|||
* Note: if the specified character is not assigned a name by
|
||||
* the <i>UnicodeData</i> file (part of the Unicode Character
|
||||
* Database maintained by the Unicode Consortium), the returned
|
||||
* name is the same as the result of expression.
|
||||
* name is the same as the result of expression:
|
||||
*
|
||||
* <blockquote>{@code
|
||||
* Character.UnicodeBlock.of(codePoint).toString().replace('_', ' ')
|
||||
|
@ -11116,7 +11116,7 @@ class Character implements java.io.Serializable, Comparable<Character> {
|
|||
* <p>
|
||||
* Note: if a character is not assigned a name by the <i>UnicodeData</i>
|
||||
* file (part of the Unicode Character Database maintained by the Unicode
|
||||
* Consortium), its name is defined as the result of expression
|
||||
* Consortium), its name is defined as the result of expression:
|
||||
*
|
||||
* <blockquote>{@code
|
||||
* Character.UnicodeBlock.of(codePoint).toString().replace('_', ' ')
|
||||
|
|
|
@ -144,7 +144,7 @@ import sun.reflect.misc.ReflectUtil;
|
|||
* For example:
|
||||
*
|
||||
* <blockquote>
|
||||
* {@code System.out.println("The name of class Foo is: "+Foo.class.getName());}
|
||||
* {@code System.out.println("The name of class Foo is: " + Foo.class.getName());}
|
||||
* </blockquote>
|
||||
*
|
||||
* @param <T> the type of the class modeled by this {@code Class}
|
||||
|
@ -207,7 +207,7 @@ public final class Class<T> implements java.io.Serializable,
|
|||
* The string is formatted as a list of type modifiers, if any,
|
||||
* followed by the kind of type (empty string for primitive types
|
||||
* and {@code class}, {@code enum}, {@code interface},
|
||||
* <code>@</code>{@code interface}, or {@code record} as appropriate), followed
|
||||
* {@code @interface}, or {@code record} as appropriate), followed
|
||||
* by the type's name, followed by an angle-bracketed
|
||||
* comma-separated list of the type's type parameters, if any,
|
||||
* including informative bounds on the type parameters, if any.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1998, 2017, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1998, 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
|
||||
|
@ -237,8 +237,8 @@ class FdLibm {
|
|||
// floating-point divide. Splitting a floating-point
|
||||
// number into non-overlapping portions can be
|
||||
// accomplished by judicious use of multiplies and
|
||||
// additions. For details see T. J. Dekker, A Floating
|
||||
// Point Technique for Extending the Available Precision ,
|
||||
// additions. For details see T. J. Dekker, A Floating-Point
|
||||
// Technique for Extending the Available Precision,
|
||||
// Numerische Mathematik, vol. 18, 1971, pp.224-242 and
|
||||
// subsequent work.
|
||||
|
||||
|
|
|
@ -757,8 +757,8 @@ public class Runtime {
|
|||
* for more details.
|
||||
*
|
||||
* Otherwise, the libname argument is loaded from a system library
|
||||
* location and mapped to a native library image in an implementation-
|
||||
* dependent manner.
|
||||
* location and mapped to a native library image in an
|
||||
* implementation-dependent manner.
|
||||
* <p>
|
||||
* First, if there is a security manager, its {@code checkLink}
|
||||
* method is called with the {@code libname} as its argument.
|
||||
|
|
|
@ -2063,9 +2063,9 @@ public final class String
|
|||
* <blockquote>
|
||||
* <code>
|
||||
* {@link java.util.regex.Pattern}.{@link
|
||||
* java.util.regex.Pattern#compile compile}(<i>regex</i>).{@link
|
||||
* java.util.regex.Pattern#compile(String) compile}(<i>regex</i>).{@link
|
||||
* java.util.regex.Pattern#matcher(java.lang.CharSequence) matcher}(<i>str</i>).{@link
|
||||
* java.util.regex.Matcher#replaceFirst replaceFirst}(<i>repl</i>)
|
||||
* java.util.regex.Matcher#replaceFirst(String) replaceFirst}(<i>repl</i>)
|
||||
* </code>
|
||||
* </blockquote>
|
||||
*
|
||||
|
@ -2108,9 +2108,9 @@ public final class String
|
|||
* <blockquote>
|
||||
* <code>
|
||||
* {@link java.util.regex.Pattern}.{@link
|
||||
* java.util.regex.Pattern#compile compile}(<i>regex</i>).{@link
|
||||
* java.util.regex.Pattern#compile(String) compile}(<i>regex</i>).{@link
|
||||
* java.util.regex.Pattern#matcher(java.lang.CharSequence) matcher}(<i>str</i>).{@link
|
||||
* java.util.regex.Matcher#replaceAll replaceAll}(<i>repl</i>)
|
||||
* java.util.regex.Matcher#replaceAll(String) replaceAll}(<i>repl</i>)
|
||||
* </code>
|
||||
* </blockquote>
|
||||
*
|
||||
|
@ -2275,7 +2275,7 @@ public final class String
|
|||
* <blockquote>
|
||||
* <code>
|
||||
* {@link java.util.regex.Pattern}.{@link
|
||||
* java.util.regex.Pattern#compile compile}(<i>regex</i>).{@link
|
||||
* java.util.regex.Pattern#compile(String) compile}(<i>regex</i>).{@link
|
||||
* java.util.regex.Pattern#split(java.lang.CharSequence,int) split}(<i>str</i>, <i>n</i>)
|
||||
* </code>
|
||||
* </blockquote>
|
||||
|
|
|
@ -1863,8 +1863,8 @@ public final class System {
|
|||
* for more details.
|
||||
*
|
||||
* Otherwise, the libname argument is loaded from a system library
|
||||
* location and mapped to a native library image in an implementation-
|
||||
* dependent manner.
|
||||
* location and mapped to a native library image in an
|
||||
* implementation-dependent manner.
|
||||
* <p>
|
||||
* The call {@code System.loadLibrary(name)} is effectively
|
||||
* equivalent to the call
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2003, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2003, 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
|
||||
|
@ -33,8 +33,8 @@ package java.lang.annotation;
|
|||
* given type.
|
||||
*
|
||||
* <p>The syntactic locations where annotations may appear are split into
|
||||
* <em>declaration contexts</em> , where annotations apply to declarations, and
|
||||
* <em>type contexts</em> , where annotations apply to types used in
|
||||
* <em>declaration contexts</em>, where annotations apply to declarations, and
|
||||
* <em>type contexts</em>, where annotations apply to types used in
|
||||
* declarations and expressions.
|
||||
*
|
||||
* <p>The constants {@link #ANNOTATION_TYPE}, {@link #CONSTRUCTOR}, {@link
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2003, 2015, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2003, 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
|
||||
|
@ -32,7 +32,7 @@ package java.lang.annotation;
|
|||
* constants of {@link ElementType java.lang.annotation.ElementType}.
|
||||
*
|
||||
* <p>If an {@code @Target} meta-annotation is not present on an annotation type
|
||||
* {@code T} , then an annotation of type {@code T} may be written as a
|
||||
* {@code T}, then an annotation of type {@code T} may be written as a
|
||||
* modifier for any declaration except a type parameter declaration.
|
||||
*
|
||||
* <p>If an {@code @Target} meta-annotation is present, the compiler will enforce
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2013, 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
|
||||
|
@ -111,7 +111,7 @@ public final class Parameter implements AnnotatedElement {
|
|||
* Returns a string describing this parameter. The format is the
|
||||
* modifiers for the parameter, if any, in canonical order as
|
||||
* recommended by <cite>The Java™ Language
|
||||
* Specification</cite>, followed by the fully- qualified type of
|
||||
* Specification</cite>, followed by the fully-qualified type of
|
||||
* the parameter (excluding the last [] if the parameter is
|
||||
* variable arity), followed by "..." if the parameter is variable
|
||||
* arity, followed by a space, followed by the name of the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue