1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
/*
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.
3
3
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
4
*
5
5
* This code is free software; you can redistribute it and/or modify it
@@ -508,8 +508,8 @@ public ResourceBundle() {
508
508
* Gets a string for the given key from this resource bundle or one of its parents.
509
509
* Calling this method is equivalent to calling
510
510
* {@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);
513
513
* }
514
514
*
515
515
* @param key the key for the desired string
@@ -526,7 +526,7 @@ public final String getString(String key) {
526
526
* Gets a string array for the given key from this resource bundle or one of its parents.
527
527
* Calling this method is equivalent to calling
528
528
* {@snippet lang=java :
529
- * // @link substring="getObject" target="#getObject(java.lang.String)"
529
+ * // @link substring="getObject" target="#getObject(java.lang.String)" :
530
530
* (String[]) getObject(key);
531
531
* }
532
532
*
0 commit comments