premek commented on a change in pull request #2907:
URL: https://github.com/apache/netbeans/pull/2907#discussion_r616986910



##########
File path: platform/uihandler/src/org/netbeans/modules/uihandler/Installer.java
##########
@@ -244,11 +244,11 @@ private void restoredOnce(java.util.Queue<LogRecord> 
earlyRecords) {
         logMetricsUploadFailed = prefs.getBoolean("metrics.upload.failed", 
false); // NOI18N
         corePref.addPreferenceChangeListener(new PrefChangeListener());
 
-        if (!Boolean.getBoolean("netbeans.full.hack") && 
!Boolean.getBoolean("netbeans.close")) {
-            usageStatisticsReminder();
-        }
-        
-        System.setProperty("nb.show.statistics.ui",USAGE_STATISTICS_ENABLED);
+//        if (!Boolean.getBoolean("netbeans.full.hack") && 
!Boolean.getBoolean("netbeans.close")) {
+//            usageStatisticsReminder();
+//        }
+//
+//        System.setProperty("nb.show.statistics.ui",USAGE_STATISTICS_ENABLED);

Review comment:
       This property was already checked in GeneralOptionsPanel and when it is 
null the option is hidden (I believe it was hidden when running as Platform)




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



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