mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-10-17 02:11:38 +02:00
Update checkstyle config
- allow empty block, as long as there's some comment Change-Id: Idbaf727220dc9b2d301dfa19a8d3e185b1a865cd
This commit is contained in:
parent
3b3bd1e964
commit
94a9eed9ae
5
pom.xml
5
pom.xml
@ -77,6 +77,7 @@
|
||||
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<onos-build-conf.version>1.0</onos-build-conf.version>
|
||||
<netty4.version>4.0.23.Final</netty4.version>
|
||||
<copycat.version>0.5.0.onos</copycat.version>
|
||||
<openflowj.version>0.9.0.onos</openflowj.version>
|
||||
@ -596,7 +597,7 @@
|
||||
<dependency>
|
||||
<groupId>org.onosproject</groupId>
|
||||
<artifactId>onos-build-conf</artifactId>
|
||||
<version>1.0</version>
|
||||
<version>${onos-build-conf.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<configuration>
|
||||
@ -652,7 +653,7 @@
|
||||
<dependency>
|
||||
<groupId>org.onosproject</groupId>
|
||||
<artifactId>onos-build-conf</artifactId>
|
||||
<version>1.0</version>
|
||||
<version>${onos-build-conf.version}</version>
|
||||
</dependency>
|
||||
<!-- For Java 8 lambda support-->
|
||||
<dependency>
|
||||
|
@ -27,7 +27,7 @@
|
||||
|
||||
<groupId>org.onosproject</groupId>
|
||||
<artifactId>onos-build-conf</artifactId>
|
||||
<version>1.0</version>
|
||||
<version>1.1</version>
|
||||
<description>Various ONOS build settings</description>
|
||||
|
||||
<properties>
|
||||
|
@ -229,7 +229,10 @@
|
||||
<!-- ONOS alows declarations inside of switch case blocks -->
|
||||
<property name="allowInSwitchCase" value="true"/>
|
||||
</module>
|
||||
<module name="EmptyBlock"/>
|
||||
<module name="EmptyBlock">
|
||||
<!-- allow empty block, as long as there's some comment -->
|
||||
<property name="option" value="text"/>
|
||||
</module>
|
||||
<module name="LeftCurly"/>
|
||||
<module name="NeedBraces"/>
|
||||
<module name="RightCurly"/>
|
||||
|
Loading…
x
Reference in New Issue
Block a user