mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-07 22:44:49 +00:00
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:
parent
53947924b5
commit
d9908563d0
1 changed files with 2 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue