Skip to content
This repository has been archived by the owner on May 7, 2020. It is now read-only.

Commit

Permalink
adapt ConfigOptionProvider javadoc to reality
Browse files Browse the repository at this point in the history
...as several implementations return null. Also, it does not make
much sense to instantiate empty collections all the time, as the
majority of call will be returned with no results.

Signed-off-by: Simon Kaufmann <simon.kfm@googlemail.com>
  • Loading branch information
sjsf committed Jun 28, 2017
1 parent a015460 commit 3d536b3
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -28,8 +28,7 @@ public interface ConfigOptionProvider {
* the parameter name for which the requested options shall be returned
* @param locale
* locale
* @return the configuration options provided by this provider (not
* null, could be empty)
* @return the configuration options provided by this provider if any (may be null)
*/
Collection<ParameterOption> getParameterOptions(URI uri, String param, Locale locale);
}

0 comments on commit 3d536b3

Please sign in to comment.