lkishalmi commented on code in PR #4043:
URL: https://github.com/apache/netbeans/pull/4043#discussion_r861898525
##########
extide/gradle/src/org/netbeans/modules/gradle/api/NbGradleProject.java:
##########
@@ -307,7 +308,18 @@ public void
removePropertyChangeListener(PropertyChangeListener propertyChangeLi
public static NbGradleProject get(Project project) {
return project instanceof NbGradleProjectImpl ? ((NbGradleProjectImpl)
project).getProjectWatcher() : null;
}
-
+
+ /**
+ * Returns accessor for Gradle project files. Note that the returned
instance is immutable, possibly lazy-initialized.
+ * A change (creation, removal) to project files will not be reflected by
the {@link GradleFiles} instance, but this method
+ * may return a new instance.
+ * @return files accessor.
+ * @since 2.24
+ */
+ public GradleFiles getFiles() {
Review Comment:
Could the naming of the method be consistent and use getGradleFiles instead
of getFiles?
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists