From 936306df62d7d44a806fbeb789c6432e7c325981 Mon Sep 17 00:00:00 2001 From: "smain@google.com" Date: Tue, 21 Oct 2014 18:36:14 -0700 Subject: autoclose all tags so they don't disappear on web site tags with the name attribute---used to create a page anchor---must be closed immediately and not contain any text because, in order to make the appropriate content visible below the site's "sticky header" when the anchor is followed, CSS is used to hide the element and position it up higher by an offset equal to the height of the sticky header. So, do not place text inside an tag with the name attribute. Change-Id: Icae1b1f0716aa02d003f921b8e430ad3c99f26d0 --- luni/src/main/java/java/lang/Character.java | 2 +- luni/src/main/java/java/security/SecureRandom.java | 4 ++-- luni/src/main/java/java/text/DecimalFormat.java | 4 ++-- luni/src/main/java/java/text/MessageFormat.java | 4 ++-- luni/src/main/java/java/util/Locale.java | 6 +++--- luni/src/main/java/java/util/Properties.java | 2 +- luni/src/main/java/java/util/regex/Pattern.java | 2 +- luni/src/main/java/java/util/zip/Deflater.java | 2 +- luni/src/main/java/javax/xml/transform/overview.html | 12 ++++++------ 9 files changed, 19 insertions(+), 19 deletions(-) (limited to 'luni') diff --git a/luni/src/main/java/java/lang/Character.java b/luni/src/main/java/java/lang/Character.java index e920a3e..2046ba8 100644 --- a/luni/src/main/java/java/lang/Character.java +++ b/luni/src/main/java/java/lang/Character.java @@ -46,7 +46,7 @@ import java.util.Arrays; * point or a UTF-16 unit that's part of a surrogate pair. The {@code int} type * is used to represent all Unicode code points. * - *

Unicode categories

+ *

Unicode categories

*

Here's a list of the Unicode character categories and the corresponding Java constant, * grouped semantically to provide a convenient overview. This table is also useful in * conjunction with {@code \p} and {@code \P} in {@link java.util.regex.Pattern regular expressions}. diff --git a/luni/src/main/java/java/security/SecureRandom.java b/luni/src/main/java/java/security/SecureRandom.java index df95fa2..7a03801 100644 --- a/luni/src/main/java/java/security/SecureRandom.java +++ b/luni/src/main/java/java/security/SecureRandom.java @@ -46,8 +46,8 @@ import org.apache.harmony.security.provider.crypto.SHA1PRNG_SecureRandomImpl; * For deriving keys from passwords, see * {@link javax.crypto.SecretKeyFactory}. * - *

Seeding {@code SecureRandom} may be - * insecure

+ *

Seeding {@code SecureRandom} may be + * insecure

