@@ -36,8 +36,8 @@ private ArtifactIdUtils() {
3636 /**
3737 * Creates an artifact identifier of the form {@code <groupId>:<artifactId>:<extension>[:<classifier>]:<version>}.
3838 *
39- * @param artifact The artifact to create an identifer for, may be {@code null}.
40- * @return The artifact identifier or {@code null} if the input was {@code null}.
39+ * @param artifact the artifact to create an identifer for, may be {@code null}
40+ * @return the artifact identifier or {@code null} if the input was {@code null}
4141 */
4242 public static String toId (Artifact artifact ) {
4343 String id = null ;
@@ -55,12 +55,12 @@ public static String toId(Artifact artifact) {
5555 /**
5656 * Creates an artifact identifier of the form {@code <groupId>:<artifactId>:<extension>[:<classifier>]:<version>}.
5757 *
58- * @param groupId The group id, may be {@code null}.
59- * @param artifactId The artifact id, may be {@code null}.
60- * @param extension The file extensiion, may be {@code null}.
61- * @param classifier The classifier, may be {@code null}.
62- * @param version The version, may be {@code null}.
63- * @return The artifact identifier, never {@code null}.
58+ * @param groupId the group id, may be {@code null}
59+ * @param artifactId the artifact id, may be {@code null}
60+ * @param extension the file extensiion, may be {@code null}
61+ * @param classifier the classifier, may be {@code null}
62+ * @param version the version, may be {@code null}
63+ * @return the artifact identifier, never {@code null}
6464 */
6565 public static String toId (String groupId , String artifactId , String extension , String classifier , String version ) {
6666 StringBuilder buffer = concat (groupId , artifactId , extension , classifier );
@@ -75,8 +75,8 @@ public static String toId(String groupId, String artifactId, String extension, S
7575 * Creates an artifact identifier of the form
7676 * {@code <groupId>:<artifactId>:<extension>[:<classifier>]:<baseVersion>}.
7777 *
78- * @param artifact The artifact to create an identifer for, may be {@code null}.
79- * @return The artifact identifier or {@code null} if the input was {@code null}.
78+ * @param artifact the artifact to create an identifer for, may be {@code null}
79+ * @return the artifact identifier or {@code null} if the input was {@code null}
8080 */
8181 public static String toBaseId (Artifact artifact ) {
8282 String id = null ;
@@ -94,8 +94,8 @@ public static String toBaseId(Artifact artifact) {
9494 /**
9595 * Creates an artifact identifier of the form {@code <groupId>:<artifactId>:<extension>[:<classifier>]}.
9696 *
97- * @param artifact The artifact to create an identifer for, may be {@code null}.
98- * @return The artifact identifier or {@code null} if the input was {@code null}.
97+ * @param artifact the artifact to create an identifer for, may be {@code null}
98+ * @return the artifact identifier or {@code null} if the input was {@code null}
9999 */
100100 public static String toVersionlessId (Artifact artifact ) {
101101 String id = null ;
@@ -109,11 +109,11 @@ public static String toVersionlessId(Artifact artifact) {
109109 /**
110110 * Creates an artifact identifier of the form {@code <groupId>:<artifactId>:<extension>[:<classifier>]}.
111111 *
112- * @param groupId The group id, may be {@code null}.
113- * @param artifactId The artifact id, may be {@code null}.
114- * @param extension The file extensiion, may be {@code null}.
115- * @param classifier The classifier, may be {@code null}.
116- * @return The artifact identifier, never {@code null}.
112+ * @param groupId the group id, may be {@code null}
113+ * @param artifactId the artifact id, may be {@code null}
114+ * @param extension the file extensiion, may be {@code null}
115+ * @param classifier the classifier, may be {@code null}
116+ * @return the artifact identifier, never {@code null}
117117 */
118118 public static String toVersionlessId (String groupId , String artifactId , String extension , String classifier ) {
119119 return concat (groupId , artifactId , extension , classifier ).toString ();
@@ -145,9 +145,9 @@ private static StringBuilder concat(String groupId, String artifactId, String ex
145145 * {@link String#equals(Object)} on the return values from {@link #toId(Artifact)} for the artifacts but does not
146146 * incur the overhead of creating temporary strings.
147147 *
148- * @param artifact1 The first artifact, may be {@code null}.
149- * @param artifact2 The second artifact, may be {@code null}.
150- * @return {@code true} if both artifacts are not {@code null} and have equal ids, {@code false} otherwise.
148+ * @param artifact1 the first artifact, may be {@code null}
149+ * @param artifact2 the second artifact, may be {@code null}
150+ * @return {@code true} if both artifacts are not {@code null} and have equal ids, {@code false} otherwise
151151 */
152152 public static boolean equalsId (Artifact artifact1 , Artifact artifact2 ) {
153153 if (artifact1 == null || artifact2 == null ) {
@@ -173,9 +173,9 @@ public static boolean equalsId(Artifact artifact1, Artifact artifact2) {
173173 * {@link String#equals(Object)} on the return values from {@link #toBaseId(Artifact)} for the artifacts but does
174174 * not incur the overhead of creating temporary strings.
175175 *
176- * @param artifact1 The first artifact, may be {@code null}.
177- * @param artifact2 The second artifact, may be {@code null}.
178- * @return {@code true} if both artifacts are not {@code null} and have equal base ids, {@code false} otherwise.
176+ * @param artifact1 the first artifact, may be {@code null}
177+ * @param artifact2 the second artifact, may be {@code null}
178+ * @return {@code true} if both artifacts are not {@code null} and have equal base ids, {@code false} otherwise
179179 */
180180 public static boolean equalsBaseId (Artifact artifact1 , Artifact artifact2 ) {
181181 if (artifact1 == null || artifact2 == null ) {
@@ -201,10 +201,10 @@ public static boolean equalsBaseId(Artifact artifact1, Artifact artifact2) {
201201 * {@link String#equals(Object)} on the return values from {@link #toVersionlessId(Artifact)} for the artifacts but
202202 * does not incur the overhead of creating temporary strings.
203203 *
204- * @param artifact1 The first artifact, may be {@code null}.
205- * @param artifact2 The second artifact, may be {@code null}.
204+ * @param artifact1 the first artifact, may be {@code null}
205+ * @param artifact2 the second artifact, may be {@code null}
206206 * @return {@code true} if both artifacts are not {@code null} and have equal versionless ids, {@code false}
207- * otherwise.
207+ * otherwise
208208 */
209209 public static boolean equalsVersionlessId (Artifact artifact1 , Artifact artifact2 ) {
210210 if (artifact1 == null || artifact2 == null ) {
0 commit comments