# | Line 190 | Line 190 | public enum TimeUnit { | |
---|---|---|
190 | if (secs < 0 && nano > 0) { | |
191 | // use representation compatible with integer division | |
192 | secs++; | |
193 | < | nano -= SECOND_SCALE; |
193 | > | nano -= (int) SECOND_SCALE; |
194 | } | |
195 | final long s, nanoVal; | |
196 | // Optimize for the common case - NANOSECONDS without overflow |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |