mirror of
https://github.com/openjdk/jdk.git
synced 2026-04-12 16:09:15 +00:00
6656610: AccessibleResourceBundle.getContents exposes mutable static (findbugs)
Reviewed-by: hawtin
This commit is contained in:
parent
d89108356d
commit
6b90310fed
@ -44,15 +44,11 @@ public class AccessibleResourceBundle extends ListResourceBundle {
|
||||
* localized display strings.
|
||||
*/
|
||||
public Object[][] getContents() {
|
||||
return contents;
|
||||
}
|
||||
// The table holding the mapping between the programmatic keys
|
||||
// and the display strings for the en_US locale.
|
||||
return new Object[][] {
|
||||
|
||||
/**
|
||||
* The table holding the mapping between the programmatic keys
|
||||
* and the display strings for the en_US locale.
|
||||
*/
|
||||
static final Object[][] contents = {
|
||||
// LOCALIZE THIS
|
||||
// LOCALIZE THIS
|
||||
// Role names
|
||||
// { "application","application" },
|
||||
// { "border","border" },
|
||||
@ -151,5 +147,6 @@ public class AccessibleResourceBundle extends ListResourceBundle {
|
||||
{ "vertical","vertical" },
|
||||
{ "horizontal","horizontal" }
|
||||
// END OF MATERIAL TO LOCALIZE
|
||||
};
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user