kabutz

Results 5 comments of kabutz

"should never arise" - ok, can we perhaps add code to stop the creation of a DateTimeStamp that would result in an incorrect comparison? Having an incorrect compareTo() method can...

Bugs don’t fix themselves. This demonstrates a bug, which should be fixed.

Which version is supposed to be correct? The one in main or message?

Actually, both versions fail this simple transitivity test: `@Test public void compareToTransitivityWithEqualTimeStamps() { DateTimeStamp stamp1 = new DateTimeStamp("2021-09-01T11:12:13.111-0100", 100); DateTimeStamp stamp2 = new DateTimeStamp((String)null, 100); DateTimeStamp stamp3 = new DateTimeStamp("2021-08-31T11:12:13.111-0100",...

Not sure if the Gemfile.lock should have been included?