Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Wichers2018-09-12 13:05:23 -0400
committerMatthias Becker2018-09-12 14:41:31 -0400
commit8a3790a6e9400bc98ae8ad422f70c2f29c2b1bd1 (patch)
treedfb9321446b579c4b93d4d8797e6b591a9d1e2dc
parente259dc218ebf193a6ff986046644feae55780528 (diff)
downloadeclipse.platform.text-8a3790a6e9400bc98ae8ad422f70c2f29c2b1bd1.tar.gz
eclipse.platform.text-8a3790a6e9400bc98ae8ad422f70c2f29c2b1bd1.tar.xz
eclipse.platform.text-8a3790a6e9400bc98ae8ad422f70c2f29c2b1bd1.zip
Refactoring: List ref. instead of ArrayList
Change-Id: Ia7b5fdf89577f6faab9fa560f9f5f2b4545e5152 Signed-off-by: Peter Wichers <peter.wichers@sap.com>
-rw-r--r--org.eclipse.jface.text/src/org/eclipse/jface/text/FindReplaceDocumentAdapterContentProposalProvider.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/org.eclipse.jface.text/src/org/eclipse/jface/text/FindReplaceDocumentAdapterContentProposalProvider.java b/org.eclipse.jface.text/src/org/eclipse/jface/text/FindReplaceDocumentAdapterContentProposalProvider.java
index 201a80df5..94cc14067 100644
--- a/org.eclipse.jface.text/src/org/eclipse/jface/text/FindReplaceDocumentAdapterContentProposalProvider.java
+++ b/org.eclipse.jface.text/src/org/eclipse/jface/text/FindReplaceDocumentAdapterContentProposalProvider.java
@@ -15,6 +15,7 @@
package org.eclipse.jface.text;
import java.util.ArrayList;
+import java.util.List;
import org.eclipse.jface.fieldassist.ContentProposal;
import org.eclipse.jface.fieldassist.IContentProposal;
@@ -54,11 +55,11 @@ public class FindReplaceDocumentAdapterContentProposalProvider implements IConte
/**
* The high-priority proposals.
*/
- private final ArrayList<ContentProposal> fPriorityProposals;
+ private final List<ContentProposal> fPriorityProposals;
/**
* The low-priority proposals.
*/
- private final ArrayList<ContentProposal> fProposals;
+ private final List<ContentProposal> fProposals;
/**
* <code>true</code> iff <code>fExpression</code> ends with an open escape.
*/

Back to the top