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) {
var ctorName = ctor.name;
if (ctorName != null) {
logger.warning('Found ${numCtorsFound} ctors for class ${node.name},'
'Using constructor ${ctorName}.');
logger.warning('Found ${numCtorsFound} constructors for class '
'${node.name}; using constructor ${ctorName}.');
}
}
return ctor;