Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Vogel2021-06-08 09:17:44 +0000
committerLars Vogel2021-06-08 13:24:00 +0000
commit246ce82a86252e6b93b5f6a2f0951895c328154e (patch)
tree0f27afe7241ec46dfd939d543527b82626852cf2
parentc5fe8ecfd21ade83a548ed84b0ffdb8e50512ff3 (diff)
downloadeclipse.platform.text-Y20210608-2330.tar.gz
eclipse.platform.text-Y20210608-2330.tar.xz
eclipse.platform.text-Y20210608-2330.zip
text plug-ins This ticket uses and tests the "Use static inner class" cleanup feature: - It reviews the feature - It reduces the memory consumption as it avoids the pointer to the outer class Example: Before: public class Outer { public class InnerClass { int i; public boolean anotherMethod() { return true; } } } After: public class Outer { public static class InnerClass { int i; public boolean anotherMethod() { return true; } } } Change-Id: Ife8c2036dbdd0cdbebdd952b603c2fceeb2ccd58 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com> Reviewed-on: https://git.eclipse.org/r/c/platform/eclipse.platform.text/+/180219 Tested-by: Platform Bot <platform-bot@eclipse.org>
-rw-r--r--org.eclipse.core.filebuffers.tests/src/org/eclipse/core/filebuffers/tests/FileBufferFunctions.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.core.filebuffers.tests/src/org/eclipse/core/filebuffers/tests/FileBufferFunctions.java b/org.eclipse.core.filebuffers.tests/src/org/eclipse/core/filebuffers/tests/FileBufferFunctions.java
index 9219d2e7153..d3edd240d51 100644
--- a/org.eclipse.core.filebuffers.tests/src/org/eclipse/core/filebuffers/tests/FileBufferFunctions.java
+++ b/org.eclipse.core.filebuffers.tests/src/org/eclipse/core/filebuffers/tests/FileBufferFunctions.java
@@ -106,7 +106,7 @@ public abstract class FileBufferFunctions {
@Rule
public TestFailReporter failReporter= new TestFailReporter();
- public class TestFailReporter extends TestWatcher {
+ public static class TestFailReporter extends TestWatcher {
private static final String BUNDLE_ID= "org.eclipse.core.filebuffers.tests";

Back to the top