From 2df0f4b4dd924cd248e26422fc174dd02cf52102 Mon Sep 17 00:00:00 2001 From: Jonathan Gibbons Date: Wed, 20 Mar 2019 15:35:26 -0700 Subject: 8220249: fix headings in java.compiler Reviewed-by: erikj, darcy --- .../share/classes/java/util/ResourceBundle.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/java.base/share/classes/java/util/ResourceBundle.java') diff --git a/src/java.base/share/classes/java/util/ResourceBundle.java b/src/java.base/share/classes/java/util/ResourceBundle.java index c854402b8d5..cd41c5f66f6 100644 --- a/src/java.base/share/classes/java/util/ResourceBundle.java +++ b/src/java.base/share/classes/java/util/ResourceBundle.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 1996, 2018, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1996, 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 @@ -204,18 +204,18 @@ import static sun.security.util.SecurityConstants.GET_CLASSLOADER_PERMISSION; * known concrete subclasses {@code ListResourceBundle} and * {@code PropertyResourceBundle} are thread-safe. * - *

Resource Bundles and Named Modules

+ *

Resource Bundles and Named Modules

* * Resource bundles can be deployed in modules in the following ways: * - *

Resource bundles together with an application

+ *

Resource bundles together with an application

* * Resource bundles can be deployed together with an application in the same * module. In that case, the resource bundles are loaded * by code in the module by calling the {@link #getBundle(String)} * or {@link #getBundle(String, Locale)} method. * - *

Resource bundles as service providers

+ *

Resource bundles as service providers

* * Resource bundles can be deployed in one or more service provider modules * and they can be located using {@link ServiceLoader}. @@ -232,7 +232,7 @@ import static sun.security.util.SecurityConstants.GET_CLASSLOADER_PERMISSION; * provide resource bundles in any format such XML which replaces the need * of {@link Control ResourceBundle.Control}. * - *

Resource bundles in other modules and class path

+ *

Resource bundles in other modules and class path

* * Resource bundles in a named module may be encapsulated so that * it cannot be located by code in other modules. Resource bundles @@ -255,7 +255,7 @@ import static sun.security.util.SecurityConstants.GET_CLASSLOADER_PERMISSION; * resource bundle provider, it does not fall back to the * class loader search. * - *

Resource bundles in automatic modules

+ *

Resource bundles in automatic modules

* * A common format of resource bundles is in {@linkplain PropertyResourceBundle * .properties} file format. Typically {@code .properties} resource bundles @@ -300,7 +300,7 @@ import static sun.security.util.SecurityConstants.GET_CLASSLOADER_PERMISSION; * the first one returned from {@link ServiceLoader} will be used. * A custom {@link Control} implementation is ignored by named modules. * - *

Cache Management

+ *

Cache Management

* * Resource bundle instances created by the getBundle factory * methods are cached by default, and the factory methods return the same @@ -316,7 +316,7 @@ import static sun.security.util.SecurityConstants.GET_CLASSLOADER_PERMISSION; * Control#needsReload(String, Locale, String, ClassLoader, ResourceBundle, * long) ResourceBundle.Control.needsReload} for details. * - *

Example

+ *

Example

* * The following is a very simple example of a ResourceBundle * subclass, MyResources, that manages two resources (for a larger number of -- cgit v1.3.1