Code cleanup

This commit is contained in:
Trustin Lee 2008-11-07 08:27:28 +00:00
parent fcc0087eb2
commit 288c693f62

View File

@ -59,7 +59,9 @@ public class TimeBasedUuidGeneratorTest {
Collections.sort(uuids); Collections.sort(uuids);
for (int i = 1; i < COUNT; i ++) { for (int i = 1; i < COUNT; i ++) {
assertFalse(uuids.toString(), uuids.get(i - 1).equals(uuids.get(i))); UUID a = uuids.get(i - 1);
UUID b = uuids.get(i);
assertFalse("Duplicate UUID: " + a.toString(), a.equals(b));
} }
} }
} }