summaryrefslogtreecommitdiffstats
path: root/libjava/java
diff options
context:
space:
mode:
authormkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-17 14:16:22 +0000
committermkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-17 14:16:22 +0000
commit61bb5c465eca39df56b5c3f5086d2169a5584cbc (patch)
tree1eaa3095ed215c5d0d9ecb264d3598d940f9ca95 /libjava/java
parent4a04f931eaaa50b786e35f96e972d492523b957b (diff)
downloadppe42-gcc-61bb5c465eca39df56b5c3f5086d2169a5584cbc.tar.gz
ppe42-gcc-61bb5c465eca39df56b5c3f5086d2169a5584cbc.zip
2003-06-17 Michael Koch <konqueror@gmx.de>
* java/util/Locale.java (getDisplayLanguage): Made it final. (getDisplayCountry): Likewise. (getDisplayVariant): Likewise. (getDisplayName): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68086 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java')
-rw-r--r--libjava/java/util/Locale.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/libjava/java/util/Locale.java b/libjava/java/util/Locale.java
index 22e19384c59..37dea4e69e8 100644
--- a/libjava/java/util/Locale.java
+++ b/libjava/java/util/Locale.java
@@ -520,7 +520,7 @@ public final class Locale implements Serializable, Cloneable
* @return the language name of this locale localized to the default locale,
* with the ISO code as backup
*/
- public String getDisplayLanguage()
+ public final String getDisplayLanguage()
{
return getDisplayLanguage(defaultLocale);
}
@@ -558,7 +558,7 @@ public final class Locale implements Serializable, Cloneable
* @return the country name of this locale localized to the given locale,
* with the ISO code as backup
*/
- public String getDisplayCountry()
+ public final String getDisplayCountry()
{
return getDisplayCountry(defaultLocale);
}
@@ -596,7 +596,7 @@ public final class Locale implements Serializable, Cloneable
* @return the variant code of this locale localized to the given locale,
* with the ISO code as backup
*/
- public String getDisplayVariant()
+ public final String getDisplayVariant()
{
return getDisplayVariant(defaultLocale);
}
@@ -635,7 +635,7 @@ public final class Locale implements Serializable, Cloneable
*
* @return String version of this locale, suitable for display to the user
*/
- public String getDisplayName()
+ public final String getDisplayName()
{
return getDisplayName(defaultLocale);
}
OpenPOWER on IntegriCloud