diff options
author | Lars Vogel | 2020-06-05 16:36:53 +0000 |
---|---|---|
committer | Lars Vogel | 2020-06-10 14:58:43 +0000 |
commit | 3cc3ec95a63f5575037c05990df7384001ce4be6 (patch) | |
tree | c196d2737096182132f22f4b135f4d55671a0207 | |
parent | e0e23692a403dfb467b83400f7729f3e490385c6 (diff) | |
download | eclipse.platform.debug-3cc3ec95a63f5575037c05990df7384001ce4be6.tar.gz eclipse.platform.debug-3cc3ec95a63f5575037c05990df7384001ce4be6.tar.xz eclipse.platform.debug-3cc3ec95a63f5575037c05990df7384001ce4be6.zip |
Bug 564063 - AbstractDebugSelectionDialog can use ArrayContentProvider.getInstance()
ArrayContentProvider does not hold any data, so sharing the instance is
fine.
Change-Id: Ica87c3baf7cbdaa3c88ea2a7142cac1b679e2fa3
Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
-rw-r--r-- | org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/AbstractDebugSelectionDialog.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/AbstractDebugSelectionDialog.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/AbstractDebugSelectionDialog.java index 14af78526..d31bf634c 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/AbstractDebugSelectionDialog.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/AbstractDebugSelectionDialog.java @@ -88,7 +88,7 @@ public abstract class AbstractDebugSelectionDialog extends SelectionDialog { */ protected IContentProvider getContentProvider() { //by default return a simple array content provider - return new ArrayContentProvider(); + return ArrayContentProvider.getInstance(); } /** |