JaroslavTulach commented on a change in pull request #2064: [NETBEANS-4116] Add
Java Platform ComboBox Support to the Java Platform UI API
URL: https://github.com/apache/netbeans/pull/2064#discussion_r403825018
##########
File path:
groovy/gradle.java/src/org/netbeans/modules/gradle/java/customizer/CompileOptionsPanel.java
##########
@@ -171,7 +146,7 @@ private void initComponents() {
lbCompileOnSave = new javax.swing.JLabel();
cbAugmentedBuild = new javax.swing.JCheckBox();
lbPlatform = new javax.swing.JLabel();
- cbPlatform = new javax.swing.JComboBox<>();
+ cbPlatform = PlatformsCustomizer.createPlatformComboBox(new
PlatformComboBoxModel());
Review comment:
This usage could be replaced with the no-argument function.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
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