lbownik commented on code in PR #4080:
URL: https://github.com/apache/netbeans/pull/4080#discussion_r868372232


##########
platform/openide.util/src/org/openide/util/ChangeSupport.java:
##########
@@ -38,15 +38,16 @@ public final class ChangeSupport {
     private static final Logger LOG = 
Logger.getLogger(ChangeSupport.class.getName());
 
     // not private because used in unit tests
-    final List<ChangeListener> listeners = new 
CopyOnWriteArrayList<ChangeListener>();
+    final List<ChangeListener> listeners = new CopyOnWriteArrayList<>();
     private final Object source;
 
     /**
      * Creates a new <code>ChangeSupport</code>
      *
      * @param  source the instance to be given as the source for events.
      */
-    public ChangeSupport(Object source) {
+    public ChangeSupport(final Object source) {

Review Comment:
   ok, I'm not religious about "final" - too bad "final" is not implicit in 
Java.



-- 
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

Reply via email to