Skip to content

Commit

Permalink
add null annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanseifert committed Jan 17, 2024
1 parent 3c22143 commit 47a96de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/io/wcm/handler/media/MediaBuilder.java
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ public interface MediaBuilder {
* @return this
*/
@NotNull
MediaBuilder enforceOutputFileExtension(String value);
MediaBuilder enforceOutputFileExtension(@NotNull String value);

/**
* @param value URS mode
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ private void resolveDefaultSettingsFromPolicyAndComponent(@NotNull Resource cont
}

@Override
public @NotNull MediaBuilder enforceOutputFileExtension(String value) {
public @NotNull MediaBuilder enforceOutputFileExtension(@NotNull String value) {
this.mediaArgs.enforceOutputFileExtension(value);
return this;
}
Expand Down

0 comments on commit 47a96de

Please sign in to comment.