Chromium Code Reviews| Index: tools/android/checkstyle/chromium-style-5.0.xml |
| diff --git a/tools/android/checkstyle/chromium-style-5.0.xml b/tools/android/checkstyle/chromium-style-5.0.xml |
| index c43f7794f430506e3332b9fd178520dc2d45f866..6768548197a14aa8a31d636539bfdf3b6b9cffda 100644 |
| --- a/tools/android/checkstyle/chromium-style-5.0.xml |
| +++ b/tools/android/checkstyle/chromium-style-5.0.xml |
| @@ -101,8 +101,10 @@ |
| <property name="severity" value="error"/> |
| </module> |
| <module name="NeedBraces"> |
| - <property name="severity" value="info"/> |
| + <message key="needBraces" value="Only inline one line statements are allowed to have no curly braces."/> |
|
nyquist
2015/04/02 21:51:27
Nit: "Only inlined"
|
| + <property name="severity" value="error"/> |
| <property name="tokens" value="LITERAL_FOR, LITERAL_WHILE, LITERAL_DO"/> |
| + <property name="allowSingleLineStatement" value="true"/> |
| </module> |
| <module name="EmptyBlock"> |
| <property name="severity" value="error"/> |