Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Vogel2021-02-24 10:07:33 +0000
committerLars Vogel2021-03-16 07:29:11 +0000
commitaef7bd3b2861a5d0c8d521f05d51024e9d701937 (patch)
treef6ebc1a5d780bd308bedb73ea49a49ed397c0150
parent83f10dbd87536beaed84ab0e7919192a8181d56b (diff)
downloadeclipse.platform.team-aef7bd3b2861a5d0c8d521f05d51024e9d701937.tar.gz
eclipse.platform.team-aef7bd3b2861a5d0c8d521f05d51024e9d701937.tar.xz
eclipse.platform.team-aef7bd3b2861a5d0c8d521f05d51024e9d701937.zip
Make inner class Match static in AbstractMatchingI20210317-0910I20210317-0650I20210317-0330I20210316-1800
This avoids the pointer to the outer class and save a tiny bit of memory. Done via JDT cleanup actions Change-Id: Iccc9b7a6e5effaf1d8959f34d4a9b58d27402e68 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
-rw-r--r--examples/org.eclipse.compare.examples.xml/src/org/eclipse/compare/examples/xml/AbstractMatching.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/org.eclipse.compare.examples.xml/src/org/eclipse/compare/examples/xml/AbstractMatching.java b/examples/org.eclipse.compare.examples.xml/src/org/eclipse/compare/examples/xml/AbstractMatching.java
index 41e19227c..82057fc77 100644
--- a/examples/org.eclipse.compare.examples.xml/src/org/eclipse/compare/examples/xml/AbstractMatching.java
+++ b/examples/org.eclipse.compare.examples.xml/src/org/eclipse/compare/examples/xml/AbstractMatching.java
@@ -160,7 +160,7 @@ public abstract class AbstractMatching {
}
/* represents a matching between a node in the Left tree and a node in the Right tree */
- class Match {
+ static class Match {
public XMLNode fx;
public XMLNode fy;

Back to the top