You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "marquiswang (via GitHub)" <gi...@apache.org> on 2023/04/21 14:26:52 UTC
[GitHub] [maven-shared-incremental] marquiswang commented on a diff in pull request #23: [MCOMPILER-333] Clean generatedSourcesDirectory along with outputDirectory
marquiswang commented on code in PR #23:
URL: https://github.com/apache/maven-shared-incremental/pull/23#discussion_r1173836928
##########
src/main/java/org/apache/maven/shared/incremental/IncrementalBuildHelper.java:
##########
@@ -129,6 +146,30 @@ public void setDirectoryScanner( DirectoryScanner directoryScanner )
this.directoryScanner = directoryScanner;
}
+ /**
+ * Get the existing DirectoryScanner used by this helper,
+ * or create new a DirectoryScanner if none is yet set.
+ * The DirectoryScanner is used for detecting changes in a directory
+ */
+ public DirectoryScanner getGeneratedSourcesDirectoryScanner()
Review Comment:
These are copy-pasted from the getDirectoryScanner(). It isn't clear to me why that one is public. I made this one public to be consistent.
--
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: dev-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org