mbien commented on code in PR #7779:
URL: https://github.com/apache/netbeans/pull/7779#discussion_r1794434558


##########
platform/api.search/src/org/netbeans/modules/search/ui/BasicSearchResultsPanel.java:
##########
@@ -18,15 +18,26 @@
  */
 package org.netbeans.modules.search.ui;
 
+import java.beans.PropertyChangeEvent;
+import javax.swing.BoxLayout;
+import javax.swing.JPanel;
+import javax.swing.JSplitPane;
 import org.netbeans.modules.search.BasicComposition;
+import org.netbeans.modules.search.ContextView;
+import org.netbeans.modules.search.FindDialogMemory;
 import org.netbeans.modules.search.ResultModel;
 import org.openide.nodes.Node;
+import org.openide.util.RequestProcessor;
 
 /**
  *
  * @author jhavlin
  */
 public class BasicSearchResultsPanel extends BasicAbstractResultsPanel {
+    private static final RequestProcessor RP =
+            new RequestProcessor(BasicSearchResultsPanel.class.getName());
+    private final RequestProcessor.Task SAVE_TASK = RP.create(new 
BasicSearchResultsPanel.SaveTask());

Review Comment:
   this could probably use the `RequestProcessor.getDefault().create..` most 
likely, since updating a single attribute should be super fast and doesn't 
really happen that often.



-- 
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: notifications-unsubscr...@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org
For additional commands, e-mail: notifications-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to