jtulach commented on code in PR #9666:
URL: https://github.com/apache/netbeans/pull/9666#discussion_r4181370846
##########
java/java.source/src/org/netbeans/modules/java/JavaNode.java:
##########
@@ -242,7 +243,7 @@ protected final Sheet createSheet () {
Project parentProject =
FileOwnerQuery.getOwner(super.getDataObject().getPrimaryFile());
DataObject dObj = super.getDataObject();
// If any of the parent folders is a project, user won't have the
option to specify these attributes to the java files.
Review Comment:
Changed. But the comment worries me the least. What worries me is that a
**downstream module** provides `Sheet.Set` for a _loosely coupled module_
that's elsewhere and doesn't even need to be present. That's the kind of
architectural flaws I find horrible.
I'd like to fix it. But given the _sentiment to avoid API changes_ that
turned just down well justified API change in #9650 I am not taking any risks.
Let's keep this architectural non-sense and just improve the comment!
--
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