ICU-5624 Removed debug code accidentally included in the last check in. Also resovled a compiler warning (rudandunt cast).

X-SVN-Rev: 27673
This commit is contained in:
Yoshito Umaoka 2010-02-25 16:22:04 +00:00
parent 53947924b5
commit d9908563d0

View file

@ -1039,7 +1039,7 @@ public class OlsonTimeZone extends BasicTimeZone {
int nTimes = 0;
for (transitionIdx = firstTZTransitionIdx; transitionIdx < transitionCount; transitionIdx++) {
if (typeIdx == getInt(typeMapData[transitionIdx])) {
long tt = ((long)transitionTimes64[transitionIdx])*Grego.MILLIS_PER_SECOND;
long tt = transitionTimes64[transitionIdx] * Grego.MILLIS_PER_SECOND;
if (tt < finalStartMillis) {
// Exclude transitions after finalMillis
times[nTimes++] = tt;
@ -1062,7 +1062,7 @@ public class OlsonTimeZone extends BasicTimeZone {
// Create initial transition
typeIdx = getInt(typeMapData[firstTZTransitionIdx]);
firstTZTransition = new TimeZoneTransition(((long)transitionTimes64[firstTZTransitionIdx])*Grego.MILLIS_PER_SECOND,
firstTZTransition = new TimeZoneTransition(transitionTimes64[firstTZTransitionIdx] * Grego.MILLIS_PER_SECOND,
initialRule, historicRules[typeIdx]);
}
@ -1145,8 +1145,6 @@ public class OlsonTimeZone extends BasicTimeZone {
// final resort
constructEmpty();
}
} else {
System.out.println("4.4");
}
// need to rebuild transition rules when requested