ICU-5410 Comment out unused code.

X-SVN-Rev: 20501
This commit is contained in:
George Rhoten 2006-10-05 23:51:58 +00:00
parent 3a1a424dc2
commit f56a5dd395
2 changed files with 8 additions and 11 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2005, International Business Machines
* Copyright (C) 2005-2006, International Business Machines
* Corporation and others. All Rights Reserved.
*/
@ -31,7 +31,7 @@ final class STZInfo implements Serializable {
this.ea = ea;
}
void applyTo(java.util.SimpleTimeZone stz) {
/*void applyTo(java.util.SimpleTimeZone stz) {
if (sy != -1) {
stz.setStartYear(sy);
}
@ -53,7 +53,7 @@ final class STZInfo implements Serializable {
stz.setEndRule(em, edm, edw, et, ea);
}
}
}
}*/
void applyTo(com.ibm.icu.util.SimpleTimeZone stz) {
if (sy != -1) {

View file

@ -378,11 +378,9 @@ public abstract class UResourceBundle extends ResourceBundle{
hashCodeCache ^= root.hashCode();
}
}
///CLOVER:OFF
private void clear() {
/*private void clear() {
setKeyValues(null, "", null);
}
///CLOVER:ON
}*/
}
private static final ResourceCacheKey cacheKey = new ResourceCacheKey();
@ -411,14 +409,13 @@ public abstract class UResourceBundle extends ResourceBundle{
if (rootType == null) {
String rootLocale = (baseName.indexOf('.')==-1) ? "root" : "";
int rt = ROOT_MISSING;
UResourceBundle b = null;
int rt = ROOT_MISSING; // value set on success
try{
b = ICUResourceBundle.getBundleInstance(baseName, rootLocale, root, true);
ICUResourceBundle.getBundleInstance(baseName, rootLocale, root, true);
rt = ROOT_ICU;
}catch(MissingResourceException ex){
try{
b = ResourceBundleWrapper.getBundleInstance(baseName, rootLocale, root, true);
ResourceBundleWrapper.getBundleInstance(baseName, rootLocale, root, true);
rt = ROOT_JAVA;
}catch(MissingResourceException e){
//throw away the exception