Skip to content

Commit c75bef3

Browse files
author
duke
committedFeb 8, 2024
Automatic merge of jdk:master into master
2 parents 2d0a336 + d91fb17 commit c75bef3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
 

‎src/java.base/share/classes/java/util/ResourceBundle.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 1996, 2023, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 1996, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -508,8 +508,8 @@ public ResourceBundle() {
508508
* Gets a string for the given key from this resource bundle or one of its parents.
509509
* Calling this method is equivalent to calling
510510
* {@snippet lang=java :
511-
* // @link substring="getObject" target="#getObject(java.lang.String)"
512-
* (String[]) getObject(key);
511+
* // @link substring="getObject" target="#getObject(java.lang.String)" :
512+
* (String) getObject(key);
513513
* }
514514
*
515515
* @param key the key for the desired string
@@ -526,7 +526,7 @@ public final String getString(String key) {
526526
* Gets a string array for the given key from this resource bundle or one of its parents.
527527
* Calling this method is equivalent to calling
528528
* {@snippet lang=java :
529-
* // @link substring="getObject" target="#getObject(java.lang.String)"
529+
* // @link substring="getObject" target="#getObject(java.lang.String)" :
530530
* (String[]) getObject(key);
531531
* }
532532
*

0 commit comments

Comments
 (0)
Failed to load comments.