apply the upcoming rule unnecessary_this (#8838)

This commit is contained in:
Alexandre Ardhuin
2017-03-17 08:05:42 +01:00
committed by GitHub
parent 90aa2957fe
commit a0769f2488
17 changed files with 48 additions and 51 deletions

View File

@@ -130,9 +130,9 @@ class CommandArgs {
return false;
final CommandArgs otherCmd = other;
return otherCmd.command == this.command &&
const ListEquality<String>().equals(otherCmd.arguments, this.arguments) &&
const MapEquality<String, String>().equals(otherCmd.environment, this.environment);
return otherCmd.command == command &&
const ListEquality<String>().equals(otherCmd.arguments, arguments) &&
const MapEquality<String, String>().equals(otherCmd.environment, environment);
}
@override