diff --git a/src/main/java/com/github/packageurl/PackageURL.java b/src/main/java/com/github/packageurl/PackageURL.java index 0e686a9..4325501 100644 --- a/src/main/java/com/github/packageurl/PackageURL.java +++ b/src/main/java/com/github/packageurl/PackageURL.java @@ -83,15 +83,17 @@ public PackageURL(final String type, final String name) throws MalformedPackageU /** * Constructs a new PackageURL object. * - * @param type the type of package (i.e. maven, npm, gem, etc) + * @param type the type of package (i.e. maven, npm, gem, etc) * @param namespace the name prefix (i.e. group, owner, organization) - * @param name the name of the package - * @param version the version of the package + * @param name the name of the package + * @param version the version of the package * @param qualifiers an array of key/value pair qualifiers - * @param subpath the subpath string + * @param subpath the subpath string * @throws MalformedPackageURLException if parsing fails * @since 1.0.0 + * @deprecated use {@link #PackageURL(String, String, String, String, Map, String)} instead */ + @Deprecated public PackageURL(final String type, final String namespace, final String name, final String version, final TreeMap qualifiers, final String subpath) throws MalformedPackageURLException {