Skip to content

Commit 6bb95fe

Browse files
committed
chore!: remove deprecated constructor
BREAKING CHANGE: deprecated constructor has been removed
1 parent a9f6dfb commit 6bb95fe

File tree

1 file changed

+0
-25
lines changed

1 file changed

+0
-25
lines changed

src/main/java/com/github/packageurl/PackageURL.java

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -212,31 +212,6 @@ public PackageURL(final String type, final String name) throws MalformedPackageU
212212
this(type, null, name, null, (Map<String, String>) null, null);
213213
}
214214

215-
/**
216-
* Constructs a new PackageURL object.
217-
*
218-
* @param type the type of package (i.e., maven, npm, gem, etc.), not {@code null}
219-
* @param namespace the name prefix (i.e., group, owner, organization)
220-
* @param name the name of the package, not {@code null}
221-
* @param version the version of the package
222-
* @param qualifiers an array of key/value pair qualifiers
223-
* @param subpath the subpath string
224-
* @throws MalformedPackageURLException if parsing fails
225-
* @throws NullPointerException if {@code type} or {@code name} are {@code null}
226-
* @deprecated use {@link #PackageURL(String, String, String, String, Map, String)} instead
227-
*/
228-
@Deprecated
229-
public PackageURL(
230-
final String type,
231-
final @Nullable String namespace,
232-
final String name,
233-
final @Nullable String version,
234-
final @Nullable TreeMap<String, String> qualifiers,
235-
final @Nullable String subpath)
236-
throws MalformedPackageURLException {
237-
this(type, namespace, name, version, qualifiers != null ? (Map<String, String>) qualifiers : null, subpath);
238-
}
239-
240215
/**
241216
* Constructs a new PackageURL object.
242217
*

0 commit comments

Comments
 (0)