Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Vogel2021-02-24 10:01:54 +0000
committerLars Vogel2021-03-15 15:39:07 +0000
commit902c0f31c1be07a29904194e44907b8a102c3e7f (patch)
tree6670a2977bdb7be45c9e3553f487c840996bb997
parenta33c6e006e38af00b14de74797150efa6022820c (diff)
downloadeclipse.platform.ua-902c0f31c1be07a29904194e44907b8a102c3e7f.tar.gz
eclipse.platform.ua-902c0f31c1be07a29904194e44907b8a102c3e7f.tar.xz
eclipse.platform.ua-902c0f31c1be07a29904194e44907b8a102c3e7f.zip
Make inner class ControlKey static in StandbyPartI20210315-2050
This avoids the pointer to the outer class and save a tiny bit of memory. Done via JDT cleanup actions Change-Id: I7d28f13e0229bcd4241da3e56025f5ef47b35705 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
-rw-r--r--org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/parts/StandbyPart.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/parts/StandbyPart.java b/org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/parts/StandbyPart.java
index e7fa089b0..dcf2c179f 100644
--- a/org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/parts/StandbyPart.java
+++ b/org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/parts/StandbyPart.java
@@ -425,7 +425,7 @@ public class StandbyPart implements IIntroConstants {
* Model class to wrap Control and IStandbyContentPart pairs, along with the
* representing ID..
*/
- class ControlKey {
+ static class ControlKey {
Control c;
IStandbyContentPart part;

Back to the top