Giovds commented on code in PR #603: URL: https://github.com/apache/maven/pull/603#discussion_r1562165582
########## api/maven-api-model/src/main/java/org/apache/maven/api/model/InputSource.java: ########## @@ -64,6 +74,14 @@ public String getModelId() { return this.modelId; } + public InputLocation getImportedFrom() { + return importedFrom; + } + + public InputSource importedFrom(InputLocation importedFrom) { + return new InputSource(modelId, location, importedFrom); Review Comment: This is due to the immutable model, but I think we can simply remove this and make the new constructor public. We don't seem to use it (anymore) upon further inspection... -- 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: issues-unsubscr...@maven.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org