commit | e53caea1d2470bb69b100d3619121f8d16ab02ba | [log] [tgz] |
---|---|---|
author | Matthias Sohn <matthias.sohn@sap.com> | Sat Dec 03 20:39:36 2022 +0100 |
committer | Matthias Sohn <matthias.sohn@sap.com> | Wed Dec 28 19:54:04 2022 +0100 |
tree | a02a54d55f5cdd54bb8778fe86df62ad66cf5ac0 | |
parent | 545a831768d5f6a5903ab086ddaffd8acdb6733b [diff] |
CGitFetchValidator: remove redundant specification of type argument Change-Id: Id2bc05dad273ee7a4cf01076165050c9f77dde8e
diff --git a/src/main/java/com/googlesource/gerrit/plugins/replication/pull/fetch/CGitFetchValidator.java b/src/main/java/com/googlesource/gerrit/plugins/replication/pull/fetch/CGitFetchValidator.java index 9a10898..434c0f0 100644 --- a/src/main/java/com/googlesource/gerrit/plugins/replication/pull/fetch/CGitFetchValidator.java +++ b/src/main/java/com/googlesource/gerrit/plugins/replication/pull/fetch/CGitFetchValidator.java
@@ -35,7 +35,7 @@ @Override public Void visit(AssistedInjectBinding<? extends FetchFactory> binding) { - TypeLiteral<CGitFetch> nativeGitFetchType = new TypeLiteral<CGitFetch>() {}; + TypeLiteral<CGitFetch> nativeGitFetchType = new TypeLiteral<>() {}; for (AssistedMethod method : binding.getAssistedMethods()) { if (method.getImplementationType().equals(nativeGitFetchType)) { String[] command = new String[] {"git", "--version"};