diff --git a/src/main/java/rife/bld/dependencies/VersionGeneric.java b/src/main/java/rife/bld/dependencies/VersionGeneric.java index aadfcc3..977b14e 100644 --- a/src/main/java/rife/bld/dependencies/VersionGeneric.java +++ b/src/main/java/rife/bld/dependencies/VersionGeneric.java @@ -10,6 +10,7 @@ import static java.util.Objects.requireNonNull; /** + * Generic version implementation based on the Maven implementation. * * @since 2.0 */ @@ -40,7 +41,7 @@ public boolean isSnapshot() { * @param version The version string, must not be {@code null}. * @since 2.0 */ - VersionGeneric(String version) { + public VersionGeneric(String version) { version_ = requireNonNull(version, "version cannot be null"); items_ = parse(version); hash_ = items_.hashCode();