JAXP pom change

Ian Young ian at iay.org.uk
Fri Jan 24 17:18:34 EST 2014


On 24 Jan 2014, at 22:14, Ian Young <ian at iay.org.uk> wrote:

> Word of warning: don't try and convert the expected and actual string values into Durations and then assertEquals() those... for some reason, Duration comparison ignores the millisecond component...

I think that I found that it does do the right thing if you convert BOTH string values to a number of millis using the described technique, then compare those. It only discards the millisecond component for .equals(). No idea why.

	-- Ian



-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5943 bytes
Desc: not available
Url : http://shibboleth.net/pipermail/dev/attachments/20140124/07bf3f1d/attachment.bin 


More information about the dev mailing list