OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2014, the Dart project authors. | 2 * Copyright (c) 2014, the Dart project authors. |
3 * | 3 * |
4 * Licensed under the Eclipse Public License v1.0 (the "License"); you may not u
se this file except | 4 * Licensed under the Eclipse Public License v1.0 (the "License"); you may not u
se this file except |
5 * in compliance with the License. You may obtain a copy of the License at | 5 * in compliance with the License. You may obtain a copy of the License at |
6 * | 6 * |
7 * http://www.eclipse.org/legal/epl-v10.html | 7 * http://www.eclipse.org/legal/epl-v10.html |
8 * | 8 * |
9 * Unless required by applicable law or agreed to in writing, software distribut
ed under the License | 9 * Unless required by applicable law or agreed to in writing, software distribut
ed under the License |
10 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY K
IND, either express | 10 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY K
IND, either express |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 this.severity = severity; | 64 this.severity = severity; |
65 } | 65 } |
66 | 66 |
67 @Override | 67 @Override |
68 public String getCorrection() { | 68 public String getCorrection() { |
69 return null; | 69 return null; |
70 } | 70 } |
71 | 71 |
72 @Override | 72 @Override |
73 public ErrorSeverity getErrorSeverity() { | 73 public ErrorSeverity getErrorSeverity() { |
74 return severity; | 74 return ErrorSeverity.INFO; |
| 75 // return severity; |
75 } | 76 } |
76 | 77 |
77 @Override | 78 @Override |
78 public String getMessage() { | 79 public String getMessage() { |
79 return message; | 80 return message; |
80 } | 81 } |
81 | 82 |
82 @Override | 83 @Override |
83 public ErrorType getType() { | 84 public ErrorType getType() { |
84 return ErrorType.ANGULAR; | 85 return ErrorType.ANGULAR; |
85 } | 86 } |
86 } | 87 } |
OLD | NEW |