diff options
| author | Paul Webster | 2014-04-14 18:27:24 +0000 |
|---|---|---|
| committer | Paul Webster | 2014-04-14 18:27:24 +0000 |
| commit | b402b18bc22240c0cf8e8ed2f51afc3964423162 (patch) | |
| tree | 36b771c39cd62bebdf9cf01ccceb7ed45e146271 | |
| parent | 639812f300812a7b734e108432dffb7ab68c5367 (diff) | |
| download | eclipse.platform.ui-b402b18bc22240c0cf8e8ed2f51afc3964423162.tar.gz eclipse.platform.ui-b402b18bc22240c0cf8e8ed2f51afc3964423162.tar.xz eclipse.platform.ui-b402b18bc22240c0cf8e8ed2f51afc3964423162.zip | |
Bug 418661 - [Metadata] Get rid of compile warnings in official build
Fix warnings in org.eclipse.e4.core.commands
3 files changed, 3 insertions, 3 deletions
diff --git a/bundles/org.eclipse.e4.core.commands/src/org/eclipse/e4/core/commands/ECommandService.java b/bundles/org.eclipse.e4.core.commands/src/org/eclipse/e4/core/commands/ECommandService.java index 12ec9a75c4d..7aa81c641d0 100644 --- a/bundles/org.eclipse.e4.core.commands/src/org/eclipse/e4/core/commands/ECommandService.java +++ b/bundles/org.eclipse.e4.core.commands/src/org/eclipse/e4/core/commands/ECommandService.java @@ -20,7 +20,7 @@ import org.eclipse.core.commands.ParameterizedCommand; * @noimplement */ public interface ECommandService { - public ParameterizedCommand createCommand(String id, Map parameters); + public ParameterizedCommand createCommand(String id, Map<String, Object> parameters); /** * @param id diff --git a/bundles/org.eclipse.e4.core.commands/src/org/eclipse/e4/core/commands/internal/CommandServiceImpl.java b/bundles/org.eclipse.e4.core.commands/src/org/eclipse/e4/core/commands/internal/CommandServiceImpl.java index 76ebeb15b2f..449c87e29ea 100644 --- a/bundles/org.eclipse.e4.core.commands/src/org/eclipse/e4/core/commands/internal/CommandServiceImpl.java +++ b/bundles/org.eclipse.e4.core.commands/src/org/eclipse/e4/core/commands/internal/CommandServiceImpl.java @@ -33,7 +33,7 @@ public class CommandServiceImpl implements ECommandService { } @Override - public ParameterizedCommand createCommand(String id, Map parameters) { + public ParameterizedCommand createCommand(String id, Map<String, Object> parameters) { Command command = getCommand(id); if (command == null) { return null; diff --git a/bundles/org.eclipse.e4.core.commands/src/org/eclipse/e4/core/commands/internal/HandlerServiceImpl.java b/bundles/org.eclipse.e4.core.commands/src/org/eclipse/e4/core/commands/internal/HandlerServiceImpl.java index f7866c29d3a..f1744763ee5 100644 --- a/bundles/org.eclipse.e4.core.commands/src/org/eclipse/e4/core/commands/internal/HandlerServiceImpl.java +++ b/bundles/org.eclipse.e4.core.commands/src/org/eclipse/e4/core/commands/internal/HandlerServiceImpl.java @@ -104,8 +104,8 @@ public class HandlerServiceImpl implements EHandlerService { * Fill in a temporary static context for execution. * * @param command - * @return a context not part of the normal hierarchy */ + @SuppressWarnings("rawtypes") private void addParms(ParameterizedCommand command, IEclipseContext staticContext) { final Map parms = command.getParameterMap(); Iterator i = parms.entrySet().iterator(); |
