Skip to content

Commit 81fb1f2

Browse files
Merge pull request #219 from package-url/scratch/bump-major
build: bump major version
2 parents 062af5f + 6bb95fe commit 81fb1f2

File tree

2 files changed

+1
-26
lines changed

2 files changed

+1
-26
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
<modelVersion>4.0.0</modelVersion>
2525
<groupId>com.github.package-url</groupId>
2626
<artifactId>packageurl-java</artifactId>
27-
<version>1.6.0-SNAPSHOT</version>
27+
<version>2.0.0-SNAPSHOT</version>
2828
<packaging>jar</packaging>
2929

3030
<name>Package URL</name>

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)