fix: addresses a couple ddc type errors

See analyzer_plugin target here: https://travis-ci.org/angular/angular/jobs/72343034
This commit is contained in:
Vijay Menon 2015-07-23 14:25:12 -07:00 committed by Yegor Jbanov
parent fd46b49ea6
commit f1e4292072
1 changed files with 2 additions and 2 deletions

View File

@ -41,12 +41,12 @@ class BuildUnitDirectivesTask extends SourceBasedAnalysisTask {
outputs[DIRECTIVES] = metaList; outputs[DIRECTIVES] = metaList;
} }
static Map<String, TaskInput> buildInputs(LibrarySpecificUnit target) { static Map<String, TaskInput> buildInputs(AnalysisTarget target) {
return <String, TaskInput>{UNIT_INPUT: RESOLVED_UNIT.of(target)}; return <String, TaskInput>{UNIT_INPUT: RESOLVED_UNIT.of(target)};
} }
static BuildUnitDirectivesTask createTask( static BuildUnitDirectivesTask createTask(
AnalysisContext context, LibrarySpecificUnit target) { AnalysisContext context, AnalysisTarget target) {
return new BuildUnitDirectivesTask(context, target); return new BuildUnitDirectivesTask(context, target);
} }
} }