package seedu.todo.controllers;

import seedu.todo.commons.core.EventsCenter;
import seedu.todo.commons.events.ui.ExitAppRequestEvent;

public class ExitController implements Controller {

    private static String NAME = "Exit";
    private static String DESCRIPTION = "Exit from GetShitDone!";
    private static String COMMAND_SYNTAX = "exit";
    
    private static final String MESSAGE_EXIT_SUCCESS = "Exiting the application.";

    private static CommandDefinition commandDefinition =
            new CommandDefinition(NAME, DESCRIPTION, COMMAND_SYNTAX); 

    public static CommandDefinition getCommandDefinition() {
        return commandDefinition;
    }
    
    @Override
    public float inputConfidence(String input) {
        return (input.startsWith("exit")) ? 1 : 0;
    }

    @Override
    public void process(String input) {
        EventsCenter.getInstance().post(new ExitAppRequestEvent());
    }
    
}
@@ -343,96 +343,8 @@
 it%22;
-%0A    %0A    private static final String MESSAGE_EXIT_SUCCESS = %22Exiting the application.%22;
 %0A%0A  

Remove unused declaration