# | Line 430 | Line 430 | public class TimeUnitTest extends JSR166 | |
---|---|---|
430 | * a deserialized serialized unit is the same instance | |
431 | */ | |
432 | public void testSerialization() throws Exception { | |
433 | < | TimeUnit x = MILLISECONDS; |
434 | < | assertSame(x, serialClone(x)); |
433 | > | for (TimeUnit x : TimeUnit.values()) |
434 | > | assertSame(x, serialClone(x)); |
435 | } | |
436 | ||
437 | /** |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |