Quantcast
Channel: Passion For Code - Java
Viewing all articles
Browse latest Browse all 11

Beware: now().equals(now()) might yield false

$
0
0

Using time-dependent data

I stumbled across a piece of code the other day, allowing some versioned entity from our domain model to find out whether it's valid from a certain point in time. The corresponding test failed sporadically, so I went and looked into it.

read more


Viewing all articles
Browse latest Browse all 11

Trending Articles