diff --git a/pom.xml b/pom.xml
index 09d312d..c5a83a9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -24,7 +24,7 @@
4.0.0
com.github.package-url
packageurl-java
- 1.6.0-SNAPSHOT
+ 2.0.0-SNAPSHOT
jar
Package URL
diff --git a/src/main/java/com/github/packageurl/PackageURL.java b/src/main/java/com/github/packageurl/PackageURL.java
index aebf73b..e0d78e3 100644
--- a/src/main/java/com/github/packageurl/PackageURL.java
+++ b/src/main/java/com/github/packageurl/PackageURL.java
@@ -212,31 +212,6 @@ public PackageURL(final String type, final String name) throws MalformedPackageU
this(type, null, name, null, (Map) null, null);
}
- /**
- * Constructs a new PackageURL object.
- *
- * @param type the type of package (i.e., maven, npm, gem, etc.), not {@code null}
- * @param namespace the name prefix (i.e., group, owner, organization)
- * @param name the name of the package, not {@code null}
- * @param version the version of the package
- * @param qualifiers an array of key/value pair qualifiers
- * @param subpath the subpath string
- * @throws MalformedPackageURLException if parsing fails
- * @throws NullPointerException if {@code type} or {@code name} are {@code null}
- * @deprecated use {@link #PackageURL(String, String, String, String, Map, String)} instead
- */
- @Deprecated
- public PackageURL(
- final String type,
- final @Nullable String namespace,
- final String name,
- final @Nullable String version,
- final @Nullable TreeMap qualifiers,
- final @Nullable String subpath)
- throws MalformedPackageURLException {
- this(type, namespace, name, version, qualifiers != null ? (Map) qualifiers : null, subpath);
- }
-
/**
* Constructs a new PackageURL object.
*