Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.github.package-url</groupId>
<artifactId>packageurl-java</artifactId>
<version>1.6.0-SNAPSHOT</version>
<version>2.0.0-SNAPSHOT</version>
<packaging>jar</packaging>

<name>Package URL</name>
Expand Down
25 changes: 0 additions & 25 deletions src/main/java/com/github/packageurl/PackageURL.java
Original file line number Diff line number Diff line change
Expand Up @@ -212,31 +212,6 @@ public PackageURL(final String type, final String name) throws MalformedPackageU
this(type, null, name, null, (Map<String, String>) 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<String, String> qualifiers,
final @Nullable String subpath)
throws MalformedPackageURLException {
this(type, namespace, name, version, qualifiers != null ? (Map<String, String>) qualifiers : null, subpath);
}

/**
* Constructs a new PackageURL object.
*
Expand Down