build - Update license headers formatting (#7024)

Apply license header changes to following sub projects:
:datatypes :config

---------

Signed-off-by: Usman Saleem <usman@usmans.info>
pull/7029/head
Usman Saleem 7 months ago committed by GitHub
parent 5d33af812a
commit c8e80f701b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      config/src/main/java/org/hyperledger/besu/config/CheckpointConfigOptions.java
  2. 3
      config/src/main/java/org/hyperledger/besu/config/CliqueConfigOptions.java
  3. 2
      config/src/main/java/org/hyperledger/besu/config/CliqueFork.java
  4. 3
      config/src/main/java/org/hyperledger/besu/config/Fork.java
  5. 2
      config/src/main/java/org/hyperledger/besu/config/JsonBftConfigOptions.java
  6. 2
      config/src/main/java/org/hyperledger/besu/config/JsonCliqueConfigOptions.java
  7. 2
      config/src/main/java/org/hyperledger/besu/config/JsonQbftConfigOptions.java
  8. 2
      config/src/test/java/org/hyperledger/besu/config/BFTForkTest.java
  9. 12
      config/src/test/java/org/hyperledger/besu/config/JsonQbftConfigOptionsTest.java
  10. 2
      datatypes/src/main/java/org/hyperledger/besu/datatypes/AccessListEntry.java
  11. 2
      datatypes/src/main/java/org/hyperledger/besu/datatypes/AccountValue.java
  12. 2
      datatypes/src/main/java/org/hyperledger/besu/datatypes/Address.java
  13. 2
      datatypes/src/main/java/org/hyperledger/besu/datatypes/BLSPublicKey.java
  14. 2
      datatypes/src/main/java/org/hyperledger/besu/datatypes/BLSSignature.java
  15. 2
      datatypes/src/main/java/org/hyperledger/besu/datatypes/Blob.java
  16. 2
      datatypes/src/main/java/org/hyperledger/besu/datatypes/BlobGas.java
  17. 2
      datatypes/src/main/java/org/hyperledger/besu/datatypes/BlobsWithCommitments.java
  18. 2
      datatypes/src/main/java/org/hyperledger/besu/datatypes/GWei.java
  19. 2
      datatypes/src/main/java/org/hyperledger/besu/datatypes/Hash.java
  20. 2
      datatypes/src/main/java/org/hyperledger/besu/datatypes/KZGCommitment.java
  21. 2
      datatypes/src/main/java/org/hyperledger/besu/datatypes/KZGProof.java
  22. 2
      datatypes/src/main/java/org/hyperledger/besu/datatypes/PendingTransaction.java
  23. 2
      datatypes/src/main/java/org/hyperledger/besu/datatypes/PublicKey.java
  24. 3
      datatypes/src/main/java/org/hyperledger/besu/datatypes/Sha256Hash.java
  25. 2
      datatypes/src/main/java/org/hyperledger/besu/datatypes/StorageSlotKey.java
  26. 3
      datatypes/src/main/java/org/hyperledger/besu/datatypes/VersionedHash.java
  27. 2
      datatypes/src/main/java/org/hyperledger/besu/datatypes/Wei.java
  28. 3
      datatypes/src/test/java/org/hyperledger/besu/datatypes/BlobsWithCommitmentsTest.java
  29. 2
      datatypes/src/test/java/org/hyperledger/besu/datatypes/GWeiTest.java
  30. 3
      datatypes/src/test/java/org/hyperledger/besu/datatypes/VersionedHashTest.java
  31. 2
      datatypes/src/test/java/org/hyperledger/besu/datatypes/WeiTest.java

@ -1,5 +1,5 @@
/* /*
* Copyright contributors to Hyperledger Besu * Copyright contributors to Hyperledger Besu.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at

@ -1,5 +1,5 @@
/* /*
* Copyright Hyperledger Besu Contributors. * Copyright contributors to Hyperledger Besu.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at
@ -12,7 +12,6 @@
* *
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
package org.hyperledger.besu.config; package org.hyperledger.besu.config;
import java.util.Map; import java.util.Map;

@ -1,5 +1,5 @@
/* /*
* Copyright Hyperledger Besu Contributors. * Copyright contributors to Hyperledger Besu.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at

@ -1,5 +1,5 @@
/* /*
* Copyright Hyperledger Besu Contributors. * Copyright contributors to Hyperledger Besu.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at
@ -12,7 +12,6 @@
* *
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
package org.hyperledger.besu.config; package org.hyperledger.besu.config;
/** A "custom hard fork" used for Proof of Authority network Transitions */ /** A "custom hard fork" used for Proof of Authority network Transitions */

@ -1,5 +1,5 @@
/* /*
* Copyright Hyperledger Besu Contributors. * Copyright contributors to Hyperledger Besu.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at

@ -1,5 +1,5 @@
/* /*
* Copyright Hyperledger Besu Contributors. * Copyright contributors to Hyperledger Besu.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at

@ -1,5 +1,5 @@
/* /*
* Copyright Hyperledger Besu Contributors. * Copyright contributors to Hyperledger Besu.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at

@ -1,5 +1,5 @@
/* /*
* Copyright Hyperledger Besu Contributors. * Copyright contributors to Hyperledger Besu.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at

@ -1,21 +1,17 @@
/* /*
* Copyright Hyperledger Besu Contributors. * Copyright contributors to Hyperledger Besu.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software distributed under the * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
* License is distributed on * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
* an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See
* the License for the
* 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.config; package org.hyperledger.besu.config;
import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThat;

@ -1,5 +1,5 @@
/* /*
* Copyright Hyperledger Besu Contributors. * Copyright contributors to Hyperledger Besu.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at

@ -1,5 +1,5 @@
/* /*
* Copyright contributors to Hyperledger Besu * Copyright contributors to Hyperledger Besu.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at

@ -1,5 +1,5 @@
/* /*
* Copyright contributors to Hyperledger Besu * Copyright contributors to Hyperledger Besu.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at

@ -1,5 +1,5 @@
/* /*
* Copyright contributors to Hyperledger Besu * Copyright contributors to Hyperledger Besu.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at

@ -1,5 +1,5 @@
/* /*
* Copyright contributors to Hyperledger Besu * Copyright contributors to Hyperledger Besu.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at

@ -1,5 +1,5 @@
/* /*
* Copyright Hyperledger Besu Contributors. * Copyright contributors to Hyperledger Besu.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at

@ -1,5 +1,5 @@
/* /*
* Copyright contributors to Hyperledger Besu * Copyright contributors to Hyperledger Besu.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at

@ -1,5 +1,5 @@
/* /*
* Copyright Hyperledger Besu Contributors. * Copyright contributors to Hyperledger Besu.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at

@ -1,5 +1,5 @@
/* /*
* Copyright contributors to Hyperledger Besu * Copyright contributors to Hyperledger Besu.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at

@ -1,5 +1,5 @@
/* /*
* Copyright contributors to Hyperledger Besu * Copyright contributors to Hyperledger Besu.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at

@ -1,5 +1,5 @@
/* /*
* Copyright Hyperledger Besu Contributors. * Copyright contributors to Hyperledger Besu.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at

@ -1,5 +1,5 @@
/* /*
* Copyright Hyperledger Besu Contributors. * Copyright contributors to Hyperledger Besu.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at

@ -1,5 +1,5 @@
/* /*
* Copyright Hyperledger Besu Contributors. * Copyright contributors to Hyperledger Besu.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at

@ -1,5 +1,5 @@
/* /*
* Copyright contributors to Hyperledger Besu * Copyright contributors to Hyperledger Besu.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at

@ -1,5 +1,5 @@
/* /*
* Copyright Hyperledger Besu contributors. * Copyright contributors to Hyperledger Besu.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at
@ -12,7 +12,6 @@
* *
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
package org.hyperledger.besu.datatypes; package org.hyperledger.besu.datatypes;
import org.apache.tuweni.bytes.Bytes; import org.apache.tuweni.bytes.Bytes;

@ -1,5 +1,5 @@
/* /*
* Copyright contributors to Hyperledger Besu * Copyright contributors to Hyperledger Besu.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at

@ -1,5 +1,5 @@
/* /*
* Copyright Hyperledger Besu Contributors. * Copyright contributors to Hyperledger Besu.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at
@ -12,7 +12,6 @@
* *
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
package org.hyperledger.besu.datatypes; package org.hyperledger.besu.datatypes;
import java.util.Objects; import java.util.Objects;

@ -1,5 +1,5 @@
/* /*
* Copyright contributors to Hyperledger Besu * Copyright contributors to Hyperledger Besu.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at

@ -1,5 +1,5 @@
/* /*
* Copyright Hyperledger Besu Contributors. * Copyright contributors to Hyperledger Besu.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at
@ -12,7 +12,6 @@
* *
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
package org.hyperledger.besu.datatypes; package org.hyperledger.besu.datatypes;
import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThat;

@ -1,5 +1,5 @@
/* /*
* Copyright Hyperledger Besu Contributors. * Copyright contributors to Hyperledger Besu.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at

@ -1,5 +1,5 @@
/* /*
* Copyright Hyperledger Besu Contributors. * Copyright contributors to Hyperledger Besu.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at
@ -12,7 +12,6 @@
* *
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
package org.hyperledger.besu.datatypes; package org.hyperledger.besu.datatypes;
import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertThrows;

@ -1,5 +1,5 @@
/* /*
* Copyright Hyperledger Besu Contributors. * Copyright contributors to Hyperledger Besu.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at * the License. You may obtain a copy of the License at

Loading…
Cancel
Save