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 */