Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Vogel2021-02-24 10:00:10 +0000
committerLars Vogel2021-03-15 09:54:27 +0000
commiteea53c96d77af59546e3932042e43878678cd2cd (patch)
tree88754d06732fcb560b8b0831f3f1b8338889b9f9
parent96ea3540b86ec269ff9285f002dbef7ea845aa07 (diff)
downloadeclipse.platform.ua-eea53c96d77af59546e3932042e43878678cd2cd.tar.gz
eclipse.platform.ua-eea53c96d77af59546e3932042e43878678cd2cd.tar.xz
eclipse.platform.ua-eea53c96d77af59546e3932042e43878678cd2cd.zip
Make inner class Quicklink static in QuicklinksViewer
This avoids the pointer to the outer class and save a tiny bit of memory. Done via JDT cleanup actions Change-Id: I38fc2b67f68e3564b26429773120ddccc3efd4df Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
-rw-r--r--org.eclipse.ui.intro.quicklinks/src/org/eclipse/ui/intro/quicklinks/QuicklinksViewer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.ui.intro.quicklinks/src/org/eclipse/ui/intro/quicklinks/QuicklinksViewer.java b/org.eclipse.ui.intro.quicklinks/src/org/eclipse/ui/intro/quicklinks/QuicklinksViewer.java
index e99450f0a..7ba8cb013 100644
--- a/org.eclipse.ui.intro.quicklinks/src/org/eclipse/ui/intro/quicklinks/QuicklinksViewer.java
+++ b/org.eclipse.ui.intro.quicklinks/src/org/eclipse/ui/intro/quicklinks/QuicklinksViewer.java
@@ -104,7 +104,7 @@ public class QuicklinksViewer implements IIntroContentProvider {
}
/** Model holding the relevant attributes of a Quicklink element */
- class Quicklink implements Comparable<Quicklink> {
+ static class Quicklink implements Comparable<Quicklink> {
String commandSpec;
String url;
String label;

Back to the top