class SimpleProgressCheck implements ProgressCheck {

    @NotNull
    protected String getString(@NotNull final String key) {
        return Optional.ofNullable(getResourceBundle())
                .filter(bundle -> bundle.containsKey(key))
                .map(bundle -> bundle.getString(key))
                .orElse(key);
    }

}