aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLouis-Michel Mathurin2014-03-20 17:02:47 (EDT)
committerLars Vogel2014-03-21 08:39:42 (EDT)
commitb9622c8085df0eb21c702bd76cacd12734ab05eb (patch)
tree5661e6567270ebc3ea99bc7b5c0c29ae8ba95eda
parent1f01dc809dd52b4e00143e8d567826a12d5b8898 (diff)
downloadeclipse.platform.ui-b9622c8085df0eb21c702bd76cacd12734ab05eb.zip
eclipse.platform.ui-b9622c8085df0eb21c702bd76cacd12734ab05eb.tar.gz
eclipse.platform.ui-b9622c8085df0eb21c702bd76cacd12734ab05eb.tar.bz2
Bug 428355 - [New Contributors] Fix warnings in platform projectsrefs/changes/73/23673/3
- Fix the generics warning Change-Id: I8b4f71d0615540eff33e836bedd6a2b12f576b4d Signed-off-by: Louis-Michel Mathurin <mathurin.lm@agiledss.com>
-rw-r--r--examples/org.eclipse.jface.snippets/Eclipse JFace Snippets/org/eclipse/jface/snippets/viewers/AbstractCellCursor.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/org.eclipse.jface.snippets/Eclipse JFace Snippets/org/eclipse/jface/snippets/viewers/AbstractCellCursor.java b/examples/org.eclipse.jface.snippets/Eclipse JFace Snippets/org/eclipse/jface/snippets/viewers/AbstractCellCursor.java
index f5bae61..466037d 100644
--- a/examples/org.eclipse.jface.snippets/Eclipse JFace Snippets/org/eclipse/jface/snippets/viewers/AbstractCellCursor.java
+++ b/examples/org.eclipse.jface.snippets/Eclipse JFace Snippets/org/eclipse/jface/snippets/viewers/AbstractCellCursor.java
@@ -55,7 +55,7 @@ public abstract class AbstractCellCursor extends Canvas {
break;
case SWT.KeyDown:
getParent().notifyListeners(SWT.KeyDown, event);
- ArrayList list = new ArrayList();
+ ArrayList<Object> list = new ArrayList<Object>();
for( int i = 0; i < cells.length; i++ ) {
list.add(cells[i].getElement());
}