Skip to content

Commit

Permalink
Nullability annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
ramsessanchez committed Jul 20, 2023
1 parent d79c30a commit b0cdb3c
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,15 @@ public Response intercept(@Nonnull Chain chain) throws IOException {
* Gets the UrlReplaceHandlerOption for the UrlReplaceHandler.
* @return the UrlReplaceHandlerOption for the UrlReplaceHandler.
*/
@Nonnull
public UrlReplaceHandlerOption getUrlReplaceHandlerOption() {
return new UrlReplaceHandlerOption(mUrlReplaceHandlerOption.getReplacementPairs(), mUrlReplaceHandlerOption.isEnabled());
}
/**
* Sets the GraphClientOption for the UrlReplaceHandler.
* Sets the UrlReplaceHandlerOption for the UrlReplaceHandler.
* @param urlReplaceHandlerOption the UrlReplaceHandlerOption to set.
*/
public void setUrlReplaceHandlerOption(UrlReplaceHandlerOption urlReplaceHandlerOption) {
public void setUrlReplaceHandlerOption(@Nonnull UrlReplaceHandlerOption urlReplaceHandlerOption) {
this.mUrlReplaceHandlerOption = new UrlReplaceHandlerOption(urlReplaceHandlerOption.getReplacementPairs(), urlReplaceHandlerOption.isEnabled());
}
/**
Expand Down

0 comments on commit b0cdb3c

Please sign in to comment.