Suppress varargs warning

Prior to this commit, the Gradle build failed due to a varargs warning.

See gh-25311
This commit is contained in:
Sam Brannen 2020-06-24 15:38:03 +02:00
parent a142d21700
commit 049f5250fe
1 changed files with 1 additions and 0 deletions

View File

@ -596,6 +596,7 @@ public class Jackson2ObjectMapperBuilder {
* @see com.fasterxml.jackson.databind.Module
*/
@SafeVarargs
@SuppressWarnings("varargs")
public final Jackson2ObjectMapperBuilder modulesToInstall(Class<? extends Module>... modules) {
this.moduleClasses = modules;
this.findWellKnownModules = true;