mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-30 21:55:31 +02:00
Update to use generics
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
This commit is contained in:
parent
860e0af8c8
commit
39fa80d9de
1 changed files with 2 additions and 3 deletions
|
@ -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<String, String> 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);
|
||||
|
|
Loading…
Add table
Reference in a new issue