diff --git a/client/api/src/main/java/io/smallrye/graphql/client/core/utils/ServiceUtils.java b/client/api/src/main/java/io/smallrye/graphql/client/core/utils/ServiceUtils.java index dff1b9846..fc8fa89ea 100644 --- a/client/api/src/main/java/io/smallrye/graphql/client/core/utils/ServiceUtils.java +++ b/client/api/src/main/java/io/smallrye/graphql/client/core/utils/ServiceUtils.java @@ -13,7 +13,8 @@ public static T getNewInstanceFromFactory(Class> clazz ServiceLoader::load); if (sl.stream().count() != 1) { throw new IllegalArgumentException( - String.format("Expected exactly one implementation of %s. Found %d.", clazz.getName(), sl.stream().count())); + String.format("Expected exactly one implementation of %s. Found %d.", clazz.getName(), + sl.stream().count())); } return sl.iterator().next().get(); }