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:
parent
ee08087871
commit
f2e49dbf1e
@ -14,7 +14,7 @@ import java.util.Set;
|
|||||||
*/
|
*/
|
||||||
public class UpdateDocsTask implements ToolTask {
|
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);
|
CommandPageCreater.class, HashAlgorithmsDescriptionTask.class, PermissionsListWriter.class);
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user