From 393fad5503445ed9cf5fa7c0304daab770ee3d31 Mon Sep 17 00:00:00 2001 From: Scott Leberknight <174812+sleberknight@users.noreply.github.com> Date: Tue, 24 Dec 2024 11:12:23 -0500 Subject: [PATCH] Remove redundant type parameter --- src/test/java/org/kiwiproject/util/YamlTestHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/kiwiproject/util/YamlTestHelper.java b/src/test/java/org/kiwiproject/util/YamlTestHelper.java index bbb01bd8..bcef2cff 100644 --- a/src/test/java/org/kiwiproject/util/YamlTestHelper.java +++ b/src/test/java/org/kiwiproject/util/YamlTestHelper.java @@ -33,7 +33,7 @@ public static T loadFromYamlWithSnakeYaml(String filename, Class clazz) { * Jackson. */ public static T loadFromYamlWithDropwizard(String filename, Class clazz) { - var factory = new YamlConfigurationFactory(clazz, VALIDATOR, OBJECT_MAPPER, "dw"); + var factory = new YamlConfigurationFactory<>(clazz, VALIDATOR, OBJECT_MAPPER, "dw"); try { return factory.build(new ResourceConfigurationSourceProvider(), filename); } catch (Exception e) {