commit | 171a56d483628e0fd673ef999646ec851c243038 | [log] [tgz] |
---|---|---|
author | Lars Vogel <Lars.Vogel@vogella.com> | Fri Apr 09 07:46:30 2021 +0200 |
committer | Alexander Kurtakov <akurtako@redhat.com> | Fri Apr 09 13:22:50 2021 -0400 |
tree | 90285516f092c45c70a6fdeafe92f96cdb1598b3 | |
parent | fa96c9c4fc62c2ed4a5c8e726a6630ff62268bed [diff] |
[dogfooding][cleanup] Use static inner class clean up for XMLRootElementContentDescriber2 Using this cleanup brings: - It reviews the feature - For optimization: small memory usage reduction as the outer pointer is removed Change-Id: Idf3ae5f3040902d1486ec5457ab9663b25ea9fa7 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
diff --git a/bundles/org.eclipse.core.contenttype/src/org/eclipse/core/runtime/content/XMLRootElementContentDescriber2.java b/bundles/org.eclipse.core.contenttype/src/org/eclipse/core/runtime/content/XMLRootElementContentDescriber2.java index 4579b09..0faa191 100644 --- a/bundles/org.eclipse.core.contenttype/src/org/eclipse/core/runtime/content/XMLRootElementContentDescriber2.java +++ b/bundles/org.eclipse.core.contenttype/src/org/eclipse/core/runtime/content/XMLRootElementContentDescriber2.java
@@ -88,7 +88,7 @@ /* (Intentionally not included in javadoc) * Simple value holder for root element name, its namespace and dtd. */ - private class QualifiedElement { + private static class QualifiedElement { private String namespace; private String element; private String dtd;