refactor: Update multiple ctors warning with a space and grammar

Add a space before the word "using" and make spelling of
constructor/ctor consistent

Closes #3923
This commit is contained in:
Sam Rawlins 2015-09-29 10:34:47 -07:00 committed by Sam Rawlins
parent 947bf11cb6
commit eb2c15786e
1 changed files with 2 additions and 2 deletions

View File

@ -61,8 +61,8 @@ class ReflectionInfoVisitor extends RecursiveAstVisitor<ReflectionInfoModel> {
if (numCtorsFound > 1) { if (numCtorsFound > 1) {
var ctorName = ctor.name; var ctorName = ctor.name;
if (ctorName != null) { if (ctorName != null) {
logger.warning('Found ${numCtorsFound} ctors for class ${node.name},' logger.warning('Found ${numCtorsFound} constructors for class '
'Using constructor ${ctorName}.'); '${node.name}; using constructor ${ctorName}.');
} }
} }
return ctor; return ctor;