From cf441acc8b8eeb3d527107eda956a99179f2ef97 Mon Sep 17 00:00:00 2001 From: Andrew Gvozdev Date: Tue, 26 Jan 2010 02:37:07 +0000 Subject: [PATCH] cosmetics: generics --- .../settings/model/util/EntryStorageBasedLanguageData.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/settings/model/util/EntryStorageBasedLanguageData.java b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/settings/model/util/EntryStorageBasedLanguageData.java index cef24e3ce4d..59d3866bb05 100644 --- a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/settings/model/util/EntryStorageBasedLanguageData.java +++ b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/settings/model/util/EntryStorageBasedLanguageData.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2007 Intel Corporation and others. + * Copyright (c) 2007, 2010 Intel Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -35,8 +35,8 @@ public abstract class EntryStorageBasedLanguageData extends CDefaultLanguageData public ICLanguageSettingEntry[] getEntries(int kind) { AbstractEntryStorage storage = getStorage(kind); if(storage != null){ - List list = storage.getEntries(null); - return (ICLanguageSettingEntry[])list.toArray(new ICLanguageSettingEntry[list.size()]); + List list = storage.getEntries(null); + return list.toArray(new ICLanguageSettingEntry[list.size()]); } return new ICLanguageSettingEntry[0]; }