cstamas commented on code in PR #2210:
URL: https://github.com/apache/maven-resolver/pull/2210#discussion_r4327411420
##########
maven-resolver-api/src/main/java/org/eclipse/aether/metadata/AbstractMetadata.java:
##########
@@ -30,6 +30,11 @@
*/
public abstract class AbstractMetadata implements Metadata {
+ /**
+ * Constructor for subclasses.
+ */
+ protected AbstractMetadata() {}
+
Review Comment:
`public`, japicmp otherwise reports incompatibility.
##########
maven-resolver-api/src/main/java/org/eclipse/aether/artifact/AbstractArtifact.java:
##########
@@ -36,6 +36,11 @@ public abstract class AbstractArtifact implements Artifact {
private static final Pattern SNAPSHOT_TIMESTAMP =
Pattern.compile("^(.*-)?([0-9]{8}\\.[0-9]{6}-[0-9]+)$");
+ /**
+ * Constructor for subclasses.
+ */
+ protected AbstractArtifact() {}
+
Review Comment:
`public`, japicmp otherwise reports incompatibility.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]