Fixed braces.

This commit is contained in:
pq
2016-05-06 13:43:21 -07:00
parent 96de7c4dcc
commit c973629ed7

View File

@@ -217,10 +217,8 @@ class AnalysisErrorDescription {
String get errorType {
ErrorSeverity severity = errorCode.errorSeverity;
if (severity == ErrorSeverity.INFO) {
if (errorCode.type == ErrorType.HINT ||
errorCode.type == ErrorType.LINT) {
if (errorCode.type == ErrorType.HINT || errorCode.type == ErrorType.LINT)
return errorCode.type.displayName;
}
}
return severity.displayName;
}