commit | 1779c5314bf7d6b518f5ef88c3711b6c230b91c9 | [log] [tgz] |
---|---|---|
author | Lars Vogel <Lars.Vogel@vogella.com> | Wed Feb 24 10:57:55 2021 +0100 |
committer | Lars Vogel <Lars.Vogel@vogella.com> | Wed Mar 10 10:50:52 2021 -0500 |
tree | c4b71a408fa9a00e3171dac1248477ff753d43f9 | |
parent | 57081ebea84538f119d28902a98b60b52a57cdc5 [diff] |
Make inner class StopParsingException static in XMLRootHandler This avoids the pointer to the outer class and save a tiny bit of memory. Done via JDT cleanup actions Change-Id: I329f36c616a50768b258fb102df95ff3315f9d72 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
diff --git a/bundles/org.eclipse.core.contenttype/src/org/eclipse/core/internal/content/XMLRootHandler.java b/bundles/org.eclipse.core.contenttype/src/org/eclipse/core/internal/content/XMLRootHandler.java index 55c384b..bfc1708 100644 --- a/bundles/org.eclipse.core.contenttype/src/org/eclipse/core/internal/content/XMLRootHandler.java +++ b/bundles/org.eclipse.core.contenttype/src/org/eclipse/core/internal/content/XMLRootHandler.java
@@ -38,7 +38,7 @@ * * @since 3.0 */ - private class StopParsingException extends SAXException { + private static class StopParsingException extends SAXException { /** * All serializable objects should have a stable serialVersionUID */