1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Fixed generics warning

This commit is contained in:
John Cortell 2009-10-13 23:06:23 +00:00
parent 63e68514bb
commit 241e84b54e

View file

@ -426,7 +426,7 @@ public class FindReplaceDialog extends SelectionDialog
private String[] removeNullElements(String strings[])
{
Vector nonNullStrings = new Vector<String>();
Vector<String> nonNullStrings = new Vector<String>();
for(String string : strings)
if(string != null)
nonNullStrings.addElement(string);