Project

General

Profile

« Previous | Next » 

Revision 8377acc4

Added by Patrick Plitzner over 6 years ago

Remove unused method parameter

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/CdmViewerContextMenuE4.java
64 64
            Entry<Command, String> entry = enabledCommands.entrySet().iterator().next();
65 65
            final Command command = entry.getKey();
66 66
            String viewerName = entry.getValue();
67
            addCommand(uuid, command, String.format(Messages.CdmViewerContextMenu_OPEN, viewerName), items);
67
            addCommand(uuid, command, String.format(Messages.CdmViewerContextMenu_OPEN, viewerName));
68 68
        }
69 69
        else if(enabledCommands.size()>1){
70 70
            MMenu menu = MMenuFactory.INSTANCE.createMenu();
......
73 73
            for(Entry<Command, String> entry:enabledCommands.entrySet()){
74 74
                String viewerName = entry.getValue();
75 75
                Command command = entry.getKey();
76
                menu.getChildren().add(addCommand(uuid, command, viewerName, items));
76
                menu.getChildren().add(addCommand(uuid, command, viewerName));
77 77
            }
78 78
        }
79 79
    }
80 80

  
81
    public MHandledMenuItem addCommand(UUID uuid, Command command, String commandLabel, List<MMenuElement> items) {
81
    public MHandledMenuItem addCommand(UUID uuid, Command command, String commandLabel) {
82 82
        MHandledMenuItem menuItem = MMenuFactory.INSTANCE.createHandledMenuItem();
83 83
        menuItem.setLabel(commandLabel);
84 84
        MCommand mCommand = MCommandsFactory.INSTANCE.createCommand();

Also available in: Unified diff