Skip to content

Commit

Permalink
Fix nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
sammcveety committed Dec 6, 2016
1 parent c70868a commit c76f045
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -866,7 +866,7 @@ public static ItemSpec<String> item(String key, @Nullable String value) {
/**
* Create a display item for the specified key and {@link ValueProvider}.
*/
public static ItemSpec<String> item(String key, @Nullable ValueProvider<?> value) {
public static ItemSpec<String> item(String key, ValueProvider<?> value) {
return item(key, Type.STRING, value.isAccessible()
? value.get().toString() : value.toString());
}
Expand Down

0 comments on commit c76f045

Please sign in to comment.