Skip to content

Commit

Permalink
Regression fix to version handling
Browse files Browse the repository at this point in the history
  • Loading branch information
gbevin committed Jul 20, 2024
1 parent 98e9035 commit 0f65e1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/rife/bld/BaseProject.java
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down Expand Up @@ -1203,7 +1203,7 @@ public String name() {
*
* @since 1.5
*/
public VersionNumber version() {
public Version version() {
if (version == null) {
throw new IllegalStateException("The version variable has to be set.");
}
Expand Down

0 comments on commit 0f65e1d

Please sign in to comment.