2
0
Fork 0
mirror of https://github.com/ethauvin/bld.git synced 2025-04-25 16:27:11 -07:00

Regression fix to version handling

This commit is contained in:
Geert Bevin 2024-07-19 23:09:57 -04:00
parent 98e9035c5e
commit 0f65e1d232

View file

@ -57,7 +57,7 @@ public class BaseProject extends BuildExecutor {
* @see #version()
* @since 1.5
*/
protected VersionNumber version = null;
protected Version version = null;
/**
* The project's main class.
*
@ -1203,7 +1203,7 @@ public class BaseProject extends BuildExecutor {
*
* @since 1.5
*/
public VersionNumber version() {
public Version version() {
if (version == null) {
throw new IllegalStateException("The version variable has to be set.");
}