commit | aef7bd3b2861a5d0c8d521f05d51024e9d701937 | [log] [tgz] |
---|---|---|
author | Lars Vogel <Lars.Vogel@vogella.com> | Wed Feb 24 11:07:33 2021 +0100 |
committer | Lars Vogel <Lars.Vogel@vogella.com> | Tue Mar 16 03:29:11 2021 -0400 |
tree | f6ebc1a5d780bd308bedb73ea49a49ed397c0150 | |
parent | 83f10dbd87536beaed84ab0e7919192a8181d56b [diff] |
Make inner class Match static in AbstractMatching 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>
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 41e1922..82057fc 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 @@ } /* 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;