mirror of
https://github.com/ethauvin/bld.git
synced 2025-04-26 00:37:10 -07:00
Made VersionGeneric constructor public
This commit is contained in:
parent
19991e84c4
commit
3ee8f81317
1 changed files with 2 additions and 1 deletions
|
@ -10,6 +10,7 @@ import java.util.*;
|
||||||
import static java.util.Objects.requireNonNull;
|
import static java.util.Objects.requireNonNull;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* Generic version implementation based on the Maven implementation.
|
||||||
*
|
*
|
||||||
* @since 2.0
|
* @since 2.0
|
||||||
*/
|
*/
|
||||||
|
@ -40,7 +41,7 @@ public class VersionGeneric implements Version {
|
||||||
* @param version The version string, must not be {@code null}.
|
* @param version The version string, must not be {@code null}.
|
||||||
* @since 2.0
|
* @since 2.0
|
||||||
*/
|
*/
|
||||||
VersionGeneric(String version) {
|
public VersionGeneric(String version) {
|
||||||
version_ = requireNonNull(version, "version cannot be null");
|
version_ = requireNonNull(version, "version cannot be null");
|
||||||
items_ = parse(version);
|
items_ = parse(version);
|
||||||
hash_ = items_.hashCode();
|
hash_ = items_.hashCode();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue