mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8325990: Remove use of snippet @replace annotation in java.base
Reviewed-by: jlu, naoto
This commit is contained in:
parent
00b5c70750
commit
7a76252007
2 changed files with 5 additions and 5 deletions
|
@ -2425,7 +2425,7 @@ public abstract class ResourceBundle {
|
|||
* {@snippet lang=java :
|
||||
* import java.util.*;
|
||||
* import static java.util.ResourceBundle.Control.*;
|
||||
* code: // @replace substring="code:" replacement="..."
|
||||
* ...
|
||||
* ResourceBundle bundle =
|
||||
* ResourceBundle.getBundle("MyResources", Locale.forLanguageTag("fr-CH"),
|
||||
* ResourceBundle.Control.getControl(FORMAT_PROPERTIES));
|
||||
|
@ -2494,7 +2494,7 @@ public abstract class ResourceBundle {
|
|||
* }
|
||||
* });
|
||||
*
|
||||
* code: // @replace substring="code:" replacement="..."
|
||||
* ...
|
||||
*
|
||||
* private static class XMLResourceBundle extends ResourceBundle {
|
||||
* private Properties props;
|
||||
|
@ -2506,7 +2506,7 @@ public abstract class ResourceBundle {
|
|||
* return props.getProperty(key);
|
||||
* }
|
||||
* public Enumeration<String> getKeys() {
|
||||
* code: // @replace substring="code:" replacement="..."
|
||||
* ...
|
||||
* }
|
||||
* }
|
||||
* }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue