Skip to content

Commit

Permalink
[improve][misc] use SLASHSTAR_STYLE for Java files
Browse files Browse the repository at this point in the history
Signed-off-by: tison <[email protected]>
  • Loading branch information
tisonkun committed Sep 7, 2022
1 parent 09edcce commit 40f4fea
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions buildtools/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
<ant.version>1.10.12</ant.version>
<snakeyaml.version>1.31</snakeyaml.version>
<mockito.version>3.12.4</mockito.version>
<license-maven-plugin.version>4.0.rc2</license-maven-plugin.version>
<!-- required for running tests on JDK11+ -->
<test.additional.args>
--add-opens java.base/jdk.internal.loader=ALL-UNNAMED
Expand Down Expand Up @@ -151,15 +152,15 @@
<plugin>
<groupId>com.mycila</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>4.0.rc2</version>
<version>${license-maven-plugin.version}</version>
<configuration>
<licenseSets>
<licenseSet>
<header>../src/license-header.txt</header>
</licenseSet>
</licenseSets>
<mapping>
<java>JAVADOC_STYLE</java>
<java>SLASHSTAR_STYLE</java>
</mapping>
</configuration>
</plugin>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1546,7 +1546,7 @@ flexible messaging model and an intuitive client API.</description>
</licenseSet>
</licenseSets>
<mapping>
<java>JAVADOC_STYLE</java>
<java>SLASHSTAR_STYLE</java>
<proto>JAVADOC_STYLE</proto>
<go>DOUBLESLASH_STYLE</go>
<conf>SCRIPT_STYLE</conf>
Expand Down
4 changes: 2 additions & 2 deletions pulsar-sql/presto-distribution/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -329,15 +329,15 @@
<plugin>
<groupId>com.mycila</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>4.0.rc2</version>
<version>${license-maven-plugin.version}</version>
<configuration>
<licenseSets>
<licenseSet>
<header>../../src/license-header.txt</header>
</licenseSet>
</licenseSets>
<mapping>
<java>JAVADOC_STYLE</java>
<java>SLASHSTAR_STYLE</java>
</mapping>
</configuration>
</plugin>
Expand Down

0 comments on commit 40f4fea

Please sign in to comment.