Minor - fix compilation of task tool class list

- Set is declared as ToolTask but all elements extend from AutoToolTask, so the Set type is resolved to a too specific type
This commit is contained in:
ljacqu 2016-05-08 21:54:51 +02:00
parent ee08087871
commit f2e49dbf1e

View File

@ -14,7 +14,7 @@ import java.util.Set;
*/
public class UpdateDocsTask implements ToolTask {
private final Set<Class<? extends ToolTask>> TASKS = ImmutableSet.of(
private final Set<Class<? extends ToolTask>> TASKS = ImmutableSet.<Class<? extends ToolTask>>of(
CommandPageCreater.class, HashAlgorithmsDescriptionTask.class, PermissionsListWriter.class);
@Override