build - Update license headers formatting (#7017)

Fix headers formatting under: enclave/ evm/ nat/ pki/ util/
---------

Signed-off-by: Usman Saleem <usman@usmans.info>
pull/7029/head
Usman Saleem 7 months ago committed by GitHub
parent 07765b57a8
commit 4c3f4b37a2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      enclave/src/integration-test/java/org/hyperledger/besu/enclave/TlsCertificateDefinition.java
  2. 1
      enclave/src/integration-test/java/org/hyperledger/besu/enclave/TlsEnabledEnclaveTest.java
  3. 1
      enclave/src/integration-test/java/org/hyperledger/besu/enclave/TlsEnabledHttpServerFactory.java
  4. 1
      enclave/src/integration-test/java/org/hyperledger/besu/enclave/TlsHelpers.java
  5. 1
      evm/src/main/java/org/hyperledger/besu/evm/gascalculator/ByzantiumGasCalculator.java
  6. 1
      evm/src/main/java/org/hyperledger/besu/evm/operation/VirtualOperation.java
  7. 1
      evm/src/main/java/org/hyperledger/besu/evm/precompile/AbstractAltBnPrecompiledContract.java
  8. 1
      evm/src/main/java/org/hyperledger/besu/evm/precompile/AbstractBLS12PrecompiledContract.java
  9. 1
      evm/src/main/java/org/hyperledger/besu/evm/precompile/BLS12G1AddPrecompiledContract.java
  10. 1
      evm/src/main/java/org/hyperledger/besu/evm/precompile/BLS12G1MulPrecompiledContract.java
  11. 1
      evm/src/main/java/org/hyperledger/besu/evm/precompile/BLS12G1MultiExpPrecompiledContract.java
  12. 1
      evm/src/main/java/org/hyperledger/besu/evm/precompile/BLS12G2AddPrecompiledContract.java
  13. 1
      evm/src/main/java/org/hyperledger/besu/evm/precompile/BLS12G2MulPrecompiledContract.java
  14. 1
      evm/src/main/java/org/hyperledger/besu/evm/precompile/BLS12G2MultiExpPrecompiledContract.java
  15. 1
      evm/src/main/java/org/hyperledger/besu/evm/precompile/BLS12MapFp2ToG2PrecompiledContract.java
  16. 1
      evm/src/main/java/org/hyperledger/besu/evm/precompile/BLS12MapFpToG1PrecompiledContract.java
  17. 1
      evm/src/main/java/org/hyperledger/besu/evm/precompile/BLS12PairingPrecompiledContract.java
  18. 2
      evm/src/main/java/org/hyperledger/besu/evm/worldstate/JournaledAccount.java
  19. 2
      evm/src/main/java/org/hyperledger/besu/evm/worldstate/UpdateTrackingAccount.java
  20. 1
      evm/src/test/java/org/hyperledger/besu/evm/precompile/BLS12G1AddPrecompiledContractTest.java
  21. 1
      evm/src/test/java/org/hyperledger/besu/evm/precompile/BLS12G1MulPrecompiledContractTest.java
  22. 1
      evm/src/test/java/org/hyperledger/besu/evm/precompile/BLS12G1MultiExpPrecompiledContractTest.java
  23. 1
      evm/src/test/java/org/hyperledger/besu/evm/precompile/BLS12G2AddPrecompiledContractTest.java
  24. 1
      evm/src/test/java/org/hyperledger/besu/evm/precompile/BLS12G2MulPrecompiledContractTest.java
  25. 1
      evm/src/test/java/org/hyperledger/besu/evm/precompile/BLS12G2MultiExpPrecompiledContractTest.java
  26. 1
      evm/src/test/java/org/hyperledger/besu/evm/precompile/BLS12MapFp2ToG2PrecompiledContractTest.java
  27. 1
      evm/src/test/java/org/hyperledger/besu/evm/precompile/BLS12MapFpToG1PrecompiledContractTest.java
  28. 1
      evm/src/test/java/org/hyperledger/besu/evm/precompile/BLS12PairingPrecompiledContractTest.java
  29. 2
      evm/src/test/java/org/hyperledger/besu/evm/precompile/Benchmarks.java
  30. 1
      nat/src/main/java/org/hyperledger/besu/nat/core/IpDetector.java
  31. 1
      nat/src/main/java/org/hyperledger/besu/nat/core/NatMethodDetector.java
  32. 1
      nat/src/main/java/org/hyperledger/besu/nat/core/domain/NatPortMapping.java
  33. 1
      nat/src/main/java/org/hyperledger/besu/nat/core/domain/NatServiceType.java
  34. 1
      nat/src/main/java/org/hyperledger/besu/nat/core/domain/NetworkProtocol.java
  35. 1
      nat/src/main/java/org/hyperledger/besu/nat/docker/DockerDetector.java
  36. 1
      nat/src/main/java/org/hyperledger/besu/nat/docker/DockerNatManager.java
  37. 1
      nat/src/main/java/org/hyperledger/besu/nat/docker/HostBasedIpDetector.java
  38. 1
      nat/src/main/java/org/hyperledger/besu/nat/kubernetes/KubernetesDetector.java
  39. 1
      nat/src/main/java/org/hyperledger/besu/nat/kubernetes/KubernetesNatManager.java
  40. 1
      nat/src/test/java/org/hyperledger/besu/nat/NatServiceTest.java
  41. 1
      nat/src/test/java/org/hyperledger/besu/nat/core/AbstractNatManagerTest.java
  42. 1
      pki/src/test/java/org/hyperledger/besu/pki/util/TestCertificateUtils.java
  43. 2
      util/src/main/java/org/hyperledger/besu/util/io/RollingFileReader.java
  44. 2
      util/src/main/java/org/hyperledger/besu/util/io/RollingFileWriter.java

@ -12,7 +12,6 @@
* *
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
package org.hyperledger.besu.enclave; package org.hyperledger.besu.enclave;
import java.io.File; import java.io.File;

@ -12,7 +12,6 @@
* *
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
package org.hyperledger.besu.enclave; package org.hyperledger.besu.enclave;
import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThat;

@ -12,7 +12,6 @@
* *
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
package org.hyperledger.besu.enclave; package org.hyperledger.besu.enclave;
import static org.hyperledger.besu.enclave.TlsHelpers.populateFingerprintFile; import static org.hyperledger.besu.enclave.TlsHelpers.populateFingerprintFile;

@ -12,7 +12,6 @@
* *
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
package org.hyperledger.besu.enclave; package org.hyperledger.besu.enclave;
import org.hyperledger.besu.crypto.MessageDigestFactory; import org.hyperledger.besu.crypto.MessageDigestFactory;

@ -11,7 +11,6 @@
* specific language governing permissions and limitations under the License. * specific language governing permissions and limitations under the License.
* *
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*
*/ */
package org.hyperledger.besu.evm.gascalculator; package org.hyperledger.besu.evm.gascalculator;

@ -12,7 +12,6 @@
* *
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
package org.hyperledger.besu.evm.operation; package org.hyperledger.besu.evm.operation;
import org.hyperledger.besu.evm.EVM; import org.hyperledger.besu.evm.EVM;

@ -11,7 +11,6 @@
* specific language governing permissions and limitations under the License. * specific language governing permissions and limitations under the License.
* *
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*
*/ */
package org.hyperledger.besu.evm.precompile; package org.hyperledger.besu.evm.precompile;

@ -11,7 +11,6 @@
* specific language governing permissions and limitations under the License. * specific language governing permissions and limitations under the License.
* *
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*
*/ */
package org.hyperledger.besu.evm.precompile; package org.hyperledger.besu.evm.precompile;

@ -11,7 +11,6 @@
* specific language governing permissions and limitations under the License. * specific language governing permissions and limitations under the License.
* *
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*
*/ */
package org.hyperledger.besu.evm.precompile; package org.hyperledger.besu.evm.precompile;

@ -11,7 +11,6 @@
* specific language governing permissions and limitations under the License. * specific language governing permissions and limitations under the License.
* *
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*
*/ */
package org.hyperledger.besu.evm.precompile; package org.hyperledger.besu.evm.precompile;

@ -11,7 +11,6 @@
* specific language governing permissions and limitations under the License. * specific language governing permissions and limitations under the License.
* *
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*
*/ */
package org.hyperledger.besu.evm.precompile; package org.hyperledger.besu.evm.precompile;

@ -11,7 +11,6 @@
* specific language governing permissions and limitations under the License. * specific language governing permissions and limitations under the License.
* *
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*
*/ */
package org.hyperledger.besu.evm.precompile; package org.hyperledger.besu.evm.precompile;

@ -11,7 +11,6 @@
* specific language governing permissions and limitations under the License. * specific language governing permissions and limitations under the License.
* *
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*
*/ */
package org.hyperledger.besu.evm.precompile; package org.hyperledger.besu.evm.precompile;

@ -11,7 +11,6 @@
* specific language governing permissions and limitations under the License. * specific language governing permissions and limitations under the License.
* *
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*
*/ */
package org.hyperledger.besu.evm.precompile; package org.hyperledger.besu.evm.precompile;

@ -11,7 +11,6 @@
* specific language governing permissions and limitations under the License. * specific language governing permissions and limitations under the License.
* *
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*
*/ */
package org.hyperledger.besu.evm.precompile; package org.hyperledger.besu.evm.precompile;

@ -11,7 +11,6 @@
* specific language governing permissions and limitations under the License. * specific language governing permissions and limitations under the License.
* *
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*
*/ */
package org.hyperledger.besu.evm.precompile; package org.hyperledger.besu.evm.precompile;

@ -11,7 +11,6 @@
* specific language governing permissions and limitations under the License. * specific language governing permissions and limitations under the License.
* *
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*
*/ */
package org.hyperledger.besu.evm.precompile; package org.hyperledger.besu.evm.precompile;

@ -11,9 +11,7 @@
* specific language governing permissions and limitations under the License. * specific language governing permissions and limitations under the License.
* *
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*
*/ */
package org.hyperledger.besu.evm.worldstate; package org.hyperledger.besu.evm.worldstate;
import static com.google.common.base.Preconditions.checkNotNull; import static com.google.common.base.Preconditions.checkNotNull;

@ -11,9 +11,7 @@
* specific language governing permissions and limitations under the License. * specific language governing permissions and limitations under the License.
* *
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*
*/ */
package org.hyperledger.besu.evm.worldstate; package org.hyperledger.besu.evm.worldstate;
import static com.google.common.base.Preconditions.checkNotNull; import static com.google.common.base.Preconditions.checkNotNull;

@ -11,7 +11,6 @@
* specific language governing permissions and limitations under the License. * specific language governing permissions and limitations under the License.
* *
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*
*/ */
package org.hyperledger.besu.evm.precompile; package org.hyperledger.besu.evm.precompile;

@ -11,7 +11,6 @@
* specific language governing permissions and limitations under the License. * specific language governing permissions and limitations under the License.
* *
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*
*/ */
package org.hyperledger.besu.evm.precompile; package org.hyperledger.besu.evm.precompile;

@ -11,7 +11,6 @@
* specific language governing permissions and limitations under the License. * specific language governing permissions and limitations under the License.
* *
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*
*/ */
package org.hyperledger.besu.evm.precompile; package org.hyperledger.besu.evm.precompile;

@ -11,7 +11,6 @@
* specific language governing permissions and limitations under the License. * specific language governing permissions and limitations under the License.
* *
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*
*/ */
package org.hyperledger.besu.evm.precompile; package org.hyperledger.besu.evm.precompile;

@ -11,7 +11,6 @@
* specific language governing permissions and limitations under the License. * specific language governing permissions and limitations under the License.
* *
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*
*/ */
package org.hyperledger.besu.evm.precompile; package org.hyperledger.besu.evm.precompile;

@ -11,7 +11,6 @@
* specific language governing permissions and limitations under the License. * specific language governing permissions and limitations under the License.
* *
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*
*/ */
package org.hyperledger.besu.evm.precompile; package org.hyperledger.besu.evm.precompile;

@ -11,7 +11,6 @@
* specific language governing permissions and limitations under the License. * specific language governing permissions and limitations under the License.
* *
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*
*/ */
package org.hyperledger.besu.evm.precompile; package org.hyperledger.besu.evm.precompile;

@ -11,7 +11,6 @@
* specific language governing permissions and limitations under the License. * specific language governing permissions and limitations under the License.
* *
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*
*/ */
package org.hyperledger.besu.evm.precompile; package org.hyperledger.besu.evm.precompile;

@ -11,7 +11,6 @@
* specific language governing permissions and limitations under the License. * specific language governing permissions and limitations under the License.
* *
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*
*/ */
package org.hyperledger.besu.evm.precompile; package org.hyperledger.besu.evm.precompile;

@ -11,9 +11,7 @@
* specific language governing permissions and limitations under the License. * specific language governing permissions and limitations under the License.
* *
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*
*/ */
package org.hyperledger.besu.evm.precompile; package org.hyperledger.besu.evm.precompile;
import static java.nio.charset.StandardCharsets.UTF_8; import static java.nio.charset.StandardCharsets.UTF_8;

@ -12,7 +12,6 @@
* *
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
package org.hyperledger.besu.nat.core; package org.hyperledger.besu.nat.core;
import java.util.Optional; import java.util.Optional;

@ -12,7 +12,6 @@
* *
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
package org.hyperledger.besu.nat.core; package org.hyperledger.besu.nat.core;
import org.hyperledger.besu.nat.NatMethod; import org.hyperledger.besu.nat.NatMethod;

@ -12,7 +12,6 @@
* *
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
package org.hyperledger.besu.nat.core.domain; package org.hyperledger.besu.nat.core.domain;
/** This class describes a NAT configuration. */ /** This class describes a NAT configuration. */

@ -12,7 +12,6 @@
* *
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
package org.hyperledger.besu.nat.core.domain; package org.hyperledger.besu.nat.core.domain;
/** /**

@ -12,7 +12,6 @@
* *
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
package org.hyperledger.besu.nat.core.domain; package org.hyperledger.besu.nat.core.domain;
/** /**

@ -12,7 +12,6 @@
* *
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
package org.hyperledger.besu.nat.docker; package org.hyperledger.besu.nat.docker;
import org.hyperledger.besu.nat.NatMethod; import org.hyperledger.besu.nat.NatMethod;

@ -12,7 +12,6 @@
* *
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
package org.hyperledger.besu.nat.docker; package org.hyperledger.besu.nat.docker;
import org.hyperledger.besu.nat.NatMethod; import org.hyperledger.besu.nat.NatMethod;

@ -12,7 +12,6 @@
* *
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
package org.hyperledger.besu.nat.docker; package org.hyperledger.besu.nat.docker;
import org.hyperledger.besu.nat.core.IpDetector; import org.hyperledger.besu.nat.core.IpDetector;

@ -12,7 +12,6 @@
* *
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
package org.hyperledger.besu.nat.kubernetes; package org.hyperledger.besu.nat.kubernetes;
import org.hyperledger.besu.nat.NatMethod; import org.hyperledger.besu.nat.NatMethod;

@ -12,7 +12,6 @@
* *
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
package org.hyperledger.besu.nat.kubernetes; package org.hyperledger.besu.nat.kubernetes;
import org.hyperledger.besu.nat.NatMethod; import org.hyperledger.besu.nat.NatMethod;

@ -12,7 +12,6 @@
* *
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
package org.hyperledger.besu.nat; package org.hyperledger.besu.nat;
import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThat;

@ -12,7 +12,6 @@
* *
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
package org.hyperledger.besu.nat.core; package org.hyperledger.besu.nat.core;
import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThat;

@ -12,7 +12,6 @@
* *
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
package org.hyperledger.besu.pki.util; package org.hyperledger.besu.pki.util;
import org.hyperledger.besu.pki.cms.CmsCreator; import org.hyperledger.besu.pki.cms.CmsCreator;

@ -11,9 +11,7 @@
* specific language governing permissions and limitations under the License. * specific language governing permissions and limitations under the License.
* *
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*
*/ */
package org.hyperledger.besu.util.io; package org.hyperledger.besu.util.io;
import java.io.Closeable; import java.io.Closeable;

@ -11,9 +11,7 @@
* specific language governing permissions and limitations under the License. * specific language governing permissions and limitations under the License.
* *
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*
*/ */
package org.hyperledger.besu.util.io; package org.hyperledger.besu.util.io;
import java.io.Closeable; import java.io.Closeable;

Loading…
Cancel
Save