DoubleValue.setValue does not set stringValue
Qnzvna opened this issue · comments
When using setValue
on DoubleValue
object only the value
is set. The setter does not change stringValue
which is then used in toString
method.
Following test would fail:
@Test
public void shouldSetStringValue() {
final DoubleValue doubleValue = new DoubleValue("42");
doubleValue.setValue(43D);
assertEquals(43D, doubleValue.getValue());
assertEquals("43.0", doubleValue.toString());
}
Thank you for reporting, I would fix this asap.
@manticore-projects Thanks for reviewing. When you will be able to release a new version to maven ?
Greetings, we don't have any exact date for a new release 5.0 but my take is: before End of June.
Please note that as a matter of fact, JSQLParser has become a rolling-release where every last snapshot is deemed to be the latest greatest version and "stable release" does not bear any actual advantage.