diff options
author | Lars Vogel | 2021-02-03 09:51:19 +0000 |
---|---|---|
committer | Lars Vogel | 2021-02-03 09:51:19 +0000 |
commit | e70aeffd6bf5e80156c11d8b5854cc4401963dfc (patch) | |
tree | 0953b1a3d0be07e34955f66e45f2ad7787945f2d | |
parent | 4021b473b84fcef459c367bf950e4a34af2ec21b (diff) | |
download | rt.equinox.bundles-e70aeffd6bf5e80156c11d8b5854cc4401963dfc.tar.gz rt.equinox.bundles-e70aeffd6bf5e80156c11d8b5854cc4401963dfc.tar.xz rt.equinox.bundles-e70aeffd6bf5e80156c11d8b5854cc4401963dfc.zip |
Inner class in ExtensionRegistry can be staticI20210204-0900
MutableInt can be a static inner class, as a reference to the outer
class is not used. This save the internal pointer generated by the
compiler to the outer class.
Done during testing of the related JDT static inner class testing
Change-Id: I109f1b0e65930a6e8e10054a8870a03169423a9d
Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
-rw-r--r-- | bundles/org.eclipse.equinox.registry/src/org/eclipse/core/internal/registry/ExtensionRegistry.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.registry/src/org/eclipse/core/internal/registry/ExtensionRegistry.java b/bundles/org.eclipse.equinox.registry/src/org/eclipse/core/internal/registry/ExtensionRegistry.java index 717c6fc92..cb34de3ac 100644 --- a/bundles/org.eclipse.equinox.registry/src/org/eclipse/core/internal/registry/ExtensionRegistry.java +++ b/bundles/org.eclipse.equinox.registry/src/org/eclipse/core/internal/registry/ExtensionRegistry.java @@ -991,7 +991,7 @@ public class ExtensionRegistry implements IExtensionRegistry, IDynamicExtensionR } // The pair of values we store in the event queue - private class QueueElement { + private static class QueueElement { Object[] listenerInfos; Map<String, ?> scheduledDeltas; |