mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-20 20:19:32 +00:00
ICU-5410 Remove unused code.
X-SVN-Rev: 21910
This commit is contained in:
parent
b4aab8ac4a
commit
ac5fec283e
2 changed files with 12 additions and 12 deletions
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
*******************************************************************************
|
||||
* Copyright (C) 2004-2005, International Business Machines Corporation and *
|
||||
* Copyright (C) 2004-2007, International Business Machines Corporation and *
|
||||
* others. All Rights Reserved. *
|
||||
*******************************************************************************
|
||||
*
|
||||
|
@ -79,9 +79,9 @@ public final class ICUData {
|
|||
return getStream(loader,resourceName, false);
|
||||
}
|
||||
|
||||
public static InputStream getRequiredStream(ClassLoader loader, String resourceName){
|
||||
/*public static InputStream getRequiredStream(ClassLoader loader, String resourceName){
|
||||
return getStream(loader,resourceName, true);
|
||||
}
|
||||
}*/
|
||||
|
||||
/*
|
||||
* Convenience override that calls getStream(ICUData.class, resourceName, false);
|
||||
|
@ -107,8 +107,8 @@ public final class ICUData {
|
|||
/*
|
||||
* Convenience method that calls getStream(root, resourceName, true).
|
||||
*/
|
||||
public static InputStream getRequiredStream(Class root, String resourceName) {
|
||||
/*public static InputStream getRequiredStream(Class root, String resourceName) {
|
||||
return getStream(root, resourceName, true);
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
******************************************************************************
|
||||
* Copyright (C) 1996-2006, International Business Machines Corporation and *
|
||||
* Copyright (C) 1996-2007, International Business Machines Corporation and *
|
||||
* others. All Rights Reserved. *
|
||||
******************************************************************************
|
||||
*
|
||||
|
@ -67,21 +67,21 @@ public class LocaleUtility {
|
|||
}
|
||||
|
||||
|
||||
/**
|
||||
/*
|
||||
* Convenience method that calls canonicalLocaleString(String) with
|
||||
* locale.toString();
|
||||
*/
|
||||
public static String canonicalLocaleString(Locale locale) {
|
||||
/*public static String canonicalLocaleString(Locale locale) {
|
||||
return canonicalLocaleString(locale.toString());
|
||||
}
|
||||
}*/
|
||||
|
||||
/**
|
||||
/*
|
||||
* You'd think that Locale canonicalizes, since it munges the
|
||||
* renamed languages, but it doesn't quite. It forces the region
|
||||
* to be upper case but doesn't do anything about the language or
|
||||
* variant. Our canonical form is 'lower_UPPER_UPPER'.
|
||||
*/
|
||||
public static String canonicalLocaleString(String id) {
|
||||
/*public static String canonicalLocaleString(String id) {
|
||||
if (id != null) {
|
||||
int x = id.indexOf("_");
|
||||
if (x == -1) {
|
||||
|
@ -102,7 +102,7 @@ public class LocaleUtility {
|
|||
}
|
||||
}
|
||||
return id;
|
||||
}
|
||||
}*/
|
||||
|
||||
/**
|
||||
* Fallback from the given locale name by removing the rightmost _-delimited
|
||||
|
|
Loading…
Add table
Reference in a new issue