* A seed is an array of bytes used to bootstrap random number generation. * To produce cryptographically secure random numbers, both the seed and the * algorithm must be secure. diff --git a/luni/src/main/java/java/text/DecimalFormat.java b/luni/src/main/java/java/text/DecimalFormat.java index dc70886..554fd74 100644 --- a/luni/src/main/java/java/text/DecimalFormat.java +++ b/luni/src/main/java/java/text/DecimalFormat.java @@ -373,11 +373,11 @@ import libcore.icu.NativeDecimalFormat; * digits is fixed at one and there is no exponent grouping. *
  • Exponential patterns may not contain grouping separators. * - * + * *

    NEW  Significant * Digits

    *

    - * {@code DecimalFormat} has two ways of controlling how many digits are + * {@code DecimalFormat} has two ways of controlling how many digits are * shown: (a) significant digit counts or (b) integer and fraction digit counts. * Integer and fraction digit counts are described above. When a formatter uses * significant digits counts, the number of integer and fraction digits is not diff --git a/luni/src/main/java/java/text/MessageFormat.java b/luni/src/main/java/java/text/MessageFormat.java index 2ab78db..cf306a7 100644 --- a/luni/src/main/java/java/text/MessageFormat.java +++ b/luni/src/main/java/java/text/MessageFormat.java @@ -45,7 +45,7 @@ import libcore.util.EmptyArray; * behavior. Any locale-specific behavior is defined by the pattern that you * provide as well as the subformats used for inserted arguments. * - *

    Patterns and their interpretation

    + *

    Patterns and their interpretation

    * * {@code MessageFormat} uses patterns of the following form: *
    @@ -321,7 +321,7 @@ import libcore.util.EmptyArray; * // result now equals {new String("z")} * *
    - *

    Synchronization

    + *

    Synchronization

    *

    * Message formats are not synchronized. It is recommended to create separate * format instances for each thread. If multiple threads access a format diff --git a/luni/src/main/java/java/util/Locale.java b/luni/src/main/java/java/util/Locale.java index d49358d..a6368e8 100644 --- a/luni/src/main/java/java/util/Locale.java +++ b/luni/src/main/java/java/util/Locale.java @@ -41,7 +41,7 @@ import libcore.icu.ICU; * rewriting happens even if you construct your own {@code Locale} object, not just for * instances returned by the various lookup methods. * - *

    Available locales

    + *

    Available locales

    *

    This class' constructors do no error checking. You can create a {@code Locale} for languages * and countries that don't exist, and you can create instances for combinations that don't * exist (such as "de_US" for "German as spoken in the US"). @@ -60,7 +60,7 @@ import libcore.icu.ICU; * device you're running on, or {@link Locale#getAvailableLocales} to get a list of all the locales * available on the device you're running on. * - *

    Locale data

    + *

    Locale data

    *

    Note that locale data comes solely from ICU. User-supplied locale service providers (using * the {@code java.text.spi} or {@code java.util.spi} mechanisms) are not supported. * @@ -101,7 +101,7 @@ import libcore.icu.ICU; * Unicode 6.3 * * - *

    Be wary of the default locale

    + *

    Be wary of the default locale

    *

    Note that there are many convenience methods that automatically use the default locale, but * using them may lead to subtle bugs. * diff --git a/luni/src/main/java/java/util/Properties.java b/luni/src/main/java/java/util/Properties.java index cd19295..532d35c 100644 --- a/luni/src/main/java/java/util/Properties.java +++ b/luni/src/main/java/java/util/Properties.java @@ -52,7 +52,7 @@ import org.xml.sax.SAXParseException; * values to be used when a given key is not found in this {@code Properties} * instance. * - *

    Character Encoding

    + *

    Character Encoding

    *

    Note that in some cases {@code Properties} uses ISO-8859-1 instead of UTF-8. * ISO-8859-1 is only capable of representing a tiny subset of Unicode. * Use either the {@code loadFromXML}/{@code storeToXML} methods (which use UTF-8 by diff --git a/luni/src/main/java/java/util/regex/Pattern.java b/luni/src/main/java/java/util/regex/Pattern.java index a33ee93..8f3fb12 100644 --- a/luni/src/main/java/java/util/regex/Pattern.java +++ b/luni/src/main/java/java/util/regex/Pattern.java @@ -183,7 +183,7 @@ import java.io.Serializable; * a|b Either expression a or expression b. * * - *

    Flags

    + *

    Flags

    *

    * * diff --git a/luni/src/main/java/java/util/zip/Deflater.java b/luni/src/main/java/java/util/zip/Deflater.java index 2fe3101..040058b 100644 --- a/luni/src/main/java/java/util/zip/Deflater.java +++ b/luni/src/main/java/java/util/zip/Deflater.java @@ -51,7 +51,7 @@ import libcore.util.EmptyArray; * {@link DeflaterOutputStream} to handle all this for you. {@link DeflaterOutputStream} also helps * minimize memory requirements — the sample code above is very expensive. * - *

    Compression levels

    + *

    Compression levels

    *

    A compression level must be {@link #DEFAULT_COMPRESSION} to compromise between speed and * compression (currently equivalent to level 6), or between 0 ({@link #NO_COMPRESSION}, where * the input is simply copied) and 9 ({@link #BEST_COMPRESSION}). Level 1 ({@link #BEST_SPEED}) diff --git a/luni/src/main/java/javax/xml/transform/overview.html b/luni/src/main/java/javax/xml/transform/overview.html index 918db9b..fe3372b 100644 --- a/luni/src/main/java/javax/xml/transform/overview.html +++ b/luni/src/main/java/javax/xml/transform/overview.html @@ -177,7 +177,7 @@

    TRaX Patterns

      -Processor +Processor

      Intent: Generic concept for the @@ -191,7 +191,7 @@ operations. Different Processors can be used concurrently by different threads.

      -TransformerFactory +TransformerFactory

      Intent: Serve as a vendor-neutral Processor interface for @@ -205,7 +205,7 @@ TransformerFactory may not perform multiple concurrent operations.

      -Templates +Templates

      Intent: The @@ -215,7 +215,7 @@ Thread safety: Thread-safe for concurrent usage over multiple threads once construction is complete.

      -Transformer +Transformer

      Intent: Act as a per-thread @@ -228,7 +228,7 @@ Notes: The Transformer is bound to the Templates object that created it.

      -Source +Source

      Intent: Serve as a @@ -239,7 +239,7 @@ threads for read-only operations; must be synchronized for edit operations.

      -Result +Result

      Potential alternate name: ResultTarget
      -- cgit v1.1

    (?dimsux-dimsux:a) Evaluates the expression a with the given flags enabled/disabled.
    (?dimsux-dimsux) Evaluates the rest of the pattern with the given flags enabled/disabled.