@Override public String getResourceDeprecatedDescription(Locale locale, ResourceBundle bundle) { for (PathElement path : this.paths) { String key = this.getBundleKey(path, ModelDescriptionConstants.DEPRECATED); if (bundle.containsKey(key)) { return bundle.getString(key); } } return this.parent.getResourceDeprecatedDescription(locale, bundle); }
@Override public String getResourceDeprecatedDescription(Locale locale, ResourceBundle bundle) { for (PathElement path : this.paths) { String key = this.getBundleKey(path, ModelDescriptionConstants.DEPRECATED); if (bundle.containsKey(key)) { return bundle.getString(key); } } return this.parent.getResourceDeprecatedDescription(locale, bundle); }
deprecated.get(ModelDescriptionConstants.REASON).set(descriptionResolver.getResourceDeprecatedDescription(locale, bundle));
deprecated.get(ModelDescriptionConstants.REASON).set(descriptionResolver.getResourceDeprecatedDescription(locale, bundle));
deprecated.get(ModelDescriptionConstants.REASON).set(descriptionResolver.getResourceDeprecatedDescription(locale, bundle));