Checkstyle: no space inside parentheses 12/51812/2
authorRobert Varga <rovarga@cisco.com>
Mon, 13 Feb 2017 19:02:43 +0000 (20:02 +0100)
committerRobert Varga <nite@hq.sk>
Thu, 2 Mar 2017 18:29:58 +0000 (18:29 +0000)
Add the ParenPad check to odl_checks.xml, which makes sure there is no
space after a left parenthesis and before a right parenthesis.

Change-Id: I2b843fa150b80b14043147377339b9c633e68b91
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
Signed-off-by: Robert Varga <rovarga@cisco.com>
checkstyle/src/main/resources/odl_checks.xml

index db4f698d0cf1b467145a702f2ac9c86f9b43ddf0..f1c23365b16285a2f0bb00bb3fc77516c0ae9277 100644 (file)
@@ -75,6 +75,7 @@
              <message key="ws.notPreceded"
              value="WhitespaceAround: ''{0}'' is not preceded with whitespace."/>
         </module>
+        <module name="ParenPad" />
         <module name="OneStatementPerLine"/>
         <module name="MultipleVariableDeclarations"/>
         <module name="ArrayTypeStyle"/>