Remove explicit type arguments
See gh-10494
This commit is contained in:
committed by
Andy Wilkinson
parent
a256602c7b
commit
6168fae720
@@ -29,7 +29,7 @@ public class CustomCommandFactory implements CommandFactory {
|
||||
|
||||
@Override
|
||||
public Collection<Command> getCommands() {
|
||||
return Collections.<Command>singleton(new CustomCommand());
|
||||
return Collections.singleton(new CustomCommand());
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -44,7 +44,7 @@ import static org.assertj.core.api.Assertions.assertThat;
|
||||
public class ProjectGenerationRequestTests {
|
||||
|
||||
public static final Map<String, String> EMPTY_TAGS = Collections
|
||||
.<String, String>emptyMap();
|
||||
.emptyMap();
|
||||
|
||||
@Rule
|
||||
public final ExpectedException thrown = ExpectedException.none();
|
||||
|
||||
Reference in New Issue
Block a user