Skip to content

Commit 16e249f

Browse files
committed
Update the regular expression
1 parent fc04f53 commit 16e249f

6 files changed

Lines changed: 18 additions & 12 deletions

File tree

checkstyle/asf.header.incremental

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1-
^\/\*$
2-
^( \*| \* +.*)$
3-
^ \*\/$
1+
^/\*$
2+
^( \*| \* +[^ h].*)$
3+
^ \* http://www\.apache\.org/licenses/LICENSE-2\.0$
4+
^( \*| \* +[^ h].*)$
5+
^ \*/$

checkstyle/checkstyle.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
<property name="severity" value="error"/>
7070
<property name="headerFile" value="${config_loc}/asf.header.incremental"/>
7171
<property name="fileExtensions" value="java"/>
72-
<property name="multiLines" value="2"/>
72+
<property name="multiLines" value="2,4"/>
7373
</module>
7474

7575
<!-- Maximum file line length -->
Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1-
^\/\*$
2-
^( \*| \* +.*)$
3-
^ \*\/$
1+
^/\*$
2+
^( \*| \* +[^ h].*)$
3+
^ \* http://www\.apache\.org/licenses/LICENSE-2\.0$
4+
^( \*| \* +[^ h].*)$
5+
^ \*/$

standalone-metastore/checkstyle/checkstyle.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
<property name="severity" value="error"/>
7070
<property name="headerFile" value="${config_loc}/asf.header.incremental"/>
7171
<property name="fileExtensions" value="java"/>
72-
<property name="multiLines" value="2"/>
72+
<property name="multiLines" value="2,4"/>
7373
</module>
7474

7575
<!-- Maximum file line length -->
Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1-
^\/\*$
2-
^( \*| \* +.*)$
3-
^ \*\/$
1+
^/\*$
2+
^( \*| \* +[^ h].*)$
3+
^ \* http://www\.apache\.org/licenses/LICENSE-2\.0$
4+
^( \*| \* +[^ h].*)$
5+
^ \*/$

storage-api/checkstyle/checkstyle.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
<property name="severity" value="error"/>
7070
<property name="headerFile" value="${config_loc}/asf.header.incremental"/>
7171
<property name="fileExtensions" value="java"/>
72-
<property name="multiLines" value="2"/>
72+
<property name="multiLines" value="2,4"/>
7373
</module>
7474

7575
<!-- Maximum file line length -->

0 commit comments

Comments
 (0)