Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Vogel2021-02-24 09:42:26 +0000
committerLars Vogel2021-03-19 17:55:58 +0000
commit417d96c5a4f7a5e19ef1ed32b0826ae26afd415c (patch)
treeb72a48e3616b60062d4e8493051d644e309bf0c3
parenta4249145881972bef71f7f232703371c0c901737 (diff)
downloadeclipse.platform.text-417d96c5a4f7a5e19ef1ed32b0826ae26afd415c.tar.gz
eclipse.platform.text-417d96c5a4f7a5e19ef1ed32b0826ae26afd415c.tar.xz
eclipse.platform.text-417d96c5a4f7a5e19ef1ed32b0826ae26afd415c.zip
Make inner class SearchJobRecord static in InternalSearchUII20210321-0340I20210320-1800I20210320-0650I20210319-1800
This avoids the pointer to the outer class and save a tiny bit of memory. Done via JDT cleanup actions Change-Id: I50739ca13b4a9e69c9c59b7c64ad2bf09fa54e5f Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
-rw-r--r--org.eclipse.search/new search/org/eclipse/search2/internal/ui/InternalSearchUI.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.search/new search/org/eclipse/search2/internal/ui/InternalSearchUI.java b/org.eclipse.search/new search/org/eclipse/search2/internal/ui/InternalSearchUI.java
index 3008e6b183f..78c08005575 100644
--- a/org.eclipse.search/new search/org/eclipse/search2/internal/ui/InternalSearchUI.java
+++ b/org.eclipse.search/new search/org/eclipse/search2/internal/ui/InternalSearchUI.java
@@ -57,7 +57,7 @@ public class InternalSearchUI {
public static final Object FAMILY_SEARCH = new Object();
- private class SearchJobRecord {
+ private static class SearchJobRecord {
public ISearchQuery query;
public Job job;
public boolean isRunning;

Back to the top