diff --git a/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/launching/GdbProcessFactory.java b/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/launching/GdbProcessFactory.java index befcfed461f..72f27f7e686 100644 --- a/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/launching/GdbProcessFactory.java +++ b/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/launching/GdbProcessFactory.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2011 Anton Gorenkov + * Copyright (c) 2011, 2015 Anton Gorenkov 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 @@ -26,9 +26,8 @@ import org.eclipse.debug.core.model.RuntimeProcess; */ public class GdbProcessFactory implements IProcessFactory { - @SuppressWarnings({ "rawtypes", "unchecked" }) @Override - public IProcess newProcess(ILaunch launch, Process process, String label, Map attributes) { + public IProcess newProcess(ILaunch launch, Process process, String label, Map attributes) { if (attributes != null) { if (IGdbDebugConstants.GDB_PROCESS_CREATION_VALUE.equals(attributes.get(IGdbDebugConstants.PROCESS_TYPE_CREATION_ATTR))) { return new GDBProcess(launch, process, label, attributes);