ICU-4354 comment out the indirection and fix the main code
X-SVN-Rev: 18145
This commit is contained in:
parent
a685ae1380
commit
213b08e722
@ -1151,6 +1151,9 @@ TimeZone::createCustomTimeZone(const UnicodeString& id)
|
||||
|
||||
UErrorCode success = U_ZERO_ERROR;
|
||||
numberFormat = NumberFormat::createInstance(success);
|
||||
if(U_FAILURE(success)){
|
||||
return NULL;
|
||||
}
|
||||
numberFormat->setParseIntegerOnly(TRUE);
|
||||
|
||||
|
||||
|
@ -799,7 +799,7 @@ void TimeZoneTest::TestCustomParse()
|
||||
{
|
||||
UnicodeString id(kData[i].customId);
|
||||
int32_t exp = kData[i].expectedOffset;
|
||||
|
||||
/*
|
||||
{ // for no data test Jitterbug 4354
|
||||
UErrorCode success = U_ZERO_ERROR;
|
||||
NumberFormat* numberFormat = NumberFormat::createInstance(success);
|
||||
@ -809,6 +809,7 @@ void TimeZoneTest::TestCustomParse()
|
||||
}
|
||||
delete numberFormat;
|
||||
}
|
||||
*/
|
||||
|
||||
TimeZone *zone = TimeZone::createTimeZone(id);
|
||||
UnicodeString itsID, temp;
|
||||
|
Loading…
Reference in New Issue
Block a user