class NotificationEditorWidget implements IsWidget,
                                                 NotificationEditorWidgetView.Presenter {

    @Override
    public String clearEmails(String emails) {
        String result = emails.replaceAll("\\s", "");
        if (result.startsWith(",")) {
            result = result.substring(1);
        }

        if (result.endsWith(",")) {
            result = result.substring(0, result.length() - 1);
        }
        return result;
    }

    @Inject public  NotificationEditorWidget(NotificationEditorWidgetView view,
                                    ClientTranslationService translationService);

}