apply the upcoming rule unnecessary_this (#8838)
This commit is contained in:
committed by
GitHub
parent
90aa2957fe
commit
a0769f2488
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user