]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
2003-06-17 Michael Koch <konqueror@gmx.de>
authorMichael Koch <konqueror@gmx.de>
Tue, 17 Jun 2003 14:16:22 +0000 (14:16 +0000)
committerMichael Koch <mkoch@gcc.gnu.org>
Tue, 17 Jun 2003 14:16:22 +0000 (14:16 +0000)
* java/util/Locale.java
(getDisplayLanguage): Made it final.
(getDisplayCountry): Likewise.
(getDisplayVariant): Likewise.
(getDisplayName): Likewise.

From-SVN: r68086

libjava/ChangeLog
libjava/java/util/Locale.java

index 45f035acf81b8b1ee921a4199e06fc085ff34b0c..b4173cb469b9a1048a6ea716db591d444acead9e 100644 (file)
@@ -1,3 +1,11 @@
+2003-06-17  Michael Koch  <konqueror@gmx.de>
+
+       * java/util/Locale.java
+       (getDisplayLanguage): Made it final.
+       (getDisplayCountry): Likewise.
+       (getDisplayVariant): Likewise.
+       (getDisplayName): Likewise.
+
 2003-06-17  Michael Koch  <konqueror@gmx.de>
 
        * java/util/PropertyResourceBundle.java:
index 22e19384c59c94dbcd03806c849500fdd91bad69..37dea4e69e8210e18e05e134e17a4bc75e5f40dc 100644 (file)
@@ -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);
   }