Skip to content

Commit 82237d3

Browse files
authored
[improve][build] use SLASHSTAR_STYLE for licenses in Java files (#18177)
1 parent 91562d2 commit 82237d3

File tree

3,773 files changed

+3829
-4001
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,773 files changed

+3829
-4001
lines changed

bouncy-castle/bc/src/main/java/org/apache/pulsar/bcloader/BouncyCastleLoader.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
* Licensed to the Apache Software Foundation (ASF) under one
33
* or more contributor license agreements. See the NOTICE file
44
* distributed with this work for additional information

bouncy-castle/bc/src/main/java/org/apache/pulsar/bcloader/package-info.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
* Licensed to the Apache Software Foundation (ASF) under one
33
* or more contributor license agreements. See the NOTICE file
44
* distributed with this work for additional information
@@ -16,7 +16,6 @@
1616
* specific language governing permissions and limitations
1717
* under the License.
1818
*/
19-
2019
/**
2120
* Package for Bouncy Castle provider Loader.
2221
*/

bouncy-castle/bcfips-include-test/src/test/java/org/apache/pulsar/client/TlsProducerConsumerBase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
* Licensed to the Apache Software Foundation (ASF) under one
33
* or more contributor license agreements. See the NOTICE file
44
* distributed with this work for additional information

bouncy-castle/bcfips-include-test/src/test/java/org/apache/pulsar/client/TlsProducerConsumerTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
* Licensed to the Apache Software Foundation (ASF) under one
33
* or more contributor license agreements. See the NOTICE file
44
* distributed with this work for additional information

bouncy-castle/bcfips/src/main/java/org/apache/pulsar/bcloader/BouncyCastleFipsLoader.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
* Licensed to the Apache Software Foundation (ASF) under one
33
* or more contributor license agreements. See the NOTICE file
44
* distributed with this work for additional information

bouncy-castle/bcfips/src/main/java/org/apache/pulsar/bcloader/package-info.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
* Licensed to the Apache Software Foundation (ASF) under one
33
* or more contributor license agreements. See the NOTICE file
44
* distributed with this work for additional information

buildtools/pom.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
<slf4j.version>1.7.32</slf4j.version>
4444
<testng.version>7.3.0</testng.version>
4545
<commons-lang3.version>3.11</commons-lang3.version>
46+
<license-maven-plugin.version>4.1</license-maven-plugin.version>
4647
<maven-shade-plugin.version>3.4.0</maven-shade-plugin.version>
4748
<puppycrawl.checkstyle.version>8.37</puppycrawl.checkstyle.version>
4849
<maven-checkstyle-plugin.version>3.1.2</maven-checkstyle-plugin.version>
@@ -151,15 +152,15 @@
151152
<plugin>
152153
<groupId>com.mycila</groupId>
153154
<artifactId>license-maven-plugin</artifactId>
154-
<version>4.0.rc2</version>
155+
<version>${license-maven-plugin.version}</version>
155156
<configuration>
156157
<licenseSets>
157158
<licenseSet>
158159
<header>../src/license-header.txt</header>
159160
</licenseSet>
160161
</licenseSets>
161162
<mapping>
162-
<java>JAVADOC_STYLE</java>
163+
<java>SLASHSTAR_STYLE</java>
163164
</mapping>
164165
</configuration>
165166
</plugin>

buildtools/src/main/java/org/apache/pulsar/tests/AnnotationListener.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
* Licensed to the Apache Software Foundation (ASF) under one
33
* or more contributor license agreements. See the NOTICE file
44
* distributed with this work for additional information

buildtools/src/main/java/org/apache/pulsar/tests/BetweenTestClassesListenerAdapter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
* Licensed to the Apache Software Foundation (ASF) under one
33
* or more contributor license agreements. See the NOTICE file
44
* distributed with this work for additional information

buildtools/src/main/java/org/apache/pulsar/tests/EnumValuesDataProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
* Licensed to the Apache Software Foundation (ASF) under one
33
* or more contributor license agreements. See the NOTICE file
44
* distributed with this work for additional information

0 commit comments

Comments
 (0)