Skip to content
/ gradle Public
forked from gradle/gradle

Commit

Permalink
Touch up documentation comment
Browse files Browse the repository at this point in the history
  • Loading branch information
bamboo committed Nov 29, 2019
1 parent cc2bfc7 commit 58c722e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,10 @@ public interface ValueSource<T, P extends ValueSourceParameters> {
P getParameters();

/**
* Obtains the value from the source.
* Obtains the value from the source. The returned value must be effectively immutable.
*
* <p>This method must be implemented in the subclass.</p>
* <p>This method is only called if the provider value is requested and only once in that case.</p>
*
* @return the value obtained or {@code null} if the value is not present.
*/
Expand Down

0 comments on commit 58c722e

Please sign in to comment.