6bed097706a77b960edc3d89497211df518d40df
e9d20387c1b4f9efea263e1f24b442b4bd3ae5d1
If the version ends with .0, decrement the part before that.
Duplicate method name.
What is the reason returning X.-1 instead of an exception?
I guess that's a reasonable change. It will require more changes in the calling code to handle the exception. I'll update it.
rebased onto e9d20387c1b4f9efea263e1f24b442b4bd3ae5d1
Pull-Request has been merged by lsedlar
If the version ends with .0, decrement the part before that.