Skip to content

Commit 049f525

Browse files
committed
Suppress varargs warning
Prior to this commit, the Gradle build failed due to a varargs warning. See gh-25311
1 parent a142d21 commit 049f525

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

spring-web/src/main/java/org/springframework/http/converter/json/Jackson2ObjectMapperBuilder.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -596,6 +596,7 @@ public Jackson2ObjectMapperBuilder modulesToInstall(Module... modules) {
596596
* @see com.fasterxml.jackson.databind.Module
597597
*/
598598
@SafeVarargs
599+
@SuppressWarnings("varargs")
599600
public final Jackson2ObjectMapperBuilder modulesToInstall(Class<? extends Module>... modules) {
600601
this.moduleClasses = modules;
601602
this.findWellKnownModules = true;

0 commit comments

Comments
 (0)