diff options
author | Lars Vogel | 2021-02-24 09:45:34 +0000 |
---|---|---|
committer | Lars Vogel | 2021-03-10 19:32:46 +0000 |
commit | 83f10dbd87536beaed84ab0e7919192a8181d56b (patch) | |
tree | be94b65963f600ff06e9c11ee8972c198bf5f7da | |
parent | cee65979a07f1df261572ed31930e458a4140372 (diff) | |
download | eclipse.platform.team-83f10dbd87536beaed84ab0e7919192a8181d56b.tar.gz eclipse.platform.team-83f10dbd87536beaed84ab0e7919192a8181d56b.tar.xz eclipse.platform.team-83f10dbd87536beaed84ab0e7919192a8181d56b.zip |
Make inner class CompareInputConnecton static inI20210315-2050I20210314-1800I20210313-1800I20210312-2010I20210312-1800I20210312-1540I20210312-1410I20210312-1150I20210312-0940I20210312-0840I20210311-1800I20210310-2050
CompareInputChangeNotifier
This avoids the pointer to the outer class and save a tiny bit of
memory. Done via JDT cleanup actions
Change-Id: Icd120b612d819e9c8d375cd3ccb1f2a9eb24fbf6
Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
-rw-r--r-- | bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/mapping/CompareInputChangeNotifier.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/mapping/CompareInputChangeNotifier.java b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/mapping/CompareInputChangeNotifier.java index 5f862535d..7029c72ce 100644 --- a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/mapping/CompareInputChangeNotifier.java +++ b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/mapping/CompareInputChangeNotifier.java @@ -57,7 +57,7 @@ public abstract class CompareInputChangeNotifier implements private Map<ICompareInput, CompareInputConnecton> inputs = new HashMap<>(); private InputChangeEventHandler eventHandler; - private class CompareInputConnecton { + private static class CompareInputConnecton { private int connections; public void increment() { connections++; |