This is an automated email from the ASF dual-hosted git repository. btellier pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/james-project.git
commit a5a1f11c12d62b63c17db2da11e73ddb52eb071b Author: Benoit Tellier <[email protected]> AuthorDate: Fri Oct 18 11:27:22 2019 +0700 JAMES-2866 Fix warnings in GuiceGenericLoader --- .../src/main/java/org/apache/james/utils/GuiceGenericLoader.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/container/guice/guice-utils/src/main/java/org/apache/james/utils/GuiceGenericLoader.java b/server/container/guice/guice-utils/src/main/java/org/apache/james/utils/GuiceGenericLoader.java index d8ca52e..1163907 100644 --- a/server/container/guice/guice-utils/src/main/java/org/apache/james/utils/GuiceGenericLoader.java +++ b/server/container/guice/guice-utils/src/main/java/org/apache/james/utils/GuiceGenericLoader.java @@ -113,10 +113,10 @@ public class GuiceGenericLoader { } public <T> InvocationPerformer<T> withNamingSheme(NamingScheme namingSheme) { - return new InvocationPerformer<T>(injector, extendedClassLoader, namingSheme, additionalExtensionBindings); + return new InvocationPerformer<>(injector, extendedClassLoader, namingSheme, additionalExtensionBindings); } public <T> InvocationPerformer<T> withChildModule(Module childModule) { - return new InvocationPerformer<T>(injector, extendedClassLoader, NamingScheme.IDENTITY, Modules.combine(additionalExtensionBindings, childModule)); + return new InvocationPerformer<>(injector, extendedClassLoader, NamingScheme.IDENTITY, Modules.combine(additionalExtensionBindings, childModule)); } } --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
