Skip to content

Commit

Permalink
Made VersionGeneric constructor public
Browse files Browse the repository at this point in the history
  • Loading branch information
gbevin committed Jul 20, 2024
1 parent 19991e8 commit 3ee8f81
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/rife/bld/dependencies/VersionGeneric.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import static java.util.Objects.requireNonNull;

/**
* Generic version implementation based on the Maven implementation.
*
* @since 2.0
*/
Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit 3ee8f81

Please sign in to comment.