From 7edd13c5cf1aafebd716ff6d4aaaafed48bb1ab8 Mon Sep 17 00:00:00 2001 From: Kim Rader Date: Wed, 19 Feb 2025 16:20:57 -0800 Subject: [PATCH] Update copyright header for swirlds-logging, swirlds-metrics, swirlds-config, swirlds-common, hiero-dependency-versions files Signed-off-by: Kim Rader --- .../hedera/node/config/ConfigProvider.java | 17 +--------- .../hedera/node/config/NetworkProperty.java | 17 +--------- .../com/hedera/node/config/NodeProperty.java | 17 +--------- .../java/com/hedera/node/config/Utils.java | 17 +--------- .../node/config/VersionedConfigImpl.java | 17 +--------- .../node/config/VersionedConfiguration.java | 17 +--------- .../config/converter/AccountIDConverter.java | 17 +--------- .../node/config/converter/BytesConverter.java | 17 +--------- .../CongestionMultipliersConverter.java | 17 +--------- .../config/converter/ContractIDConverter.java | 17 +--------- .../EntityScaleFactorsConverter.java | 17 +--------- .../config/converter/FileIDConverter.java | 17 +--------- .../converter/FunctionalitySetConverter.java | 17 +--------- .../converter/KeyValuePairConverter.java | 17 +--------- .../converter/KnownBlockValuesConverter.java | 17 +--------- .../config/converter/LongPairConverter.java | 17 +--------- .../PermissionedAccountsRangeConverter.java | 17 +--------- .../converter/ScaleFactorConverter.java | 17 +--------- .../converter/SemanticVersionConverter.java | 17 +--------- .../node/config/data/AccountsConfig.java | 17 +--------- .../node/config/data/ApiPermissionConfig.java | 17 +--------- .../node/config/data/AutoCreationConfig.java | 17 +--------- .../node/config/data/AutoRenew2Config.java | 17 +--------- .../node/config/data/AutoRenewConfig.java | 17 +--------- .../node/config/data/BalancesConfig.java | 17 +--------- .../config/data/BlockRecordStreamConfig.java | 17 +--------- .../node/config/data/BlockStreamConfig.java | 17 +--------- .../node/config/data/BootstrapConfig.java | 17 +--------- .../hedera/node/config/data/CacheConfig.java | 17 +--------- .../node/config/data/ConsensusConfig.java | 17 +--------- .../node/config/data/ContractsConfig.java | 17 +--------- .../data/CryptoCreateWithAliasConfig.java | 17 +--------- .../node/config/data/EntitiesConfig.java | 17 +--------- .../hedera/node/config/data/ExpiryConfig.java | 17 +--------- .../hedera/node/config/data/FeesConfig.java | 17 +--------- .../hedera/node/config/data/FilesConfig.java | 17 +--------- .../hedera/node/config/data/GrpcConfig.java | 17 +--------- .../hedera/node/config/data/HederaConfig.java | 17 +--------- .../node/config/data/LazyCreationConfig.java | 17 +--------- .../hedera/node/config/data/LedgerConfig.java | 17 +--------- .../hedera/node/config/data/NettyConfig.java | 17 +--------- .../node/config/data/NetworkAdminConfig.java | 17 +--------- .../hedera/node/config/data/NodesConfig.java | 17 +--------- .../hedera/node/config/data/RatesConfig.java | 17 +--------- .../node/config/data/SchedulingConfig.java | 17 +--------- .../node/config/data/StakingConfig.java | 17 +--------- .../hedera/node/config/data/StatsConfig.java | 17 +--------- .../hedera/node/config/data/TokensConfig.java | 17 +--------- .../hedera/node/config/data/TopicsConfig.java | 17 +--------- .../node/config/data/TraceabilityConfig.java | 17 +--------- .../hedera/node/config/data/TssConfig.java | 17 +--------- .../node/config/data/UtilPrngConfig.java | 17 +--------- .../node/config/data/VersionConfig.java | 17 +--------- .../config/sources/DynamicConfigSource.java | 17 +--------- .../config/sources/PropertyConfigSource.java | 17 +--------- .../config/sources/SettingsConfigSource.java | 17 +--------- .../config/types/BlockStreamWriterMode.java | 17 +--------- .../config/types/CongestionMultipliers.java | 17 +--------- .../node/config/types/DiskNetworkExport.java | 17 +--------- .../node/config/types/EntityScaleFactors.java | 17 +--------- .../config/types/HederaFunctionalitySet.java | 17 +--------- .../node/config/types/KeyValuePair.java | 17 +--------- .../hedera/node/config/types/LongPair.java | 17 +--------- .../types/PermissionedAccountsRange.java | 17 +--------- .../com/hedera/node/config/types/Profile.java | 17 +--------- .../hedera/node/config/types/StreamMode.java | 17 +--------- .../config/types/TriggeredValuesParser.java | 17 +--------- .../config/types/UtilizationScaleFactors.java | 17 +--------- .../node/config/validation/EmulatesMap.java | 17 +--------- .../validation/EmulatesMapValidator.java | 17 +--------- .../src/main/java/module-info.java | 3 +- .../node/config/MixedAnnotatedConfig.java | 17 +--------- .../node/config/NoNetworkAnnotatedConfig.java | 17 +--------- .../com/hedera/node/config/UtilsTest.java | 17 +--------- .../converter/AccountIDConverterTest.java | 17 +--------- .../config/converter/BytesConverterTest.java | 17 +--------- .../CongestionMultipliersConverterTest.java | 17 +--------- .../converter/ContractIDConverterTest.java | 17 +--------- .../EntityScaleFactorsConverterTest.java | 17 +--------- .../config/converter/FileIDConverterTest.java | 17 +--------- .../converter/KeyValuePairConverterTest.java | 17 +--------- .../KnownBlockValuesConverterTest.java | 17 +--------- .../converter/LongPairConverterTest.java | 17 +--------- ...ermissionedAccountsRangeConverterTest.java | 17 +--------- .../converter/ScaleFactorConverterTest.java | 17 +--------- .../SemanticVersionConverterTest.java | 17 +--------- .../config/data/ApiPermissionConfigTest.java | 17 +--------- .../config/data/ConfigDataSupportTest.java | 17 +--------- .../node/config/data/GrpcConfigTest.java | 17 +--------- .../sources/DynamicConfigSourceTest.java | 17 +--------- .../sources/PropertyConfigSourceTest.java | 17 +--------- .../config/validation/BadDefinedRecord.java | 17 +--------- .../validation/CorrectDefinedRecord.java | 17 +--------- .../validation/EmulatesMapValidatorTest.java | 17 +--------- .../src/test/resources/alphabet.properties | 1 + .../testfixtures/HederaTestConfigBuilder.java | 17 +--------- .../src/testFixtures/java/module-info.java | 1 + hiero-dependency-versions/build.gradle.kts | 17 +--------- .../com/swirlds/common/AbstractHashable.java | 17 +--------- .../common/AutoCloseableNonThrowing.java | 17 +--------- .../main/java/com/swirlds/common/Console.java | 17 +--------- .../java/com/swirlds/common/Copyable.java | 17 +--------- .../java/com/swirlds/common/FastCopyable.java | 17 +--------- .../java/com/swirlds/common/Releasable.java | 17 +--------- .../java/com/swirlds/common/Reservable.java | 17 +--------- .../com/swirlds/common/RosterStateId.java | 17 +--------- .../java/com/swirlds/common/UniqueId.java | 17 +--------- .../common/concurrent/AbstractTask.java | 17 +--------- .../common/concurrent/ExecutorFactory.java | 17 +--------- .../internal/DefaultExecutorFactory.java | 17 +--------- .../internal/DefaultForkJoinWorkerThread.java | 17 +--------- .../DefaultForkJoinWorkerThreadFactory.java | 17 +--------- .../internal/DefaultThreadFactory.java | 17 +--------- .../common/config/BasicCommonConfig.java | 17 +--------- .../common/config/StateCommonConfig.java | 17 +--------- .../constructable/ClassConstructorPair.java | 17 +--------- .../constructable/ClassIdFormatter.java | 17 +--------- .../constructable/ConstructableClass.java | 17 +--------- .../constructable/ConstructableIgnored.java | 17 +--------- .../constructable/ConstructableRegistry.java | 17 +--------- .../ConstructableRegistryException.java | 17 +--------- .../ConstructableRegistryFactory.java | 17 +--------- .../constructable/ConstructorRegistry.java | 17 +--------- .../common/constructable/GenerateClassId.java | 17 +--------- .../constructable/NoArgsConstructor.java | 17 +--------- .../constructable/RuntimeConstructable.java | 17 +--------- .../URLClassLoaderWithLookup.java | 17 +--------- .../internal/ConstructableClasses.java | 17 +--------- .../internal/ConstructableScanner.java | 17 +--------- .../DefaultConstructableRegistry.java | 17 +--------- .../internal/GenericClassConstructorPair.java | 17 +--------- .../internal/GenericConstructorRegistry.java | 17 +--------- .../constructable/internal/MethodWrapper.java | 17 +--------- .../context/DefaultPlatformContext.java | 17 +--------- .../common/context/PlatformContext.java | 17 +--------- .../PlatformUncaughtExceptionHandler.java | 17 +--------- .../crypto/AbstractSerializableHashable.java | 17 +--------- .../swirlds/common/crypto/Cryptography.java | 17 +--------- .../common/crypto/CryptographyException.java | 17 +--------- .../common/crypto/CryptographyFactory.java | 17 +--------- .../common/crypto/CryptographyHolder.java | 17 +--------- .../com/swirlds/common/crypto/DigestType.java | 17 +--------- .../swirlds/common/crypto/FutureHashable.java | 17 +--------- .../java/com/swirlds/common/crypto/Hash.java | 17 +--------- .../swirlds/common/crypto/HashBuilder.java | 17 +--------- .../com/swirlds/common/crypto/Hashable.java | 17 +--------- .../common/crypto/HashingOutputStream.java | 17 +--------- .../crypto/InvalidDigestTypeException.java | 17 +--------- .../com/swirlds/common/crypto/KeyType.java | 17 +--------- .../com/swirlds/common/crypto/KeyUtils.java | 17 +--------- .../com/swirlds/common/crypto/Message.java | 17 +--------- .../swirlds/common/crypto/RunningHash.java | 17 +--------- .../common/crypto/RunningHashable.java | 17 +--------- .../common/crypto/SerializableHashable.java | 17 +--------- .../common/crypto/SerializablePublicKey.java | 17 +--------- .../com/swirlds/common/crypto/Signature.java | 17 +--------- .../swirlds/common/crypto/SignatureType.java | 17 +--------- .../common/crypto/TransactionSignature.java | 17 +--------- .../common/crypto/VerificationStatus.java | 17 +--------- .../common/crypto/config/CryptoConfig.java | 17 +--------- .../engine/CachingOperationProvider.java | 17 +--------- .../common/crypto/engine/CryptoEngine.java | 17 +--------- .../common/crypto/engine/DigestProvider.java | 17 +--------- .../EcdsaSecp256k1VerificationProvider.java | 17 +--------- .../crypto/engine/EcdsaSecp256k1Verifier.java | 17 +--------- .../engine/Ed25519VerificationProvider.java | 17 +--------- .../crypto/engine/OperationProvider.java | 17 +--------- .../crypto/engine/RunningHashProvider.java | 17 +--------- .../engine/SerializationDigestProvider.java | 17 +--------- .../common/crypto/internal/CryptoUtils.java | 17 +--------- .../exceptions/NotImplementedException.java | 17 +--------- .../common/exceptions/PlatformException.java | 17 +--------- .../exceptions/ReferenceCountException.java | 17 +--------- .../formatting/HorizontalAlignment.java | 17 +--------- .../formatting/StringFormattingUtils.java | 17 +--------- .../swirlds/common/formatting/TextEffect.java | 17 +--------- .../common/formatting/TextHistogram.java | 17 +--------- .../swirlds/common/formatting/TextTable.java | 17 +--------- .../swirlds/common/formatting/UnitFormat.java | 17 +--------- .../common/formatting/UnitFormatter.java | 17 +--------- .../common/io/ExternalSelfSerializable.java | 17 +--------- .../common/io/FunctionalSerialize.java | 17 +--------- .../com/swirlds/common/io/IOIterator.java | 17 +--------- .../swirlds/common/io/SelfSerializable.java | 17 +--------- .../swirlds/common/io/SerializableDet.java | 17 +--------- .../io/SerializableWithKnownLength.java | 17 +--------- .../java/com/swirlds/common/io/Versioned.java | 17 +--------- .../io/config/FileSystemManagerConfig.java | 17 +--------- .../common/io/config/TemporaryFileConfig.java | 17 +--------- .../common/io/exceptions/BadIOException.java | 17 +--------- .../io/exceptions/ClassNotFoundException.java | 17 +--------- .../io/exceptions/InvalidStreamPosition.java | 17 +--------- .../exceptions/InvalidVersionException.java | 17 +--------- .../MerkleSerializationException.java | 17 +--------- .../io/extendable/ExtendableInputStream.java | 17 +--------- .../io/extendable/ExtendableOutputStream.java | 17 +--------- .../io/extendable/InputStreamExtension.java | 17 +--------- .../io/extendable/OutputStreamExtension.java | 17 +--------- .../extensions/AbstractStreamExtension.java | 17 +--------- .../extensions/CountingStreamExtension.java | 17 +--------- .../extensions/ExpiringStreamExtension.java | 17 +--------- .../extensions/HashingStreamExtension.java | 17 +--------- .../extensions/MaxSizeStreamExtension.java | 17 +--------- .../extensions/ThrottleStreamExtension.java | 17 +--------- .../extensions/internal/Counter.java | 17 +--------- .../extensions/internal/StandardCounter.java | 17 +--------- .../internal/ThreadSafeCounter.java | 17 +--------- .../io/filesystem/FileSystemManager.java | 17 +--------- .../internal/FileSystemManagerImpl.java | 17 +--------- .../io/streams/AugmentedDataInputStream.java | 17 +--------- .../io/streams/AugmentedDataOutputStream.java | 17 +--------- .../DebuggableMerkleDataInputStream.java | 17 +--------- .../io/streams/MerkleDataInputStream.java | 17 +--------- .../io/streams/MerkleDataOutputStream.java | 17 +--------- .../streams/SerializableDataInputStream.java | 17 +--------- .../streams/SerializableDataOutputStream.java | 17 +--------- .../streams/SerializableStreamConstants.java | 17 +--------- .../common/io/streams/StreamDebugUtils.java | 17 +--------- .../internal/MerkleSerializationProtocol.java | 17 +--------- .../MerkleTreeSerializationOptions.java | 17 +--------- .../PartiallyConstructedMerkleInternal.java | 17 +--------- .../internal/SerializationOperation.java | 17 +--------- .../streams/internal/SerializationStack.java | 17 +--------- .../internal/SerializationStackElement.java | 17 +--------- .../swirlds/common/io/utility/FileUtils.java | 17 +--------- .../swirlds/common/io/utility/IOConsumer.java | 17 +--------- .../swirlds/common/io/utility/IORunnable.java | 17 +--------- .../swirlds/common/io/utility/IOSupplier.java | 17 +--------- .../utility/LegacyTemporaryFileBuilder.java | 17 +--------- .../common/io/utility/NoOpRecycleBin.java | 17 +--------- .../swirlds/common/io/utility/RecycleBin.java | 17 +--------- .../common/io/utility/RecycleBinImpl.java | 17 +--------- .../common/jackson/HashDeserializer.java | 17 +--------- .../common/jackson/InstantDeserializer.java | 17 +--------- .../swirlds/common/merkle/MerkleInternal.java | 17 +--------- .../com/swirlds/common/merkle/MerkleLeaf.java | 17 +--------- .../com/swirlds/common/merkle/MerkleNode.java | 17 +--------- .../common/merkle/copy/MerkleCopy.java | 17 +--------- .../common/merkle/copy/MerkleInitialize.java | 17 +--------- .../merkle/copy/MerklePathReplacement.java | 17 +--------- .../common/merkle/copy/NodeToCopy.java | 17 +--------- .../merkle/crypto/MerkleCryptoFactory.java | 17 +--------- .../merkle/crypto/MerkleCryptography.java | 17 +--------- .../crypto/MerkleCryptographyFactory.java | 17 +--------- .../crypto/internal/MerkleCryptoEngine.java | 17 +--------- .../MerkleInternalDigestProvider.java | 17 +--------- .../exceptions/FailedRehashException.java | 17 +--------- .../IllegalChildBoundsException.java | 17 +--------- .../IllegalChildCountException.java | 17 +--------- .../exceptions/IllegalChildHashException.java | 17 +--------- .../IllegalChildIndexException.java | 17 +--------- .../exceptions/IllegalChildTypeException.java | 17 +--------- .../exceptions/MerkleCopyException.java | 17 +--------- .../exceptions/MerkleRouteException.java | 17 +--------- .../common/merkle/hash/FutureMerkleHash.java | 17 +--------- .../common/merkle/hash/MerkleHashBuilder.java | 17 +--------- .../common/merkle/hash/MerkleHashChecker.java | 17 +--------- .../merkle/impl/ComposedMerkleInternal.java | 17 +--------- .../merkle/impl/ComposedMerkleLeaf.java | 17 +--------- .../impl/PartialBinaryMerkleInternal.java | 17 +--------- .../merkle/impl/PartialMerkleInternal.java | 17 +--------- .../common/merkle/impl/PartialMerkleLeaf.java | 17 +--------- .../impl/PartialNaryMerkleInternal.java | 17 +--------- .../DestroyableBinaryMerkleInternal.java | 17 +--------- .../destroyable/DestroyableMerkleLeaf.java | 17 +--------- .../DestroyableNaryMerkleInternal.java | 17 +--------- .../impl/internal/AbstractMerkleInternal.java | 17 +--------- .../impl/internal/AbstractMerkleNode.java | 17 +--------- .../merkle/interfaces/HasMerkleRoute.java | 17 +--------- .../merkle/interfaces/MerkleMigratable.java | 17 +--------- .../merkle/interfaces/MerkleParent.java | 17 +--------- .../merkle/interfaces/MerkleTraversable.java | 17 +--------- .../common/merkle/interfaces/MerkleType.java | 17 +--------- .../common/merkle/interfaces/Rebuildable.java | 17 +--------- .../iterators/MerkleIterationOrder.java | 17 +--------- .../merkle/iterators/MerkleIterator.java | 17 +--------- .../internal/BreadthFirstAlgorithm.java | 17 +--------- .../internal/MerkleIterationAlgorithm.java | 17 +--------- .../merkle/iterators/internal/NullNode.java | 17 +--------- .../PostOrderedDepthFirstAlgorithm.java | 17 +--------- .../PostOrderedDepthFirstRandomAlgorithm.java | 17 +--------- .../PreOrderedDepthFirstAlgorithm.java | 17 +--------- ...ReversePostOrderedDepthFirstAlgorithm.java | 17 +--------- .../common/merkle/route/MerkleRoute.java | 17 +--------- .../merkle/route/MerkleRouteFactory.java | 17 +--------- .../route/MerkleRouteFormatException.java | 17 +--------- .../merkle/route/MerkleRouteIterator.java | 17 +--------- .../common/merkle/route/MerkleRouteUtils.java | 17 +--------- .../route/ReverseMerkleRouteIterator.java | 17 +--------- .../route/internal/AbstractMerkleRoute.java | 17 +--------- .../route/internal/BinaryMerkleRoute.java | 17 +--------- .../internal/BinaryMerkleRouteIterator.java | 17 +--------- .../internal/UncompressedMerkleRoute.java | 17 +--------- .../UncompressedMerkleRouteIterator.java | 17 +--------- .../synchronization/LearningSynchronizer.java | 17 +--------- .../synchronization/TeachingSynchronizer.java | 17 +--------- .../config/ReconnectConfig.java | 17 +--------- .../stats/ReconnectMapMetrics.java | 17 +--------- .../stats/ReconnectMapStats.java | 17 +--------- .../streams/AsyncInputStream.java | 17 +--------- .../streams/AsyncOutputStream.java | 17 +--------- .../task/CustomViewRootLesson.java | 17 +--------- .../synchronization/task/ExpectedLesson.java | 17 +--------- .../task/InternalDataLesson.java | 17 +--------- .../synchronization/task/LeafDataLesson.java | 17 +--------- .../synchronization/task/LearnerPushTask.java | 17 +--------- .../merkle/synchronization/task/Lesson.java | 17 +--------- .../synchronization/task/LessonType.java | 17 +--------- .../synchronization/task/NodeToSend.java | 17 +--------- .../synchronization/task/QueryResponse.java | 17 +--------- .../task/ReconnectNodeCount.java | 17 +--------- .../task/TeacherPushReceiveTask.java | 17 +--------- .../task/TeacherPushSendTask.java | 17 +--------- .../synchronization/task/TeacherSubtree.java | 17 +--------- .../MerkleSynchronizationException.java | 17 +--------- .../views/CustomReconnectRoot.java | 17 +--------- .../views/LearnerExpectedLessonQueue.java | 17 +--------- .../views/LearnerInitializer.java | 17 +--------- .../views/LearnerPushMerkleTreeView.java | 17 +--------- .../views/LearnerTreeView.java | 17 +--------- .../views/MaybeCustomReconnectRoot.java | 17 +--------- .../views/TeacherHandleQueue.java | 17 +--------- .../views/TeacherPushMerkleTreeView.java | 17 +--------- .../views/TeacherResponseQueue.java | 17 +--------- .../views/TeacherResponseTracker.java | 17 +--------- .../views/TeacherTreeView.java | 17 +--------- .../synchronization/views/TreeView.java | 17 +--------- .../merkle/utility/AbstractListLeaf.java | 17 +--------- .../utility/DebugIterationEndpoint.java | 17 +--------- .../swirlds/common/merkle/utility/Keyed.java | 17 +--------- .../merkle/utility/KeyedMerkleLong.java | 17 +--------- .../merkle/utility/MerkleConstants.java | 17 +--------- .../common/merkle/utility/MerkleLong.java | 17 +--------- .../merkle/utility/MerkleTreeVisualizer.java | 17 +--------- .../common/merkle/utility/MerkleUtils.java | 17 +--------- .../merkle/utility/SerializableLong.java | 17 +--------- .../swirlds/common/metrics/DurationGauge.java | 17 +--------- .../swirlds/common/metrics/FunctionGauge.java | 17 +--------- .../metrics/IntegerPairAccumulator.java | 17 +--------- .../common/metrics/PlatformMetric.java | 17 +--------- .../common/metrics/PlatformMetricConfig.java | 17 +--------- .../common/metrics/PlatformMetrics.java | 17 +--------- .../metrics/PlatformMetricsFactory.java | 17 +--------- .../metrics/PlatformMetricsProvider.java | 17 +--------- .../common/metrics/RunningAverageMetric.java | 17 +--------- .../common/metrics/SpeedometerMetric.java | 17 +--------- .../com/swirlds/common/metrics/StatEntry.java | 17 +--------- .../common/metrics/config/MetricsConfig.java | 17 +--------- .../BaseExecutorFactoryMetrics.java | 17 +--------- .../metrics/extensions/CountPerSecond.java | 17 +--------- .../metrics/extensions/FractionalTimer.java | 17 +--------- .../extensions/NoOpFractionalTimer.java | 17 +--------- .../common/metrics/extensions/PhaseTimer.java | 17 +--------- .../metrics/extensions/PhaseTimerBuilder.java | 17 +--------- .../extensions/StandardFractionalTimer.java | 17 +--------- .../common/metrics/noop/NoOpMetrics.java | 17 +--------- .../noop/internal/AbstractNoOpMetric.java | 17 +--------- .../metrics/noop/internal/NoOpCounter.java | 17 +--------- .../noop/internal/NoOpDoubleAccumulator.java | 17 +--------- .../noop/internal/NoOpDoubleGauge.java | 17 +--------- .../noop/internal/NoOpDurationGauge.java | 17 +--------- .../noop/internal/NoOpFunctionGauge.java | 17 +--------- .../noop/internal/NoOpIntegerAccumulator.java | 17 +--------- .../noop/internal/NoOpIntegerGauge.java | 17 +--------- .../internal/NoOpIntegerPairAccumulator.java | 17 +--------- .../noop/internal/NoOpLongAccumulator.java | 17 +--------- .../metrics/noop/internal/NoOpLongGauge.java | 17 +--------- .../noop/internal/NoOpMetricsFactory.java | 17 +--------- .../internal/NoOpRunningAverageMetric.java | 17 +--------- .../noop/internal/NoOpSpeedometerMetric.java | 17 +--------- .../metrics/noop/internal/NoOpStatEntry.java | 17 +--------- .../noop/internal/NoOpStatsBuffered.java | 17 +--------- .../platform/AbstractDistributionMetric.java | 17 +--------- .../platform/DefaultMetricsProvider.java | 17 +--------- .../platform/DefaultPlatformMetrics.java | 17 +--------- .../metrics/platform/LegacyCsvWriter.java | 17 +--------- .../metrics/platform/MetricKeyRegistry.java | 17 +--------- .../common/metrics/platform/MetricsEvent.java | 17 +--------- .../metrics/platform/MetricsEventBus.java | 17 +--------- .../platform/MetricsUpdateService.java | 17 +--------- .../metrics/platform/PlatformCounter.java | 17 +--------- .../platform/PlatformDoubleAccumulator.java | 17 +--------- .../metrics/platform/PlatformDoubleGauge.java | 17 +--------- .../platform/PlatformDurationGauge.java | 17 +--------- .../platform/PlatformFunctionGauge.java | 17 +--------- .../platform/PlatformIntegerAccumulator.java | 17 +--------- .../platform/PlatformIntegerGauge.java | 17 +--------- .../PlatformIntegerPairAccumulator.java | 17 +--------- .../platform/PlatformLongAccumulator.java | 17 +--------- .../metrics/platform/PlatformLongGauge.java | 17 +--------- .../platform/PlatformMetricsFactoryImpl.java | 17 +--------- .../PlatformRunningAverageMetric.java | 17 +--------- .../platform/PlatformSpeedometerMetric.java | 17 +--------- .../metrics/platform/PlatformStatEntry.java | 17 +--------- .../metrics/platform/SnapshotEvent.java | 17 +--------- .../metrics/platform/SnapshotService.java | 17 +--------- .../prometheus/AbstractMetricAdapter.java | 17 +--------- .../platform/prometheus/BooleanAdapter.java | 17 +--------- .../platform/prometheus/CounterAdapter.java | 17 +--------- .../prometheus/DistributionAdapter.java | 17 +--------- .../platform/prometheus/MetricAdapter.java | 17 +--------- .../platform/prometheus/NameConverter.java | 17 +--------- .../platform/prometheus/NumberAdapter.java | 17 +--------- .../platform/prometheus/PrometheusConfig.java | 17 +--------- .../prometheus/PrometheusEndpoint.java | 17 +--------- .../platform/prometheus/StringAdapter.java | 17 +--------- .../metrics/statistics/StatSettings.java | 17 +--------- .../statistics/StatSettingsFactory.java | 17 +--------- .../metrics/statistics/StatsBuffered.java | 17 +--------- .../statistics/StatsRunningAverage.java | 17 +--------- .../metrics/statistics/StatsSpeedometer.java | 17 +--------- .../statistics/internal/StatsBuffer.java | 17 +--------- .../notification/AbstractNotification.java | 17 +--------- .../notification/DispatchException.java | 17 +--------- .../common/notification/DispatchMode.java | 17 +--------- .../common/notification/DispatchModel.java | 17 +--------- .../common/notification/DispatchOrder.java | 17 +--------- .../swirlds/common/notification/Listener.java | 17 +--------- .../NoListenersAvailableException.java | 17 +--------- .../common/notification/Notification.java | 17 +--------- .../notification/NotificationEngine.java | 17 +--------- .../notification/NotificationResult.java | 17 +--------- .../internal/AbstractNotificationEngine.java | 17 +--------- .../internal/AsyncNotificationEngine.java | 17 +--------- .../notification/internal/DispatchTask.java | 17 +--------- .../notification/internal/Dispatcher.java | 17 +--------- .../com/swirlds/common/platform/NodeId.java | 17 +--------- .../swirlds/common/platform/NodeIdCache.java | 17 +--------- .../common/platform/NodeIdConverter.java | 17 +--------- .../swirlds/common/startup/Log4jSetup.java | 17 +--------- .../common/stream/EventStreamType.java | 17 +--------- .../stream/HashCalculatorForStream.java | 17 +--------- .../com/swirlds/common/stream/HashSigner.java | 17 +--------- .../stream/LinkedObjectStreamUtilities.java | 17 +--------- .../swirlds/common/stream/MultiStream.java | 17 +--------- .../stream/QueueThreadObjectStream.java | 17 +--------- .../QueueThreadObjectStreamConfiguration.java | 17 +--------- .../stream/RunningEventHashOverride.java | 17 +--------- .../RunningHashCalculatorForStream.java | 17 +--------- .../com/swirlds/common/stream/Signer.java | 17 +--------- .../swirlds/common/stream/StreamAligned.java | 17 +--------- .../com/swirlds/common/stream/StreamType.java | 17 +--------- .../swirlds/common/stream/Timestamped.java | 17 +--------- .../internal/AbstractLinkedObjectStream.java | 17 +--------- .../internal/InvalidStreamFileException.java | 17 +--------- .../stream/internal/LinkedObjectStream.java | 17 +--------- .../LinkedObjectStreamValidateUtils.java | 17 +--------- .../stream/internal/SingleStreamIterator.java | 17 +--------- .../stream/internal/StreamFilesIterator.java | 17 +--------- .../stream/internal/StreamTypeFromJson.java | 17 +--------- .../internal/StreamValidationResult.java | 17 +--------- .../internal/TimestampStreamFileWriter.java | 17 +--------- .../threading/BlockingResourceProvider.java | 17 +--------- .../threading/atomic/AtomicIntPair.java | 17 +--------- .../framework/BlockingQueueInserter.java | 17 +--------- .../threading/framework/MultiQueueThread.java | 17 +--------- .../threading/framework/QueueThread.java | 17 +--------- .../threading/framework/QueueThreadPool.java | 17 +--------- .../common/threading/framework/Stoppable.java | 17 +--------- .../threading/framework/StoppableThread.java | 17 +--------- .../threading/framework/ThreadSeed.java | 17 +--------- .../framework/TypedStoppableThread.java | 17 +--------- .../config/MultiQueueThreadConfiguration.java | 17 +--------- .../config/QueueThreadConfiguration.java | 17 +--------- .../QueueThreadMetricsConfiguration.java | 17 +--------- .../config/QueueThreadPoolConfiguration.java | 17 +--------- .../config/StoppableThreadConfiguration.java | 17 +--------- .../framework/config/ThreadConfiguration.java | 17 +--------- .../internal/AbstractBlockingQueue.java | 17 +--------- ...AbstractMultiQueueThreadConfiguration.java | 17 +--------- .../AbstractQueueThreadConfiguration.java | 17 +--------- .../AbstractQueueThreadPoolConfiguration.java | 17 +--------- .../AbstractStoppableThreadConfiguration.java | 17 +--------- .../internal/AbstractThreadConfiguration.java | 17 +--------- .../internal/MeasuredBlockingQueue.java | 17 +--------- .../internal/MultiQueueThreadImpl.java | 17 +--------- .../framework/internal/QueueThreadImpl.java | 17 +--------- .../internal/QueueThreadMetrics.java | 17 +--------- .../internal/QueueThreadPoolImpl.java | 17 +--------- .../internal/StoppableThreadImpl.java | 17 +--------- .../internal/ThreadBuildingUtils.java | 17 +--------- .../futures/ConcurrentFuturePool.java | 17 +--------- .../common/threading/futures/FuturePool.java | 17 +--------- .../threading/futures/StandardFuture.java | 17 +--------- .../interrupt/InterruptableConsumer.java | 17 +--------- .../interrupt/InterruptableRunnable.java | 17 +--------- .../interrupt/InterruptableSupplier.java | 17 +--------- .../threading/interrupt/Uninterruptable.java | 17 +--------- .../threading/locks/AutoClosableLock.java | 17 +--------- .../locks/AutoClosableResourceLock.java | 17 +--------- .../common/threading/locks/IndexLock.java | 17 +--------- .../swirlds/common/threading/locks/Locks.java | 17 +--------- .../locks/internal/AcquiredOnTry.java | 17 +--------- .../locks/internal/AcquiredResource.java | 17 +--------- .../threading/locks/internal/AutoLock.java | 17 +--------- .../locks/internal/AutoNoOpLock.java | 17 +--------- .../locks/internal/DefaultIndexLock.java | 17 +--------- .../locks/internal/NotAcquiredResource.java | 17 +--------- .../locks/internal/ResourceLock.java | 17 +--------- .../common/threading/locks/locked/Locked.java | 17 +--------- .../locks/locked/LockedResource.java | 17 +--------- .../threading/locks/locked/MaybeLocked.java | 17 +--------- .../locks/locked/MaybeLockedResource.java | 17 +--------- .../threading/manager/AdHocThreadManager.java | 17 +--------- .../manager/StandardThreadManager.java | 17 +--------- .../threading/manager/ThreadManager.java | 17 +--------- .../pool/CachedPoolParallelExecutor.java | 17 +--------- .../pool/ParallelExecutionException.java | 17 +--------- .../threading/pool/ParallelExecutor.java | 17 +--------- .../threading/pool/StandardWorkGroup.java | 17 +--------- .../threading/utility/ThrowingRunnable.java | 17 +--------- .../swirlds/common/time/IntegerEpochTime.java | 17 +--------- .../com/swirlds/common/units/DataUnit.java | 17 +--------- .../swirlds/common/units/FrequencyUnit.java | 17 +--------- .../com/swirlds/common/units/TimeUnit.java | 17 +--------- .../java/com/swirlds/common/units/Unit.java | 17 +--------- .../common/units/internal/UnitConverter.java | 17 +--------- .../common/utility/AbstractReservable.java | 17 +--------- .../common/utility/AutoCloseableWrapper.java | 17 +--------- .../swirlds/common/utility/BinarySearch.java | 17 +--------- .../com/swirlds/common/utility/ByteUtils.java | 17 +--------- .../com/swirlds/common/utility/Clearable.java | 17 +--------- .../swirlds/common/utility/CommonUtils.java | 17 +--------- .../com/swirlds/common/utility/CompareTo.java | 17 +--------- .../swirlds/common/utility/DurationUtils.java | 17 +--------- .../swirlds/common/utility/EmptyIterator.java | 17 +--------- .../swirlds/common/utility/IntReference.java | 17 +--------- .../com/swirlds/common/utility/Labeled.java | 17 +--------- .../common/utility/LongRunningAverage.java | 17 +--------- .../com/swirlds/common/utility/Mnemonics.java | 17 +--------- .../utility/NonCryptographicHashing.java | 17 +--------- .../common/utility/RandomAccessDeque.java | 17 +--------- .../common/utility/ReferenceCounter.java | 17 +--------- .../common/utility/RuntimeObjectRecord.java | 17 +--------- .../common/utility/RuntimeObjectRegistry.java | 17 +--------- .../swirlds/common/utility/StackTrace.java | 17 +--------- .../com/swirlds/common/utility/StopWatch.java | 17 +--------- .../com/swirlds/common/utility/Threshold.java | 17 +--------- .../utility/ThresholdLimitingHandler.java | 17 +--------- .../common/utility/UnmodifiableIterator.java | 17 +--------- .../common/utility/ValueReference.java | 17 +--------- .../utility/throttle/MultiThrottle.java | 17 +--------- .../utility/throttle/RateLimitedLogger.java | 17 +--------- .../common/utility/throttle/RateLimiter.java | 17 +--------- .../common/utility/throttle/Throttle.java | 17 +--------- .../src/main/java/module-info.java | 17 +--------- .../common/config/BasicCommonConfigTest.java | 17 +--------- .../common/config/StateCommonConfigTest.java | 17 +--------- .../ConstructableRegistryTest.java | 17 +--------- .../ConstructorRegistryTest.java | 17 +--------- .../constructables/NoArgsConstructable.java | 17 +--------- .../NoArgsConstructableWithAnnotation.java | 17 +--------- .../scannable/ConstructableExample.java | 17 +--------- .../scannable/ConstructableRecord.java | 17 +--------- .../PrimitiveAndObjectConstructable.java | 17 +--------- .../scannable/StringConstructable.java | 17 +--------- .../subpackage/SubpackageConstructable.java | 17 +--------- .../BadReturnTypeConstructor.java | 17 +--------- .../MultipleMethodsConstructor.java | 17 +--------- .../constructors/NotInterfaceConstructor.java | 17 +--------- .../PrimitiveAndObjectConstructor.java | 17 +--------- .../constructors/RecordConstructor.java | 17 +--------- .../constructors/StringConstructor.java | 17 +--------- .../internal/DefaultPlatformContextTest.java | 17 +--------- .../crypto/CryptographyBenchmarkTests.java | 17 +--------- .../swirlds/common/crypto/DetRandomTests.java | 17 +--------- .../com/swirlds/common/crypto/HashTests.java | 17 +--------- .../common/crypto/RunningHashTest.java | 17 +--------- .../crypto/SerializablePublicKeyTests.java | 17 +--------- .../swirlds/common/crypto/SignatureTest.java | 17 +--------- .../common/crypto/SigningProviderTest.java | 17 +--------- .../crypto/TransactionSignatureTests.java | 17 +--------- .../crypto/config/CryptoConfigTest.java | 17 +--------- .../formatting/HorizontalAlignmentTests.java | 17 +--------- .../StringFormattingUtilsTests.java | 17 +--------- .../common/formatting/TextEffectTests.java | 17 +--------- .../common/formatting/UnitFormatterTests.java | 17 +--------- .../common/io/SelfSerializableTest.java | 17 +--------- .../io/extendable/MultiExtensionTests.java | 17 +--------- .../CountingStreamExtensionTests.java | 17 +--------- .../HashingStreamExtensionTests.java | 17 +--------- .../MaxSizeStreamExtensionTests.java | 17 +--------- .../internal/FileSystemManagerImplTest.java | 17 +--------- .../common/io/utility/FileUtilsTests.java | 17 +--------- .../LegacyTemporaryFileBuilderTests.java | 17 +--------- .../common/io/utility/RecycleBinTests.java | 17 +--------- .../jackson/InstantDeserializerTests.java | 17 +--------- .../config/ReconnectConfigTest.java | 17 +--------- .../common/metrics/DurationGaugeTest.java | 17 +--------- .../metrics/FunctionGaugeConfigTest.java | 17 +--------- .../common/metrics/FunctionGaugeTest.java | 17 +--------- .../IntegerPairAccumulatorConfigTest.java | 17 +--------- .../metrics/IntegerPairAccumulatorTest.java | 17 +--------- .../RunningAverageMetricConfigTest.java | 17 +--------- .../metrics/RunningAverageMetricTest.java | 17 +--------- .../metrics/SpeedometerMetricConfigTest.java | 17 +--------- .../common/metrics/SpeedometerMetricTest.java | 17 +--------- .../common/metrics/StatEntryConfigTest.java | 17 +--------- .../swirlds/common/metrics/StatEntryTest.java | 17 +--------- .../metrics/config/MetricsConfigTest.java | 17 +--------- .../extensions/CountPerSecondTest.java | 17 +--------- .../extensions/FractionalTimerTests.java | 17 +--------- .../metrics/extensions/PhaseTimerTests.java | 17 +--------- .../common/metrics/extensions/TestPhases.java | 17 +--------- .../common/metrics/noop/NoOpMetricsTest.java | 17 +--------- .../metrics/platform/LegacyCsvWriterTest.java | 17 +--------- .../platform/MetricKeyRegistrationTest.java | 17 +--------- .../metrics/platform/MetricsEventBusTest.java | 17 +--------- .../platform/PlatformDurationGaugeTest.java | 17 +--------- .../platform/PlatformFunctionGaugeTest.java | 17 +--------- .../PlatformIntegerPairAccumulatorTest.java | 17 +--------- .../PlatformRunningAverageMetricTest.java | 17 +--------- .../platform/PlatformStatEntryTest.java | 17 +--------- .../metrics/platform/SnapshotServiceTest.java | 17 +--------- .../prometheus/BooleanAdapterTest.java | 17 +--------- .../prometheus/CounterAdapterTest.java | 17 +--------- .../prometheus/DistributionAdapterTest.java | 17 +--------- .../platform/prometheus/NameConvertTest.java | 17 +--------- .../prometheus/NumberAdapterTest.java | 17 +--------- .../prometheus/PrometheusConfigTest.java | 17 +--------- .../prometheus/PrometheusEndpointTest.java | 17 +--------- .../prometheus/StringAdapterTest.java | 17 +--------- .../statistics/internal/StatsBufferTest.java | 17 +--------- .../common/set/RandomAccessSetTest.java | 17 +--------- .../stream/CountDownLatchStreamTest.java | 17 +--------- .../common/stream/HashCalculatorTest.java | 17 +--------- .../common/stream/MultiStreamTest.java | 17 +--------- .../stream/ObjectForTestStreamTest.java | 17 +--------- .../stream/QueueThreadObjectStreamTest.java | 17 +--------- .../stream/RunningHashCalculatorTest.java | 17 +--------- .../common/stream/StreamObjectTest.java | 17 +--------- .../swirlds/common/stream/StreamTypeTest.java | 17 +--------- .../common/stream/StreamUtilitiesTest.java | 17 +--------- .../stream/TimestampStreamFileWriterTest.java | 17 +--------- .../CachedPoolParallelExecutorTest.java | 17 +--------- ...ptionSuppressingParallelExecutorTests.java | 17 +--------- .../threading/MultiQueueThreadTests.java | 17 +--------- ...ReplaceSyncPhaseParallelExecutorTests.java | 17 +--------- .../SyncPhaseParallelExecutorTest.java | 17 +--------- .../swirlds/common/threading/ThreadTests.java | 17 +--------- .../threading/atomic/AtomicIntPairTest.java | 17 +--------- .../AbstractQueueThreadConfigurationTest.java | 17 +--------- .../MeasuredBlockingQueueConfigTest.java | 17 +--------- .../internal/MeasuredBlockingQueueTest.java | 17 +--------- .../interrupt/UninterruptableTest.java | 17 +--------- .../threading/locks/AutoclosableLockTest.java | 17 +--------- .../threading/manager/ThreadManagerTests.java | 17 +--------- .../threading/pool/StandardWorkGroupTest.java | 17 +--------- .../common/time/IntegerEpochTimeTest.java | 17 +--------- .../common/units/UnitConstantsTest.java | 17 +--------- .../com/swirlds/common/units/UnitTests.java | 17 +--------- .../common/utility/BinarySearchTests.java | 17 +--------- .../swirlds/common/utility/ByteUtilsTest.java | 17 +--------- .../common/utility/CommonUtilsTest.java | 17 +--------- .../swirlds/common/utility/CompareToTest.java | 17 +--------- .../common/utility/DurationUtilsTest.java | 17 +--------- .../utility/LongRunningAverageTests.java | 17 +--------- .../common/utility/MnemonicsTests.java | 17 +--------- .../utility/NonCryptographicHashTest.java | 17 +--------- .../utility/RandomAccessDequeTests.java | 17 +--------- .../common/utility/RandotronTests.java | 17 +--------- .../common/utility/ReferenceCounterTests.java | 17 +--------- .../common/utility/StackTraceTest.java | 17 +--------- .../swirlds/common/utility/StopWatchTest.java | 17 +--------- .../common/utility/ThresholdTests.java | 17 +--------- .../utility/UnmodifiableIteratorTests.java | 17 +--------- .../throttle/RateLimitedLoggerTests.java | 17 +--------- .../utility/throttle/RateLimiterTests.java | 17 +--------- .../common/test/fixtures/AssertionUtils.java | 17 +--------- .../common/test/fixtures/NameUtils.java | 17 +--------- .../common/test/fixtures/RandomUtils.java | 17 +--------- .../common/test/fixtures/Randotron.java | 17 +--------- .../test/fixtures/ResettableRandom.java | 17 +--------- .../test/fixtures/TestFileSystemManager.java | 17 +--------- .../common/test/fixtures/TestRecycleBin.java | 17 +--------- .../test/fixtures/TransactionGenerator.java | 17 +--------- .../common/test/fixtures/WeightGenerator.java | 17 +--------- .../test/fixtures/WeightGenerators.java | 17 +--------- .../benchmark/AbstractBenchmarkOperation.java | 17 +--------- .../test/fixtures/benchmark/Benchmark.java | 17 +--------- .../benchmark/BenchmarkConfiguration.java | 17 +--------- .../fixtures/benchmark/BenchmarkMetadata.java | 17 +--------- .../benchmark/BenchmarkOperation.java | 17 +--------- .../benchmark/BenchmarkStatistic.java | 17 +--------- .../benchmark/ImmutableStateManager.java | 17 +--------- .../benchmark/MutableStateManager.java | 17 +--------- .../test/fixtures/benchmark/StateManager.java | 17 +--------- .../fixtures/crypto/ECDSASigningProvider.java | 17 +--------- .../crypto/ED25519SigningProvider.java | 17 +--------- .../fixtures/crypto/EcdsaSignedTxnPool.java | 17 +--------- .../fixtures/crypto/MessageDigestPool.java | 17 +--------- .../crypto/PreGeneratedPublicKeys.java | 17 +--------- .../crypto/SerializableHashableDummy.java | 17 +--------- .../test/fixtures/crypto/SignaturePool.java | 17 +--------- .../test/fixtures/crypto/SigningProvider.java | 17 +--------- .../test/fixtures/crypto/SliceConsumer.java | 17 +--------- .../common/test/fixtures/dummy/Key.java | 17 +--------- .../common/test/fixtures/dummy/MerkleKey.java | 17 +--------- .../common/test/fixtures/dummy/Value.java | 17 +--------- .../common/test/fixtures/fcqueue/FCInt.java | 17 +--------- .../test/fixtures/io/BlockingInputStream.java | 17 +--------- .../fixtures/io/BlockingOutputStream.java | 17 +--------- .../test/fixtures/io/FileManipulation.java | 17 +--------- .../test/fixtures/io/InputOutputStream.java | 17 +--------- .../test/fixtures/io/ResourceLoader.java | 17 +--------- .../io/ResourceNotFoundException.java | 17 +--------- .../fixtures/io/SelfSerializableExample.java | 17 +--------- .../test/fixtures/io/SerializationUtils.java | 17 +--------- .../io/extendable/StreamSanityChecks.java | 17 +--------- .../junit/tags/TestComponentTags.java | 17 +--------- .../common/test/fixtures/map/MapPair.java | 17 +--------- .../common/test/fixtures/map/MapPairs.java | 17 +--------- .../merkle/dummy/BlockingInputStream.java | 17 +--------- .../merkle/dummy/BlockingOutputStream.java | 17 +--------- .../dummy/DummyBinaryMerkleInternal.java | 17 +--------- .../dummy/DummyCustomReconnectRoot.java | 17 +--------- .../dummy/DummyLearnerPushMerkleTreeView.java | 17 +--------- .../fixtures/merkle/dummy/DummyListLeaf.java | 17 +--------- .../merkle/dummy/DummyMerkleExternalLeaf.java | 17 +--------- .../merkle/dummy/DummyMerkleInternal.java | 17 +--------- .../merkle/dummy/DummyMerkleInternal2.java | 17 +--------- .../merkle/dummy/DummyMerkleLeaf.java | 17 +--------- .../merkle/dummy/DummyMerkleLeaf2.java | 17 +--------- .../merkle/dummy/DummyMerkleNode.java | 17 +--------- .../dummy/DummyTeacherPushMerkleTreeView.java | 17 +--------- .../dummy/SelfHashingDummyMerkleLeaf.java | 17 +--------- .../merkle/util/AverageLeafDepth.java | 17 +--------- .../merkle/util/LaggingAsyncOutputStream.java | 17 +--------- .../util/LaggingLearningSynchronizer.java | 17 +--------- .../util/LaggingTeachingSynchronizer.java | 17 +--------- .../merkle/util/MerkleSerializeUtils.java | 17 +--------- .../fixtures/merkle/util/MerkleTestUtils.java | 17 +--------- .../fixtures/merkle/util/PairedStreams.java | 17 +--------- .../platform/TestPlatformContextBuilder.java | 17 +--------- .../common/test/fixtures/set/Hotspot.java | 17 +--------- .../test/fixtures/set/HotspotHashSet.java | 17 +--------- .../test/fixtures/set/HotspotSetIterator.java | 17 +--------- .../fixtures/set/RandomAccessHashSet.java | 17 +--------- .../test/fixtures/set/RandomAccessSet.java | 17 +--------- .../fixtures/stream/CountDownLatchStream.java | 17 +--------- .../fixtures/stream/ObjectForTestStream.java | 17 +--------- .../stream/ObjectForTestStreamGenerator.java | 17 +--------- .../fixtures/stream/StreamFileSigner.java | 17 +--------- .../fixtures/stream/StreamObjectWorker.java | 17 +--------- .../test/fixtures/stream/TestStreamType.java | 17 +--------- .../stream/WriteToStreamConsumer.java | 17 +--------- .../fixtures/threading/ConcurrentTesting.java | 17 +--------- .../ExceptionSuppressingParallelExecutor.java | 17 +--------- .../ReplaceSyncPhaseParallelExecutor.java | 17 +--------- .../threading/SyncPhaseParallelExecutor.java | 17 +--------- .../src/testFixtures/java/module-info.java | 3 +- .../common/crypto/CryptographyTests.java | 17 +--------- .../ExpiringStreamExtensionTests.java | 17 +--------- .../ThrottleStreamExtensionTests.java | 17 +--------- .../metrics/platform/DefaultMetricsTest.java | 17 +--------- .../PlatformSpeedometerMetricTest.java | 17 +--------- .../AsyncOrderedIntegerListener.java | 17 +--------- .../AsyncUnorderedIntegerListener.java | 17 +--------- .../common/notification/DispatcherTests.java | 17 +--------- .../notification/IntegerNotification.java | 17 +--------- .../IntegerNotificationTests.java | 17 +--------- .../SyncOrderedIntegerListener.java | 17 +--------- .../SyncUnorderedIntegerListener.java | 17 +--------- .../stream/StreamingPerformanceTest.java | 17 +--------- .../common/stream/TestStreamManager.java | 17 +--------- ...efaultForkJoinWorkerThreadFactoryTest.java | 17 +--------- .../DefaultForkJoinWorkerThreadTest.java | 17 +--------- .../test/concurrent/ExecutorFactoryTest.java | 17 +--------- .../concurrent/ThreadLocalHandlingTest.java | 17 +--------- .../BlockingResourceProviderTest.java | 17 +--------- .../common/threading/ControllableQueue.java | 17 +--------- .../threading/QueueThreadPoolTests.java | 17 +--------- .../common/threading/QueueThreadTests.java | 17 +--------- .../threading/StoppableThreadTests.java | 17 +--------- .../futures/StandardFutureTests.java | 17 +--------- .../threading/locks/IndexLockTests.java | 17 +--------- .../threading/pool/ThreadPoolTests.java | 17 +--------- .../utility/throttle/BasicThrottleTest.java | 17 +--------- .../utility/throttle/MultiThrottleTest.java | 17 +--------- .../build.gradle.kts | 17 +--------- .../component/framework/WiringConfig.java | 17 +--------- .../framework/component/ComponentWiring.java | 17 +--------- .../framework/component/InputWireLabel.java | 17 +--------- .../framework/component/SchedulerLabel.java | 17 +--------- .../component/internal/FilterToBind.java | 17 +--------- .../component/internal/InputWireToBind.java | 17 +--------- .../component/internal/TransformerToBind.java | 17 +--------- .../internal/WiringComponentProxy.java | 17 +--------- .../counters/BackpressureObjectCounter.java | 17 +--------- .../framework/counters/EmptyBlocker.java | 17 +--------- .../counters/MultiObjectCounter.java | 17 +--------- .../framework/counters/NoOpObjectCounter.java | 17 +--------- .../framework/counters/ObjectCounter.java | 17 +--------- .../counters/StandardObjectCounter.java | 17 +--------- .../model/DeterministicWiringModel.java | 17 +--------- .../framework/model/StandardWiringModel.java | 17 +--------- .../framework/model/TraceableWiringModel.java | 17 +--------- .../framework/model/WiringModel.java | 17 +--------- .../framework/model/WiringModelBuilder.java | 17 +--------- .../model/diagram/HyperlinkBuilder.java | 17 +--------- .../model/diagram/ModelEdgeSubstitution.java | 17 +--------- .../framework/model/diagram/ModelGroup.java | 17 +--------- .../model/diagram/ModelManualLink.java | 17 +--------- .../model/internal/analysis/CycleFinder.java | 17 +--------- .../analysis/DirectSchedulerChecks.java | 17 +--------- .../model/internal/analysis/GroupVertex.java | 17 +--------- .../internal/analysis/InputWireChecks.java | 17 +--------- .../analysis/InputWireDescriptor.java | 17 +--------- .../analysis/MermaidNameShortener.java | 17 +--------- .../analysis/MermaidStyleManager.java | 17 +--------- .../model/internal/analysis/ModelEdge.java | 17 +--------- .../model/internal/analysis/ModelVertex.java | 17 +--------- .../analysis/ModelVertexMetaType.java | 17 +--------- .../internal/analysis/StandardVertex.java | 17 +--------- .../internal/analysis/WiringFlowchart.java | 17 +--------- .../DeterministicHeartbeatScheduler.java | 17 +--------- .../DeterministicTaskScheduler.java | 17 +--------- .../DeterministicTaskSchedulerBuilder.java | 17 +--------- .../model/internal/monitor/HealthMonitor.java | 17 +--------- .../internal/monitor/HealthMonitorLogger.java | 17 +--------- .../monitor/HealthMonitorMetrics.java | 17 +--------- .../standard/AbstractHeartbeatScheduler.java | 17 +--------- .../internal/standard/HeartbeatScheduler.java | 17 +--------- .../internal/standard/HeartbeatTask.java | 17 +--------- .../model/internal/standard/JvmAnchor.java | 17 +--------- .../framework/schedulers/TaskScheduler.java | 17 +--------- .../builders/TaskSchedulerBuilder.java | 17 +--------- .../builders/TaskSchedulerConfigOption.java | 17 +--------- .../builders/TaskSchedulerConfiguration.java | 17 +--------- .../builders/TaskSchedulerType.java | 17 +--------- .../AbstractTaskSchedulerBuilder.java | 17 +--------- .../StandardTaskSchedulerBuilder.java | 17 +--------- .../schedulers/internal/ConcurrentTask.java | 17 +--------- .../internal/ConcurrentTaskScheduler.java | 17 +--------- .../schedulers/internal/DefaultSquelcher.java | 17 +--------- .../internal/DirectTaskScheduler.java | 17 +--------- .../internal/NoOpTaskScheduler.java | 17 +--------- .../schedulers/internal/SequentialTask.java | 17 +--------- .../internal/SequentialTaskScheduler.java | 17 +--------- .../internal/SequentialThreadTask.java | 17 +--------- .../SequentialThreadTaskScheduler.java | 17 +--------- .../schedulers/internal/Squelcher.java | 17 +--------- .../internal/ThrowingSquelcher.java | 17 +--------- .../transformers/AdvancedTransformation.java | 17 +--------- .../framework/transformers/RoutableData.java | 17 +--------- .../framework/transformers/WireFilter.java | 17 +--------- .../transformers/WireListSplitter.java | 17 +--------- .../framework/transformers/WireRouter.java | 17 +--------- .../transformers/WireTransformer.java | 17 +--------- .../component/framework/wires/SolderType.java | 17 +--------- .../framework/wires/input/Bindable.java | 17 +--------- .../wires/input/BindableInputWire.java | 17 +--------- .../framework/wires/input/InputWire.java | 17 +--------- .../framework/wires/input/NoOpInputWire.java | 17 +--------- .../wires/input/TaskSchedulerInput.java | 17 +--------- .../wires/output/NoOpOutputWire.java | 17 +--------- .../framework/wires/output/OutputWire.java | 17 +--------- .../wires/output/StandardOutputWire.java | 17 +--------- .../output/internal/ForwardingOutputWire.java | 17 +--------- .../internal/TransformingOutputWire.java | 17 +--------- .../src/main/java/module-info.java | 17 +--------- .../framework/TestWiringModelBuilder.java | 17 +--------- .../framework/benchmark/WiringBenchmark.java | 17 +--------- .../benchmark/WiringBenchmarkEvent.java | 17 +--------- .../benchmark/WiringBenchmarkEventPool.java | 17 +--------- .../WiringBenchmarkEventVerifier.java | 17 +--------- .../benchmark/WiringBenchmarkGossip.java | 17 +--------- ...WiringBenchmarkTopologicalEventSorter.java | 17 +--------- .../TaskSchedulerConfigurationTests.java | 17 +--------- .../component/ComponentWiringRouterTests.java | 17 +--------- .../component/ComponentWiringTests.java | 17 +--------- .../WiringComponentPerformanceTests.java | 17 +--------- .../BackpressureObjectCounterTests.java | 17 +--------- .../counters/MultiObjectCounterTests.java | 17 +--------- .../counters/NoOpObjectCounterTests.java | 17 +--------- .../counters/StandardObjectCounterTests.java | 17 +--------- .../DeterministicHeartbeatSchedulerTests.java | 17 +--------- .../model/DeterministicModelTests.java | 17 +--------- .../component/framework/model/ModelTests.java | 17 +--------- .../internal/monitor/HealthMonitorTests.java | 17 +--------- .../ConcurrentTaskSchedulerTests.java | 17 +--------- .../schedulers/DefaultSquelcherTests.java | 17 +--------- .../schedulers/DirectTaskSchedulerTests.java | 17 +--------- .../schedulers/HeartbeatSchedulerTests.java | 17 +--------- .../schedulers/NoOpTaskSchedulerTests.java | 17 +--------- .../SequentialTaskSchedulerTests.java | 17 +--------- .../schedulers/ThrowingSquelcherTests.java | 17 +--------- .../TaskSchedulerTransformersTests.java | 17 +--------- .../transformers/WireRouterTests.java | 17 +--------- .../framework/wires/OutputWireTests.java | 17 +--------- .../com/swirlds/config/api/ConfigData.java | 17 +--------- .../swirlds/config/api/ConfigProperty.java | 17 +--------- .../com/swirlds/config/api/Configuration.java | 17 +--------- .../config/api/ConfigurationBuilder.java | 17 +--------- .../config/api/ConfigurationExtension.java | 17 +--------- .../config/api/converter/ConfigConverter.java | 17 +--------- .../api/intern/ConfigurationProvider.java | 17 +--------- .../config/api/source/ConfigSource.java | 17 +--------- .../api/spi/ConfigurationBuilderFactory.java | 17 +--------- .../validation/ConfigPropertyConstraint.java | 17 +--------- .../api/validation/ConfigValidator.java | 17 +--------- .../api/validation/ConfigViolation.java | 17 +--------- .../validation/ConfigViolationException.java | 17 +--------- .../api/validation/PropertyMetadata.java | 17 +--------- .../annotation/ConstraintMethod.java | 17 +--------- .../config/api/validation/annotation/Max.java | 17 +--------- .../config/api/validation/annotation/Min.java | 17 +--------- .../api/validation/annotation/Negative.java | 17 +--------- .../api/validation/annotation/Positive.java | 17 +--------- .../src/main/java/module-info.java | 1 + .../src/testFixtures/java/module-info.java | 1 + .../config/extensions/ConfigUtils.java | 17 +--------- .../extensions/export/ConfigExport.java | 17 +--------- .../reflection/ConfigReflectionUtils.java | 17 +--------- .../sources/AbstractConfigSource.java | 17 +--------- .../sources/AbstractFileConfigSource.java | 17 +--------- .../sources/ClasspathFileConfigSource.java | 17 +--------- .../extensions/sources/ConfigMapping.java | 17 +--------- .../sources/ConfigSourceOrdinalConstants.java | 17 +--------- .../sources/LegacyFileConfigSource.java | 17 +--------- .../sources/MappedConfigSource.java | 17 +--------- .../sources/PropertyFileConfigSource.java | 17 +--------- .../sources/SimpleConfigSource.java | 17 +--------- .../SystemEnvironmentConfigSource.java | 17 +--------- .../sources/SystemPropertiesConfigSource.java | 17 +--------- .../extensions/sources/YamlConfigSource.java | 17 +--------- .../validators/DefaultConfigViolation.java | 17 +--------- .../src/main/java/module-info.java | 17 +--------- .../test/ConfigExportTestConstants.java | 17 +--------- .../test/ClasspathFileConfigSourceTest.java | 17 +--------- .../extensions/test/ConfigUtilsTests.java | 17 +--------- .../test/MappedConfigSourceTest.java | 17 +--------- .../test/PropertyFileConfigSourceTest.java | 17 +--------- .../test/SimpleConfigSourceTest.java | 17 +--------- .../test/export/ConfigExportTest.java | 17 +--------- .../test/sources/YamlConfigSourceTest.java | 17 +--------- .../src/test/resources/config1.properties | 2 +- .../src/test/resources/config2.properties | 2 +- .../src/test/resources/config3.properties | 2 +- .../extensions/test/fixtures/ConfigUtils.java | 34 ++----------------- .../test/fixtures/TestConfigBuilder.java | 17 +--------- .../src/testFixtures/java/module-info.java | 1 + .../config/benchmark/ConfigBenchmark.java | 17 +--------- .../benchmark/ConfigUtilsBenchmark.java | 17 +--------- .../swirlds/config/benchmark/app.properties | 2 +- .../impl/converters/BigDecimalConverter.java | 17 +--------- .../impl/converters/BigIntegerConverter.java | 17 +--------- .../impl/converters/BooleanConverter.java | 17 +--------- .../config/impl/converters/ByteConverter.java | 17 +--------- .../impl/converters/ChronoUnitConverter.java | 17 +--------- .../impl/converters/DoubleConverter.java | 17 +--------- .../impl/converters/DurationConverter.java | 17 +--------- .../config/impl/converters/EnumConverter.java | 17 +--------- .../config/impl/converters/FileConverter.java | 17 +--------- .../impl/converters/FloatConverter.java | 17 +--------- .../impl/converters/InetAddressConverter.java | 17 +--------- .../impl/converters/IntegerConverter.java | 17 +--------- .../config/impl/converters/LongConverter.java | 17 +--------- .../config/impl/converters/PathConverter.java | 17 +--------- .../impl/converters/ShortConverter.java | 17 +--------- .../impl/converters/StringConverter.java | 17 +--------- .../config/impl/converters/UriConverter.java | 17 +--------- .../config/impl/converters/UrlConverter.java | 17 +--------- .../converters/ZonedDateTimeConverter.java | 17 +--------- .../impl/internal/ConfigDataFactory.java | 17 +--------- .../impl/internal/ConfigDataService.java | 17 +--------- .../config/impl/internal/ConfigLifecycle.java | 17 +--------- .../config/impl/internal/ConfigListUtils.java | 17 +--------- .../impl/internal/ConfigNumberUtils.java | 17 +--------- .../internal/ConfigPropertiesService.java | 17 +--------- .../impl/internal/ConfigSourceService.java | 17 +--------- .../internal/ConfigValidationService.java | 17 +--------- .../ConfigurationBuilderFactoryImpl.java | 17 +--------- .../internal/ConfigurationBuilderImpl.java | 17 +--------- .../impl/internal/ConfigurationImpl.java | 17 +--------- .../impl/internal/ConstraintValidator.java | 17 +--------- .../impl/internal/ConverterService.java | 17 +--------- .../impl/internal/PropertyMetadataImpl.java | 17 +--------- .../validators/DefaultConfigViolation.java | 17 +--------- .../config/impl/validators/MinConstraint.java | 17 +--------- .../impl/validators/MinLengthConstraint.java | 17 +--------- .../validators/PropertyExistsConstraint.java | 17 +--------- .../PropertyValueConvertableConstraint.java | 17 +--------- ...ConstraintMethodConstraintsValidation.java | 17 +--------- .../internal/MaxConstraintsValidation.java | 17 +--------- .../internal/MinConstraintsValidation.java | 17 +--------- .../NegativeConstraintsValidation.java | 17 +--------- .../PositiveConstraintsValidation.java | 17 +--------- .../src/main/java/module-info.java | 1 + .../config/impl/ConfigApiListTests.java | 17 +--------- .../config/impl/ConfigApiRecordsTests.java | 17 +--------- .../config/impl/ConfigApiSetTests.java | 17 +--------- .../swirlds/config/impl/ConfigApiTests.java | 17 +--------- .../config/impl/EmptyCollectionConfig.java | 17 +--------- .../swirlds/config/impl/NetworkConfig.java | 17 +--------- .../com/swirlds/config/impl/NullConfig.java | 17 +--------- .../config/impl/TestDateConverter.java | 17 +--------- .../converters/BigDecimalConverterTest.java | 17 +--------- .../converters/BigIntegerConverterTest.java | 17 +--------- .../impl/converters/BooleanConverterTest.java | 17 +--------- .../impl/converters/ByteConverterTest.java | 17 +--------- .../converters/ChronoUnitConverterTest.java | 17 +--------- .../impl/converters/DoubleConverterTest.java | 17 +--------- .../converters/DurationConverterTest.java | 17 +--------- .../impl/converters/EnumConverterTest.java | 17 +--------- .../impl/converters/FileConverterTest.java | 17 +--------- .../impl/converters/FloatConverterTest.java | 17 +--------- .../impl/converters/IntegerConverterTest.java | 17 +--------- .../impl/converters/LongConverterTest.java | 17 +--------- .../impl/converters/PathConverterTest.java | 17 +--------- .../impl/converters/ShortConverterTest.java | 17 +--------- .../impl/converters/UriConverterTest.java | 17 +--------- .../impl/converters/UrlConverterTest.java | 17 +--------- .../ZonedDateTimeConverterTest.java | 17 +--------- .../impl/internal/ConfigNumberUtilsTest.java | 17 +--------- .../ConfigurationBuilderFactoryImplTest.java | 17 +--------- .../impl/internal/ConverterServiceTest.java | 17 +--------- .../swirlds/config/impl/sub/TestConfig.java | 17 +--------- .../config/impl/validators/DummyMetadata.java | 17 +--------- .../impl/validators/MinConstraintTest.java | 17 +--------- .../validators/MinLengthConstraintTest.java | 17 +--------- .../PropertyExistsConstraintTest.java | 17 +--------- ...ropertyValueConvertableConstraintTest.java | 17 +--------- .../BrokenConstraintMethodConfigData.java | 17 +--------- .../ConstraintMethodConfigData.java | 17 +--------- .../annotation/ConstraintMethodTest.java | 17 +--------- .../impl/validators/annotation/MaxTest.java | 17 +--------- .../annotation/MaxTestConfigData.java | 17 +--------- .../impl/validators/annotation/MinTest.java | 17 +--------- .../annotation/MinTestConfigData.java | 17 +--------- .../annotation/NegativeConfigData.java | 17 +--------- .../validators/annotation/NegativeTest.java | 17 +--------- .../annotation/PositiveConfigData.java | 17 +--------- .../validators/annotation/PositiveTest.java | 17 +--------- .../com/swirlds/config/impl/test.properties | 2 +- .../ConfigDataAnnotationProcessor.java | 17 +--------- .../ConfigDataPropertyDefinition.java | 17 +--------- .../processor/ConfigDataRecordDefinition.java | 17 +--------- .../processor/ConfigProcessorConstants.java | 17 +--------- .../processor/ConstantClassFactory.java | 17 +--------- .../processor/DocumentationFactory.java | 17 +--------- .../config/processor/MarkdownSyntax.java | 17 +--------- .../antlr/AntlrConfigRecordParser.java | 17 +--------- .../config/processor/antlr/AntlrUtils.java | 17 +--------- .../processor/antlr/generated/JavaLexer.java | 17 +--------- .../processor/antlr/generated/JavaParser.java | 17 +--------- .../generated/JavaParserBaseListener.java | 17 +--------- .../antlr/generated/JavaParserListener.java | 17 +--------- .../antlr/generated/JavadocLexer.java | 17 +--------- .../antlr/generated/JavadocParser.java | 17 +--------- .../generated/JavadocParserBaseListener.java | 17 +--------- .../generated/JavadocParserListener.java | 17 +--------- .../src/main/java/module-info.java | 1 + .../processor/DocumentationFactoryTest.java | 17 +--------- .../logging/log4j/factory/BaseLogger.java | 17 +--------- .../log4j/factory/BaseLoggerContext.java | 17 +--------- .../factory/BaseLoggerContextFactory.java | 17 +--------- .../log4j/factory/BaseLoggingProvider.java | 17 +--------- .../log4j/factory/EmergencyBaseLogger.java | 17 +--------- .../logging/log4j/factory/Log4JMessage.java | 17 +--------- .../logging/log4j/factory/Log4JProvider.java | 17 +--------- .../log4j/factory/Log4JProviderFactory.java | 17 +--------- .../src/main/java/module-info.java | 1 + .../log4j/factory/SwirldsLogAppenderTest.java | 17 +--------- .../com/swirlds/logging/benchmark/Runner.java | 17 +--------- .../benchmark/bridged/BridgedBenchmark.java | 17 +--------- .../bridged/BridgedFineGrainBenchmark.java | 17 +--------- .../bridged/BridgedLog4JConfiguration.java | 17 +--------- .../bridged/BridgedSwirldsLogConfig.java | 17 +--------- .../logging/benchmark/config/Constants.java | 17 +--------- .../config/LoggingBenchmarkConfig.java | 17 +--------- .../benchmark/log4j2/Log4J2BaseBenchmark.java | 17 +--------- .../benchmark/log4j2/Log4J2Benchmark.java | 17 +--------- .../log4j2/Log4J2FineGrainBenchmark.java | 17 +--------- .../benchmark/log4j2/Log4JBaseConfig.java | 17 +--------- .../logging/benchmark/log4j2/Log4JRunner.java | 17 +--------- .../benchmark/log4j2/plain/Log4JConfig.java | 17 +--------- .../log4j2/rolling/Log4JRollingConfig.java | 17 +--------- .../swirldslog/SwirldsLogBaseBenchmark.java | 17 +--------- .../swirldslog/SwirldsLogBenchmark.java | 17 +--------- .../SwirldsLogFineGrainBenchmark.java | 17 +--------- .../swirldslog/SwirldsLogRunner.java | 17 +--------- .../swirldslog/plain/SwirldsLogConfig.java | 17 +--------- .../rolling/RollingSwirldsLogConfig.java | 17 +--------- .../benchmark/util/ConfigManagement.java | 17 +--------- .../logging/benchmark/util/LogFiles.java | 17 +--------- .../logging/benchmark/util/Throwables.java | 17 +--------- .../java/com/swirlds/logging/api/Level.java | 17 +--------- .../java/com/swirlds/logging/api/Logger.java | 17 +--------- .../java/com/swirlds/logging/api/Loggers.java | 17 +--------- .../java/com/swirlds/logging/api/Marker.java | 17 +--------- .../extensions/emergency/EmergencyLogger.java | 17 +--------- .../emergency/EmergencyLoggerProvider.java | 17 +--------- .../extensions/emergency/package-info.java | 1 + .../api/extensions/event/LogEvent.java | 17 +--------- .../extensions/event/LogEventConsumer.java | 17 +--------- .../api/extensions/event/LogEventFactory.java | 17 +--------- .../api/extensions/event/LogMessage.java | 17 +--------- .../api/extensions/event/package-info.java | 1 + .../handler/AbstractLogHandler.java | 17 +--------- .../api/extensions/handler/LogHandler.java | 17 +--------- .../extensions/handler/LogHandlerFactory.java | 17 +--------- .../api/extensions/handler/package-info.java | 1 + .../logging/api/extensions/package-info.java | 1 + .../provider/AbstractLogProvider.java | 17 +--------- .../api/extensions/provider/LogProvider.java | 17 +--------- .../provider/LogProviderFactory.java | 17 +--------- .../api/extensions/provider/package-info.java | 1 + .../api/internal/DefaultLoggingSystem.java | 17 +--------- .../logging/api/internal/LoggerImpl.java | 17 +--------- .../logging/api/internal/LoggingSystem.java | 17 +--------- .../configuration/ConfigLevelConverter.java | 17 +--------- .../configuration/InternalLoggingConfig.java | 17 +--------- .../configuration/MarkerStateConverter.java | 17 +--------- .../emergency/EmergencyLoggerImpl.java | 17 +--------- .../api/internal/event/DefaultLogEvent.java | 17 +--------- .../api/internal/event/MutableLogEvent.java | 17 +--------- .../event/ParameterizedLogMessage.java | 17 +--------- .../event/ReuseableLogEventFactory.java | 17 +--------- .../internal/event/SimpleLogEventFactory.java | 17 +--------- .../api/internal/event/SimpleLogMessage.java | 17 +--------- .../internal/format/EpochCachedFormatter.java | 17 +--------- .../internal/format/FormattedLinePrinter.java | 17 +--------- .../internal/format/ShrinkableSizeCache.java | 17 +--------- .../internal/format/StackTracePrinter.java | 17 +--------- .../api/internal/format/TimestampPrinter.java | 17 +--------- .../api/internal/level/ConfigLevel.java | 17 +--------- .../level/HandlerLoggingLevelConfig.java | 17 +--------- .../api/internal/level/MarkerState.java | 17 +--------- .../logging/api/internal/package-info.java | 1 + .../com/swirlds/logging/api/package-info.java | 1 + .../logging/console/ConsoleHandler.java | 17 +--------- .../console/ConsoleHandlerFactory.java | 17 +--------- .../com/swirlds/logging/file/FileHandler.java | 17 +--------- .../logging/file/FileHandlerFactory.java | 17 +--------- .../logging/io/BufferedOutputStream.java | 17 +--------- .../logging/io/OutputStreamFactory.java | 17 +--------- .../logging/io/RolloverFileOutputStream.java | 17 +--------- .../logging/legacy/FilterActionPair.java | 17 +--------- .../com/swirlds/logging/legacy/LogMarker.java | 17 +--------- .../swirlds/logging/legacy/LogMarkerType.java | 17 +--------- .../swirlds/logging/legacy/LoggingUtils.java | 17 +--------- .../logging/legacy/PlatformLogMessages.java | 17 +--------- .../logging/legacy/SwirldsLogFileReader.java | 17 +--------- .../logging/legacy/SwirldsLogParser.java | 17 +--------- .../logging/legacy/SwirldsLogReader.java | 17 +--------- .../legacy/json/HasAnyExceptionFilter.java | 17 +--------- .../legacy/json/HasErrorMarkerFilter.java | 17 +--------- .../legacy/json/HasExceptionFilter.java | 17 +--------- .../logging/legacy/json/HasMarkerFilter.java | 17 +--------- .../logging/legacy/json/JsonLogEntry.java | 17 +--------- .../logging/legacy/json/JsonParser.java | 17 +--------- .../legacy/json/PayloadTypeFilter.java | 17 +--------- .../legacy/payload/AbstractLogPayload.java | 17 +--------- .../payload/ActiveStateThresholdPayload.java | 17 +--------- .../payload/ApplicationDualStatePayload.java | 17 +--------- .../payload/ApplicationFinishedPayload.java | 17 +--------- .../CreateTransactionFailedPayload.java | 17 +--------- .../legacy/payload/FatalErrorPayload.java | 17 +--------- .../GarbageCollectionQueuePayload.java | 17 +--------- .../InsufficientSignaturesPayload.java | 17 +--------- .../logging/legacy/payload/IssPayload.java | 17 +--------- .../legacy/payload/IssResolvedPayload.java | 17 +--------- .../logging/legacy/payload/LogPayload.java | 17 +--------- .../payload/NodeAddressMismatchPayload.java | 17 +--------- .../legacy/payload/NodeStartPayload.java | 17 +--------- .../payload/PayloadParsingException.java | 17 +--------- .../legacy/payload/PlatformStatusPayload.java | 17 +--------- .../payload/ReconnectDataUsagePayload.java | 17 +--------- .../payload/ReconnectFailurePayload.java | 17 +--------- .../payload/ReconnectFinishPayload.java | 17 +--------- .../payload/ReconnectLoadFailurePayload.java | 17 +--------- .../payload/ReconnectPeerInfoPayload.java | 17 +--------- .../legacy/payload/ReconnectStartPayload.java | 17 +--------- .../payload/RecoveredStateSavedPayload.java | 17 +--------- .../payload/SavedStateLoadedPayload.java | 17 +--------- .../legacy/payload/SetFreezeTimePayload.java | 17 +--------- .../payload/SetLastFrozenTimePayload.java | 17 +--------- .../payload/SoftwareVersionPayload.java | 17 +--------- .../payload/StateSavedToDiskPayload.java | 17 +--------- .../payload/StreamParseErrorPayload.java | 17 +--------- .../SynchronizationCompletePayload.java | 17 +--------- .../SyntheticBottleneckFinishPayload.java | 17 +--------- .../SyntheticBottleneckStartPayload.java | 17 +--------- .../legacy/payload/SystemExitPayload.java | 17 +--------- .../payload/UnableToReconnectPayload.java | 17 +--------- .../swirlds/logging/utils/ConfigUtils.java | 17 +--------- .../com/swirlds/logging/utils/FileUtils.java | 17 +--------- .../swirlds/logging/utils/StringUtils.java | 17 +--------- .../src/main/java/module-info.java | 1 + .../swirlds/logging/EmergencyLoggerTest.java | 17 +--------- .../java/com/swirlds/logging/LevelTest.java | 17 +--------- .../logging/LoggerApiSpecAssertions.java | 17 +--------- .../com/swirlds/logging/LoggerImplTest.java | 17 +--------- .../java/com/swirlds/logging/LoggersTest.java | 17 +--------- .../java/com/swirlds/logging/MarkerTest.java | 17 +--------- .../api/internal/LoggingSystemTest.java | 17 +--------- .../format/EpochCachedFormatterTest.java | 17 +--------- .../format/ShrinkableSizeCacheTest.java | 17 +--------- .../format/StackTracePrinterTest.java | 17 +--------- .../internal/format/TimestampPrinterTest.java | 17 +--------- .../logging/io/BufferedOutputStreamTest.java | 17 +--------- .../io/RolloverFileOutputStreamTest.java | 17 +--------- .../logging/legacy/DummyLogBuilder.java | 17 +--------- .../logging/legacy/DummyLogReader.java | 17 +--------- .../swirlds/logging/legacy/LoggingTests.java | 17 +--------- .../logging/legacy/LoggingUtilsTest.java | 17 +--------- .../payloads/AbstractLogPayloadTest.java | 17 +--------- .../payloads/FreezeTimePayloadTest.java | 17 +--------- .../ReconnectPeerInfoPayloadTest.java | 17 +--------- .../level/HandlerLoggingLevelConfigTest.java | 17 +--------- .../internal/FilteredLoggingMirrorTest.java | 17 +--------- .../test/fixtures/InMemoryHandler.java | 17 +--------- .../logging/test/fixtures/LoggingMirror.java | 17 +--------- .../test/fixtures/WithLoggingMirror.java | 17 +--------- .../internal/FilteredLoggingMirror.java | 17 +--------- .../internal/LoggerMirrorExtension.java | 17 +--------- .../fixtures/internal/LoggingMirrorImpl.java | 17 +--------- .../test/fixtures/internal/package-info.java | 1 + .../util/LoggingSystemTestOrchestrator.java | 17 +--------- .../fixtures/util/LoggingTestScenario.java | 17 +--------- .../test/fixtures/util/LoggingTestUtils.java | 17 +--------- .../test/fixtures/util/Throwables.java | 17 +--------- .../src/testFixtures/java/module-info.java | 1 + .../logging/LoggingSystemStressTest.java | 17 +--------- .../java/com/swirlds/metrics/api/Counter.java | 17 +--------- .../metrics/api/DoubleAccumulator.java | 17 +--------- .../com/swirlds/metrics/api/DoubleGauge.java | 17 +--------- .../com/swirlds/metrics/api/FloatFormats.java | 17 +--------- .../metrics/api/IntegerAccumulator.java | 17 +--------- .../com/swirlds/metrics/api/IntegerGauge.java | 17 +--------- .../swirlds/metrics/api/LongAccumulator.java | 17 +--------- .../com/swirlds/metrics/api/LongGauge.java | 17 +--------- .../java/com/swirlds/metrics/api/Metric.java | 17 +--------- .../com/swirlds/metrics/api/MetricConfig.java | 17 +--------- .../com/swirlds/metrics/api/MetricType.java | 17 +--------- .../com/swirlds/metrics/api/MetricTypes.java | 17 +--------- .../java/com/swirlds/metrics/api/Metrics.java | 17 +--------- .../swirlds/metrics/api/MetricsFactory.java | 17 +--------- .../metrics/api/snapshot/Snapshot.java | 17 +--------- .../api/snapshot/SnapshotableMetric.java | 17 +--------- .../src/main/java/module-info.java | 1 + .../metrics/api/CounterConfigTest.java | 17 +--------- .../com/swirlds/metrics/api/CounterTest.java | 17 +--------- .../api/DoubleAccumulatorConfigTest.java | 17 +--------- .../metrics/api/DoubleAccumulatorTest.java | 17 +--------- .../metrics/api/DoubleGaugeConfigTest.java | 17 +--------- .../swirlds/metrics/api/DoubleGaugeTest.java | 17 +--------- .../api/IntegerAccumulatorConfigTest.java | 17 +--------- .../metrics/api/IntegerAccumulatorTest.java | 17 +--------- .../metrics/api/IntegerGaugeConfigTest.java | 17 +--------- .../swirlds/metrics/api/IntegerGaugeTest.java | 17 +--------- .../api/LongAccumulatorConfigTest.java | 17 +--------- .../metrics/api/LongAccumulatorTest.java | 17 +--------- .../metrics/api/LongGaugeConfigTest.java | 17 +--------- .../swirlds/metrics/api/LongGaugeTest.java | 17 +--------- .../swirlds/metrics/impl/AbstractMetric.java | 17 +--------- .../swirlds/metrics/impl/AtomicDouble.java | 17 +--------- .../swirlds/metrics/impl/DefaultCounter.java | 17 +--------- .../impl/DefaultDoubleAccumulator.java | 17 +--------- .../metrics/impl/DefaultDoubleGauge.java | 17 +--------- .../impl/DefaultIntegerAccumulator.java | 17 +--------- .../metrics/impl/DefaultIntegerGauge.java | 17 +--------- .../metrics/impl/DefaultLongAccumulator.java | 17 +--------- .../metrics/impl/DefaultLongGauge.java | 17 +--------- .../metrics/impl/DefaultMetricsFactory.java | 17 +--------- .../src/main/java/module-info.java | 1 + .../metrics/impl/test/AtomicDoubleTest.java | 17 +--------- .../metrics/impl/test/DefaultCounterTest.java | 17 +--------- .../test/DefaultDoubleAccumulatorTest.java | 17 +--------- .../impl/test/DefaultDoubleGaugeTest.java | 17 +--------- .../test/DefaultIntegerAccumulatorTest.java | 17 +--------- .../impl/test/DefaultIntegerGaugeTest.java | 17 +--------- .../impl/test/DefaultLongAccumulatorTest.java | 17 +--------- .../impl/test/DefaultLongGaugeTest.java | 17 +--------- .../metrics/impl/test/SnapshotTest.java | 17 +--------- 1276 files changed, 1279 insertions(+), 20007 deletions(-) diff --git a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/ConfigProvider.java b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/ConfigProvider.java index 5d963e181053..bb4ea0c3909a 100644 --- a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/ConfigProvider.java +++ b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/ConfigProvider.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config; import com.swirlds.config.api.Configuration; diff --git a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/NetworkProperty.java b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/NetworkProperty.java index d64340d867fa..1798644f30cd 100644 --- a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/NetworkProperty.java +++ b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/NetworkProperty.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config; import static java.lang.annotation.ElementType.RECORD_COMPONENT; diff --git a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/NodeProperty.java b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/NodeProperty.java index ab93062d0c5f..84a52f610fb6 100644 --- a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/NodeProperty.java +++ b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/NodeProperty.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config; import static java.lang.annotation.ElementType.RECORD_COMPONENT; diff --git a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/Utils.java b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/Utils.java index 8f70fb274c80..982890c5d0fe 100644 --- a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/Utils.java +++ b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/Utils.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config; import com.swirlds.config.api.Configuration; diff --git a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/VersionedConfigImpl.java b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/VersionedConfigImpl.java index 9c390501b230..30cde244bb36 100644 --- a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/VersionedConfigImpl.java +++ b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/VersionedConfigImpl.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config; import com.swirlds.config.api.Configuration; diff --git a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/VersionedConfiguration.java b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/VersionedConfiguration.java index f36c8aaf3b41..56451ca34d4e 100644 --- a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/VersionedConfiguration.java +++ b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/VersionedConfiguration.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config; import com.swirlds.config.api.Configuration; diff --git a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/converter/AccountIDConverter.java b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/converter/AccountIDConverter.java index 3a191eb0d962..8ee7bf313dac 100644 --- a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/converter/AccountIDConverter.java +++ b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/converter/AccountIDConverter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.converter; import com.hedera.hapi.node.base.AccountID; diff --git a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/converter/BytesConverter.java b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/converter/BytesConverter.java index 78fabb454382..74256bdf9f04 100644 --- a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/converter/BytesConverter.java +++ b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/converter/BytesConverter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.converter; import static com.swirlds.common.utility.CommonUtils.unhex; diff --git a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/converter/CongestionMultipliersConverter.java b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/converter/CongestionMultipliersConverter.java index 1b123f182991..6d0545fa5c80 100644 --- a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/converter/CongestionMultipliersConverter.java +++ b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/converter/CongestionMultipliersConverter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.converter; import com.hedera.node.config.types.CongestionMultipliers; diff --git a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/converter/ContractIDConverter.java b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/converter/ContractIDConverter.java index 3b23efb9ef02..5dd3ee31d95d 100644 --- a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/converter/ContractIDConverter.java +++ b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/converter/ContractIDConverter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.converter; import com.hedera.hapi.node.base.ContractID; diff --git a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/converter/EntityScaleFactorsConverter.java b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/converter/EntityScaleFactorsConverter.java index d6e57f2baba1..89819a7c4da0 100644 --- a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/converter/EntityScaleFactorsConverter.java +++ b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/converter/EntityScaleFactorsConverter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.converter; import com.hedera.node.config.types.EntityScaleFactors; diff --git a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/converter/FileIDConverter.java b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/converter/FileIDConverter.java index 5c7703e874aa..b41d4813d2b7 100644 --- a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/converter/FileIDConverter.java +++ b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/converter/FileIDConverter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.converter; import com.hedera.hapi.node.base.FileID; diff --git a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/converter/FunctionalitySetConverter.java b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/converter/FunctionalitySetConverter.java index a954f37313b2..f80332117fb4 100644 --- a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/converter/FunctionalitySetConverter.java +++ b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/converter/FunctionalitySetConverter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.converter; import com.hedera.hapi.node.base.HederaFunctionality; diff --git a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/converter/KeyValuePairConverter.java b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/converter/KeyValuePairConverter.java index b21df2adb40a..4f315aeb8dcc 100644 --- a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/converter/KeyValuePairConverter.java +++ b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/converter/KeyValuePairConverter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.converter; import com.hedera.node.config.types.KeyValuePair; diff --git a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/converter/KnownBlockValuesConverter.java b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/converter/KnownBlockValuesConverter.java index 5047cf1f7c7a..a8cb2d96a933 100644 --- a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/converter/KnownBlockValuesConverter.java +++ b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/converter/KnownBlockValuesConverter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.converter; import com.hedera.node.app.hapi.utils.sysfiles.domain.KnownBlockValues; diff --git a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/converter/LongPairConverter.java b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/converter/LongPairConverter.java index e769b8aa339e..2b2992875600 100644 --- a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/converter/LongPairConverter.java +++ b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/converter/LongPairConverter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.converter; import com.hedera.node.config.types.LongPair; diff --git a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/converter/PermissionedAccountsRangeConverter.java b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/converter/PermissionedAccountsRangeConverter.java index 7e6f2b93a229..0aee03fdee66 100644 --- a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/converter/PermissionedAccountsRangeConverter.java +++ b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/converter/PermissionedAccountsRangeConverter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.converter; import static java.util.Objects.requireNonNull; diff --git a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/converter/ScaleFactorConverter.java b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/converter/ScaleFactorConverter.java index 8a0c76177a60..45578f879ed2 100644 --- a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/converter/ScaleFactorConverter.java +++ b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/converter/ScaleFactorConverter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.converter; import com.hedera.node.app.hapi.utils.sysfiles.domain.throttling.ScaleFactor; diff --git a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/converter/SemanticVersionConverter.java b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/converter/SemanticVersionConverter.java index a310a643f85a..9e217ae24944 100644 --- a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/converter/SemanticVersionConverter.java +++ b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/converter/SemanticVersionConverter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.converter; import com.hedera.hapi.node.base.SemanticVersion; diff --git a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/AccountsConfig.java b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/AccountsConfig.java index 48469f75a006..70a71ea1891e 100644 --- a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/AccountsConfig.java +++ b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/AccountsConfig.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.data; import static java.util.Objects.requireNonNull; diff --git a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/ApiPermissionConfig.java b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/ApiPermissionConfig.java index 18fab1967a0b..cbf0a2319e53 100644 --- a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/ApiPermissionConfig.java +++ b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/ApiPermissionConfig.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.data; import static com.hedera.hapi.node.base.HederaFunctionality.CONSENSUS_CREATE_TOPIC; diff --git a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/AutoCreationConfig.java b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/AutoCreationConfig.java index 90b875756b96..47ee8c4acd67 100644 --- a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/AutoCreationConfig.java +++ b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/AutoCreationConfig.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.data; import com.hedera.node.config.NetworkProperty; diff --git a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/AutoRenew2Config.java b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/AutoRenew2Config.java index 774af7fb1ed6..708f5d8d0db8 100644 --- a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/AutoRenew2Config.java +++ b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/AutoRenew2Config.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.data; import com.hedera.node.config.NetworkProperty; diff --git a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/AutoRenewConfig.java b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/AutoRenewConfig.java index 785ae6b31a74..31c66c889404 100644 --- a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/AutoRenewConfig.java +++ b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/AutoRenewConfig.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.data; import com.hedera.node.config.NetworkProperty; diff --git a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/BalancesConfig.java b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/BalancesConfig.java index d261386f8e72..a52caaf168f0 100644 --- a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/BalancesConfig.java +++ b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/BalancesConfig.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.data; import com.hedera.node.config.NodeProperty; diff --git a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/BlockRecordStreamConfig.java b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/BlockRecordStreamConfig.java index 04843a4856ec..55b3b02e08d4 100644 --- a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/BlockRecordStreamConfig.java +++ b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/BlockRecordStreamConfig.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.data; import com.hedera.node.config.NetworkProperty; diff --git a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/BlockStreamConfig.java b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/BlockStreamConfig.java index bdec7138e1e1..25c2d019b80c 100644 --- a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/BlockStreamConfig.java +++ b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/BlockStreamConfig.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.data; import com.hedera.node.config.NetworkProperty; diff --git a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/BootstrapConfig.java b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/BootstrapConfig.java index 6999d6998489..367c51115641 100644 --- a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/BootstrapConfig.java +++ b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/BootstrapConfig.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.data; import com.hedera.node.config.NetworkProperty; diff --git a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/CacheConfig.java b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/CacheConfig.java index a276280f0eff..f68ed20442da 100644 --- a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/CacheConfig.java +++ b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/CacheConfig.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.data; import com.hedera.node.config.NetworkProperty; diff --git a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/ConsensusConfig.java b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/ConsensusConfig.java index 33de75ce781e..44145313b724 100644 --- a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/ConsensusConfig.java +++ b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/ConsensusConfig.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.data; import com.hedera.node.config.NetworkProperty; diff --git a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/ContractsConfig.java b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/ContractsConfig.java index 53234eb3c6b1..f4d1b043e3d0 100644 --- a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/ContractsConfig.java +++ b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/ContractsConfig.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.data; import com.hedera.hapi.streams.SidecarType; diff --git a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/CryptoCreateWithAliasConfig.java b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/CryptoCreateWithAliasConfig.java index cfe6c1ce79f1..4fbc24500bcf 100644 --- a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/CryptoCreateWithAliasConfig.java +++ b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/CryptoCreateWithAliasConfig.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.data; import com.hedera.node.config.NetworkProperty; diff --git a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/EntitiesConfig.java b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/EntitiesConfig.java index 8f9aa3b4b771..6813c91c97cf 100644 --- a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/EntitiesConfig.java +++ b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/EntitiesConfig.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.data; import com.hedera.node.config.NetworkProperty; diff --git a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/ExpiryConfig.java b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/ExpiryConfig.java index fd06b801db69..399fc2e76195 100644 --- a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/ExpiryConfig.java +++ b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/ExpiryConfig.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.data; import com.hedera.node.config.NetworkProperty; diff --git a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/FeesConfig.java b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/FeesConfig.java index 04ffca3f7641..6c2239510cca 100644 --- a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/FeesConfig.java +++ b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/FeesConfig.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.data; import com.hedera.node.config.NetworkProperty; diff --git a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/FilesConfig.java b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/FilesConfig.java index 6590b859e934..9343b54b456b 100644 --- a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/FilesConfig.java +++ b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/FilesConfig.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.data; import static java.util.Objects.requireNonNull; diff --git a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/GrpcConfig.java b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/GrpcConfig.java index a70d0ba5bf33..43713f6d3b97 100644 --- a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/GrpcConfig.java +++ b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/GrpcConfig.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.data; import com.hedera.node.config.NodeProperty; diff --git a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/HederaConfig.java b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/HederaConfig.java index 1ce917fb0736..e36a94aa36f9 100644 --- a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/HederaConfig.java +++ b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/HederaConfig.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.data; import com.hedera.node.config.NetworkProperty; diff --git a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/LazyCreationConfig.java b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/LazyCreationConfig.java index bf693e7d16a8..25f9a7e73904 100644 --- a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/LazyCreationConfig.java +++ b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/LazyCreationConfig.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.data; import com.hedera.node.config.NetworkProperty; diff --git a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/LedgerConfig.java b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/LedgerConfig.java index c8baab16e253..081a21d23354 100644 --- a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/LedgerConfig.java +++ b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/LedgerConfig.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.data; import com.hedera.node.config.NetworkProperty; diff --git a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/NettyConfig.java b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/NettyConfig.java index cfb252041199..420ef263a526 100644 --- a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/NettyConfig.java +++ b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/NettyConfig.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.data; import com.hedera.node.config.NodeProperty; diff --git a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/NetworkAdminConfig.java b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/NetworkAdminConfig.java index 0e6002c55f99..7280f55871bc 100644 --- a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/NetworkAdminConfig.java +++ b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/NetworkAdminConfig.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.data; import com.hedera.node.config.NetworkProperty; diff --git a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/NodesConfig.java b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/NodesConfig.java index 861676fd5a5d..1734d077e80a 100644 --- a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/NodesConfig.java +++ b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/NodesConfig.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.data; import com.hedera.node.config.NetworkProperty; diff --git a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/RatesConfig.java b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/RatesConfig.java index 4ea03b1849df..a7b1f6c8c078 100644 --- a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/RatesConfig.java +++ b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/RatesConfig.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.data; import com.hedera.node.config.NetworkProperty; diff --git a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/SchedulingConfig.java b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/SchedulingConfig.java index 75ccbb6ad5cd..ff9cf6b4c152 100644 --- a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/SchedulingConfig.java +++ b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/SchedulingConfig.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.data; import com.hedera.node.app.hapi.utils.sysfiles.domain.throttling.ScaleFactor; diff --git a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/StakingConfig.java b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/StakingConfig.java index fadf7fc5e489..3e68d339cd86 100644 --- a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/StakingConfig.java +++ b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/StakingConfig.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.data; import com.hedera.node.config.NetworkProperty; diff --git a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/StatsConfig.java b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/StatsConfig.java index ab4991f0d93a..487d09bbf821 100644 --- a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/StatsConfig.java +++ b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/StatsConfig.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.data; import com.hedera.node.config.NodeProperty; diff --git a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/TokensConfig.java b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/TokensConfig.java index 5356aa76592b..aa87d91d9b2d 100644 --- a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/TokensConfig.java +++ b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/TokensConfig.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.data; import com.hedera.node.app.hapi.utils.sysfiles.domain.throttling.ScaleFactor; diff --git a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/TopicsConfig.java b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/TopicsConfig.java index c615f59285fb..ef53919d2e7e 100644 --- a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/TopicsConfig.java +++ b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/TopicsConfig.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.data; import com.hedera.node.config.NetworkProperty; diff --git a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/TraceabilityConfig.java b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/TraceabilityConfig.java index 3c2d649a9f8e..483a4091acf4 100644 --- a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/TraceabilityConfig.java +++ b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/TraceabilityConfig.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.data; import com.hedera.node.config.NetworkProperty; diff --git a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/TssConfig.java b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/TssConfig.java index cf312336337b..f2f869dee614 100644 --- a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/TssConfig.java +++ b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/TssConfig.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.data; import com.hedera.node.config.NetworkProperty; diff --git a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/UtilPrngConfig.java b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/UtilPrngConfig.java index 8625ccbad4a0..abee9b6dd8d0 100644 --- a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/UtilPrngConfig.java +++ b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/UtilPrngConfig.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.data; import com.hedera.node.config.NetworkProperty; diff --git a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/VersionConfig.java b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/VersionConfig.java index 33447d356793..a6c85d157686 100644 --- a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/VersionConfig.java +++ b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/data/VersionConfig.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.data; import com.hedera.hapi.node.base.SemanticVersion; diff --git a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/sources/DynamicConfigSource.java b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/sources/DynamicConfigSource.java index 87163df11674..b1159299cd21 100644 --- a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/sources/DynamicConfigSource.java +++ b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/sources/DynamicConfigSource.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.sources; import com.swirlds.config.api.source.ConfigSource; diff --git a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/sources/PropertyConfigSource.java b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/sources/PropertyConfigSource.java index 907d5233ee4b..1fee4cba7393 100644 --- a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/sources/PropertyConfigSource.java +++ b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/sources/PropertyConfigSource.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.sources; import static java.util.Objects.requireNonNull; diff --git a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/sources/SettingsConfigSource.java b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/sources/SettingsConfigSource.java index 394245fb529a..b0a17ad7f573 100644 --- a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/sources/SettingsConfigSource.java +++ b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/sources/SettingsConfigSource.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.sources; import static java.util.Objects.requireNonNull; diff --git a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/types/BlockStreamWriterMode.java b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/types/BlockStreamWriterMode.java index b253e93e73a1..90af3659efcd 100644 --- a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/types/BlockStreamWriterMode.java +++ b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/types/BlockStreamWriterMode.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.types; /** diff --git a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/types/CongestionMultipliers.java b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/types/CongestionMultipliers.java index 173c8560b71f..c89800448322 100644 --- a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/types/CongestionMultipliers.java +++ b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/types/CongestionMultipliers.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2021-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.types; import java.util.Arrays; diff --git a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/types/DiskNetworkExport.java b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/types/DiskNetworkExport.java index 53998a3672a9..3d369c4bc858 100644 --- a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/types/DiskNetworkExport.java +++ b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/types/DiskNetworkExport.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.types; /** diff --git a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/types/EntityScaleFactors.java b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/types/EntityScaleFactors.java index d103ef68e600..9e8304ee88f4 100644 --- a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/types/EntityScaleFactors.java +++ b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/types/EntityScaleFactors.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.types; import static com.hedera.node.app.hapi.utils.sysfiles.domain.throttling.ScaleFactor.ONE_TO_ONE; diff --git a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/types/HederaFunctionalitySet.java b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/types/HederaFunctionalitySet.java index 267f356e4b5b..f2c017ff91ed 100644 --- a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/types/HederaFunctionalitySet.java +++ b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/types/HederaFunctionalitySet.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.types; import com.hedera.hapi.node.base.HederaFunctionality; diff --git a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/types/KeyValuePair.java b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/types/KeyValuePair.java index c126db7e7837..f7c74d6c8d0e 100644 --- a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/types/KeyValuePair.java +++ b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/types/KeyValuePair.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.types; import com.hedera.node.config.validation.EmulatesMap; diff --git a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/types/LongPair.java b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/types/LongPair.java index c160cbbf16d4..aca954a4f60a 100644 --- a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/types/LongPair.java +++ b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/types/LongPair.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.types; import edu.umd.cs.findbugs.annotations.NonNull; diff --git a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/types/PermissionedAccountsRange.java b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/types/PermissionedAccountsRange.java index be4379230481..99ded53466ae 100644 --- a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/types/PermissionedAccountsRange.java +++ b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/types/PermissionedAccountsRange.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.types; import java.util.regex.Pattern; diff --git a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/types/Profile.java b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/types/Profile.java index 1b3e970320f6..9dd7fae8a634 100644 --- a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/types/Profile.java +++ b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/types/Profile.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.types; /** diff --git a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/types/StreamMode.java b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/types/StreamMode.java index 1227019e5609..a6f7710595ef 100644 --- a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/types/StreamMode.java +++ b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/types/StreamMode.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.types; /** diff --git a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/types/TriggeredValuesParser.java b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/types/TriggeredValuesParser.java index 6f824f587200..9a7f9b758257 100644 --- a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/types/TriggeredValuesParser.java +++ b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/types/TriggeredValuesParser.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2021-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.types; import java.util.ArrayList; diff --git a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/types/UtilizationScaleFactors.java b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/types/UtilizationScaleFactors.java index 6255ea1e8c30..5a427eba2164 100644 --- a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/types/UtilizationScaleFactors.java +++ b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/types/UtilizationScaleFactors.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.types; import com.hedera.node.app.hapi.utils.sysfiles.domain.throttling.ScaleFactor; diff --git a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/validation/EmulatesMap.java b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/validation/EmulatesMap.java index 955e24ad55dc..44b49376622c 100644 --- a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/validation/EmulatesMap.java +++ b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/validation/EmulatesMap.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.validation; import com.hedera.node.config.types.KeyValuePair; diff --git a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/validation/EmulatesMapValidator.java b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/validation/EmulatesMapValidator.java index 9c54101ced3f..1205055229d3 100644 --- a/hedera-node/hedera-config/src/main/java/com/hedera/node/config/validation/EmulatesMapValidator.java +++ b/hedera-node/hedera-config/src/main/java/com/hedera/node/config/validation/EmulatesMapValidator.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.validation; import com.hedera.node.config.types.KeyValuePair; diff --git a/hedera-node/hedera-config/src/main/java/module-info.java b/hedera-node/hedera-config/src/main/java/module-info.java index c65433a3a721..ae9f418c414a 100644 --- a/hedera-node/hedera-config/src/main/java/module-info.java +++ b/hedera-node/hedera-config/src/main/java/module-info.java @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 module com.hedera.node.config { exports com.hedera.node.config; exports com.hedera.node.config.converter; @@ -8,9 +9,9 @@ requires transitive com.hedera.node.app.hapi.utils; requires transitive com.hedera.node.hapi; + requires transitive com.hedera.pbj.runtime; requires transitive com.swirlds.config.api; requires transitive com.swirlds.config.extensions; - requires transitive com.hedera.pbj.runtime; requires com.swirlds.common; requires org.apache.commons.lang3; requires org.apache.logging.log4j; diff --git a/hedera-node/hedera-config/src/test/java/com/hedera/node/config/MixedAnnotatedConfig.java b/hedera-node/hedera-config/src/test/java/com/hedera/node/config/MixedAnnotatedConfig.java index 036a2421f71a..309952dde0e3 100644 --- a/hedera-node/hedera-config/src/test/java/com/hedera/node/config/MixedAnnotatedConfig.java +++ b/hedera-node/hedera-config/src/test/java/com/hedera/node/config/MixedAnnotatedConfig.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config; import com.swirlds.config.api.ConfigData; diff --git a/hedera-node/hedera-config/src/test/java/com/hedera/node/config/NoNetworkAnnotatedConfig.java b/hedera-node/hedera-config/src/test/java/com/hedera/node/config/NoNetworkAnnotatedConfig.java index 347b41cf0df0..ad603484e5cd 100644 --- a/hedera-node/hedera-config/src/test/java/com/hedera/node/config/NoNetworkAnnotatedConfig.java +++ b/hedera-node/hedera-config/src/test/java/com/hedera/node/config/NoNetworkAnnotatedConfig.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config; import com.swirlds.config.api.ConfigData; diff --git a/hedera-node/hedera-config/src/test/java/com/hedera/node/config/UtilsTest.java b/hedera-node/hedera-config/src/test/java/com/hedera/node/config/UtilsTest.java index 12faab53079e..38376646f228 100644 --- a/hedera-node/hedera-config/src/test/java/com/hedera/node/config/UtilsTest.java +++ b/hedera-node/hedera-config/src/test/java/com/hedera/node/config/UtilsTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config; import static org.assertj.core.api.Assertions.assertThat; diff --git a/hedera-node/hedera-config/src/test/java/com/hedera/node/config/converter/AccountIDConverterTest.java b/hedera-node/hedera-config/src/test/java/com/hedera/node/config/converter/AccountIDConverterTest.java index bde8237b38c4..e9bf963a240b 100644 --- a/hedera-node/hedera-config/src/test/java/com/hedera/node/config/converter/AccountIDConverterTest.java +++ b/hedera-node/hedera-config/src/test/java/com/hedera/node/config/converter/AccountIDConverterTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.converter; import static org.assertj.core.api.Assertions.assertThat; diff --git a/hedera-node/hedera-config/src/test/java/com/hedera/node/config/converter/BytesConverterTest.java b/hedera-node/hedera-config/src/test/java/com/hedera/node/config/converter/BytesConverterTest.java index 2c9a8049e7ec..d32b9e07faf9 100644 --- a/hedera-node/hedera-config/src/test/java/com/hedera/node/config/converter/BytesConverterTest.java +++ b/hedera-node/hedera-config/src/test/java/com/hedera/node/config/converter/BytesConverterTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.converter; import static org.assertj.core.api.Assertions.assertThat; diff --git a/hedera-node/hedera-config/src/test/java/com/hedera/node/config/converter/CongestionMultipliersConverterTest.java b/hedera-node/hedera-config/src/test/java/com/hedera/node/config/converter/CongestionMultipliersConverterTest.java index d8213f7c454d..805052e65f2b 100644 --- a/hedera-node/hedera-config/src/test/java/com/hedera/node/config/converter/CongestionMultipliersConverterTest.java +++ b/hedera-node/hedera-config/src/test/java/com/hedera/node/config/converter/CongestionMultipliersConverterTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.converter; import static org.assertj.core.api.Assertions.assertThat; diff --git a/hedera-node/hedera-config/src/test/java/com/hedera/node/config/converter/ContractIDConverterTest.java b/hedera-node/hedera-config/src/test/java/com/hedera/node/config/converter/ContractIDConverterTest.java index 17f775034744..e9a25a82b060 100644 --- a/hedera-node/hedera-config/src/test/java/com/hedera/node/config/converter/ContractIDConverterTest.java +++ b/hedera-node/hedera-config/src/test/java/com/hedera/node/config/converter/ContractIDConverterTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.converter; import static org.assertj.core.api.Assertions.assertThat; diff --git a/hedera-node/hedera-config/src/test/java/com/hedera/node/config/converter/EntityScaleFactorsConverterTest.java b/hedera-node/hedera-config/src/test/java/com/hedera/node/config/converter/EntityScaleFactorsConverterTest.java index 6d8351dcbcb5..a83053179b02 100644 --- a/hedera-node/hedera-config/src/test/java/com/hedera/node/config/converter/EntityScaleFactorsConverterTest.java +++ b/hedera-node/hedera-config/src/test/java/com/hedera/node/config/converter/EntityScaleFactorsConverterTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.converter; import com.hedera.node.app.hapi.utils.sysfiles.domain.throttling.ScaleFactor; diff --git a/hedera-node/hedera-config/src/test/java/com/hedera/node/config/converter/FileIDConverterTest.java b/hedera-node/hedera-config/src/test/java/com/hedera/node/config/converter/FileIDConverterTest.java index 4108e0132fe3..c9b9f9e28e38 100644 --- a/hedera-node/hedera-config/src/test/java/com/hedera/node/config/converter/FileIDConverterTest.java +++ b/hedera-node/hedera-config/src/test/java/com/hedera/node/config/converter/FileIDConverterTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.converter; import static org.assertj.core.api.Assertions.assertThat; diff --git a/hedera-node/hedera-config/src/test/java/com/hedera/node/config/converter/KeyValuePairConverterTest.java b/hedera-node/hedera-config/src/test/java/com/hedera/node/config/converter/KeyValuePairConverterTest.java index 3bcb34d67349..976c712c9060 100644 --- a/hedera-node/hedera-config/src/test/java/com/hedera/node/config/converter/KeyValuePairConverterTest.java +++ b/hedera-node/hedera-config/src/test/java/com/hedera/node/config/converter/KeyValuePairConverterTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.converter; import static org.assertj.core.api.Assertions.assertThat; diff --git a/hedera-node/hedera-config/src/test/java/com/hedera/node/config/converter/KnownBlockValuesConverterTest.java b/hedera-node/hedera-config/src/test/java/com/hedera/node/config/converter/KnownBlockValuesConverterTest.java index 1761bd98f87b..e374e6da5257 100644 --- a/hedera-node/hedera-config/src/test/java/com/hedera/node/config/converter/KnownBlockValuesConverterTest.java +++ b/hedera-node/hedera-config/src/test/java/com/hedera/node/config/converter/KnownBlockValuesConverterTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.converter; import static org.assertj.core.api.Assertions.assertThat; diff --git a/hedera-node/hedera-config/src/test/java/com/hedera/node/config/converter/LongPairConverterTest.java b/hedera-node/hedera-config/src/test/java/com/hedera/node/config/converter/LongPairConverterTest.java index 6fa38c9f0c3a..720e85a7c409 100644 --- a/hedera-node/hedera-config/src/test/java/com/hedera/node/config/converter/LongPairConverterTest.java +++ b/hedera-node/hedera-config/src/test/java/com/hedera/node/config/converter/LongPairConverterTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.converter; import static org.assertj.core.api.Assertions.assertThat; diff --git a/hedera-node/hedera-config/src/test/java/com/hedera/node/config/converter/PermissionedAccountsRangeConverterTest.java b/hedera-node/hedera-config/src/test/java/com/hedera/node/config/converter/PermissionedAccountsRangeConverterTest.java index e890dfa6623c..c865521a2ded 100644 --- a/hedera-node/hedera-config/src/test/java/com/hedera/node/config/converter/PermissionedAccountsRangeConverterTest.java +++ b/hedera-node/hedera-config/src/test/java/com/hedera/node/config/converter/PermissionedAccountsRangeConverterTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.converter; import static org.assertj.core.api.Assertions.assertThatThrownBy; diff --git a/hedera-node/hedera-config/src/test/java/com/hedera/node/config/converter/ScaleFactorConverterTest.java b/hedera-node/hedera-config/src/test/java/com/hedera/node/config/converter/ScaleFactorConverterTest.java index 798e457e4897..1fcdb2c1ae93 100644 --- a/hedera-node/hedera-config/src/test/java/com/hedera/node/config/converter/ScaleFactorConverterTest.java +++ b/hedera-node/hedera-config/src/test/java/com/hedera/node/config/converter/ScaleFactorConverterTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.converter; import static org.assertj.core.api.Assertions.assertThat; diff --git a/hedera-node/hedera-config/src/test/java/com/hedera/node/config/converter/SemanticVersionConverterTest.java b/hedera-node/hedera-config/src/test/java/com/hedera/node/config/converter/SemanticVersionConverterTest.java index a9bd395e1bb6..e2afeb27f6a1 100644 --- a/hedera-node/hedera-config/src/test/java/com/hedera/node/config/converter/SemanticVersionConverterTest.java +++ b/hedera-node/hedera-config/src/test/java/com/hedera/node/config/converter/SemanticVersionConverterTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.converter; import static org.assertj.core.api.Assertions.assertThat; diff --git a/hedera-node/hedera-config/src/test/java/com/hedera/node/config/data/ApiPermissionConfigTest.java b/hedera-node/hedera-config/src/test/java/com/hedera/node/config/data/ApiPermissionConfigTest.java index 389bdc375a8e..62881ee0713d 100644 --- a/hedera-node/hedera-config/src/test/java/com/hedera/node/config/data/ApiPermissionConfigTest.java +++ b/hedera-node/hedera-config/src/test/java/com/hedera/node/config/data/ApiPermissionConfigTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.data; import static org.assertj.core.api.Assertions.assertThat; diff --git a/hedera-node/hedera-config/src/test/java/com/hedera/node/config/data/ConfigDataSupportTest.java b/hedera-node/hedera-config/src/test/java/com/hedera/node/config/data/ConfigDataSupportTest.java index aa4179b9eb49..438a15bdfd60 100644 --- a/hedera-node/hedera-config/src/test/java/com/hedera/node/config/data/ConfigDataSupportTest.java +++ b/hedera-node/hedera-config/src/test/java/com/hedera/node/config/data/ConfigDataSupportTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.data; import static org.assertj.core.api.Assertions.assertThat; diff --git a/hedera-node/hedera-config/src/test/java/com/hedera/node/config/data/GrpcConfigTest.java b/hedera-node/hedera-config/src/test/java/com/hedera/node/config/data/GrpcConfigTest.java index 3dcd0c42aed7..069cb20e9208 100644 --- a/hedera-node/hedera-config/src/test/java/com/hedera/node/config/data/GrpcConfigTest.java +++ b/hedera-node/hedera-config/src/test/java/com/hedera/node/config/data/GrpcConfigTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.data; import static org.assertj.core.api.Assertions.assertThat; diff --git a/hedera-node/hedera-config/src/test/java/com/hedera/node/config/sources/DynamicConfigSourceTest.java b/hedera-node/hedera-config/src/test/java/com/hedera/node/config/sources/DynamicConfigSourceTest.java index 9a1146bd9f2a..dcf067033d08 100644 --- a/hedera-node/hedera-config/src/test/java/com/hedera/node/config/sources/DynamicConfigSourceTest.java +++ b/hedera-node/hedera-config/src/test/java/com/hedera/node/config/sources/DynamicConfigSourceTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.sources; import static org.assertj.core.api.Assertions.assertThat; diff --git a/hedera-node/hedera-config/src/test/java/com/hedera/node/config/sources/PropertyConfigSourceTest.java b/hedera-node/hedera-config/src/test/java/com/hedera/node/config/sources/PropertyConfigSourceTest.java index 6411908b11b7..99ce317fda2d 100644 --- a/hedera-node/hedera-config/src/test/java/com/hedera/node/config/sources/PropertyConfigSourceTest.java +++ b/hedera-node/hedera-config/src/test/java/com/hedera/node/config/sources/PropertyConfigSourceTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.sources; import static org.junit.jupiter.api.Assertions.*; diff --git a/hedera-node/hedera-config/src/test/java/com/hedera/node/config/validation/BadDefinedRecord.java b/hedera-node/hedera-config/src/test/java/com/hedera/node/config/validation/BadDefinedRecord.java index ce9c46ce4373..b4eb5c6de1ba 100644 --- a/hedera-node/hedera-config/src/test/java/com/hedera/node/config/validation/BadDefinedRecord.java +++ b/hedera-node/hedera-config/src/test/java/com/hedera/node/config/validation/BadDefinedRecord.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.validation; import com.hedera.node.config.types.KeyValuePair; diff --git a/hedera-node/hedera-config/src/test/java/com/hedera/node/config/validation/CorrectDefinedRecord.java b/hedera-node/hedera-config/src/test/java/com/hedera/node/config/validation/CorrectDefinedRecord.java index 32a050ac6171..bf2d693beed9 100644 --- a/hedera-node/hedera-config/src/test/java/com/hedera/node/config/validation/CorrectDefinedRecord.java +++ b/hedera-node/hedera-config/src/test/java/com/hedera/node/config/validation/CorrectDefinedRecord.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.validation; import com.hedera.node.config.types.KeyValuePair; diff --git a/hedera-node/hedera-config/src/test/java/com/hedera/node/config/validation/EmulatesMapValidatorTest.java b/hedera-node/hedera-config/src/test/java/com/hedera/node/config/validation/EmulatesMapValidatorTest.java index 95b65e5e5be9..0faa7804947f 100644 --- a/hedera-node/hedera-config/src/test/java/com/hedera/node/config/validation/EmulatesMapValidatorTest.java +++ b/hedera-node/hedera-config/src/test/java/com/hedera/node/config/validation/EmulatesMapValidatorTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.validation; import static org.assertj.core.api.Assertions.assertThat; diff --git a/hedera-node/hedera-config/src/test/resources/alphabet.properties b/hedera-node/hedera-config/src/test/resources/alphabet.properties index efc73add7dd8..bd10de28fae7 100644 --- a/hedera-node/hedera-config/src/test/resources/alphabet.properties +++ b/hedera-node/hedera-config/src/test/resources/alphabet.properties @@ -1 +1,2 @@ +# SPDX-License-Identifier: Apache-2.0 a=b diff --git a/hedera-node/hedera-config/src/testFixtures/java/com/hedera/node/config/testfixtures/HederaTestConfigBuilder.java b/hedera-node/hedera-config/src/testFixtures/java/com/hedera/node/config/testfixtures/HederaTestConfigBuilder.java index c9fc0bf443bf..fc8b93affb5c 100644 --- a/hedera-node/hedera-config/src/testFixtures/java/com/hedera/node/config/testfixtures/HederaTestConfigBuilder.java +++ b/hedera-node/hedera-config/src/testFixtures/java/com/hedera/node/config/testfixtures/HederaTestConfigBuilder.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.hedera.node.config.testfixtures; import com.hedera.hapi.node.base.AccountID; diff --git a/hedera-node/hedera-config/src/testFixtures/java/module-info.java b/hedera-node/hedera-config/src/testFixtures/java/module-info.java index cf8b4b803136..62b6acf0b805 100644 --- a/hedera-node/hedera-config/src/testFixtures/java/module-info.java +++ b/hedera-node/hedera-config/src/testFixtures/java/module-info.java @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 module com.hedera.node.config.test.fixtures { exports com.hedera.node.config.testfixtures; diff --git a/hiero-dependency-versions/build.gradle.kts b/hiero-dependency-versions/build.gradle.kts index d2e6c3993129..184381d9172d 100644 --- a/hiero-dependency-versions/build.gradle.kts +++ b/hiero-dependency-versions/build.gradle.kts @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 plugins { id("org.hiero.gradle.base.lifecycle") id("org.hiero.gradle.base.jpms-modules") diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/AbstractHashable.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/AbstractHashable.java index 8bf07ff7d4c9..feb2c345ca95 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/AbstractHashable.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/AbstractHashable.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common; import com.swirlds.common.crypto.Hash; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/AutoCloseableNonThrowing.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/AutoCloseableNonThrowing.java index 0199393280d5..87e4d4f25fe7 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/AutoCloseableNonThrowing.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/AutoCloseableNonThrowing.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common; /** diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/Console.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/Console.java index 25f373e6ec00..d991a1e12852 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/Console.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/Console.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common; import java.awt.BorderLayout; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/Copyable.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/Copyable.java index bde889971106..668a6bdcd186 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/Copyable.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/Copyable.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common; /** diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/FastCopyable.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/FastCopyable.java index a54b26bfeb12..bf628fbef2c7 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/FastCopyable.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/FastCopyable.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common; import com.swirlds.base.state.Mutable; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/Releasable.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/Releasable.java index e06655ab5a72..f51c20a42f6b 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/Releasable.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/Releasable.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common; import com.swirlds.common.exceptions.ReferenceCountException; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/Reservable.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/Reservable.java index a9049ad0dfeb..43c5fc3db0c7 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/Reservable.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/Reservable.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common; /** diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/RosterStateId.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/RosterStateId.java index 717778ab4c41..9f09b3a5cefd 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/RosterStateId.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/RosterStateId.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common; /** diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/UniqueId.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/UniqueId.java index c782234620e2..49eac8fde5c4 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/UniqueId.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/UniqueId.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common; /** diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/concurrent/AbstractTask.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/concurrent/AbstractTask.java index b3592fc7ea62..2f6172e0dd0c 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/concurrent/AbstractTask.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/concurrent/AbstractTask.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.concurrent; import edu.umd.cs.findbugs.annotations.NonNull; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/concurrent/ExecutorFactory.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/concurrent/ExecutorFactory.java index 09b534e67a48..f4939071a9b9 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/concurrent/ExecutorFactory.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/concurrent/ExecutorFactory.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.concurrent; import com.swirlds.common.concurrent.internal.DefaultExecutorFactory; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/concurrent/internal/DefaultExecutorFactory.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/concurrent/internal/DefaultExecutorFactory.java index 0a1208b4fc41..365400d5bed8 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/concurrent/internal/DefaultExecutorFactory.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/concurrent/internal/DefaultExecutorFactory.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.concurrent.internal; import com.swirlds.common.concurrent.ExecutorFactory; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/concurrent/internal/DefaultForkJoinWorkerThread.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/concurrent/internal/DefaultForkJoinWorkerThread.java index 2f22dfd5919a..385d7ba9674e 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/concurrent/internal/DefaultForkJoinWorkerThread.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/concurrent/internal/DefaultForkJoinWorkerThread.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.concurrent.internal; import edu.umd.cs.findbugs.annotations.NonNull; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/concurrent/internal/DefaultForkJoinWorkerThreadFactory.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/concurrent/internal/DefaultForkJoinWorkerThreadFactory.java index a37bd4a71f72..ca3bffda619c 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/concurrent/internal/DefaultForkJoinWorkerThreadFactory.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/concurrent/internal/DefaultForkJoinWorkerThreadFactory.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.concurrent.internal; import edu.umd.cs.findbugs.annotations.NonNull; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/concurrent/internal/DefaultThreadFactory.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/concurrent/internal/DefaultThreadFactory.java index f8c4a3a93bcf..99fa807e812c 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/concurrent/internal/DefaultThreadFactory.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/concurrent/internal/DefaultThreadFactory.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.concurrent.internal; import edu.umd.cs.findbugs.annotations.NonNull; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/config/BasicCommonConfig.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/config/BasicCommonConfig.java index 62038b323d62..c9fcbec69cf0 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/config/BasicCommonConfig.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/config/BasicCommonConfig.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.config; import com.swirlds.config.api.ConfigData; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/config/StateCommonConfig.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/config/StateCommonConfig.java index 1df06e71c28f..4c0cec81de31 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/config/StateCommonConfig.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/config/StateCommonConfig.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.config; import com.swirlds.config.api.ConfigData; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/constructable/ClassConstructorPair.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/constructable/ClassConstructorPair.java index fd9cbf0d8461..b8d896d2ce60 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/constructable/ClassConstructorPair.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/constructable/ClassConstructorPair.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.constructable; import java.util.function.Supplier; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/constructable/ClassIdFormatter.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/constructable/ClassIdFormatter.java index b4fd2fab4b3b..24352d9c9858 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/constructable/ClassIdFormatter.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/constructable/ClassIdFormatter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.constructable; import com.swirlds.common.io.SerializableDet; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/constructable/ConstructableClass.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/constructable/ConstructableClass.java index 46c359471914..282cfce4c7ad 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/constructable/ConstructableClass.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/constructable/ConstructableClass.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.constructable; import java.lang.annotation.ElementType; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/constructable/ConstructableIgnored.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/constructable/ConstructableIgnored.java index f1880e084de3..3ef08d125e44 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/constructable/ConstructableIgnored.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/constructable/ConstructableIgnored.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.constructable; import com.swirlds.common.io.SelfSerializable; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/constructable/ConstructableRegistry.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/constructable/ConstructableRegistry.java index b1e83d5d2d28..0b2c4473006f 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/constructable/ConstructableRegistry.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/constructable/ConstructableRegistry.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2019-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.constructable; import java.util.function.Supplier; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/constructable/ConstructableRegistryException.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/constructable/ConstructableRegistryException.java index 23983118604d..05bbc5ed685a 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/constructable/ConstructableRegistryException.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/constructable/ConstructableRegistryException.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.constructable; /** diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/constructable/ConstructableRegistryFactory.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/constructable/ConstructableRegistryFactory.java index c70bda077c7d..65427880ecd1 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/constructable/ConstructableRegistryFactory.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/constructable/ConstructableRegistryFactory.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.constructable; import com.swirlds.common.constructable.internal.DefaultConstructableRegistry; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/constructable/ConstructorRegistry.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/constructable/ConstructorRegistry.java index 8135816e29e4..67eb3625e640 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/constructable/ConstructorRegistry.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/constructable/ConstructorRegistry.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.constructable; /** diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/constructable/GenerateClassId.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/constructable/GenerateClassId.java index 43b4a1d93adb..7e2da663d1f0 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/constructable/GenerateClassId.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/constructable/GenerateClassId.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.constructable; import java.util.Random; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/constructable/NoArgsConstructor.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/constructable/NoArgsConstructor.java index 2813943fd81c..0818a0aeb91f 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/constructable/NoArgsConstructor.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/constructable/NoArgsConstructor.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.constructable; import java.util.function.Supplier; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/constructable/RuntimeConstructable.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/constructable/RuntimeConstructable.java index fd62d257c52f..c9a9ccbda23d 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/constructable/RuntimeConstructable.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/constructable/RuntimeConstructable.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.constructable; public interface RuntimeConstructable { diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/constructable/URLClassLoaderWithLookup.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/constructable/URLClassLoaderWithLookup.java index 0aab14afa92c..044e2fac1970 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/constructable/URLClassLoaderWithLookup.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/constructable/URLClassLoaderWithLookup.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.constructable; import java.lang.invoke.MethodHandles; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/constructable/internal/ConstructableClasses.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/constructable/internal/ConstructableClasses.java index afda5eb88f7b..55d0d9b23d2b 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/constructable/internal/ConstructableClasses.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/constructable/internal/ConstructableClasses.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.constructable.internal; import com.swirlds.common.constructable.RuntimeConstructable; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/constructable/internal/ConstructableScanner.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/constructable/internal/ConstructableScanner.java index aa22a524e401..5a31cafb526a 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/constructable/internal/ConstructableScanner.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/constructable/internal/ConstructableScanner.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.constructable.internal; import com.swirlds.common.constructable.ConstructableClass; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/constructable/internal/DefaultConstructableRegistry.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/constructable/internal/DefaultConstructableRegistry.java index 99704ff7b8d8..541bf23eba1f 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/constructable/internal/DefaultConstructableRegistry.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/constructable/internal/DefaultConstructableRegistry.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2019-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.constructable.internal; import com.swirlds.common.constructable.ClassConstructorPair; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/constructable/internal/GenericClassConstructorPair.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/constructable/internal/GenericClassConstructorPair.java index c9f4dd684130..e1e92dc5a66f 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/constructable/internal/GenericClassConstructorPair.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/constructable/internal/GenericClassConstructorPair.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.constructable.internal; import com.swirlds.common.constructable.RuntimeConstructable; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/constructable/internal/GenericConstructorRegistry.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/constructable/internal/GenericConstructorRegistry.java index f86d5906c45b..0592e6651844 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/constructable/internal/GenericConstructorRegistry.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/constructable/internal/GenericConstructorRegistry.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.constructable.internal; import com.swirlds.common.Releasable; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/constructable/internal/MethodWrapper.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/constructable/internal/MethodWrapper.java index 755d0cf2f526..620a62a3c4ed 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/constructable/internal/MethodWrapper.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/constructable/internal/MethodWrapper.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.constructable.internal; import java.lang.reflect.Method; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/context/DefaultPlatformContext.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/context/DefaultPlatformContext.java index 396a29b97d93..175121e22ed4 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/context/DefaultPlatformContext.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/context/DefaultPlatformContext.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.context; import com.swirlds.base.time.Time; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/context/PlatformContext.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/context/PlatformContext.java index bbd9f82e3d47..7de54cf561ca 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/context/PlatformContext.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/context/PlatformContext.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2019-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.context; import com.swirlds.base.time.Time; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/context/internal/PlatformUncaughtExceptionHandler.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/context/internal/PlatformUncaughtExceptionHandler.java index a8e564da9f28..24673946c3b8 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/context/internal/PlatformUncaughtExceptionHandler.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/context/internal/PlatformUncaughtExceptionHandler.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.context.internal; import org.apache.logging.log4j.LogManager; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/AbstractSerializableHashable.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/AbstractSerializableHashable.java index 83c75fe01b46..09e2904f3130 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/AbstractSerializableHashable.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/AbstractSerializableHashable.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.crypto; import com.swirlds.common.AbstractHashable; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/Cryptography.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/Cryptography.java index 9f718a14cabe..b04a65a702b7 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/Cryptography.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/Cryptography.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2019-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.crypto; import com.swirlds.common.io.SelfSerializable; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/CryptographyException.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/CryptographyException.java index f60dd5060dd6..70c103357d0f 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/CryptographyException.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/CryptographyException.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.crypto; import com.swirlds.common.exceptions.PlatformException; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/CryptographyFactory.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/CryptographyFactory.java index 34a23cedb2e7..0407f3621eb3 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/CryptographyFactory.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/CryptographyFactory.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.crypto; import com.swirlds.common.crypto.engine.CryptoEngine; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/CryptographyHolder.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/CryptographyHolder.java index cedc8f648083..114a5fa01e40 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/CryptographyHolder.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/CryptographyHolder.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.crypto; import static com.swirlds.logging.legacy.LogMarker.EXCEPTION; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/DigestType.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/DigestType.java index 1e542b595d1b..ae54da943ee8 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/DigestType.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/DigestType.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.crypto; import edu.umd.cs.findbugs.annotations.NonNull; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/FutureHashable.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/FutureHashable.java index f6f5bcc2bb5c..d4cdb1ec8e3c 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/FutureHashable.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/FutureHashable.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.crypto; import java.util.concurrent.Future; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/Hash.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/Hash.java index ddfc694e3da6..037f427ff027 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/Hash.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/Hash.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.crypto; import static com.swirlds.common.utility.CommonUtils.hex; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/HashBuilder.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/HashBuilder.java index b80d54f6e238..3762f8a79fa0 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/HashBuilder.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/HashBuilder.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.crypto; import com.swirlds.logging.legacy.LogMarker; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/Hashable.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/Hashable.java index eda486353761..3920637bcf20 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/Hashable.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/Hashable.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.crypto; import edu.umd.cs.findbugs.annotations.Nullable; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/HashingOutputStream.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/HashingOutputStream.java index fd7fb547b84b..b22d1576d687 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/HashingOutputStream.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/HashingOutputStream.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.crypto; import java.io.IOException; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/InvalidDigestTypeException.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/InvalidDigestTypeException.java index acbaaa170861..76ba108f38a0 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/InvalidDigestTypeException.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/InvalidDigestTypeException.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.crypto; import com.swirlds.logging.legacy.LogMarker; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/KeyType.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/KeyType.java index ecd8bea4c81a..8c400d267bc8 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/KeyType.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/KeyType.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.crypto; import java.security.PublicKey; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/KeyUtils.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/KeyUtils.java index f313c3919ea0..5318f5e689d2 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/KeyUtils.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/KeyUtils.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.crypto; import java.security.KeyPair; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/Message.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/Message.java index af5f76b49bb4..9b2964abb83a 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/Message.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/Message.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.crypto; import java.util.Arrays; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/RunningHash.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/RunningHash.java index fafab757b37a..16d1da5ea8d9 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/RunningHash.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/RunningHash.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.crypto; import com.swirlds.common.AbstractHashable; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/RunningHashable.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/RunningHashable.java index 29be11e0aef0..7828bfa4726a 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/RunningHashable.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/RunningHashable.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.crypto; /** diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/SerializableHashable.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/SerializableHashable.java index c2ca36c03b39..6cd93b266126 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/SerializableHashable.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/SerializableHashable.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.crypto; import com.swirlds.common.io.SelfSerializable; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/SerializablePublicKey.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/SerializablePublicKey.java index 2bfab5ee8d74..9c6d18c2d842 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/SerializablePublicKey.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/SerializablePublicKey.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2019-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.crypto; import static com.swirlds.common.utility.CommonUtils.hex; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/Signature.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/Signature.java index d87d20d7d471..8a30d5f22bfa 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/Signature.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/Signature.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.crypto; import static com.swirlds.common.crypto.SignatureType.RSA; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/SignatureType.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/SignatureType.java index 737bcb92a136..afe4a3f4a8af 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/SignatureType.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/SignatureType.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.crypto; import java.security.Security; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/TransactionSignature.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/TransactionSignature.java index 11c0b45f8494..edbf4681031f 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/TransactionSignature.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/TransactionSignature.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.crypto; import com.swirlds.base.utility.ToStringBuilder; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/VerificationStatus.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/VerificationStatus.java index 618b931d333d..9517be595d76 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/VerificationStatus.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/VerificationStatus.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.crypto; /** diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/config/CryptoConfig.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/config/CryptoConfig.java index 8f0257c61655..4cc97e874e1e 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/config/CryptoConfig.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/config/CryptoConfig.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.crypto.config; import com.swirlds.config.api.ConfigData; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/engine/CachingOperationProvider.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/engine/CachingOperationProvider.java index fdabbb92eed1..842919709dde 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/engine/CachingOperationProvider.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/engine/CachingOperationProvider.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.crypto.engine; import java.security.NoSuchAlgorithmException; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/engine/CryptoEngine.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/engine/CryptoEngine.java index b9f21b5cf513..13ef905e89e1 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/engine/CryptoEngine.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/engine/CryptoEngine.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.crypto.engine; import com.swirlds.common.crypto.Cryptography; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/engine/DigestProvider.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/engine/DigestProvider.java index 78b8b5cdc91a..4fcf45efdc16 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/engine/DigestProvider.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/engine/DigestProvider.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2019-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.crypto.engine; import com.swirlds.common.crypto.DigestType; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/engine/EcdsaSecp256k1VerificationProvider.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/engine/EcdsaSecp256k1VerificationProvider.java index 9ee1b0236ebc..c25e3da24147 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/engine/EcdsaSecp256k1VerificationProvider.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/engine/EcdsaSecp256k1VerificationProvider.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2019-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.crypto.engine; import static com.swirlds.common.utility.CommonUtils.hex; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/engine/EcdsaSecp256k1Verifier.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/engine/EcdsaSecp256k1Verifier.java index 97c1356ffb8f..3a776fd49798 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/engine/EcdsaSecp256k1Verifier.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/engine/EcdsaSecp256k1Verifier.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2021-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.crypto.engine; import static com.swirlds.common.utility.CommonUtils.hex; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/engine/Ed25519VerificationProvider.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/engine/Ed25519VerificationProvider.java index 9441c2ad9882..bb3120417300 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/engine/Ed25519VerificationProvider.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/engine/Ed25519VerificationProvider.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2019-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.crypto.engine; import static com.swirlds.common.utility.CommonUtils.hex; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/engine/OperationProvider.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/engine/OperationProvider.java index a43c90e77017..d0225a26c7d2 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/engine/OperationProvider.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/engine/OperationProvider.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.crypto.engine; import java.security.NoSuchAlgorithmException; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/engine/RunningHashProvider.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/engine/RunningHashProvider.java index 48d1c02bd983..01b6789322d6 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/engine/RunningHashProvider.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/engine/RunningHashProvider.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2019-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.crypto.engine; import static com.swirlds.logging.legacy.LogMarker.TESTING_EXCEPTIONS; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/engine/SerializationDigestProvider.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/engine/SerializationDigestProvider.java index 87fd95d0316b..982781396253 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/engine/SerializationDigestProvider.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/engine/SerializationDigestProvider.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2019-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.crypto.engine; import com.swirlds.common.crypto.CryptographyException; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/internal/CryptoUtils.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/internal/CryptoUtils.java index 417b03ebd183..84b7c9248e9e 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/internal/CryptoUtils.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/crypto/internal/CryptoUtils.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2019-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.crypto.internal; import java.security.MessageDigest; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/exceptions/NotImplementedException.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/exceptions/NotImplementedException.java index fb83da6106bc..46cad282b9a4 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/exceptions/NotImplementedException.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/exceptions/NotImplementedException.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.exceptions; /** diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/exceptions/PlatformException.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/exceptions/PlatformException.java index b51e93b948e8..b0491f38ea31 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/exceptions/PlatformException.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/exceptions/PlatformException.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.exceptions; import com.swirlds.logging.legacy.LogMarker; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/exceptions/ReferenceCountException.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/exceptions/ReferenceCountException.java index 257a58b042ee..c059877514b6 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/exceptions/ReferenceCountException.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/exceptions/ReferenceCountException.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.exceptions; /** diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/formatting/HorizontalAlignment.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/formatting/HorizontalAlignment.java index dbbefadb878d..1955f5ab6f99 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/formatting/HorizontalAlignment.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/formatting/HorizontalAlignment.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.formatting; import static com.swirlds.common.formatting.StringFormattingUtils.repeatedChar; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/formatting/StringFormattingUtils.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/formatting/StringFormattingUtils.java index 4346eb73980a..c9995c6c0240 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/formatting/StringFormattingUtils.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/formatting/StringFormattingUtils.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.formatting; import static com.swirlds.common.formatting.HorizontalAlignment.ALIGNED_RIGHT; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/formatting/TextEffect.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/formatting/TextEffect.java index b3f02d06afed..06cd97c9d63d 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/formatting/TextEffect.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/formatting/TextEffect.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.formatting; import java.util.List; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/formatting/TextHistogram.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/formatting/TextHistogram.java index 1d7e791f1d52..8dbf10052861 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/formatting/TextHistogram.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/formatting/TextHistogram.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.formatting; import static com.swirlds.common.formatting.StringFormattingUtils.commaSeparatedNumber; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/formatting/TextTable.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/formatting/TextTable.java index ef7c8c1114bd..768ecd1e22ce 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/formatting/TextTable.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/formatting/TextTable.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.formatting; import static com.swirlds.common.formatting.HorizontalAlignment.ALIGNED_CENTER; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/formatting/UnitFormat.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/formatting/UnitFormat.java index 8b42b828a437..f16cc5515366 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/formatting/UnitFormat.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/formatting/UnitFormat.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.formatting; /** diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/formatting/UnitFormatter.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/formatting/UnitFormatter.java index 0a88cee2ce87..c3ed5c1c7232 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/formatting/UnitFormatter.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/formatting/UnitFormatter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.formatting; import static com.swirlds.common.formatting.StringFormattingUtils.commaSeparatedNumber; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/ExternalSelfSerializable.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/ExternalSelfSerializable.java index 44161312a928..654a19d83a5e 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/ExternalSelfSerializable.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/ExternalSelfSerializable.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.io; import com.swirlds.common.io.streams.SerializableDataInputStream; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/FunctionalSerialize.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/FunctionalSerialize.java index d0f43f3b0334..82ee505ea634 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/FunctionalSerialize.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/FunctionalSerialize.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.io; import com.swirlds.common.io.streams.SerializableDataOutputStream; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/IOIterator.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/IOIterator.java index 2383d8edf9d3..2a414d32e02b 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/IOIterator.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/IOIterator.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.io; import com.swirlds.common.AutoCloseableNonThrowing; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/SelfSerializable.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/SelfSerializable.java index b66a7f2644ce..19b8518dd08d 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/SelfSerializable.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/SelfSerializable.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.io; import com.swirlds.common.io.streams.SerializableDataInputStream; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/SerializableDet.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/SerializableDet.java index e25a1a979797..f284bd8c79bb 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/SerializableDet.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/SerializableDet.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.io; import com.swirlds.common.constructable.RuntimeConstructable; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/SerializableWithKnownLength.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/SerializableWithKnownLength.java index 57c9e4d2eccf..03ef669d4fa1 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/SerializableWithKnownLength.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/SerializableWithKnownLength.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.io; /** diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/Versioned.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/Versioned.java index 7c9aeba1ade7..27b9d01173c5 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/Versioned.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/Versioned.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.io; /** diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/config/FileSystemManagerConfig.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/config/FileSystemManagerConfig.java index 22f631acc7a9..0bffa9f6c80e 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/config/FileSystemManagerConfig.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/config/FileSystemManagerConfig.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.io.config; import com.swirlds.common.io.filesystem.FileSystemManager; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/config/TemporaryFileConfig.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/config/TemporaryFileConfig.java index b675ba572c74..49de438944b1 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/config/TemporaryFileConfig.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/config/TemporaryFileConfig.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.io.config; import com.swirlds.common.config.StateCommonConfig; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/exceptions/BadIOException.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/exceptions/BadIOException.java index 4b9f0d139a29..60434fc3c728 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/exceptions/BadIOException.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/exceptions/BadIOException.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.io.exceptions; import java.io.IOException; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/exceptions/ClassNotFoundException.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/exceptions/ClassNotFoundException.java index 4309fe6476f8..75b777967fd2 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/exceptions/ClassNotFoundException.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/exceptions/ClassNotFoundException.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.io.exceptions; import java.io.IOException; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/exceptions/InvalidStreamPosition.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/exceptions/InvalidStreamPosition.java index 3dfffa9bd866..0c4080a5a49d 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/exceptions/InvalidStreamPosition.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/exceptions/InvalidStreamPosition.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2019-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.io.exceptions; import java.io.IOException; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/exceptions/InvalidVersionException.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/exceptions/InvalidVersionException.java index b063dd79b73a..3f5df925d4c8 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/exceptions/InvalidVersionException.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/exceptions/InvalidVersionException.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.io.exceptions; import com.swirlds.common.io.SerializableDet; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/exceptions/MerkleSerializationException.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/exceptions/MerkleSerializationException.java index ba15eb0cb4ca..14595518335a 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/exceptions/MerkleSerializationException.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/exceptions/MerkleSerializationException.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2021-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.io.exceptions; import static com.swirlds.common.constructable.ClassIdFormatter.versionedClassIdString; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/extendable/ExtendableInputStream.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/extendable/ExtendableInputStream.java index 3c792aa6334a..220d4b98fea1 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/extendable/ExtendableInputStream.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/extendable/ExtendableInputStream.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.io.extendable; import java.io.IOException; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/extendable/ExtendableOutputStream.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/extendable/ExtendableOutputStream.java index 09fc638f8576..74febe56235e 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/extendable/ExtendableOutputStream.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/extendable/ExtendableOutputStream.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.io.extendable; import java.io.IOException; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/extendable/InputStreamExtension.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/extendable/InputStreamExtension.java index c1adea374bbf..ee47d54f0d76 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/extendable/InputStreamExtension.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/extendable/InputStreamExtension.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.io.extendable; import java.io.Closeable; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/extendable/OutputStreamExtension.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/extendable/OutputStreamExtension.java index fc1ac356de6f..c810a9d2a9ab 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/extendable/OutputStreamExtension.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/extendable/OutputStreamExtension.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.io.extendable; import java.io.Closeable; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/extendable/extensions/AbstractStreamExtension.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/extendable/extensions/AbstractStreamExtension.java index 2053fa13e81a..22e57472172a 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/extendable/extensions/AbstractStreamExtension.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/extendable/extensions/AbstractStreamExtension.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.io.extendable.extensions; import com.swirlds.common.io.extendable.InputStreamExtension; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/extendable/extensions/CountingStreamExtension.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/extendable/extensions/CountingStreamExtension.java index debe74593f55..c6b007078eb8 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/extendable/extensions/CountingStreamExtension.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/extendable/extensions/CountingStreamExtension.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.io.extendable.extensions; import com.swirlds.base.units.UnitConstants; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/extendable/extensions/ExpiringStreamExtension.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/extendable/extensions/ExpiringStreamExtension.java index dfe48baa8e82..c60ca6f82a25 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/extendable/extensions/ExpiringStreamExtension.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/extendable/extensions/ExpiringStreamExtension.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.io.extendable.extensions; import static com.swirlds.common.utility.CompareTo.isGreaterThan; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/extendable/extensions/HashingStreamExtension.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/extendable/extensions/HashingStreamExtension.java index 7095731624e5..5f13db08bde4 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/extendable/extensions/HashingStreamExtension.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/extendable/extensions/HashingStreamExtension.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.io.extendable.extensions; import com.swirlds.common.crypto.DigestType; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/extendable/extensions/MaxSizeStreamExtension.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/extendable/extensions/MaxSizeStreamExtension.java index 13dd1345832a..9717eeaf1c0e 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/extendable/extensions/MaxSizeStreamExtension.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/extendable/extensions/MaxSizeStreamExtension.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.io.extendable.extensions; import com.swirlds.common.io.extendable.extensions.internal.Counter; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/extendable/extensions/ThrottleStreamExtension.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/extendable/extensions/ThrottleStreamExtension.java index acd43f57a1dc..3643ad1c32f7 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/extendable/extensions/ThrottleStreamExtension.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/extendable/extensions/ThrottleStreamExtension.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.io.extendable.extensions; import static com.swirlds.base.units.UnitConstants.NANOSECONDS_TO_SECONDS; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/extendable/extensions/internal/Counter.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/extendable/extensions/internal/Counter.java index de9bf5cc894b..66565b503435 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/extendable/extensions/internal/Counter.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/extendable/extensions/internal/Counter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.io.extendable.extensions.internal; /** diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/extendable/extensions/internal/StandardCounter.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/extendable/extensions/internal/StandardCounter.java index 65dfa9ee9e95..8da2bdcbd921 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/extendable/extensions/internal/StandardCounter.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/extendable/extensions/internal/StandardCounter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.io.extendable.extensions.internal; /** diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/extendable/extensions/internal/ThreadSafeCounter.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/extendable/extensions/internal/ThreadSafeCounter.java index fb1d9f5e8a2d..56912217f575 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/extendable/extensions/internal/ThreadSafeCounter.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/extendable/extensions/internal/ThreadSafeCounter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.io.extendable.extensions.internal; import java.util.concurrent.atomic.AtomicLong; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/filesystem/FileSystemManager.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/filesystem/FileSystemManager.java index b10a747d6126..5539e5d8f568 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/filesystem/FileSystemManager.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/filesystem/FileSystemManager.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.io.filesystem; import com.swirlds.common.io.config.FileSystemManagerConfig; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/filesystem/internal/FileSystemManagerImpl.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/filesystem/internal/FileSystemManagerImpl.java index a0b9c3036b16..38b19dc737ce 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/filesystem/internal/FileSystemManagerImpl.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/filesystem/internal/FileSystemManagerImpl.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.io.filesystem.internal; import static com.swirlds.common.io.utility.FileUtils.rethrowIO; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/streams/AugmentedDataInputStream.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/streams/AugmentedDataInputStream.java index a230317d1a8e..0059489f2306 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/streams/AugmentedDataInputStream.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/streams/AugmentedDataInputStream.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.io.streams; import static com.swirlds.common.io.streams.SerializableStreamConstants.DEFAULT_CHECKSUM; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/streams/AugmentedDataOutputStream.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/streams/AugmentedDataOutputStream.java index d36b7b9212d0..005e0452228f 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/streams/AugmentedDataOutputStream.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/streams/AugmentedDataOutputStream.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.io.streams; import static com.swirlds.common.io.streams.SerializableStreamConstants.DEFAULT_CHECKSUM; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/streams/DebuggableMerkleDataInputStream.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/streams/DebuggableMerkleDataInputStream.java index 0c4201e6dc94..b7cb7ebca592 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/streams/DebuggableMerkleDataInputStream.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/streams/DebuggableMerkleDataInputStream.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.io.streams; import com.swirlds.base.function.CheckedFunction; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/streams/MerkleDataInputStream.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/streams/MerkleDataInputStream.java index 55d38a34f8d5..649c15d606ed 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/streams/MerkleDataInputStream.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/streams/MerkleDataInputStream.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.io.streams; import static com.swirlds.common.constructable.ClassIdFormatter.classIdString; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/streams/MerkleDataOutputStream.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/streams/MerkleDataOutputStream.java index f4e03c8223fd..140575f7e7c4 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/streams/MerkleDataOutputStream.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/streams/MerkleDataOutputStream.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.io.streams; import static com.swirlds.common.merkle.iterators.MerkleIterationOrder.BREADTH_FIRST; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/streams/SerializableDataInputStream.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/streams/SerializableDataInputStream.java index 5f9822f6244b..2a65f7445bc4 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/streams/SerializableDataInputStream.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/streams/SerializableDataInputStream.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.io.streams; import static com.swirlds.common.io.streams.SerializableStreamConstants.NULL_CLASS_ID; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/streams/SerializableDataOutputStream.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/streams/SerializableDataOutputStream.java index 4a2750371faf..579fd2a26156 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/streams/SerializableDataOutputStream.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/streams/SerializableDataOutputStream.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.io.streams; import static com.swirlds.common.io.streams.SerializableStreamConstants.BOOLEAN_BYTES; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/streams/SerializableStreamConstants.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/streams/SerializableStreamConstants.java index 2b90cefcf4ff..55c269880639 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/streams/SerializableStreamConstants.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/streams/SerializableStreamConstants.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.io.streams; import com.swirlds.common.io.SelfSerializable; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/streams/StreamDebugUtils.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/streams/StreamDebugUtils.java index 3eef007ef838..6411a60f2a1c 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/streams/StreamDebugUtils.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/streams/StreamDebugUtils.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.io.streams; import static com.swirlds.logging.legacy.LogMarker.EXCEPTION; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/streams/internal/MerkleSerializationProtocol.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/streams/internal/MerkleSerializationProtocol.java index 5fcefb04b959..6051d8f2754c 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/streams/internal/MerkleSerializationProtocol.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/streams/internal/MerkleSerializationProtocol.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.io.streams.internal; /** diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/streams/internal/MerkleTreeSerializationOptions.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/streams/internal/MerkleTreeSerializationOptions.java index c519943f0882..d1e001a27542 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/streams/internal/MerkleTreeSerializationOptions.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/streams/internal/MerkleTreeSerializationOptions.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.io.streams.internal; import com.swirlds.common.io.SelfSerializable; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/streams/internal/PartiallyConstructedMerkleInternal.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/streams/internal/PartiallyConstructedMerkleInternal.java index cae48e970dd9..9c15486aa397 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/streams/internal/PartiallyConstructedMerkleInternal.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/streams/internal/PartiallyConstructedMerkleInternal.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.io.streams.internal; import com.swirlds.common.merkle.MerkleInternal; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/streams/internal/SerializationOperation.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/streams/internal/SerializationOperation.java index bf09b7576696..2b5ba5777708 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/streams/internal/SerializationOperation.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/streams/internal/SerializationOperation.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.io.streams.internal; import com.swirlds.common.io.streams.AugmentedDataInputStream; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/streams/internal/SerializationStack.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/streams/internal/SerializationStack.java index b27eb0283320..084a6325deb8 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/streams/internal/SerializationStack.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/streams/internal/SerializationStack.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.io.streams.internal; import java.util.Deque; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/streams/internal/SerializationStackElement.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/streams/internal/SerializationStackElement.java index 6d7ccae2dc27..5241cc481a24 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/streams/internal/SerializationStackElement.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/streams/internal/SerializationStackElement.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.io.streams.internal; import static com.swirlds.common.io.streams.SerializableStreamConstants.NULL_CLASS_ID; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/utility/FileUtils.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/utility/FileUtils.java index 34e88331767e..bf91db6ed118 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/utility/FileUtils.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/utility/FileUtils.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.io.utility; import static com.swirlds.common.io.utility.LegacyTemporaryFileBuilder.buildTemporaryDirectory; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/utility/IOConsumer.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/utility/IOConsumer.java index 38ca73849967..60658d4b4cd3 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/utility/IOConsumer.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/utility/IOConsumer.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.io.utility; import java.io.IOException; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/utility/IORunnable.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/utility/IORunnable.java index 63077b5f688a..5c81bb1d5a1f 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/utility/IORunnable.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/utility/IORunnable.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.io.utility; import java.io.IOException; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/utility/IOSupplier.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/utility/IOSupplier.java index cd66e05899ea..74f9b2ee3f25 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/utility/IOSupplier.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/utility/IOSupplier.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.io.utility; import java.io.IOException; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/utility/LegacyTemporaryFileBuilder.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/utility/LegacyTemporaryFileBuilder.java index b4ccbfe9c094..765518654b2b 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/utility/LegacyTemporaryFileBuilder.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/utility/LegacyTemporaryFileBuilder.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.io.utility; import static com.swirlds.common.io.utility.FileUtils.deleteDirectoryAndLog; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/utility/NoOpRecycleBin.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/utility/NoOpRecycleBin.java index 263280edd40a..1f797c29fb3b 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/utility/NoOpRecycleBin.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/utility/NoOpRecycleBin.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.io.utility; import edu.umd.cs.findbugs.annotations.NonNull; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/utility/RecycleBin.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/utility/RecycleBin.java index dfabcae97030..ea2ed98034f7 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/utility/RecycleBin.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/utility/RecycleBin.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.io.utility; import com.swirlds.base.state.Startable; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/utility/RecycleBinImpl.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/utility/RecycleBinImpl.java index 6b5030c43dc1..1d9933b12583 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/utility/RecycleBinImpl.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/io/utility/RecycleBinImpl.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.io.utility; import static com.swirlds.common.io.utility.FileUtils.deleteDirectory; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/jackson/HashDeserializer.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/jackson/HashDeserializer.java index 4467238862c8..439e39561bfb 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/jackson/HashDeserializer.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/jackson/HashDeserializer.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.jackson; import com.fasterxml.jackson.core.JsonParser; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/jackson/InstantDeserializer.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/jackson/InstantDeserializer.java index 4180b64555a6..8d29010674e5 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/jackson/InstantDeserializer.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/jackson/InstantDeserializer.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.jackson; import com.fasterxml.jackson.core.JsonParser; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/MerkleInternal.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/MerkleInternal.java index 0542b4455b3b..8b0a4977929d 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/MerkleInternal.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/MerkleInternal.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle; import com.swirlds.common.merkle.impl.PartialBinaryMerkleInternal; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/MerkleLeaf.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/MerkleLeaf.java index f122f2725349..f70224c58206 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/MerkleLeaf.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/MerkleLeaf.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle; import com.swirlds.common.crypto.SerializableHashable; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/MerkleNode.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/MerkleNode.java index a1c6c0c33cf8..df29bf02046b 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/MerkleNode.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/MerkleNode.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle; import com.swirlds.common.FastCopyable; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/copy/MerkleCopy.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/copy/MerkleCopy.java index b9f9b751d080..159fc57378ee 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/copy/MerkleCopy.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/copy/MerkleCopy.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.copy; import static com.swirlds.common.merkle.copy.MerkleInitialize.initializeTreeAfterCopy; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/copy/MerkleInitialize.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/copy/MerkleInitialize.java index 26e3bc611c73..17319022d8e4 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/copy/MerkleInitialize.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/copy/MerkleInitialize.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2021-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.copy; import com.swirlds.common.io.ExternalSelfSerializable; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/copy/MerklePathReplacement.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/copy/MerklePathReplacement.java index 864fa9e7fc8a..027aeff134ed 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/copy/MerklePathReplacement.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/copy/MerklePathReplacement.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.copy; import static com.swirlds.common.merkle.copy.MerkleCopy.adoptChildren; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/copy/NodeToCopy.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/copy/NodeToCopy.java index a714198ab128..79a4a010ab23 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/copy/NodeToCopy.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/copy/NodeToCopy.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.copy; import com.swirlds.base.utility.ToStringBuilder; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/crypto/MerkleCryptoFactory.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/crypto/MerkleCryptoFactory.java index 7e28cf448a26..5503cb7b8cbf 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/crypto/MerkleCryptoFactory.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/crypto/MerkleCryptoFactory.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.crypto; import static com.swirlds.logging.legacy.LogMarker.EXCEPTION; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/crypto/MerkleCryptography.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/crypto/MerkleCryptography.java index d6e7f1e43b3f..3262857b5c0f 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/crypto/MerkleCryptography.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/crypto/MerkleCryptography.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.crypto; import static com.swirlds.common.crypto.Cryptography.DEFAULT_DIGEST_TYPE; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/crypto/MerkleCryptographyFactory.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/crypto/MerkleCryptographyFactory.java index eff4213c4a5e..afaf79ac4d58 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/crypto/MerkleCryptographyFactory.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/crypto/MerkleCryptographyFactory.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.crypto; import com.swirlds.common.crypto.Cryptography; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/crypto/internal/MerkleCryptoEngine.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/crypto/internal/MerkleCryptoEngine.java index f9ee1227b5ff..ea46776bbe13 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/crypto/internal/MerkleCryptoEngine.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/crypto/internal/MerkleCryptoEngine.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.crypto.internal; import static com.swirlds.common.merkle.utility.MerkleConstants.MERKLE_DIGEST_TYPE; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/crypto/internal/MerkleInternalDigestProvider.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/crypto/internal/MerkleInternalDigestProvider.java index e565d39447d7..6d4a39ab5204 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/crypto/internal/MerkleInternalDigestProvider.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/crypto/internal/MerkleInternalDigestProvider.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2019-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.crypto.internal; import static com.swirlds.logging.legacy.LogMarker.TESTING_EXCEPTIONS; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/exceptions/FailedRehashException.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/exceptions/FailedRehashException.java index 4f8f29a72601..668bf4ca8714 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/exceptions/FailedRehashException.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/exceptions/FailedRehashException.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.exceptions; /** diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/exceptions/IllegalChildBoundsException.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/exceptions/IllegalChildBoundsException.java index 49b7db8f9134..f0d48d318a22 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/exceptions/IllegalChildBoundsException.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/exceptions/IllegalChildBoundsException.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.exceptions; public class IllegalChildBoundsException extends IllegalArgumentException { diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/exceptions/IllegalChildCountException.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/exceptions/IllegalChildCountException.java index d436ae1dfbe8..1fffb4eab287 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/exceptions/IllegalChildCountException.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/exceptions/IllegalChildCountException.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.exceptions; public class IllegalChildCountException extends IllegalArgumentException { diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/exceptions/IllegalChildHashException.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/exceptions/IllegalChildHashException.java index dad94be507ef..1d5573724d28 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/exceptions/IllegalChildHashException.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/exceptions/IllegalChildHashException.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.exceptions; public class IllegalChildHashException extends RuntimeException { diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/exceptions/IllegalChildIndexException.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/exceptions/IllegalChildIndexException.java index a7e0b14b533f..499491b73f07 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/exceptions/IllegalChildIndexException.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/exceptions/IllegalChildIndexException.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.exceptions; public class IllegalChildIndexException extends IllegalArgumentException { diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/exceptions/IllegalChildTypeException.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/exceptions/IllegalChildTypeException.java index 1277f30e9320..91c252edeea5 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/exceptions/IllegalChildTypeException.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/exceptions/IllegalChildTypeException.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.exceptions; /** diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/exceptions/MerkleCopyException.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/exceptions/MerkleCopyException.java index 55d022aa6950..dc2b7d89e21f 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/exceptions/MerkleCopyException.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/exceptions/MerkleCopyException.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.exceptions; /** diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/exceptions/MerkleRouteException.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/exceptions/MerkleRouteException.java index a9057b50417e..bbe8bd0d9804 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/exceptions/MerkleRouteException.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/exceptions/MerkleRouteException.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.exceptions; /** diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/hash/FutureMerkleHash.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/hash/FutureMerkleHash.java index b561f3754d8d..0519a0c115d3 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/hash/FutureMerkleHash.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/hash/FutureMerkleHash.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.hash; import com.swirlds.common.crypto.Hash; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/hash/MerkleHashBuilder.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/hash/MerkleHashBuilder.java index 817c0d482f1e..799fce8847bd 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/hash/MerkleHashBuilder.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/hash/MerkleHashBuilder.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.hash; import static com.swirlds.common.merkle.utility.MerkleConstants.MERKLE_DIGEST_TYPE; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/hash/MerkleHashChecker.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/hash/MerkleHashChecker.java index 06a34a8fd1d5..4652465be81c 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/hash/MerkleHashChecker.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/hash/MerkleHashChecker.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.hash; import static com.swirlds.logging.legacy.LogMarker.EXCEPTION; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/impl/ComposedMerkleInternal.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/impl/ComposedMerkleInternal.java index 4c241784533c..9d69a9aa6ffc 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/impl/ComposedMerkleInternal.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/impl/ComposedMerkleInternal.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.impl; import com.swirlds.common.constructable.ConstructableIgnored; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/impl/ComposedMerkleLeaf.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/impl/ComposedMerkleLeaf.java index 4a921e371a57..348a8b5986b1 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/impl/ComposedMerkleLeaf.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/impl/ComposedMerkleLeaf.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.impl; import com.swirlds.common.crypto.Hash; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/impl/PartialBinaryMerkleInternal.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/impl/PartialBinaryMerkleInternal.java index 0293bdfdc159..208844f10937 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/impl/PartialBinaryMerkleInternal.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/impl/PartialBinaryMerkleInternal.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.impl; import com.swirlds.common.merkle.MerkleInternal; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/impl/PartialMerkleInternal.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/impl/PartialMerkleInternal.java index 0b7f516f300e..9158a31317ef 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/impl/PartialMerkleInternal.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/impl/PartialMerkleInternal.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.impl; import com.swirlds.base.state.Mutable; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/impl/PartialMerkleLeaf.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/impl/PartialMerkleLeaf.java index 55fb5b69e966..b311f24f7455 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/impl/PartialMerkleLeaf.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/impl/PartialMerkleLeaf.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.impl; import com.swirlds.common.merkle.MerkleLeaf; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/impl/PartialNaryMerkleInternal.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/impl/PartialNaryMerkleInternal.java index 7d28846b120f..47d0437bda76 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/impl/PartialNaryMerkleInternal.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/impl/PartialNaryMerkleInternal.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.impl; import com.swirlds.common.merkle.MerkleInternal; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/impl/destroyable/DestroyableBinaryMerkleInternal.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/impl/destroyable/DestroyableBinaryMerkleInternal.java index 2ee2e19ed608..57ebee4e21c6 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/impl/destroyable/DestroyableBinaryMerkleInternal.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/impl/destroyable/DestroyableBinaryMerkleInternal.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.impl.destroyable; import com.swirlds.common.merkle.impl.PartialBinaryMerkleInternal; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/impl/destroyable/DestroyableMerkleLeaf.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/impl/destroyable/DestroyableMerkleLeaf.java index 1221378745b5..aa2a7c17ed83 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/impl/destroyable/DestroyableMerkleLeaf.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/impl/destroyable/DestroyableMerkleLeaf.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.impl.destroyable; import com.swirlds.common.merkle.impl.PartialMerkleLeaf; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/impl/destroyable/DestroyableNaryMerkleInternal.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/impl/destroyable/DestroyableNaryMerkleInternal.java index f5f9d21f0e86..6d5e3c28b546 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/impl/destroyable/DestroyableNaryMerkleInternal.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/impl/destroyable/DestroyableNaryMerkleInternal.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.impl.destroyable; import com.swirlds.common.merkle.impl.PartialNaryMerkleInternal; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/impl/internal/AbstractMerkleInternal.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/impl/internal/AbstractMerkleInternal.java index 826175bdc400..557d21831bc0 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/impl/internal/AbstractMerkleInternal.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/impl/internal/AbstractMerkleInternal.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.impl.internal; import static com.swirlds.common.io.streams.SerializableStreamConstants.NULL_CLASS_ID; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/impl/internal/AbstractMerkleNode.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/impl/internal/AbstractMerkleNode.java index b2c1c3c50730..bd3c041b97af 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/impl/internal/AbstractMerkleNode.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/impl/internal/AbstractMerkleNode.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.impl.internal; import static com.swirlds.common.merkle.route.MerkleRouteFactory.getEmptyRoute; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/interfaces/HasMerkleRoute.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/interfaces/HasMerkleRoute.java index 9802d4ddba70..35279a0c7c6c 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/interfaces/HasMerkleRoute.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/interfaces/HasMerkleRoute.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.interfaces; import com.swirlds.common.merkle.exceptions.MerkleRouteException; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/interfaces/MerkleMigratable.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/interfaces/MerkleMigratable.java index a2b86034d2bc..a3db0fb18bee 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/interfaces/MerkleMigratable.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/interfaces/MerkleMigratable.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.interfaces; import com.swirlds.common.merkle.MerkleInternal; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/interfaces/MerkleParent.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/interfaces/MerkleParent.java index 1b3cfec65096..cf3d99578ff8 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/interfaces/MerkleParent.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/interfaces/MerkleParent.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.interfaces; import com.swirlds.base.state.MutabilityException; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/interfaces/MerkleTraversable.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/interfaces/MerkleTraversable.java index 948c1964184c..5d3482de6b43 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/interfaces/MerkleTraversable.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/interfaces/MerkleTraversable.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.interfaces; import com.swirlds.common.merkle.MerkleNode; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/interfaces/MerkleType.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/interfaces/MerkleType.java index 608e042f19a9..5ac99d4c202b 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/interfaces/MerkleType.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/interfaces/MerkleType.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.interfaces; import com.swirlds.common.merkle.MerkleInternal; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/interfaces/Rebuildable.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/interfaces/Rebuildable.java index 30c8f6e8221e..6898cf6799a2 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/interfaces/Rebuildable.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/interfaces/Rebuildable.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.interfaces; /** diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/iterators/MerkleIterationOrder.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/iterators/MerkleIterationOrder.java index 78e4bf3cbbfb..36f35c979fed 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/iterators/MerkleIterationOrder.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/iterators/MerkleIterationOrder.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.iterators; /** diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/iterators/MerkleIterator.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/iterators/MerkleIterator.java index 3b31cc0a6d68..10a7681685eb 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/iterators/MerkleIterator.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/iterators/MerkleIterator.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.iterators; import com.swirlds.common.io.utility.IOConsumer; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/iterators/internal/BreadthFirstAlgorithm.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/iterators/internal/BreadthFirstAlgorithm.java index 3a85a550a878..68dfba702bda 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/iterators/internal/BreadthFirstAlgorithm.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/iterators/internal/BreadthFirstAlgorithm.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.iterators.internal; import com.swirlds.common.merkle.MerkleInternal; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/iterators/internal/MerkleIterationAlgorithm.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/iterators/internal/MerkleIterationAlgorithm.java index 1d3f6121910a..9655f35c224b 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/iterators/internal/MerkleIterationAlgorithm.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/iterators/internal/MerkleIterationAlgorithm.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.iterators.internal; import com.swirlds.common.merkle.MerkleInternal; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/iterators/internal/NullNode.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/iterators/internal/NullNode.java index fd30fd3649f7..119ec49c9d7a 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/iterators/internal/NullNode.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/iterators/internal/NullNode.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.iterators.internal; import com.swirlds.common.constructable.ConstructableIgnored; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/iterators/internal/PostOrderedDepthFirstAlgorithm.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/iterators/internal/PostOrderedDepthFirstAlgorithm.java index b763256c3170..912a0020da36 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/iterators/internal/PostOrderedDepthFirstAlgorithm.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/iterators/internal/PostOrderedDepthFirstAlgorithm.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.iterators.internal; import com.swirlds.common.merkle.MerkleInternal; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/iterators/internal/PostOrderedDepthFirstRandomAlgorithm.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/iterators/internal/PostOrderedDepthFirstRandomAlgorithm.java index f46a55867401..16ca4959d726 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/iterators/internal/PostOrderedDepthFirstRandomAlgorithm.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/iterators/internal/PostOrderedDepthFirstRandomAlgorithm.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.iterators.internal; import com.swirlds.common.merkle.MerkleInternal; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/iterators/internal/PreOrderedDepthFirstAlgorithm.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/iterators/internal/PreOrderedDepthFirstAlgorithm.java index bde6d496643e..d5c229ef594a 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/iterators/internal/PreOrderedDepthFirstAlgorithm.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/iterators/internal/PreOrderedDepthFirstAlgorithm.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.iterators.internal; import com.swirlds.common.merkle.MerkleInternal; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/iterators/internal/ReversePostOrderedDepthFirstAlgorithm.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/iterators/internal/ReversePostOrderedDepthFirstAlgorithm.java index 2626c5cbc505..ad61cbeed70a 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/iterators/internal/ReversePostOrderedDepthFirstAlgorithm.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/iterators/internal/ReversePostOrderedDepthFirstAlgorithm.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.iterators.internal; import com.swirlds.common.merkle.MerkleInternal; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/route/MerkleRoute.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/route/MerkleRoute.java index 46cce6017d8b..8d5f8498a042 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/route/MerkleRoute.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/route/MerkleRoute.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.route; import com.swirlds.common.io.SelfSerializable; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/route/MerkleRouteFactory.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/route/MerkleRouteFactory.java index 347da4524669..212e88eca2be 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/route/MerkleRouteFactory.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/route/MerkleRouteFactory.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2021-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.route; import com.swirlds.common.merkle.route.internal.BinaryMerkleRoute; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/route/MerkleRouteFormatException.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/route/MerkleRouteFormatException.java index 881d2ba10d01..248af3d19250 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/route/MerkleRouteFormatException.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/route/MerkleRouteFormatException.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.route; /** diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/route/MerkleRouteIterator.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/route/MerkleRouteIterator.java index 2488b4e5fbcc..f1d3a84cff47 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/route/MerkleRouteIterator.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/route/MerkleRouteIterator.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.route; import com.swirlds.common.merkle.MerkleInternal; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/route/MerkleRouteUtils.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/route/MerkleRouteUtils.java index 92b40d28b2bc..1e91cdfd5a80 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/route/MerkleRouteUtils.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/route/MerkleRouteUtils.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.route; import static com.swirlds.common.formatting.StringFormattingUtils.formattedList; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/route/ReverseMerkleRouteIterator.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/route/ReverseMerkleRouteIterator.java index d1b88a3482cd..71ea04f7cbf6 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/route/ReverseMerkleRouteIterator.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/route/ReverseMerkleRouteIterator.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.route; import com.swirlds.common.merkle.MerkleNode; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/route/internal/AbstractMerkleRoute.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/route/internal/AbstractMerkleRoute.java index 690039ac5e9d..0109b2598371 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/route/internal/AbstractMerkleRoute.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/route/internal/AbstractMerkleRoute.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.route.internal; import com.swirlds.common.merkle.route.MerkleRoute; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/route/internal/BinaryMerkleRoute.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/route/internal/BinaryMerkleRoute.java index 996df7b974a5..9227c782de01 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/route/internal/BinaryMerkleRoute.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/route/internal/BinaryMerkleRoute.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.route.internal; import com.swirlds.common.io.streams.SerializableDataInputStream; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/route/internal/BinaryMerkleRouteIterator.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/route/internal/BinaryMerkleRouteIterator.java index b9fbed357c28..bd2c1ffad0c6 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/route/internal/BinaryMerkleRouteIterator.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/route/internal/BinaryMerkleRouteIterator.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.route.internal; import static com.swirlds.common.merkle.route.internal.BinaryMerkleRoute.getBitAtIndex; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/route/internal/UncompressedMerkleRoute.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/route/internal/UncompressedMerkleRoute.java index 1e314109da28..bfc3bb97cdb7 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/route/internal/UncompressedMerkleRoute.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/route/internal/UncompressedMerkleRoute.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.route.internal; import com.swirlds.common.io.streams.SerializableDataInputStream; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/route/internal/UncompressedMerkleRouteIterator.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/route/internal/UncompressedMerkleRouteIterator.java index 38e75929959d..033168a113f4 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/route/internal/UncompressedMerkleRouteIterator.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/route/internal/UncompressedMerkleRouteIterator.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.route.internal; import java.util.Iterator; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/LearningSynchronizer.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/LearningSynchronizer.java index d9a626cd5d3d..60c984ce5cb2 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/LearningSynchronizer.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/LearningSynchronizer.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.synchronization; import static com.swirlds.base.units.UnitConstants.MILLISECONDS_TO_SECONDS; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/TeachingSynchronizer.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/TeachingSynchronizer.java index 3b814276a278..9273949ff52b 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/TeachingSynchronizer.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/TeachingSynchronizer.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.synchronization; import static com.swirlds.logging.legacy.LogMarker.RECONNECT; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/config/ReconnectConfig.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/config/ReconnectConfig.java index fe33314e713f..19b0593bb4ae 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/config/ReconnectConfig.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/config/ReconnectConfig.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.synchronization.config; import com.swirlds.config.api.ConfigData; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/stats/ReconnectMapMetrics.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/stats/ReconnectMapMetrics.java index d5073e78c2ca..97ca13a596e4 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/stats/ReconnectMapMetrics.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/stats/ReconnectMapMetrics.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.synchronization.stats; import com.swirlds.metrics.api.LongGauge; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/stats/ReconnectMapStats.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/stats/ReconnectMapStats.java index a9b6a8e4b392..d83e332aba62 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/stats/ReconnectMapStats.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/stats/ReconnectMapStats.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.synchronization.stats; /** diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/streams/AsyncInputStream.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/streams/AsyncInputStream.java index f502019e5697..ea227592a126 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/streams/AsyncInputStream.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/streams/AsyncInputStream.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.synchronization.streams; import static com.swirlds.logging.legacy.LogMarker.RECONNECT; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/streams/AsyncOutputStream.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/streams/AsyncOutputStream.java index 6a0b7b05c993..73a23a431098 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/streams/AsyncOutputStream.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/streams/AsyncOutputStream.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.synchronization.streams; import static com.swirlds.logging.legacy.LogMarker.RECONNECT; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/task/CustomViewRootLesson.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/task/CustomViewRootLesson.java index e2f3d34565bc..969bac5f3f5c 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/task/CustomViewRootLesson.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/task/CustomViewRootLesson.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.synchronization.task; import com.swirlds.common.io.SelfSerializable; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/task/ExpectedLesson.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/task/ExpectedLesson.java index f68f6864a39f..73f787a1c10c 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/task/ExpectedLesson.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/task/ExpectedLesson.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.synchronization.task; import com.swirlds.base.utility.ToStringBuilder; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/task/InternalDataLesson.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/task/InternalDataLesson.java index a33b1ab2ecc9..4bcda3cf57e4 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/task/InternalDataLesson.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/task/InternalDataLesson.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.synchronization.task; import com.swirlds.common.crypto.Hash; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/task/LeafDataLesson.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/task/LeafDataLesson.java index fe0de22f26ac..749eee89c9cf 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/task/LeafDataLesson.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/task/LeafDataLesson.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.synchronization.task; import com.swirlds.common.io.SelfSerializable; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/task/LearnerPushTask.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/task/LearnerPushTask.java index 81399dd8511d..e6c3f025a5e9 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/task/LearnerPushTask.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/task/LearnerPushTask.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2021-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.synchronization.task; import static com.swirlds.common.constructable.ClassIdFormatter.classIdString; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/task/Lesson.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/task/Lesson.java index cb2a2aab8ec0..7cf09efbbb3e 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/task/Lesson.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/task/Lesson.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2021-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.synchronization.task; import static com.swirlds.common.merkle.synchronization.task.LessonType.CUSTOM_VIEW_ROOT; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/task/LessonType.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/task/LessonType.java index bd9da5dc4685..dfc975c5c31a 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/task/LessonType.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/task/LessonType.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.synchronization.task; /** diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/task/NodeToSend.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/task/NodeToSend.java index 95088c92fbc9..aa831bec4528 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/task/NodeToSend.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/task/NodeToSend.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.synchronization.task; import static java.util.concurrent.TimeUnit.MILLISECONDS; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/task/QueryResponse.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/task/QueryResponse.java index 86c2b9ecd0e2..0bbe087ed02a 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/task/QueryResponse.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/task/QueryResponse.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.synchronization.task; import com.swirlds.common.io.SelfSerializable; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/task/ReconnectNodeCount.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/task/ReconnectNodeCount.java index 08c98a02a12a..afaa0bb511f0 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/task/ReconnectNodeCount.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/task/ReconnectNodeCount.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.synchronization.task; /** diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/task/TeacherPushReceiveTask.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/task/TeacherPushReceiveTask.java index b1d45ca2b808..0682fd3a0183 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/task/TeacherPushReceiveTask.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/task/TeacherPushReceiveTask.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2021-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.synchronization.task; import static com.swirlds.logging.legacy.LogMarker.RECONNECT; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/task/TeacherPushSendTask.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/task/TeacherPushSendTask.java index c5d0f352cc54..0733e9cbf7da 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/task/TeacherPushSendTask.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/task/TeacherPushSendTask.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2021-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.synchronization.task; import static com.swirlds.common.merkle.synchronization.task.LessonType.CUSTOM_VIEW_ROOT; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/task/TeacherSubtree.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/task/TeacherSubtree.java index 24fa3a280ccf..103de1f7af9b 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/task/TeacherSubtree.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/task/TeacherSubtree.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.synchronization.task; import com.swirlds.common.merkle.MerkleNode; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/utility/MerkleSynchronizationException.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/utility/MerkleSynchronizationException.java index db7417327bf3..dc37c5942bc7 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/utility/MerkleSynchronizationException.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/utility/MerkleSynchronizationException.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.synchronization.utility; /** diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/views/CustomReconnectRoot.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/views/CustomReconnectRoot.java index 5651f011a13a..bdac07687a86 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/views/CustomReconnectRoot.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/views/CustomReconnectRoot.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2021-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.synchronization.views; import com.swirlds.common.merkle.MerkleNode; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/views/LearnerExpectedLessonQueue.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/views/LearnerExpectedLessonQueue.java index 4fe4825bd4e0..f1952abc1241 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/views/LearnerExpectedLessonQueue.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/views/LearnerExpectedLessonQueue.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2021-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.synchronization.views; import com.swirlds.common.merkle.synchronization.task.ExpectedLesson; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/views/LearnerInitializer.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/views/LearnerInitializer.java index 7d458f2fdd08..d93a314192de 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/views/LearnerInitializer.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/views/LearnerInitializer.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.synchronization.views; import com.swirlds.common.merkle.MerkleInternal; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/views/LearnerPushMerkleTreeView.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/views/LearnerPushMerkleTreeView.java index 9b8062e8db34..cd307c7b2b5c 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/views/LearnerPushMerkleTreeView.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/views/LearnerPushMerkleTreeView.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.synchronization.views; import static com.swirlds.common.constructable.ClassIdFormatter.classIdString; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/views/LearnerTreeView.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/views/LearnerTreeView.java index 7c77ad96375f..616ce8eb3377 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/views/LearnerTreeView.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/views/LearnerTreeView.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2021-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.synchronization.views; import com.swirlds.common.crypto.Cryptography; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/views/MaybeCustomReconnectRoot.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/views/MaybeCustomReconnectRoot.java index 88e1d55c9935..3a206a74a1d8 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/views/MaybeCustomReconnectRoot.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/views/MaybeCustomReconnectRoot.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.synchronization.views; /** diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/views/TeacherHandleQueue.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/views/TeacherHandleQueue.java index 43aa8ae5a339..663a237e41a2 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/views/TeacherHandleQueue.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/views/TeacherHandleQueue.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.synchronization.views; /** diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/views/TeacherPushMerkleTreeView.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/views/TeacherPushMerkleTreeView.java index 2164e72d4357..d57fb3d853ad 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/views/TeacherPushMerkleTreeView.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/views/TeacherPushMerkleTreeView.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.synchronization.views; import com.swirlds.base.time.Time; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/views/TeacherResponseQueue.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/views/TeacherResponseQueue.java index 5e56bc1cb6dc..2b19154233fa 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/views/TeacherResponseQueue.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/views/TeacherResponseQueue.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2021-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.synchronization.views; /** diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/views/TeacherResponseTracker.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/views/TeacherResponseTracker.java index 25ff17980d9e..f57b014b65c1 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/views/TeacherResponseTracker.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/views/TeacherResponseTracker.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.synchronization.views; /** diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/views/TeacherTreeView.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/views/TeacherTreeView.java index c04bb1b25ef5..205062105053 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/views/TeacherTreeView.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/views/TeacherTreeView.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2021-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.synchronization.views; import com.swirlds.base.time.Time; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/views/TreeView.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/views/TreeView.java index 178a3dd31e2c..552e6f28a841 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/views/TreeView.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/synchronization/views/TreeView.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.synchronization.views; import com.swirlds.common.merkle.MerkleNode; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/utility/AbstractListLeaf.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/utility/AbstractListLeaf.java index fbbae5126971..d58683cac694 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/utility/AbstractListLeaf.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/utility/AbstractListLeaf.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.utility; import com.swirlds.common.FastCopyable; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/utility/DebugIterationEndpoint.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/utility/DebugIterationEndpoint.java index af7d20026fed..35d1587eed2e 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/utility/DebugIterationEndpoint.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/utility/DebugIterationEndpoint.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.utility; import java.lang.annotation.ElementType; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/utility/Keyed.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/utility/Keyed.java index fa329011f19f..c36fe36ec91d 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/utility/Keyed.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/utility/Keyed.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.utility; /** diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/utility/KeyedMerkleLong.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/utility/KeyedMerkleLong.java index be11251f03dd..2890fea57b63 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/utility/KeyedMerkleLong.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/utility/KeyedMerkleLong.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.utility; import com.swirlds.base.utility.ToStringBuilder; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/utility/MerkleConstants.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/utility/MerkleConstants.java index 305bc24fd142..6a4a1fada168 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/utility/MerkleConstants.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/utility/MerkleConstants.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.utility; import com.swirlds.common.crypto.DigestType; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/utility/MerkleLong.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/utility/MerkleLong.java index 93c580e8e8a2..bcb8a07c5206 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/utility/MerkleLong.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/utility/MerkleLong.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.utility; import com.swirlds.base.utility.ToStringBuilder; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/utility/MerkleTreeVisualizer.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/utility/MerkleTreeVisualizer.java index 28d92bab9d75..475eb475f542 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/utility/MerkleTreeVisualizer.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/utility/MerkleTreeVisualizer.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.utility; import static com.swirlds.common.formatting.TextEffect.BRIGHT_CYAN; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/utility/MerkleUtils.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/utility/MerkleUtils.java index 46705d26e844..4fdf3e722b8a 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/utility/MerkleUtils.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/utility/MerkleUtils.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.utility; import static com.swirlds.logging.legacy.LogMarker.EXCEPTION; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/utility/SerializableLong.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/utility/SerializableLong.java index bcbe5350623c..27235f387099 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/utility/SerializableLong.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/merkle/utility/SerializableLong.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.utility; import com.swirlds.common.FastCopyable; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/DurationGauge.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/DurationGauge.java index a8e4f80679bd..a2a46036144b 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/DurationGauge.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/DurationGauge.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics; import static com.swirlds.metrics.api.Metric.ValueType.VALUE; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/FunctionGauge.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/FunctionGauge.java index 4cb90d4b3b9d..cb98d4a485d0 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/FunctionGauge.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/FunctionGauge.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics; import static com.swirlds.metrics.api.Metric.ValueType.VALUE; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/IntegerPairAccumulator.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/IntegerPairAccumulator.java index 639bba26706d..6bcdef5569f9 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/IntegerPairAccumulator.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/IntegerPairAccumulator.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics; import static com.swirlds.metrics.api.Metric.ValueType.VALUE; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/PlatformMetric.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/PlatformMetric.java index 0661e275a8e1..78f80fe4b825 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/PlatformMetric.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/PlatformMetric.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics; import com.swirlds.common.metrics.statistics.StatsBuffered; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/PlatformMetricConfig.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/PlatformMetricConfig.java index ab76101c7d32..42318baf0889 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/PlatformMetricConfig.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/PlatformMetricConfig.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics; import com.swirlds.metrics.api.Metric; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/PlatformMetrics.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/PlatformMetrics.java index 3ea629504419..5839cbf11ca0 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/PlatformMetrics.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/PlatformMetrics.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics; import com.swirlds.common.platform.NodeId; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/PlatformMetricsFactory.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/PlatformMetricsFactory.java index 96e5ce36484a..1c2ef1587b3e 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/PlatformMetricsFactory.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/PlatformMetricsFactory.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics; import com.swirlds.metrics.api.Metric; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/PlatformMetricsProvider.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/PlatformMetricsProvider.java index 7bce251b2323..aa79eacfba8b 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/PlatformMetricsProvider.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/PlatformMetricsProvider.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics; import com.swirlds.common.platform.NodeId; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/RunningAverageMetric.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/RunningAverageMetric.java index 65b75192cb62..750325843f67 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/RunningAverageMetric.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/RunningAverageMetric.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics; import static com.swirlds.metrics.api.Metric.ValueType.MAX; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/SpeedometerMetric.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/SpeedometerMetric.java index 4c8e9404961d..b2ef00982f4b 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/SpeedometerMetric.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/SpeedometerMetric.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics; import static com.swirlds.metrics.api.Metric.ValueType.MAX; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/StatEntry.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/StatEntry.java index 273f77b84e5c..cbe62fae1b64 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/StatEntry.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/StatEntry.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics; import static com.swirlds.metrics.api.Metric.ValueType.MAX; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/config/MetricsConfig.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/config/MetricsConfig.java index 2e8cc6e95c4b..fbbc0b15e404 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/config/MetricsConfig.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/config/MetricsConfig.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.config; import com.swirlds.config.api.ConfigData; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/extensions/BaseExecutorFactoryMetrics.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/extensions/BaseExecutorFactoryMetrics.java index 44573aa46efc..61cbe89e482e 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/extensions/BaseExecutorFactoryMetrics.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/extensions/BaseExecutorFactoryMetrics.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.extensions; import static com.swirlds.base.units.UnitConstants.MILLISECOND_UNIT; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/extensions/CountPerSecond.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/extensions/CountPerSecond.java index 2ebd72f352eb..38a62b6c8e7d 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/extensions/CountPerSecond.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/extensions/CountPerSecond.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.extensions; import static com.swirlds.base.ArgumentUtils.throwArgBlank; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/extensions/FractionalTimer.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/extensions/FractionalTimer.java index 651f857d8bd0..94f866e1bef5 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/extensions/FractionalTimer.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/extensions/FractionalTimer.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.extensions; import com.swirlds.common.metrics.FunctionGauge; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/extensions/NoOpFractionalTimer.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/extensions/NoOpFractionalTimer.java index 3327c7b92702..4b21204f2a1e 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/extensions/NoOpFractionalTimer.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/extensions/NoOpFractionalTimer.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.extensions; import com.swirlds.metrics.api.Metrics; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/extensions/PhaseTimer.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/extensions/PhaseTimer.java index dd719c5a6acf..a379d2016e71 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/extensions/PhaseTimer.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/extensions/PhaseTimer.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.extensions; import static com.swirlds.common.units.TimeUnit.UNIT_MICROSECONDS; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/extensions/PhaseTimerBuilder.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/extensions/PhaseTimerBuilder.java index 8a29ff20246e..b05bf8012286 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/extensions/PhaseTimerBuilder.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/extensions/PhaseTimerBuilder.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.extensions; import static com.swirlds.common.units.TimeUnit.UNIT_MICROSECONDS; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/extensions/StandardFractionalTimer.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/extensions/StandardFractionalTimer.java index 328ca2139570..c419757c433a 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/extensions/StandardFractionalTimer.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/extensions/StandardFractionalTimer.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.extensions; import com.swirlds.base.time.Time; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/noop/NoOpMetrics.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/noop/NoOpMetrics.java index fd76deb4bd3e..4e1f41ece204 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/noop/NoOpMetrics.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/noop/NoOpMetrics.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.noop; import com.swirlds.common.metrics.PlatformMetrics; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/noop/internal/AbstractNoOpMetric.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/noop/internal/AbstractNoOpMetric.java index 73d4a07d5586..146800030b07 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/noop/internal/AbstractNoOpMetric.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/noop/internal/AbstractNoOpMetric.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.noop.internal; import com.swirlds.common.metrics.PlatformMetric; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/noop/internal/NoOpCounter.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/noop/internal/NoOpCounter.java index 2df6f6c896f8..8c86e2200704 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/noop/internal/NoOpCounter.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/noop/internal/NoOpCounter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.noop.internal; import com.swirlds.metrics.api.Counter; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/noop/internal/NoOpDoubleAccumulator.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/noop/internal/NoOpDoubleAccumulator.java index 707554344f27..b06854b9b7fb 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/noop/internal/NoOpDoubleAccumulator.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/noop/internal/NoOpDoubleAccumulator.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.noop.internal; import com.swirlds.metrics.api.DoubleAccumulator; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/noop/internal/NoOpDoubleGauge.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/noop/internal/NoOpDoubleGauge.java index ea892ab7aa8e..ec97d23ff85f 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/noop/internal/NoOpDoubleGauge.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/noop/internal/NoOpDoubleGauge.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.noop.internal; import com.swirlds.metrics.api.DoubleGauge; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/noop/internal/NoOpDurationGauge.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/noop/internal/NoOpDurationGauge.java index 1897845c3b11..81c0c53d50a9 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/noop/internal/NoOpDurationGauge.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/noop/internal/NoOpDurationGauge.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.noop.internal; import com.swirlds.common.metrics.DurationGauge; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/noop/internal/NoOpFunctionGauge.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/noop/internal/NoOpFunctionGauge.java index 27249adc3b66..ea0d312853a7 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/noop/internal/NoOpFunctionGauge.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/noop/internal/NoOpFunctionGauge.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.noop.internal; import com.swirlds.common.metrics.FunctionGauge; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/noop/internal/NoOpIntegerAccumulator.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/noop/internal/NoOpIntegerAccumulator.java index 7491f2730d05..5b9c6c8695df 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/noop/internal/NoOpIntegerAccumulator.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/noop/internal/NoOpIntegerAccumulator.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.noop.internal; import com.swirlds.metrics.api.IntegerAccumulator; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/noop/internal/NoOpIntegerGauge.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/noop/internal/NoOpIntegerGauge.java index 015ab168c0dd..6cca9c800ced 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/noop/internal/NoOpIntegerGauge.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/noop/internal/NoOpIntegerGauge.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.noop.internal; import com.swirlds.metrics.api.IntegerGauge; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/noop/internal/NoOpIntegerPairAccumulator.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/noop/internal/NoOpIntegerPairAccumulator.java index 7686c0cf596a..7503c7bd3212 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/noop/internal/NoOpIntegerPairAccumulator.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/noop/internal/NoOpIntegerPairAccumulator.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.noop.internal; import com.swirlds.common.metrics.IntegerPairAccumulator; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/noop/internal/NoOpLongAccumulator.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/noop/internal/NoOpLongAccumulator.java index 09fbc13d28a4..d3aa83a8331f 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/noop/internal/NoOpLongAccumulator.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/noop/internal/NoOpLongAccumulator.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.noop.internal; import com.swirlds.metrics.api.LongAccumulator; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/noop/internal/NoOpLongGauge.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/noop/internal/NoOpLongGauge.java index ebe3edfe8847..395b468f6142 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/noop/internal/NoOpLongGauge.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/noop/internal/NoOpLongGauge.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.noop.internal; import com.swirlds.metrics.api.LongGauge; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/noop/internal/NoOpMetricsFactory.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/noop/internal/NoOpMetricsFactory.java index 43dcc261c915..d9b57b71a6ae 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/noop/internal/NoOpMetricsFactory.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/noop/internal/NoOpMetricsFactory.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.noop.internal; import com.swirlds.common.metrics.DurationGauge; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/noop/internal/NoOpRunningAverageMetric.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/noop/internal/NoOpRunningAverageMetric.java index 5c23e1115963..2b80d8313a84 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/noop/internal/NoOpRunningAverageMetric.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/noop/internal/NoOpRunningAverageMetric.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.noop.internal; import com.swirlds.common.metrics.RunningAverageMetric; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/noop/internal/NoOpSpeedometerMetric.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/noop/internal/NoOpSpeedometerMetric.java index fba84fdfdbb5..107d884d204d 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/noop/internal/NoOpSpeedometerMetric.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/noop/internal/NoOpSpeedometerMetric.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.noop.internal; import com.swirlds.common.metrics.SpeedometerMetric; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/noop/internal/NoOpStatEntry.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/noop/internal/NoOpStatEntry.java index 0dc81f516acd..a3fa8974665a 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/noop/internal/NoOpStatEntry.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/noop/internal/NoOpStatEntry.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.noop.internal; import static com.swirlds.metrics.api.Metric.DataType.INT; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/noop/internal/NoOpStatsBuffered.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/noop/internal/NoOpStatsBuffered.java index 4dde32f1c52b..88b7399f3f49 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/noop/internal/NoOpStatsBuffered.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/noop/internal/NoOpStatsBuffered.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.noop.internal; import com.swirlds.common.metrics.statistics.StatsBuffered; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/AbstractDistributionMetric.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/AbstractDistributionMetric.java index bd9a8698c86f..3924febb2758 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/AbstractDistributionMetric.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/AbstractDistributionMetric.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.platform; import com.swirlds.common.metrics.PlatformMetric; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/DefaultMetricsProvider.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/DefaultMetricsProvider.java index 4c9f9b5b6102..27355f29aaba 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/DefaultMetricsProvider.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/DefaultMetricsProvider.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.platform; import static com.swirlds.common.threading.manager.AdHocThreadManager.getStaticThreadManager; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/DefaultPlatformMetrics.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/DefaultPlatformMetrics.java index d0d68c71756e..0c1287af1f80 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/DefaultPlatformMetrics.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/DefaultPlatformMetrics.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.platform; import static com.swirlds.common.metrics.platform.MetricsEvent.Type.ADDED; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/LegacyCsvWriter.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/LegacyCsvWriter.java index 3e6077a8db2e..885fbca77381 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/LegacyCsvWriter.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/LegacyCsvWriter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.platform; import static com.swirlds.logging.legacy.LogMarker.EXCEPTION; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/MetricKeyRegistry.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/MetricKeyRegistry.java index 2b18f7280908..e400bd90788c 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/MetricKeyRegistry.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/MetricKeyRegistry.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.platform; import com.swirlds.common.platform.NodeId; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/MetricsEvent.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/MetricsEvent.java index 0a5b6a16f307..b1bd3a148ad0 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/MetricsEvent.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/MetricsEvent.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.platform; import com.swirlds.common.platform.NodeId; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/MetricsEventBus.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/MetricsEventBus.java index a8cc90fa9bef..592190da013d 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/MetricsEventBus.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/MetricsEventBus.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.platform; import java.util.Objects; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/MetricsUpdateService.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/MetricsUpdateService.java index 1e4ec08d9a28..1bed3bb94882 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/MetricsUpdateService.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/MetricsUpdateService.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.platform; import static com.swirlds.common.metrics.platform.DefaultPlatformMetrics.EXCEPTION_RATE_THRESHOLD; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/PlatformCounter.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/PlatformCounter.java index 0d4b26a3607c..e33ae0312758 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/PlatformCounter.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/PlatformCounter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.platform; import com.swirlds.common.metrics.PlatformMetric; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/PlatformDoubleAccumulator.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/PlatformDoubleAccumulator.java index 2320999e0c81..4f1f9967c356 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/PlatformDoubleAccumulator.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/PlatformDoubleAccumulator.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.platform; import com.swirlds.common.metrics.PlatformMetric; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/PlatformDoubleGauge.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/PlatformDoubleGauge.java index 60f73d751804..193e6676f367 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/PlatformDoubleGauge.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/PlatformDoubleGauge.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.platform; import com.swirlds.common.metrics.PlatformMetric; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/PlatformDurationGauge.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/PlatformDurationGauge.java index 6b25be858004..b48d10a1c9af 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/PlatformDurationGauge.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/PlatformDurationGauge.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.platform; import static com.swirlds.metrics.api.Metric.ValueType.VALUE; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/PlatformFunctionGauge.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/PlatformFunctionGauge.java index 06eb7f54320f..814fecea2131 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/PlatformFunctionGauge.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/PlatformFunctionGauge.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.platform; import static com.swirlds.metrics.api.Metric.ValueType.VALUE; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/PlatformIntegerAccumulator.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/PlatformIntegerAccumulator.java index 0b662294e1f4..328a684a6533 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/PlatformIntegerAccumulator.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/PlatformIntegerAccumulator.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.platform; import com.swirlds.common.metrics.PlatformMetric; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/PlatformIntegerGauge.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/PlatformIntegerGauge.java index 0b816f3dde1e..a7172703c8e1 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/PlatformIntegerGauge.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/PlatformIntegerGauge.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.platform; import com.swirlds.common.metrics.PlatformMetric; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/PlatformIntegerPairAccumulator.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/PlatformIntegerPairAccumulator.java index c0aeff05ca0e..f9696d0ae711 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/PlatformIntegerPairAccumulator.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/PlatformIntegerPairAccumulator.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.platform; import static com.swirlds.metrics.api.Metric.ValueType.VALUE; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/PlatformLongAccumulator.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/PlatformLongAccumulator.java index 924e5e39093c..e12c245b3af1 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/PlatformLongAccumulator.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/PlatformLongAccumulator.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.platform; import com.swirlds.common.metrics.PlatformMetric; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/PlatformLongGauge.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/PlatformLongGauge.java index 4174e2892cd6..9e3e2f5b6225 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/PlatformLongGauge.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/PlatformLongGauge.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.platform; import com.swirlds.common.metrics.PlatformMetric; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/PlatformMetricsFactoryImpl.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/PlatformMetricsFactoryImpl.java index e1a3ff164d1d..fbedf0a17a52 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/PlatformMetricsFactoryImpl.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/PlatformMetricsFactoryImpl.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.platform; import com.swirlds.common.metrics.DurationGauge; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/PlatformRunningAverageMetric.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/PlatformRunningAverageMetric.java index 05b3413ad402..b1d9ea0aca9f 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/PlatformRunningAverageMetric.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/PlatformRunningAverageMetric.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.platform; import com.swirlds.base.time.Time; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/PlatformSpeedometerMetric.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/PlatformSpeedometerMetric.java index 66f994585079..fd22cfa3d3b0 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/PlatformSpeedometerMetric.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/PlatformSpeedometerMetric.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.platform; import com.swirlds.base.time.Time; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/PlatformStatEntry.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/PlatformStatEntry.java index cc9664f695b5..16626e46c74d 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/PlatformStatEntry.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/PlatformStatEntry.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.platform; import static com.swirlds.metrics.api.Metric.ValueType.MAX; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/SnapshotEvent.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/SnapshotEvent.java index 274e46be78a6..a8ad8a94bd52 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/SnapshotEvent.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/SnapshotEvent.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.platform; import com.swirlds.common.platform.NodeId; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/SnapshotService.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/SnapshotService.java index c1c46db3144f..619910c12bda 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/SnapshotService.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/SnapshotService.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.platform; import static com.swirlds.common.metrics.platform.DefaultPlatformMetrics.calculateMetricKey; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/prometheus/AbstractMetricAdapter.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/prometheus/AbstractMetricAdapter.java index 4066fb5ff30a..a290b1177804 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/prometheus/AbstractMetricAdapter.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/prometheus/AbstractMetricAdapter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.platform.prometheus; import com.swirlds.logging.legacy.LogMarker; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/prometheus/BooleanAdapter.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/prometheus/BooleanAdapter.java index 894b1ca9b7e6..341c8a579dee 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/prometheus/BooleanAdapter.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/prometheus/BooleanAdapter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.platform.prometheus; import static com.swirlds.common.metrics.platform.prometheus.PrometheusEndpoint.AdapterType.GLOBAL; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/prometheus/CounterAdapter.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/prometheus/CounterAdapter.java index e03f8db52344..5389af1ecbaa 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/prometheus/CounterAdapter.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/prometheus/CounterAdapter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.platform.prometheus; import static com.swirlds.common.metrics.platform.prometheus.PrometheusEndpoint.AdapterType.GLOBAL; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/prometheus/DistributionAdapter.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/prometheus/DistributionAdapter.java index 7d649896c411..63bed34b499a 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/prometheus/DistributionAdapter.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/prometheus/DistributionAdapter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.platform.prometheus; import static com.swirlds.common.metrics.platform.prometheus.PrometheusEndpoint.AdapterType.GLOBAL; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/prometheus/MetricAdapter.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/prometheus/MetricAdapter.java index a824be3bbfa1..c860cdd82acb 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/prometheus/MetricAdapter.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/prometheus/MetricAdapter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.platform.prometheus; import com.swirlds.common.platform.NodeId; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/prometheus/NameConverter.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/prometheus/NameConverter.java index 052d9d6c941f..468104010a09 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/prometheus/NameConverter.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/prometheus/NameConverter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.platform.prometheus; import java.util.Objects; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/prometheus/NumberAdapter.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/prometheus/NumberAdapter.java index 8b1ac203c96a..73ba42dcbb8f 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/prometheus/NumberAdapter.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/prometheus/NumberAdapter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.platform.prometheus; import static com.swirlds.common.metrics.platform.prometheus.PrometheusEndpoint.AdapterType.GLOBAL; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/prometheus/PrometheusConfig.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/prometheus/PrometheusConfig.java index 7dd6bb9d479d..baab898fbbc5 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/prometheus/PrometheusConfig.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/prometheus/PrometheusConfig.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.platform.prometheus; import com.swirlds.config.api.ConfigData; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/prometheus/PrometheusEndpoint.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/prometheus/PrometheusEndpoint.java index 91cc25881d97..48f345b7cca4 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/prometheus/PrometheusEndpoint.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/prometheus/PrometheusEndpoint.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.platform.prometheus; import static com.swirlds.common.metrics.platform.DefaultPlatformMetrics.EXCEPTION_RATE_THRESHOLD; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/prometheus/StringAdapter.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/prometheus/StringAdapter.java index c16e993bc05a..5c62b93683de 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/prometheus/StringAdapter.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/platform/prometheus/StringAdapter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.platform.prometheus; import static com.swirlds.common.metrics.platform.prometheus.PrometheusEndpoint.AdapterType.GLOBAL; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/statistics/StatSettings.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/statistics/StatSettings.java index fd5aeefa7bb8..606a761f0f0f 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/statistics/StatSettings.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/statistics/StatSettings.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.statistics; /** diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/statistics/StatSettingsFactory.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/statistics/StatSettingsFactory.java index f593ba10250d..2f959e2f1dcd 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/statistics/StatSettingsFactory.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/statistics/StatSettingsFactory.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.statistics; /** diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/statistics/StatsBuffered.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/statistics/StatsBuffered.java index fa0a8e8bfc07..f02a96993eb7 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/statistics/StatsBuffered.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/statistics/StatsBuffered.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.statistics; import com.swirlds.common.metrics.statistics.internal.StatsBuffer; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/statistics/StatsRunningAverage.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/statistics/StatsRunningAverage.java index 469568233667..81cdd4dedb18 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/statistics/StatsRunningAverage.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/statistics/StatsRunningAverage.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.statistics; import com.swirlds.base.time.Time; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/statistics/StatsSpeedometer.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/statistics/StatsSpeedometer.java index 84fb695c280f..397abec94747 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/statistics/StatsSpeedometer.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/statistics/StatsSpeedometer.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.statistics; import com.swirlds.base.time.Time; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/statistics/internal/StatsBuffer.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/statistics/internal/StatsBuffer.java index e8d8c2a0d561..d8070da577de 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/statistics/internal/StatsBuffer.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/metrics/statistics/internal/StatsBuffer.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.statistics.internal; import static com.swirlds.base.units.UnitConstants.NANOSECONDS_TO_SECONDS; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/notification/AbstractNotification.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/notification/AbstractNotification.java index 6f3c34a11596..3688e7d39437 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/notification/AbstractNotification.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/notification/AbstractNotification.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.notification; /** diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/notification/DispatchException.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/notification/DispatchException.java index fc6cb184a265..e2b3b9844206 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/notification/DispatchException.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/notification/DispatchException.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.notification; import com.swirlds.common.exceptions.PlatformException; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/notification/DispatchMode.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/notification/DispatchMode.java index e8e0b5ae4f2e..b0d0c3a30e15 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/notification/DispatchMode.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/notification/DispatchMode.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.notification; /** diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/notification/DispatchModel.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/notification/DispatchModel.java index 4ed420109a7a..5343515c59a8 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/notification/DispatchModel.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/notification/DispatchModel.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.notification; import java.lang.annotation.ElementType; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/notification/DispatchOrder.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/notification/DispatchOrder.java index a8696353b358..4aef8e9d8683 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/notification/DispatchOrder.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/notification/DispatchOrder.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.notification; /** diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/notification/Listener.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/notification/Listener.java index 21caf9e36d3f..805e9697af64 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/notification/Listener.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/notification/Listener.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.notification; /** diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/notification/NoListenersAvailableException.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/notification/NoListenersAvailableException.java index 9af688a4bbd0..57c50e50a7d1 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/notification/NoListenersAvailableException.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/notification/NoListenersAvailableException.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.notification; public class NoListenersAvailableException extends DispatchException { diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/notification/Notification.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/notification/Notification.java index eb31dd197392..98128ec214e7 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/notification/Notification.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/notification/Notification.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.notification; /** diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/notification/NotificationEngine.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/notification/NotificationEngine.java index 2439c4e48bba..4418a439b352 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/notification/NotificationEngine.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/notification/NotificationEngine.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.notification; import com.swirlds.common.notification.internal.AsyncNotificationEngine; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/notification/NotificationResult.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/notification/NotificationResult.java index a120131e2191..e4f231756f6b 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/notification/NotificationResult.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/notification/NotificationResult.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.notification; import java.util.ArrayList; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/notification/internal/AbstractNotificationEngine.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/notification/internal/AbstractNotificationEngine.java index 993e512d15f8..8d397cf8846e 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/notification/internal/AbstractNotificationEngine.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/notification/internal/AbstractNotificationEngine.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.notification.internal; import com.swirlds.common.notification.DispatchMode; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/notification/internal/AsyncNotificationEngine.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/notification/internal/AsyncNotificationEngine.java index 35daeff28235..2496a7fb96bc 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/notification/internal/AsyncNotificationEngine.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/notification/internal/AsyncNotificationEngine.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.notification.internal; import com.swirlds.common.notification.DispatchMode; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/notification/internal/DispatchTask.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/notification/internal/DispatchTask.java index 92312732d473..1478401f0f61 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/notification/internal/DispatchTask.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/notification/internal/DispatchTask.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.notification.internal; import com.swirlds.common.notification.Listener; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/notification/internal/Dispatcher.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/notification/internal/Dispatcher.java index 3fdf8f05b67e..216caa9ed3cd 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/notification/internal/Dispatcher.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/notification/internal/Dispatcher.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.notification.internal; import com.swirlds.common.notification.DispatchException; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/platform/NodeId.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/platform/NodeId.java index 0aa852e59600..0064e427f0eb 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/platform/NodeId.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/platform/NodeId.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2019-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.platform; import com.swirlds.common.io.SelfSerializable; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/platform/NodeIdCache.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/platform/NodeIdCache.java index 4c35b0de0276..0cde894b4ba2 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/platform/NodeIdCache.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/platform/NodeIdCache.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.platform; import edu.umd.cs.findbugs.annotations.NonNull; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/platform/NodeIdConverter.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/platform/NodeIdConverter.java index 02c3681cfe60..e827433f7358 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/platform/NodeIdConverter.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/platform/NodeIdConverter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.platform; import com.swirlds.config.api.converter.ConfigConverter; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/startup/Log4jSetup.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/startup/Log4jSetup.java index 72c4a2ef5f2f..a384dd99e6a6 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/startup/Log4jSetup.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/startup/Log4jSetup.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.startup; import static com.swirlds.common.threading.manager.AdHocThreadManager.getStaticThreadManager; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/EventStreamType.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/EventStreamType.java index 84fa7fa732a9..74f5624b602e 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/EventStreamType.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/EventStreamType.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.stream; /** diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/HashCalculatorForStream.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/HashCalculatorForStream.java index 9a4c32b34ae8..f5a8bc05e296 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/HashCalculatorForStream.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/HashCalculatorForStream.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.stream; import static com.swirlds.logging.legacy.LogMarker.OBJECT_STREAM; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/HashSigner.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/HashSigner.java index 00d101fa7b5d..4f60f3c012ce 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/HashSigner.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/HashSigner.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.stream; import com.swirlds.common.crypto.Hash; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/LinkedObjectStreamUtilities.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/LinkedObjectStreamUtilities.java index 5aff95100b71..8b98344d3c1f 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/LinkedObjectStreamUtilities.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/LinkedObjectStreamUtilities.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.stream; import static com.swirlds.base.units.UnitConstants.MILLISECONDS_TO_NANOSECONDS; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/MultiStream.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/MultiStream.java index 04d54a9407de..1554efffe3ef 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/MultiStream.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/MultiStream.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.stream; import static com.swirlds.logging.legacy.LogMarker.OBJECT_STREAM; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/QueueThreadObjectStream.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/QueueThreadObjectStream.java index d774f42c5137..fa477f04531c 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/QueueThreadObjectStream.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/QueueThreadObjectStream.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2021-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.stream; import static com.swirlds.logging.legacy.LogMarker.EXCEPTION; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/QueueThreadObjectStreamConfiguration.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/QueueThreadObjectStreamConfiguration.java index ccfbabfe4ea0..dd8efaca5717 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/QueueThreadObjectStreamConfiguration.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/QueueThreadObjectStreamConfiguration.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.stream; import com.swirlds.common.crypto.RunningHashable; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/RunningEventHashOverride.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/RunningEventHashOverride.java index db5d963f2e99..605e19c39e0c 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/RunningEventHashOverride.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/RunningEventHashOverride.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.stream; import com.swirlds.common.crypto.Hash; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/RunningHashCalculatorForStream.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/RunningHashCalculatorForStream.java index f56486bd6fed..caa6042b0e40 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/RunningHashCalculatorForStream.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/RunningHashCalculatorForStream.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.stream; import static com.swirlds.logging.legacy.LogMarker.OBJECT_STREAM; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/Signer.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/Signer.java index e92d9ab52a76..8c0970fb783b 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/Signer.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/Signer.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.stream; import com.swirlds.common.crypto.Signature; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/StreamAligned.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/StreamAligned.java index 629627748624..dd1b2916572d 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/StreamAligned.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/StreamAligned.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.stream; /** diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/StreamType.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/StreamType.java index ea473bfeb523..512f7d61467a 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/StreamType.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/StreamType.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.stream; import java.io.File; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/Timestamped.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/Timestamped.java index 4d5577d928be..f92a0afda088 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/Timestamped.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/Timestamped.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.stream; import java.time.Instant; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/internal/AbstractLinkedObjectStream.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/internal/AbstractLinkedObjectStream.java index c88d7493cb68..8c48117acda4 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/internal/AbstractLinkedObjectStream.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/internal/AbstractLinkedObjectStream.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.stream.internal; import com.swirlds.common.crypto.Hash; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/internal/InvalidStreamFileException.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/internal/InvalidStreamFileException.java index 3122d664537e..c00960a1dc91 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/internal/InvalidStreamFileException.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/internal/InvalidStreamFileException.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.stream.internal; /** diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/internal/LinkedObjectStream.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/internal/LinkedObjectStream.java index 15ef9a907e42..9a4579520a6b 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/internal/LinkedObjectStream.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/internal/LinkedObjectStream.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.stream.internal; import com.swirlds.common.crypto.Hash; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/internal/LinkedObjectStreamValidateUtils.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/internal/LinkedObjectStreamValidateUtils.java index 7b3cc6b1a3f9..47b490111f55 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/internal/LinkedObjectStreamValidateUtils.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/internal/LinkedObjectStreamValidateUtils.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.stream.internal; import static com.swirlds.common.stream.internal.StreamValidationResult.PARSE_STREAM_FILE_FAIL; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/internal/SingleStreamIterator.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/internal/SingleStreamIterator.java index d7981cda023c..c8973487b4c5 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/internal/SingleStreamIterator.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/internal/SingleStreamIterator.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.stream.internal; import static com.swirlds.logging.legacy.LogMarker.EXCEPTION; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/internal/StreamFilesIterator.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/internal/StreamFilesIterator.java index cd5ec5032f9e..ffdc686b335e 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/internal/StreamFilesIterator.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/internal/StreamFilesIterator.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.stream.internal; import static com.swirlds.logging.legacy.LogMarker.EXCEPTION; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/internal/StreamTypeFromJson.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/internal/StreamTypeFromJson.java index aa783123a0e6..be4203f71ad5 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/internal/StreamTypeFromJson.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/internal/StreamTypeFromJson.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.stream.internal; import com.swirlds.common.stream.StreamType; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/internal/StreamValidationResult.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/internal/StreamValidationResult.java index 568952ba2471..eebec4346eec 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/internal/StreamValidationResult.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/internal/StreamValidationResult.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.stream.internal; /** diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/internal/TimestampStreamFileWriter.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/internal/TimestampStreamFileWriter.java index ada2a79166f6..72b5665ee88c 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/internal/TimestampStreamFileWriter.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/stream/internal/TimestampStreamFileWriter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.stream.internal; import static com.swirlds.common.crypto.DigestType.SHA_384; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/BlockingResourceProvider.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/BlockingResourceProvider.java index 8b5442eb3cdc..96b88e44917f 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/BlockingResourceProvider.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/BlockingResourceProvider.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading; import com.swirlds.common.threading.locks.internal.AcquiredResource; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/atomic/AtomicIntPair.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/atomic/AtomicIntPair.java index 02be3d6fa067..689154b7c425 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/atomic/AtomicIntPair.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/atomic/AtomicIntPair.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading.atomic; import com.swirlds.common.utility.ByteUtils; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/BlockingQueueInserter.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/BlockingQueueInserter.java index cff3eb3ff2df..f352bb5598d9 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/BlockingQueueInserter.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/BlockingQueueInserter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading.framework; import java.util.concurrent.TimeUnit; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/MultiQueueThread.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/MultiQueueThread.java index 7a8af1a2e868..a8fc1f3d5986 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/MultiQueueThread.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/MultiQueueThread.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2021-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading.framework; import com.swirlds.common.utility.Clearable; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/QueueThread.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/QueueThread.java index 0fd085268828..0f09ac434d98 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/QueueThread.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/QueueThread.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2021-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading.framework; import com.swirlds.common.utility.Clearable; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/QueueThreadPool.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/QueueThreadPool.java index 451634b635b9..91c661aca186 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/QueueThreadPool.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/QueueThreadPool.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading.framework; import java.util.List; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/Stoppable.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/Stoppable.java index 48b0cdf12410..8d3429a09973 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/Stoppable.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/Stoppable.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading.framework; import com.swirlds.base.state.Startable; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/StoppableThread.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/StoppableThread.java index 252134a2ee45..eaa14df10a79 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/StoppableThread.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/StoppableThread.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading.framework; /** diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/ThreadSeed.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/ThreadSeed.java index 0145987f2189..152514a046a2 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/ThreadSeed.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/ThreadSeed.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading.framework; /** diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/TypedStoppableThread.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/TypedStoppableThread.java index 276e2de4606e..0cf3a8e896fe 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/TypedStoppableThread.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/TypedStoppableThread.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading.framework; import com.swirlds.common.threading.interrupt.InterruptableRunnable; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/config/MultiQueueThreadConfiguration.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/config/MultiQueueThreadConfiguration.java index e7010b6443b0..e3e3195709b6 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/config/MultiQueueThreadConfiguration.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/config/MultiQueueThreadConfiguration.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading.framework.config; import com.swirlds.common.threading.framework.MultiQueueThread; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/config/QueueThreadConfiguration.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/config/QueueThreadConfiguration.java index d9067c8a8ee9..224101164281 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/config/QueueThreadConfiguration.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/config/QueueThreadConfiguration.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2021-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading.framework.config; import com.swirlds.common.threading.framework.QueueThread; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/config/QueueThreadMetricsConfiguration.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/config/QueueThreadMetricsConfiguration.java index 37f0c637eeee..ba8d8a4bb8e1 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/config/QueueThreadMetricsConfiguration.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/config/QueueThreadMetricsConfiguration.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading.framework.config; import com.swirlds.base.time.Time; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/config/QueueThreadPoolConfiguration.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/config/QueueThreadPoolConfiguration.java index daba13d12396..e7cc79b803f0 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/config/QueueThreadPoolConfiguration.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/config/QueueThreadPoolConfiguration.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading.framework.config; import com.swirlds.common.threading.framework.QueueThreadPool; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/config/StoppableThreadConfiguration.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/config/StoppableThreadConfiguration.java index c8919e292d50..d73382cc06a4 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/config/StoppableThreadConfiguration.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/config/StoppableThreadConfiguration.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading.framework.config; import com.swirlds.common.threading.framework.StoppableThread; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/config/ThreadConfiguration.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/config/ThreadConfiguration.java index 0187b84bb590..53d4ed963b69 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/config/ThreadConfiguration.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/config/ThreadConfiguration.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2021-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading.framework.config; import com.swirlds.common.threading.framework.ThreadSeed; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/internal/AbstractBlockingQueue.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/internal/AbstractBlockingQueue.java index b6be92a52963..7c8980f08eeb 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/internal/AbstractBlockingQueue.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/internal/AbstractBlockingQueue.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2021-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading.framework.internal; import java.util.Collection; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/internal/AbstractMultiQueueThreadConfiguration.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/internal/AbstractMultiQueueThreadConfiguration.java index 704f98119a01..28f6656cf0a2 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/internal/AbstractMultiQueueThreadConfiguration.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/internal/AbstractMultiQueueThreadConfiguration.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading.framework.internal; import com.swirlds.common.threading.framework.MultiQueueThread; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/internal/AbstractQueueThreadConfiguration.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/internal/AbstractQueueThreadConfiguration.java index 54b7f902af60..6c528f3a88c2 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/internal/AbstractQueueThreadConfiguration.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/internal/AbstractQueueThreadConfiguration.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading.framework.internal; import com.swirlds.common.threading.framework.QueueThread; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/internal/AbstractQueueThreadPoolConfiguration.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/internal/AbstractQueueThreadPoolConfiguration.java index b96efe106cc1..e89940917d74 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/internal/AbstractQueueThreadPoolConfiguration.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/internal/AbstractQueueThreadPoolConfiguration.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading.framework.internal; import com.swirlds.common.threading.framework.QueueThreadPool; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/internal/AbstractStoppableThreadConfiguration.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/internal/AbstractStoppableThreadConfiguration.java index 064a5d5d2b49..6322000b4191 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/internal/AbstractStoppableThreadConfiguration.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/internal/AbstractStoppableThreadConfiguration.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading.framework.internal; import static com.swirlds.base.units.UnitConstants.NANOSECONDS_TO_SECONDS; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/internal/AbstractThreadConfiguration.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/internal/AbstractThreadConfiguration.java index 6c87ed90a7a7..cb45e5d4f776 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/internal/AbstractThreadConfiguration.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/internal/AbstractThreadConfiguration.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading.framework.internal; import static com.swirlds.common.threading.framework.config.ThreadConfiguration.captureThreadConfiguration; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/internal/MeasuredBlockingQueue.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/internal/MeasuredBlockingQueue.java index ed645cca4e46..853b92c8e828 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/internal/MeasuredBlockingQueue.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/internal/MeasuredBlockingQueue.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading.framework.internal; import com.swirlds.metrics.api.IntegerAccumulator; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/internal/MultiQueueThreadImpl.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/internal/MultiQueueThreadImpl.java index a617e60cb351..fa12b9a98906 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/internal/MultiQueueThreadImpl.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/internal/MultiQueueThreadImpl.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading.framework.internal; import com.swirlds.common.threading.framework.BlockingQueueInserter; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/internal/QueueThreadImpl.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/internal/QueueThreadImpl.java index ce9f88c1f0f2..736d7063cbaa 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/internal/QueueThreadImpl.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/internal/QueueThreadImpl.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2021-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading.framework.internal; import static java.util.concurrent.TimeUnit.NANOSECONDS; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/internal/QueueThreadMetrics.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/internal/QueueThreadMetrics.java index e5fc6215ab65..ae5796dc2e4c 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/internal/QueueThreadMetrics.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/internal/QueueThreadMetrics.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading.framework.internal; import com.swirlds.common.metrics.extensions.FractionalTimer; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/internal/QueueThreadPoolImpl.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/internal/QueueThreadPoolImpl.java index 78741c8015e6..3297790c7b97 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/internal/QueueThreadPoolImpl.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/internal/QueueThreadPoolImpl.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading.framework.internal; import com.swirlds.common.threading.framework.QueueThread; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/internal/StoppableThreadImpl.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/internal/StoppableThreadImpl.java index af7fd0be86a7..a286b2af7175 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/internal/StoppableThreadImpl.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/internal/StoppableThreadImpl.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading.framework.internal; import static com.swirlds.base.units.UnitConstants.NANOSECONDS_TO_MILLISECONDS; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/internal/ThreadBuildingUtils.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/internal/ThreadBuildingUtils.java index 3322ec58fa17..cb25b6881f55 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/internal/ThreadBuildingUtils.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/framework/internal/ThreadBuildingUtils.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading.framework.internal; import com.swirlds.common.threading.framework.config.QueueThreadMetricsConfiguration; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/futures/ConcurrentFuturePool.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/futures/ConcurrentFuturePool.java index 7ab0f752fd3d..30d458f03b38 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/futures/ConcurrentFuturePool.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/futures/ConcurrentFuturePool.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading.futures; import com.swirlds.common.exceptions.PlatformException; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/futures/FuturePool.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/futures/FuturePool.java index ef0f5f9e3e5c..ff30e3a75a11 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/futures/FuturePool.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/futures/FuturePool.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading.futures; import com.swirlds.common.exceptions.PlatformException; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/futures/StandardFuture.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/futures/StandardFuture.java index 50ef0895ad8b..543b0169f58d 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/futures/StandardFuture.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/futures/StandardFuture.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading.futures; import static com.swirlds.common.utility.StackTrace.getStackTrace; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/interrupt/InterruptableConsumer.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/interrupt/InterruptableConsumer.java index 8241a9239430..16631e29ca29 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/interrupt/InterruptableConsumer.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/interrupt/InterruptableConsumer.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading.interrupt; import java.util.function.Consumer; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/interrupt/InterruptableRunnable.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/interrupt/InterruptableRunnable.java index ca2569ef01fe..47ab63e3cd7b 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/interrupt/InterruptableRunnable.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/interrupt/InterruptableRunnable.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading.interrupt; /** diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/interrupt/InterruptableSupplier.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/interrupt/InterruptableSupplier.java index 1302c2f56a00..d08550ccd19f 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/interrupt/InterruptableSupplier.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/interrupt/InterruptableSupplier.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading.interrupt; /** diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/interrupt/Uninterruptable.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/interrupt/Uninterruptable.java index c6c25b49b158..926d82fdcecd 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/interrupt/Uninterruptable.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/interrupt/Uninterruptable.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading.interrupt; import static com.swirlds.logging.legacy.LogMarker.EXCEPTION; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/locks/AutoClosableLock.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/locks/AutoClosableLock.java index 9f456b6582ed..b34ed775fc8d 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/locks/AutoClosableLock.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/locks/AutoClosableLock.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading.locks; import com.swirlds.common.threading.locks.locked.Locked; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/locks/AutoClosableResourceLock.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/locks/AutoClosableResourceLock.java index ec60f44bae02..a333b45de853 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/locks/AutoClosableResourceLock.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/locks/AutoClosableResourceLock.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading.locks; import com.swirlds.common.threading.locks.locked.LockedResource; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/locks/IndexLock.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/locks/IndexLock.java index 44043b4cd8f5..661a5ece6561 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/locks/IndexLock.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/locks/IndexLock.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading.locks; import com.swirlds.common.threading.locks.locked.Locked; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/locks/Locks.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/locks/Locks.java index 3f764d9ca5f6..b0b656d6a7c3 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/locks/Locks.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/locks/Locks.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading.locks; import com.swirlds.common.threading.locks.internal.AutoLock; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/locks/internal/AcquiredOnTry.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/locks/internal/AcquiredOnTry.java index a8e04f67d8a1..9f551c3be864 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/locks/internal/AcquiredOnTry.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/locks/internal/AcquiredOnTry.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading.locks.internal; import com.swirlds.common.AutoCloseableNonThrowing; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/locks/internal/AcquiredResource.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/locks/internal/AcquiredResource.java index 553d9c3af482..449335ed286d 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/locks/internal/AcquiredResource.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/locks/internal/AcquiredResource.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading.locks.internal; import com.swirlds.common.AutoCloseableNonThrowing; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/locks/internal/AutoLock.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/locks/internal/AutoLock.java index a1f0116d371b..47130cb81460 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/locks/internal/AutoLock.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/locks/internal/AutoLock.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading.locks.internal; import com.swirlds.common.threading.locks.AutoClosableLock; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/locks/internal/AutoNoOpLock.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/locks/internal/AutoNoOpLock.java index e356179e075b..726f573bbe17 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/locks/internal/AutoNoOpLock.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/locks/internal/AutoNoOpLock.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading.locks.internal; import com.swirlds.common.threading.locks.AutoClosableLock; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/locks/internal/DefaultIndexLock.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/locks/internal/DefaultIndexLock.java index 8be2ca86bcff..8d31d558f417 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/locks/internal/DefaultIndexLock.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/locks/internal/DefaultIndexLock.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading.locks.internal; import com.swirlds.common.threading.locks.IndexLock; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/locks/internal/NotAcquiredResource.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/locks/internal/NotAcquiredResource.java index 0997fe3a9059..77c8ddbc26d7 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/locks/internal/NotAcquiredResource.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/locks/internal/NotAcquiredResource.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading.locks.internal; import com.swirlds.common.threading.locks.locked.MaybeLockedResource; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/locks/internal/ResourceLock.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/locks/internal/ResourceLock.java index 0ca318d6d44f..5c6ff31c4737 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/locks/internal/ResourceLock.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/locks/internal/ResourceLock.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading.locks.internal; import com.swirlds.common.threading.locks.AutoClosableLock; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/locks/locked/Locked.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/locks/locked/Locked.java index d1166d27a05b..a7c2e6147c1d 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/locks/locked/Locked.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/locks/locked/Locked.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading.locks.locked; import com.swirlds.common.threading.locks.AutoClosableLock; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/locks/locked/LockedResource.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/locks/locked/LockedResource.java index f1ee3fb663d7..20769c9b055f 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/locks/locked/LockedResource.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/locks/locked/LockedResource.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading.locks.locked; import edu.umd.cs.findbugs.annotations.Nullable; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/locks/locked/MaybeLocked.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/locks/locked/MaybeLocked.java index 8d8deb51b2e8..0c9f5dfa14c3 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/locks/locked/MaybeLocked.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/locks/locked/MaybeLocked.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading.locks.locked; import com.swirlds.common.threading.locks.AutoClosableLock; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/locks/locked/MaybeLockedResource.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/locks/locked/MaybeLockedResource.java index e6e084f126f5..9aa3294e3933 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/locks/locked/MaybeLockedResource.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/locks/locked/MaybeLockedResource.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading.locks.locked; /** diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/manager/AdHocThreadManager.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/manager/AdHocThreadManager.java index f590bc29ccae..a3fa01d86a0c 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/manager/AdHocThreadManager.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/manager/AdHocThreadManager.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading.manager; import com.swirlds.base.state.LifecyclePhase; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/manager/StandardThreadManager.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/manager/StandardThreadManager.java index c0e2ddc2f241..f5822ac0791a 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/manager/StandardThreadManager.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/manager/StandardThreadManager.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading.manager; import com.swirlds.base.state.LifecyclePhase; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/manager/ThreadManager.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/manager/ThreadManager.java index 39c82b1f2743..6e91b447afcf 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/manager/ThreadManager.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/manager/ThreadManager.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading.manager; import com.swirlds.base.state.Lifecycle; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/pool/CachedPoolParallelExecutor.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/pool/CachedPoolParallelExecutor.java index f471c3985512..3f3a48550a41 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/pool/CachedPoolParallelExecutor.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/pool/CachedPoolParallelExecutor.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading.pool; import com.swirlds.common.threading.manager.ThreadManager; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/pool/ParallelExecutionException.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/pool/ParallelExecutionException.java index eca13aa61db7..4656146e0e01 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/pool/ParallelExecutionException.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/pool/ParallelExecutionException.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading.pool; import java.time.Instant; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/pool/ParallelExecutor.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/pool/ParallelExecutor.java index a3df9c26332e..2f7927b2dd0a 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/pool/ParallelExecutor.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/pool/ParallelExecutor.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading.pool; import com.swirlds.base.state.MutabilityException; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/pool/StandardWorkGroup.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/pool/StandardWorkGroup.java index a1494ecc88b1..16a2b10ab744 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/pool/StandardWorkGroup.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/pool/StandardWorkGroup.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading.pool; import static com.swirlds.logging.legacy.LogMarker.EXCEPTION; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/utility/ThrowingRunnable.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/utility/ThrowingRunnable.java index 36d8cd76fb7a..cd8d750ad8e1 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/utility/ThrowingRunnable.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/threading/utility/ThrowingRunnable.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading.utility; import java.util.concurrent.Callable; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/time/IntegerEpochTime.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/time/IntegerEpochTime.java index fd9f7c7f25bd..cba3a829ddde 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/time/IntegerEpochTime.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/time/IntegerEpochTime.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.time; import com.swirlds.base.time.Time; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/units/DataUnit.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/units/DataUnit.java index d16fbc63f9c3..d578b579feaa 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/units/DataUnit.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/units/DataUnit.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.units; import static com.swirlds.base.units.UnitConstants.BYTES_TO_BITS; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/units/FrequencyUnit.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/units/FrequencyUnit.java index a46abf93f98e..8e6937485ae7 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/units/FrequencyUnit.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/units/FrequencyUnit.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.units; import com.swirlds.common.units.internal.UnitConverter; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/units/TimeUnit.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/units/TimeUnit.java index da2f8ba02403..1ed5265a2e23 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/units/TimeUnit.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/units/TimeUnit.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.units; import static com.swirlds.base.units.UnitConstants.DAYS_TO_HOURS; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/units/Unit.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/units/Unit.java index 7f2708842aeb..58b63d0aa5a3 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/units/Unit.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/units/Unit.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.units; import com.swirlds.common.formatting.UnitFormatter; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/units/internal/UnitConverter.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/units/internal/UnitConverter.java index 8664e5a888bd..14d2297fd4d2 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/units/internal/UnitConverter.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/units/internal/UnitConverter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.units.internal; import com.swirlds.common.units.Unit; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/AbstractReservable.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/AbstractReservable.java index bde8161a8e42..246a0d53fd3e 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/AbstractReservable.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/AbstractReservable.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.utility; import com.swirlds.common.Reservable; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/AutoCloseableWrapper.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/AutoCloseableWrapper.java index 60cc5d6eec4f..a13fd86cf0ff 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/AutoCloseableWrapper.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/AutoCloseableWrapper.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.utility; /** diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/BinarySearch.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/BinarySearch.java index 4310e1fc1b69..f053fa2a8e69 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/BinarySearch.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/BinarySearch.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.utility; import com.swirlds.base.function.CheckedFunction; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/ByteUtils.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/ByteUtils.java index 6637e3c28475..8a697146950b 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/ByteUtils.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/ByteUtils.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.utility; import static com.swirlds.base.units.UnitConstants.BYTES_PER_INT; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/Clearable.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/Clearable.java index 3bc9f4749c57..e8cec7fc482c 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/Clearable.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/Clearable.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.utility; /** diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/CommonUtils.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/CommonUtils.java index b8bf0b2fe7d9..b38849702709 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/CommonUtils.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/CommonUtils.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2019-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.utility; import static com.swirlds.common.units.DataUnit.UNIT_BYTES; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/CompareTo.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/CompareTo.java index e2c238ef6b75..5f1b504ba132 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/CompareTo.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/CompareTo.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.utility; /** diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/DurationUtils.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/DurationUtils.java index 2bffeee22417..62f6c01cc69c 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/DurationUtils.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/DurationUtils.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.utility; import edu.umd.cs.findbugs.annotations.NonNull; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/EmptyIterator.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/EmptyIterator.java index d4f3d6a49f40..8b3913234e51 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/EmptyIterator.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/EmptyIterator.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.utility; import java.util.Iterator; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/IntReference.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/IntReference.java index d996139d1149..a0f3f3e42a37 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/IntReference.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/IntReference.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.utility; import com.swirlds.base.utility.ToStringBuilder; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/Labeled.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/Labeled.java index 658586e6bdfd..5a43970714ac 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/Labeled.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/Labeled.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.utility; /** diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/LongRunningAverage.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/LongRunningAverage.java index edb6d83b1d13..c59e8cae5a6f 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/LongRunningAverage.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/LongRunningAverage.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.utility; import static com.swirlds.common.formatting.StringFormattingUtils.formattedList; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/Mnemonics.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/Mnemonics.java index 4aa8a92f33e9..4c79a5fed164 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/Mnemonics.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/Mnemonics.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.utility; import static com.swirlds.common.formatting.StringFormattingUtils.formattedList; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/NonCryptographicHashing.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/NonCryptographicHashing.java index 38da695d34bb..2ef1aa2dd0e1 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/NonCryptographicHashing.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/NonCryptographicHashing.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2021-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.utility; import static com.swirlds.common.utility.ByteUtils.byteArrayToLong; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/RandomAccessDeque.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/RandomAccessDeque.java index 1931cf2d2a50..bb5e6469f05c 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/RandomAccessDeque.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/RandomAccessDeque.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.utility; import java.util.Arrays; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/ReferenceCounter.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/ReferenceCounter.java index 6c830f612d12..ab2d2e8f4e96 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/ReferenceCounter.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/ReferenceCounter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.utility; import com.swirlds.common.Reservable; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/RuntimeObjectRecord.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/RuntimeObjectRecord.java index 1e23b1291664..3884edb35a0a 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/RuntimeObjectRecord.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/RuntimeObjectRecord.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.utility; import com.swirlds.common.Releasable; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/RuntimeObjectRegistry.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/RuntimeObjectRegistry.java index 3ad99fc2b304..4f9f8f81e14f 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/RuntimeObjectRegistry.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/RuntimeObjectRegistry.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.utility; import java.time.Duration; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/StackTrace.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/StackTrace.java index 373a6db3deff..b8ba12b4abd7 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/StackTrace.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/StackTrace.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.utility; /** diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/StopWatch.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/StopWatch.java index 8653e5bf4c8f..2249c071be41 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/StopWatch.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/StopWatch.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.utility; import com.swirlds.base.time.Time; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/Threshold.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/Threshold.java index a40002f1ec1c..347f408ba699 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/Threshold.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/Threshold.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.utility; import edu.umd.cs.findbugs.annotations.NonNull; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/ThresholdLimitingHandler.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/ThresholdLimitingHandler.java index 5427c1e219df..f4eed1129d1b 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/ThresholdLimitingHandler.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/ThresholdLimitingHandler.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.utility; import java.util.Map; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/UnmodifiableIterator.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/UnmodifiableIterator.java index 98eed7c178b9..391a5e2b512c 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/UnmodifiableIterator.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/UnmodifiableIterator.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.utility; import edu.umd.cs.findbugs.annotations.NonNull; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/ValueReference.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/ValueReference.java index 60475bfdfc6c..0b80a2275bea 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/ValueReference.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/ValueReference.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.utility; /** diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/throttle/MultiThrottle.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/throttle/MultiThrottle.java index b5138df5d5fb..8d1a56f1473c 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/throttle/MultiThrottle.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/throttle/MultiThrottle.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.utility.throttle; import java.util.ArrayList; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/throttle/RateLimitedLogger.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/throttle/RateLimitedLogger.java index 3626bd60cf81..ecf85e7fa8af 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/throttle/RateLimitedLogger.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/throttle/RateLimitedLogger.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.utility.throttle; import com.swirlds.base.time.Time; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/throttle/RateLimiter.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/throttle/RateLimiter.java index 4ad120afa0e2..f5601d40c10b 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/throttle/RateLimiter.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/throttle/RateLimiter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.utility.throttle; import static com.swirlds.base.units.UnitConstants.SECONDS_TO_NANOSECONDS; diff --git a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/throttle/Throttle.java b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/throttle/Throttle.java index 802680ca367b..e1be3d09cdf3 100644 --- a/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/throttle/Throttle.java +++ b/platform-sdk/swirlds-common/src/main/java/com/swirlds/common/utility/throttle/Throttle.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2019-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.utility.throttle; import static com.swirlds.base.units.UnitConstants.NANOSECONDS_TO_SECONDS; diff --git a/platform-sdk/swirlds-common/src/main/java/module-info.java b/platform-sdk/swirlds-common/src/main/java/module-info.java index 1b363acee91a..f7da9166caad 100644 --- a/platform-sdk/swirlds-common/src/main/java/module-info.java +++ b/platform-sdk/swirlds-common/src/main/java/module-info.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 module com.swirlds.common { /* Exported packages. This list should remain alphabetized. */ diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/config/BasicCommonConfigTest.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/config/BasicCommonConfigTest.java index 24773b69ff33..9e0625d1bf96 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/config/BasicCommonConfigTest.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/config/BasicCommonConfigTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.config; import com.swirlds.config.api.Configuration; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/config/StateCommonConfigTest.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/config/StateCommonConfigTest.java index dc9ecb8b44aa..0205de5b8ac3 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/config/StateCommonConfigTest.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/config/StateCommonConfigTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.config; import com.swirlds.config.api.ConfigurationBuilder; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/constructable/ConstructableRegistryTest.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/constructable/ConstructableRegistryTest.java index 3affa80c2ae3..5ce7f4c44cc3 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/constructable/ConstructableRegistryTest.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/constructable/ConstructableRegistryTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2019-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.constructable; import static org.junit.jupiter.api.Assertions.assertEquals; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/constructable/ConstructorRegistryTest.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/constructable/ConstructorRegistryTest.java index 4d296407519d..20e7d8a8b018 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/constructable/ConstructorRegistryTest.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/constructable/ConstructorRegistryTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.constructable; import com.swirlds.common.constructable.constructables.NoArgsConstructable; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/constructable/constructables/NoArgsConstructable.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/constructable/constructables/NoArgsConstructable.java index bb76d1423dac..51d43d817585 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/constructable/constructables/NoArgsConstructable.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/constructable/constructables/NoArgsConstructable.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.constructable.constructables; import com.swirlds.common.constructable.RuntimeConstructable; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/constructable/constructables/NoArgsConstructableWithAnnotation.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/constructable/constructables/NoArgsConstructableWithAnnotation.java index 39334890feaf..5fec30145f4e 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/constructable/constructables/NoArgsConstructableWithAnnotation.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/constructable/constructables/NoArgsConstructableWithAnnotation.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.constructable.constructables; import static com.swirlds.common.constructable.constructables.NoArgsConstructableWithAnnotation.CLASS_ID; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/constructable/constructables/scannable/ConstructableExample.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/constructable/constructables/scannable/ConstructableExample.java index 5cbb0f9988ac..a67aacaeafb5 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/constructable/constructables/scannable/ConstructableExample.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/constructable/constructables/scannable/ConstructableExample.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.constructable.constructables.scannable; import com.swirlds.common.constructable.RuntimeConstructable; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/constructable/constructables/scannable/ConstructableRecord.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/constructable/constructables/scannable/ConstructableRecord.java index 50ac09085137..deb4d1760af8 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/constructable/constructables/scannable/ConstructableRecord.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/constructable/constructables/scannable/ConstructableRecord.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.constructable.constructables.scannable; import static com.swirlds.common.constructable.constructables.scannable.ConstructableRecord.CLASS_ID; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/constructable/constructables/scannable/PrimitiveAndObjectConstructable.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/constructable/constructables/scannable/PrimitiveAndObjectConstructable.java index 0f6df3a3cb42..c56da620d644 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/constructable/constructables/scannable/PrimitiveAndObjectConstructable.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/constructable/constructables/scannable/PrimitiveAndObjectConstructable.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.constructable.constructables.scannable; import static com.swirlds.common.constructable.constructables.scannable.PrimitiveAndObjectConstructable.CLASS_ID; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/constructable/constructables/scannable/StringConstructable.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/constructable/constructables/scannable/StringConstructable.java index 4e950c11bb6f..a1c197b268b4 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/constructable/constructables/scannable/StringConstructable.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/constructable/constructables/scannable/StringConstructable.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.constructable.constructables.scannable; import static com.swirlds.common.constructable.constructables.scannable.StringConstructable.CLASS_ID; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/constructable/constructables/scannable/subpackage/SubpackageConstructable.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/constructable/constructables/scannable/subpackage/SubpackageConstructable.java index a431db9330d7..0fe9c073ade0 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/constructable/constructables/scannable/subpackage/SubpackageConstructable.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/constructable/constructables/scannable/subpackage/SubpackageConstructable.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.constructable.constructables.scannable.subpackage; import com.swirlds.common.constructable.RuntimeConstructable; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/constructable/constructors/BadReturnTypeConstructor.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/constructable/constructors/BadReturnTypeConstructor.java index 8f7988d3ebf5..48b38b2affa4 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/constructable/constructors/BadReturnTypeConstructor.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/constructable/constructors/BadReturnTypeConstructor.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.constructable.constructors; public interface BadReturnTypeConstructor { diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/constructable/constructors/MultipleMethodsConstructor.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/constructable/constructors/MultipleMethodsConstructor.java index 9ae00cd629cd..e79fa90bfd7a 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/constructable/constructors/MultipleMethodsConstructor.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/constructable/constructors/MultipleMethodsConstructor.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.constructable.constructors; import com.swirlds.common.constructable.RuntimeConstructable; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/constructable/constructors/NotInterfaceConstructor.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/constructable/constructors/NotInterfaceConstructor.java index f73bc6794d52..e71e1cd0f353 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/constructable/constructors/NotInterfaceConstructor.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/constructable/constructors/NotInterfaceConstructor.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.constructable.constructors; import com.swirlds.common.constructable.RuntimeConstructable; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/constructable/constructors/PrimitiveAndObjectConstructor.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/constructable/constructors/PrimitiveAndObjectConstructor.java index aaebf1f8731d..ab6889772053 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/constructable/constructors/PrimitiveAndObjectConstructor.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/constructable/constructors/PrimitiveAndObjectConstructor.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.constructable.constructors; import com.swirlds.common.constructable.constructables.scannable.PrimitiveAndObjectConstructable; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/constructable/constructors/RecordConstructor.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/constructable/constructors/RecordConstructor.java index 224c9ebd7202..bfd1a4d290fe 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/constructable/constructors/RecordConstructor.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/constructable/constructors/RecordConstructor.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.constructable.constructors; import com.swirlds.common.constructable.constructables.scannable.ConstructableRecord; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/constructable/constructors/StringConstructor.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/constructable/constructors/StringConstructor.java index 0c7509f51fe7..7c466695c0bc 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/constructable/constructors/StringConstructor.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/constructable/constructors/StringConstructor.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.constructable.constructors; import com.swirlds.common.constructable.constructables.scannable.StringConstructable; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/context/internal/DefaultPlatformContextTest.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/context/internal/DefaultPlatformContextTest.java index ae8a2442111c..f2f12f9f08ab 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/context/internal/DefaultPlatformContextTest.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/context/internal/DefaultPlatformContextTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.context.internal; import static org.junit.jupiter.api.Assertions.assertNotNull; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/crypto/CryptographyBenchmarkTests.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/crypto/CryptographyBenchmarkTests.java index f4704a4ddc35..4572ee318901 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/crypto/CryptographyBenchmarkTests.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/crypto/CryptographyBenchmarkTests.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.crypto; import static org.junit.jupiter.api.Assertions.assertTrue; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/crypto/DetRandomTests.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/crypto/DetRandomTests.java index cc13dd03e488..53e3a8e0deb0 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/crypto/DetRandomTests.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/crypto/DetRandomTests.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.crypto; import static org.junit.jupiter.api.Assertions.assertArrayEquals; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/crypto/HashTests.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/crypto/HashTests.java index f1f81a31701f..249bd6a44674 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/crypto/HashTests.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/crypto/HashTests.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.crypto; import static org.junit.jupiter.api.Assertions.assertDoesNotThrow; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/crypto/RunningHashTest.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/crypto/RunningHashTest.java index 5e9e5adb5d6a..6807c92da04d 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/crypto/RunningHashTest.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/crypto/RunningHashTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.crypto; import static org.junit.jupiter.api.Assertions.assertEquals; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/crypto/SerializablePublicKeyTests.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/crypto/SerializablePublicKeyTests.java index e9b4d28127f4..2d46381acbe4 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/crypto/SerializablePublicKeyTests.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/crypto/SerializablePublicKeyTests.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.crypto; import static org.junit.jupiter.api.Assertions.assertEquals; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/crypto/SignatureTest.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/crypto/SignatureTest.java index 4f2fde0b47ae..3beb5502258e 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/crypto/SignatureTest.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/crypto/SignatureTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.crypto; import static org.junit.jupiter.api.Assertions.assertEquals; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/crypto/SigningProviderTest.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/crypto/SigningProviderTest.java index 66b14695c1b9..558d8fd69462 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/crypto/SigningProviderTest.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/crypto/SigningProviderTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.crypto; import static org.junit.jupiter.api.Assertions.assertEquals; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/crypto/TransactionSignatureTests.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/crypto/TransactionSignatureTests.java index 8d43dcafe2b4..f1c1418695b1 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/crypto/TransactionSignatureTests.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/crypto/TransactionSignatureTests.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.crypto; import static org.junit.jupiter.api.Assertions.assertEquals; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/crypto/config/CryptoConfigTest.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/crypto/config/CryptoConfigTest.java index 7e91844ffcfc..425bdc4aafa7 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/crypto/config/CryptoConfigTest.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/crypto/config/CryptoConfigTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.crypto.config; import com.swirlds.config.api.ConfigurationBuilder; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/formatting/HorizontalAlignmentTests.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/formatting/HorizontalAlignmentTests.java index cd51b63e864e..850e9e4b327f 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/formatting/HorizontalAlignmentTests.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/formatting/HorizontalAlignmentTests.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.formatting; import static com.swirlds.common.formatting.HorizontalAlignment.ALIGNED_CENTER; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/formatting/StringFormattingUtilsTests.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/formatting/StringFormattingUtilsTests.java index 56c9aa4e1214..1f4c664833a0 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/formatting/StringFormattingUtilsTests.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/formatting/StringFormattingUtilsTests.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.formatting; import static com.swirlds.common.formatting.StringFormattingUtils.addLine; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/formatting/TextEffectTests.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/formatting/TextEffectTests.java index 92b73b09b403..3d4074989875 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/formatting/TextEffectTests.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/formatting/TextEffectTests.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.formatting; import static com.swirlds.common.formatting.TextEffect.CROSSED_OUT; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/formatting/UnitFormatterTests.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/formatting/UnitFormatterTests.java index bee271de8447..a3acfbd110c6 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/formatting/UnitFormatterTests.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/formatting/UnitFormatterTests.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.formatting; import static org.junit.jupiter.api.Assertions.assertEquals; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/io/SelfSerializableTest.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/io/SelfSerializableTest.java index ae91b2dc216f..e0b2bdff1fb8 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/io/SelfSerializableTest.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/io/SelfSerializableTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.io; import static org.junit.jupiter.api.Assertions.assertEquals; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/io/extendable/MultiExtensionTests.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/io/extendable/MultiExtensionTests.java index a8adfd98e913..6051886248fa 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/io/extendable/MultiExtensionTests.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/io/extendable/MultiExtensionTests.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.io.extendable; import static com.swirlds.common.io.extendable.ExtendableInputStream.extendInputStream; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/io/extendable/extensions/CountingStreamExtensionTests.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/io/extendable/extensions/CountingStreamExtensionTests.java index f02d3e85fd98..5ad728e56cc5 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/io/extendable/extensions/CountingStreamExtensionTests.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/io/extendable/extensions/CountingStreamExtensionTests.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.io.extendable.extensions; import static org.junit.jupiter.api.Assertions.assertEquals; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/io/extendable/extensions/HashingStreamExtensionTests.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/io/extendable/extensions/HashingStreamExtensionTests.java index de9434150c87..204b01c9f8e0 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/io/extendable/extensions/HashingStreamExtensionTests.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/io/extendable/extensions/HashingStreamExtensionTests.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.io.extendable.extensions; import static com.swirlds.common.io.extendable.ExtendableOutputStream.extendOutputStream; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/io/extendable/extensions/MaxSizeStreamExtensionTests.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/io/extendable/extensions/MaxSizeStreamExtensionTests.java index a0d466d84a4c..8922d26d4bf2 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/io/extendable/extensions/MaxSizeStreamExtensionTests.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/io/extendable/extensions/MaxSizeStreamExtensionTests.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.io.extendable.extensions; import static org.junit.jupiter.api.Assertions.assertThrows; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/io/filesystem/internal/FileSystemManagerImplTest.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/io/filesystem/internal/FileSystemManagerImplTest.java index 76e1b9286f41..6f761da86596 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/io/filesystem/internal/FileSystemManagerImplTest.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/io/filesystem/internal/FileSystemManagerImplTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.io.filesystem.internal; import static org.assertj.core.api.Assertions.assertThat; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/io/utility/FileUtilsTests.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/io/utility/FileUtilsTests.java index 283a4b1dee78..d48454bbab4b 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/io/utility/FileUtilsTests.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/io/utility/FileUtilsTests.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.io.utility; import static com.swirlds.common.io.utility.FileUtils.deleteDirectoryAndLog; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/io/utility/LegacyTemporaryFileBuilderTests.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/io/utility/LegacyTemporaryFileBuilderTests.java index a8ef5202a736..0562222dc61a 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/io/utility/LegacyTemporaryFileBuilderTests.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/io/utility/LegacyTemporaryFileBuilderTests.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.io.utility; import static com.swirlds.common.io.utility.FileUtils.deleteDirectory; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/io/utility/RecycleBinTests.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/io/utility/RecycleBinTests.java index dac15da900d3..6fb253187e1e 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/io/utility/RecycleBinTests.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/io/utility/RecycleBinTests.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.io.utility; import static com.swirlds.common.test.fixtures.AssertionUtils.assertEventuallyDoesNotThrow; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/jackson/InstantDeserializerTests.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/jackson/InstantDeserializerTests.java index ae0c3273449d..1a2f2d357f4f 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/jackson/InstantDeserializerTests.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/jackson/InstantDeserializerTests.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.jackson; import static org.junit.jupiter.api.Assertions.assertEquals; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/merkle/synchronization/config/ReconnectConfigTest.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/merkle/synchronization/config/ReconnectConfigTest.java index 2d15d34d7ad8..4480cc6a6558 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/merkle/synchronization/config/ReconnectConfigTest.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/merkle/synchronization/config/ReconnectConfigTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.merkle.synchronization.config; import com.swirlds.config.api.ConfigurationBuilder; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/DurationGaugeTest.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/DurationGaugeTest.java index 61af91d46572..6279cff54f3e 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/DurationGaugeTest.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/DurationGaugeTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics; import static com.swirlds.metrics.api.Metric.DataType.FLOAT; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/FunctionGaugeConfigTest.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/FunctionGaugeConfigTest.java index 425ffced268b..87c86f0968d7 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/FunctionGaugeConfigTest.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/FunctionGaugeConfigTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics; import static org.assertj.core.api.Assertions.assertThat; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/FunctionGaugeTest.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/FunctionGaugeTest.java index 0e06993523b8..76c1be25b67d 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/FunctionGaugeTest.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/FunctionGaugeTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics; import static com.swirlds.metrics.api.Metric.ValueType.MAX; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/IntegerPairAccumulatorConfigTest.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/IntegerPairAccumulatorConfigTest.java index e6741d694e15..976b15dc5e9c 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/IntegerPairAccumulatorConfigTest.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/IntegerPairAccumulatorConfigTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics; import static com.swirlds.common.metrics.IntegerPairAccumulator.AVERAGE; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/IntegerPairAccumulatorTest.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/IntegerPairAccumulatorTest.java index 762d7310ea70..82ed00ed96f5 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/IntegerPairAccumulatorTest.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/IntegerPairAccumulatorTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics; import static com.swirlds.metrics.api.Metric.ValueType.MAX; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/RunningAverageMetricConfigTest.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/RunningAverageMetricConfigTest.java index 6c856cdb0bd6..ae28ac7e9cfc 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/RunningAverageMetricConfigTest.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/RunningAverageMetricConfigTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics; import static org.assertj.core.api.Assertions.assertThat; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/RunningAverageMetricTest.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/RunningAverageMetricTest.java index 9c225ba0a277..764f029fa306 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/RunningAverageMetricTest.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/RunningAverageMetricTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics; import static com.swirlds.metrics.api.Metric.DataType.FLOAT; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/SpeedometerMetricConfigTest.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/SpeedometerMetricConfigTest.java index bbef794566c4..ec298bc5350e 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/SpeedometerMetricConfigTest.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/SpeedometerMetricConfigTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics; import static org.assertj.core.api.Assertions.assertThat; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/SpeedometerMetricTest.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/SpeedometerMetricTest.java index a4b4072a42b4..646fad366d1f 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/SpeedometerMetricTest.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/SpeedometerMetricTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics; import static com.swirlds.metrics.api.Metric.DataType.FLOAT; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/StatEntryConfigTest.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/StatEntryConfigTest.java index 9851aca09732..9a415f8b7dc8 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/StatEntryConfigTest.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/StatEntryConfigTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics; import static org.assertj.core.api.Assertions.assertThat; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/StatEntryTest.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/StatEntryTest.java index 1807983ad02c..9fd748cc3817 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/StatEntryTest.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/StatEntryTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics; import static com.swirlds.metrics.api.Metric.ValueType.MAX; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/config/MetricsConfigTest.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/config/MetricsConfigTest.java index eb64c8253d32..8081a1018791 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/config/MetricsConfigTest.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/config/MetricsConfigTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.config; import static org.assertj.core.api.Assertions.assertThat; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/extensions/CountPerSecondTest.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/extensions/CountPerSecondTest.java index 2805fa5a109a..fe8417420704 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/extensions/CountPerSecondTest.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/extensions/CountPerSecondTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.extensions; import static org.junit.jupiter.api.Assertions.assertEquals; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/extensions/FractionalTimerTests.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/extensions/FractionalTimerTests.java index e5db78f60479..b4c6ffc1bc28 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/extensions/FractionalTimerTests.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/extensions/FractionalTimerTests.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.extensions; import static org.junit.jupiter.api.Assertions.assertEquals; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/extensions/PhaseTimerTests.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/extensions/PhaseTimerTests.java index b2bace8ea96a..370e44643025 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/extensions/PhaseTimerTests.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/extensions/PhaseTimerTests.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.extensions; import static com.swirlds.common.metrics.extensions.TestPhases.BAR; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/extensions/TestPhases.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/extensions/TestPhases.java index 9c9a9b52bb30..789659747668 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/extensions/TestPhases.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/extensions/TestPhases.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.extensions; /** diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/noop/NoOpMetricsTest.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/noop/NoOpMetricsTest.java index cdbce40bbbc9..a41cbd554474 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/noop/NoOpMetricsTest.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/noop/NoOpMetricsTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.noop; import static org.junit.jupiter.api.Assertions.assertDoesNotThrow; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/platform/LegacyCsvWriterTest.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/platform/LegacyCsvWriterTest.java index 14e881484967..97ceac7fc54c 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/platform/LegacyCsvWriterTest.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/platform/LegacyCsvWriterTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.platform; import static com.swirlds.metrics.api.FloatFormats.FORMAT_3_1; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/platform/MetricKeyRegistrationTest.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/platform/MetricKeyRegistrationTest.java index 593429d1188a..7f9cc9b06b58 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/platform/MetricKeyRegistrationTest.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/platform/MetricKeyRegistrationTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.platform; import static com.swirlds.common.metrics.platform.DefaultPlatformMetrics.calculateMetricKey; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/platform/MetricsEventBusTest.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/platform/MetricsEventBusTest.java index 88776dbec3a3..e12eca2fd4f5 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/platform/MetricsEventBusTest.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/platform/MetricsEventBusTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.platform; import static org.assertj.core.api.Assertions.assertThatCode; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/platform/PlatformDurationGaugeTest.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/platform/PlatformDurationGaugeTest.java index eb4d845d36ef..0525bceba3a3 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/platform/PlatformDurationGaugeTest.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/platform/PlatformDurationGaugeTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.platform; import static com.swirlds.metrics.api.Metric.ValueType.VALUE; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/platform/PlatformFunctionGaugeTest.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/platform/PlatformFunctionGaugeTest.java index da3b1634ce66..9a017a141e60 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/platform/PlatformFunctionGaugeTest.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/platform/PlatformFunctionGaugeTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.platform; import static com.swirlds.metrics.api.Metric.DataType.STRING; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/platform/PlatformIntegerPairAccumulatorTest.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/platform/PlatformIntegerPairAccumulatorTest.java index a7a2d62aa63f..aacfc8c44b15 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/platform/PlatformIntegerPairAccumulatorTest.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/platform/PlatformIntegerPairAccumulatorTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.platform; import static com.swirlds.common.metrics.IntegerPairAccumulator.AVERAGE; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/platform/PlatformRunningAverageMetricTest.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/platform/PlatformRunningAverageMetricTest.java index c4962323424f..39279635ccd7 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/platform/PlatformRunningAverageMetricTest.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/platform/PlatformRunningAverageMetricTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.platform; import static com.swirlds.metrics.api.Metric.DataType.FLOAT; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/platform/PlatformStatEntryTest.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/platform/PlatformStatEntryTest.java index b6fad3833aa6..96c4f5151dfc 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/platform/PlatformStatEntryTest.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/platform/PlatformStatEntryTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.platform; import static com.swirlds.metrics.api.Metric.DataType.STRING; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/platform/SnapshotServiceTest.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/platform/SnapshotServiceTest.java index 8312faa6ec00..cdd65385f42f 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/platform/SnapshotServiceTest.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/platform/SnapshotServiceTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.platform; import static org.assertj.core.api.Assertions.assertThat; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/platform/prometheus/BooleanAdapterTest.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/platform/prometheus/BooleanAdapterTest.java index 5ccc596ba1e2..7c7adf1efcde 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/platform/prometheus/BooleanAdapterTest.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/platform/prometheus/BooleanAdapterTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.platform.prometheus; import static com.swirlds.common.metrics.platform.prometheus.PrometheusEndpoint.AdapterType.GLOBAL; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/platform/prometheus/CounterAdapterTest.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/platform/prometheus/CounterAdapterTest.java index 0b7ff130d155..16fb90e6390f 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/platform/prometheus/CounterAdapterTest.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/platform/prometheus/CounterAdapterTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.platform.prometheus; import static com.swirlds.common.metrics.platform.prometheus.PrometheusEndpoint.AdapterType.GLOBAL; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/platform/prometheus/DistributionAdapterTest.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/platform/prometheus/DistributionAdapterTest.java index 07bba2cb5878..adf77775f37c 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/platform/prometheus/DistributionAdapterTest.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/platform/prometheus/DistributionAdapterTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.platform.prometheus; import static com.swirlds.common.metrics.platform.prometheus.PrometheusEndpoint.AdapterType.GLOBAL; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/platform/prometheus/NameConvertTest.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/platform/prometheus/NameConvertTest.java index 755c42e89a32..7f898080e612 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/platform/prometheus/NameConvertTest.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/platform/prometheus/NameConvertTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.platform.prometheus; import static org.assertj.core.api.Assertions.assertThat; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/platform/prometheus/NumberAdapterTest.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/platform/prometheus/NumberAdapterTest.java index 43deebe5e410..93a2c67876d0 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/platform/prometheus/NumberAdapterTest.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/platform/prometheus/NumberAdapterTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.platform.prometheus; import static com.swirlds.common.metrics.platform.prometheus.PrometheusEndpoint.AdapterType.GLOBAL; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/platform/prometheus/PrometheusConfigTest.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/platform/prometheus/PrometheusConfigTest.java index 5d96d598f540..87544bda84ef 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/platform/prometheus/PrometheusConfigTest.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/platform/prometheus/PrometheusConfigTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.platform.prometheus; import static org.assertj.core.api.Assertions.assertThat; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/platform/prometheus/PrometheusEndpointTest.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/platform/prometheus/PrometheusEndpointTest.java index b9716792e504..66f1b3541657 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/platform/prometheus/PrometheusEndpointTest.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/platform/prometheus/PrometheusEndpointTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.platform.prometheus; import static org.assertj.core.api.Assertions.assertThat; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/platform/prometheus/StringAdapterTest.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/platform/prometheus/StringAdapterTest.java index 0c8f7d85b16f..a12c2edb09b3 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/platform/prometheus/StringAdapterTest.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/platform/prometheus/StringAdapterTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.platform.prometheus; import static com.swirlds.common.metrics.platform.prometheus.PrometheusEndpoint.AdapterType.GLOBAL; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/statistics/internal/StatsBufferTest.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/statistics/internal/StatsBufferTest.java index 84ddc95a5335..049f5fd8994d 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/statistics/internal/StatsBufferTest.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/metrics/statistics/internal/StatsBufferTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.statistics.internal; import static org.junit.jupiter.api.Assertions.assertEquals; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/set/RandomAccessSetTest.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/set/RandomAccessSetTest.java index baadc1de3621..2f3d2ff0df99 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/set/RandomAccessSetTest.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/set/RandomAccessSetTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.set; import static org.junit.jupiter.api.Assertions.assertEquals; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/stream/CountDownLatchStreamTest.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/stream/CountDownLatchStreamTest.java index 035053e3faf2..eb0c7ca55551 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/stream/CountDownLatchStreamTest.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/stream/CountDownLatchStreamTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.stream; import static org.mockito.Mockito.mock; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/stream/HashCalculatorTest.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/stream/HashCalculatorTest.java index 1ad7ee0fb4cc..fe8b8da08731 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/stream/HashCalculatorTest.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/stream/HashCalculatorTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.stream; import static org.junit.jupiter.api.Assertions.assertEquals; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/stream/MultiStreamTest.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/stream/MultiStreamTest.java index 59b6f15012b8..592f6439a04c 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/stream/MultiStreamTest.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/stream/MultiStreamTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.stream; import static com.swirlds.common.stream.HashCalculatorTest.PAY_LOAD_SIZE_4; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/stream/ObjectForTestStreamTest.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/stream/ObjectForTestStreamTest.java index 9a1836ff50b0..3cf8bf8845b6 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/stream/ObjectForTestStreamTest.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/stream/ObjectForTestStreamTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.stream; import static org.junit.jupiter.api.Assertions.assertEquals; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/stream/QueueThreadObjectStreamTest.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/stream/QueueThreadObjectStreamTest.java index 4a50f600ca5d..3a117d534125 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/stream/QueueThreadObjectStreamTest.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/stream/QueueThreadObjectStreamTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.stream; import static com.swirlds.common.threading.manager.AdHocThreadManager.getStaticThreadManager; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/stream/RunningHashCalculatorTest.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/stream/RunningHashCalculatorTest.java index 7bb959209445..5397282faef0 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/stream/RunningHashCalculatorTest.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/stream/RunningHashCalculatorTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.stream; import static com.swirlds.common.stream.HashCalculatorTest.PAY_LOAD_SIZE_4; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/stream/StreamObjectTest.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/stream/StreamObjectTest.java index 6db289e57e40..48a4b34c7117 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/stream/StreamObjectTest.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/stream/StreamObjectTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.stream; import static com.swirlds.common.io.utility.FileUtils.deleteDirectory; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/stream/StreamTypeTest.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/stream/StreamTypeTest.java index 92fa9713af41..ac26908c8509 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/stream/StreamTypeTest.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/stream/StreamTypeTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.stream; import static com.swirlds.common.test.fixtures.stream.TestStreamType.TEST_STREAM; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/stream/StreamUtilitiesTest.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/stream/StreamUtilitiesTest.java index 45cb19bff36b..efaa0412ff04 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/stream/StreamUtilitiesTest.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/stream/StreamUtilitiesTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.stream; import static com.swirlds.common.stream.HashCalculatorTest.PAY_LOAD_SIZE_4; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/stream/TimestampStreamFileWriterTest.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/stream/TimestampStreamFileWriterTest.java index 8a85e54c7683..53d53d19bd7e 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/stream/TimestampStreamFileWriterTest.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/stream/TimestampStreamFileWriterTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.stream; import static org.junit.jupiter.api.Assertions.assertEquals; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/threading/CachedPoolParallelExecutorTest.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/threading/CachedPoolParallelExecutorTest.java index f4d120312785..ae4182981509 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/threading/CachedPoolParallelExecutorTest.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/threading/CachedPoolParallelExecutorTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading; import static com.swirlds.common.threading.manager.AdHocThreadManager.getStaticThreadManager; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/threading/ExceptionSuppressingParallelExecutorTests.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/threading/ExceptionSuppressingParallelExecutorTests.java index 67c0cbcbc9ff..520a50c11dd7 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/threading/ExceptionSuppressingParallelExecutorTests.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/threading/ExceptionSuppressingParallelExecutorTests.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading; import static com.swirlds.common.threading.manager.AdHocThreadManager.getStaticThreadManager; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/threading/MultiQueueThreadTests.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/threading/MultiQueueThreadTests.java index bfba7979006c..d1fe24559210 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/threading/MultiQueueThreadTests.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/threading/MultiQueueThreadTests.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading; import static java.util.concurrent.TimeUnit.SECONDS; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/threading/ReplaceSyncPhaseParallelExecutorTests.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/threading/ReplaceSyncPhaseParallelExecutorTests.java index 5549376fe3ea..8113c12ae57d 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/threading/ReplaceSyncPhaseParallelExecutorTests.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/threading/ReplaceSyncPhaseParallelExecutorTests.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading; import static com.swirlds.common.threading.manager.AdHocThreadManager.getStaticThreadManager; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/threading/SyncPhaseParallelExecutorTest.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/threading/SyncPhaseParallelExecutorTest.java index dba660222f91..60debec6a7db 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/threading/SyncPhaseParallelExecutorTest.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/threading/SyncPhaseParallelExecutorTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading; import static com.swirlds.common.threading.manager.AdHocThreadManager.getStaticThreadManager; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/threading/ThreadTests.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/threading/ThreadTests.java index b5fcea854644..bdcb7e9ec911 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/threading/ThreadTests.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/threading/ThreadTests.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading; import static com.swirlds.common.test.fixtures.AssertionUtils.assertEventuallyTrue; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/threading/atomic/AtomicIntPairTest.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/threading/atomic/AtomicIntPairTest.java index 42d7d29a27d6..57127449b5ad 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/threading/atomic/AtomicIntPairTest.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/threading/atomic/AtomicIntPairTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading.atomic; import static org.assertj.core.api.Assertions.assertThat; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/threading/framework/internal/AbstractQueueThreadConfigurationTest.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/threading/framework/internal/AbstractQueueThreadConfigurationTest.java index 0ff4d8b2cca8..eca29c358de4 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/threading/framework/internal/AbstractQueueThreadConfigurationTest.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/threading/framework/internal/AbstractQueueThreadConfigurationTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading.framework.internal; import static com.swirlds.metrics.api.Metrics.INTERNAL_CATEGORY; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/threading/framework/internal/MeasuredBlockingQueueConfigTest.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/threading/framework/internal/MeasuredBlockingQueueConfigTest.java index 74c41fc78128..ae0a967ceff9 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/threading/framework/internal/MeasuredBlockingQueueConfigTest.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/threading/framework/internal/MeasuredBlockingQueueConfigTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading.framework.internal; import static org.assertj.core.api.Assertions.assertThat; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/threading/framework/internal/MeasuredBlockingQueueTest.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/threading/framework/internal/MeasuredBlockingQueueTest.java index 6b9f6623ac1f..3242cd4577b1 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/threading/framework/internal/MeasuredBlockingQueueTest.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/threading/framework/internal/MeasuredBlockingQueueTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading.framework.internal; import static org.assertj.core.api.Assertions.assertThat; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/threading/interrupt/UninterruptableTest.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/threading/interrupt/UninterruptableTest.java index 4117f8fafd2d..4bbea9fce5f9 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/threading/interrupt/UninterruptableTest.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/threading/interrupt/UninterruptableTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading.interrupt; import static com.swirlds.common.test.fixtures.AssertionUtils.assertEventuallyEquals; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/threading/locks/AutoclosableLockTest.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/threading/locks/AutoclosableLockTest.java index e639720a0b49..e1a4a2565973 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/threading/locks/AutoclosableLockTest.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/threading/locks/AutoclosableLockTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading.locks; import static com.swirlds.common.test.fixtures.AssertionUtils.assertEventuallyFalse; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/threading/manager/ThreadManagerTests.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/threading/manager/ThreadManagerTests.java index 67a67b53c2d0..699c6fff35b6 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/threading/manager/ThreadManagerTests.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/threading/manager/ThreadManagerTests.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading.manager; import static com.swirlds.common.test.fixtures.AssertionUtils.assertEventuallyTrue; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/threading/pool/StandardWorkGroupTest.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/threading/pool/StandardWorkGroupTest.java index d364205e9916..98cc4fc2c098 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/threading/pool/StandardWorkGroupTest.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/threading/pool/StandardWorkGroupTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading.pool; import static com.swirlds.common.threading.manager.AdHocThreadManager.getStaticThreadManager; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/time/IntegerEpochTimeTest.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/time/IntegerEpochTimeTest.java index b5185770adee..5d76f86a4e40 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/time/IntegerEpochTimeTest.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/time/IntegerEpochTimeTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.time; import static org.junit.jupiter.api.Assertions.assertEquals; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/units/UnitConstantsTest.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/units/UnitConstantsTest.java index 1db73a600313..b4053a6bd748 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/units/UnitConstantsTest.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/units/UnitConstantsTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.units; import static com.swirlds.base.units.UnitConstants.MICROSECONDS_TO_MILLISECONDS; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/units/UnitTests.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/units/UnitTests.java index 752825ad391f..94fafb90cdd8 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/units/UnitTests.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/units/UnitTests.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.units; import static com.swirlds.common.test.fixtures.AssertionUtils.assertApproximatelyEquals; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/utility/BinarySearchTests.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/utility/BinarySearchTests.java index 374b853d6475..733d9ed455ab 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/utility/BinarySearchTests.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/utility/BinarySearchTests.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.utility; import static com.swirlds.common.test.fixtures.RandomUtils.getRandomPrintSeed; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/utility/ByteUtilsTest.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/utility/ByteUtilsTest.java index bda59c32037c..dd6ba5f2e3c3 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/utility/ByteUtilsTest.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/utility/ByteUtilsTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.utility; import static com.swirlds.base.units.UnitConstants.BYTES_PER_INT; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/utility/CommonUtilsTest.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/utility/CommonUtilsTest.java index 4471c25c72b2..10c552aa2236 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/utility/CommonUtilsTest.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/utility/CommonUtilsTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.utility; import static com.swirlds.common.utility.CommonUtils.byteCountToDisplaySize; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/utility/CompareToTest.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/utility/CompareToTest.java index 86e399157a1d..def349489b46 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/utility/CompareToTest.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/utility/CompareToTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.utility; import static com.swirlds.common.utility.CompareTo.isGreaterThan; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/utility/DurationUtilsTest.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/utility/DurationUtilsTest.java index 30b0a446a14a..7508919c19db 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/utility/DurationUtilsTest.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/utility/DurationUtilsTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.utility; import java.time.Duration; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/utility/LongRunningAverageTests.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/utility/LongRunningAverageTests.java index 3cebffb8c4f6..774b08d77534 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/utility/LongRunningAverageTests.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/utility/LongRunningAverageTests.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.utility; import static org.junit.jupiter.api.Assertions.assertEquals; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/utility/MnemonicsTests.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/utility/MnemonicsTests.java index d390d6bc301c..dc33085772cb 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/utility/MnemonicsTests.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/utility/MnemonicsTests.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.utility; import static com.swirlds.common.test.fixtures.RandomUtils.getRandomPrintSeed; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/utility/NonCryptographicHashTest.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/utility/NonCryptographicHashTest.java index 0dae0ef62d4c..c3e131d1f191 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/utility/NonCryptographicHashTest.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/utility/NonCryptographicHashTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.utility; import static com.swirlds.common.test.fixtures.RandomUtils.getRandomPrintSeed; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/utility/RandomAccessDequeTests.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/utility/RandomAccessDequeTests.java index 26dbad8da3f3..4e224fe673e1 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/utility/RandomAccessDequeTests.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/utility/RandomAccessDequeTests.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.utility; import static com.swirlds.common.test.fixtures.RandomUtils.getRandomPrintSeed; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/utility/RandotronTests.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/utility/RandotronTests.java index b92a56ab488c..bd3cf48ec8b3 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/utility/RandotronTests.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/utility/RandotronTests.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.utility; import static org.junit.jupiter.api.Assertions.assertArrayEquals; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/utility/ReferenceCounterTests.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/utility/ReferenceCounterTests.java index cf3748629716..968bef45e328 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/utility/ReferenceCounterTests.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/utility/ReferenceCounterTests.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.utility; import static com.swirlds.common.test.fixtures.RandomUtils.getRandomPrintSeed; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/utility/StackTraceTest.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/utility/StackTraceTest.java index 475824445646..91ecf450fb62 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/utility/StackTraceTest.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/utility/StackTraceTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.utility; import static com.swirlds.common.utility.StackTrace.getStackTrace; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/utility/StopWatchTest.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/utility/StopWatchTest.java index 9f9330774a48..730d7f2f75a7 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/utility/StopWatchTest.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/utility/StopWatchTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.utility; import static org.junit.jupiter.api.Assertions.assertEquals; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/utility/ThresholdTests.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/utility/ThresholdTests.java index 4ae5e032c842..7778742523b6 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/utility/ThresholdTests.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/utility/ThresholdTests.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.utility; import static com.swirlds.common.utility.Threshold.MAJORITY; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/utility/UnmodifiableIteratorTests.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/utility/UnmodifiableIteratorTests.java index 93761bf5e3d7..3127a9801a89 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/utility/UnmodifiableIteratorTests.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/utility/UnmodifiableIteratorTests.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.utility; import static org.junit.jupiter.api.Assertions.assertEquals; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/utility/throttle/RateLimitedLoggerTests.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/utility/throttle/RateLimitedLoggerTests.java index d617de2afe46..b474a2007f15 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/utility/throttle/RateLimitedLoggerTests.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/utility/throttle/RateLimitedLoggerTests.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.utility.throttle; import static com.swirlds.common.test.fixtures.RandomUtils.getRandomPrintSeed; diff --git a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/utility/throttle/RateLimiterTests.java b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/utility/throttle/RateLimiterTests.java index 56073d312dc7..23fe835dac63 100644 --- a/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/utility/throttle/RateLimiterTests.java +++ b/platform-sdk/swirlds-common/src/test/java/com/swirlds/common/utility/throttle/RateLimiterTests.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.utility.throttle; import static com.swirlds.common.test.fixtures.RandomUtils.getRandomPrintSeed; diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/AssertionUtils.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/AssertionUtils.java index e6696a88586d..fe45f6aa5800 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/AssertionUtils.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/AssertionUtils.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures; import static com.swirlds.common.threading.manager.AdHocThreadManager.getStaticThreadManager; diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/NameUtils.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/NameUtils.java index fc4ee0443731..d6e715e98ba4 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/NameUtils.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/NameUtils.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures; import edu.umd.cs.findbugs.annotations.NonNull; diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/RandomUtils.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/RandomUtils.java index ea65d2d236e9..afd83f890daa 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/RandomUtils.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/RandomUtils.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures; import com.hedera.pbj.runtime.io.buffer.Bytes; diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/Randotron.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/Randotron.java index 477740978183..6520ac015109 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/Randotron.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/Randotron.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures; import com.hedera.pbj.runtime.io.buffer.Bytes; diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/ResettableRandom.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/ResettableRandom.java index 52c66853e002..a1bf00f2e103 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/ResettableRandom.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/ResettableRandom.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures; import java.util.Random; diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/TestFileSystemManager.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/TestFileSystemManager.java index f6df34532c7d..fbaf43918c2a 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/TestFileSystemManager.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/TestFileSystemManager.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures; import static com.swirlds.common.io.utility.FileUtils.rethrowIO; diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/TestRecycleBin.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/TestRecycleBin.java index a72d4968e0fa..01dbde21af33 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/TestRecycleBin.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/TestRecycleBin.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures; import com.swirlds.common.io.utility.FileUtils; diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/TransactionGenerator.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/TransactionGenerator.java index 8e797ff33fff..7d30336ac4f8 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/TransactionGenerator.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/TransactionGenerator.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures; import com.swirlds.platform.system.transaction.Transaction; diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/WeightGenerator.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/WeightGenerator.java index 974546fc2c86..c8690328f442 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/WeightGenerator.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/WeightGenerator.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures; import java.util.List; diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/WeightGenerators.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/WeightGenerators.java index e4412d606023..4c1b6b1486da 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/WeightGenerators.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/WeightGenerators.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures; import static com.swirlds.common.test.fixtures.RandomUtils.initRandom; diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/benchmark/AbstractBenchmarkOperation.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/benchmark/AbstractBenchmarkOperation.java index f5585ae737b3..0d4c522489ec 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/benchmark/AbstractBenchmarkOperation.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/benchmark/AbstractBenchmarkOperation.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures.benchmark; import com.swirlds.common.merkle.MerkleNode; diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/benchmark/Benchmark.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/benchmark/Benchmark.java index 7dad7285427f..5469d031ca53 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/benchmark/Benchmark.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/benchmark/Benchmark.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures.benchmark; import com.swirlds.common.crypto.Hash; diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/benchmark/BenchmarkConfiguration.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/benchmark/BenchmarkConfiguration.java index ea4122fbbac8..1a6a5c4dc170 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/benchmark/BenchmarkConfiguration.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/benchmark/BenchmarkConfiguration.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures.benchmark; import com.swirlds.common.merkle.MerkleNode; diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/benchmark/BenchmarkMetadata.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/benchmark/BenchmarkMetadata.java index 41c7b06de6a5..1f6df8f8f532 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/benchmark/BenchmarkMetadata.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/benchmark/BenchmarkMetadata.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures.benchmark; /** diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/benchmark/BenchmarkOperation.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/benchmark/BenchmarkOperation.java index ae581bd085c7..2d0f9519fdd1 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/benchmark/BenchmarkOperation.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/benchmark/BenchmarkOperation.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures.benchmark; import com.swirlds.common.merkle.MerkleNode; diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/benchmark/BenchmarkStatistic.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/benchmark/BenchmarkStatistic.java index fb313dc3305c..903ea191a04b 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/benchmark/BenchmarkStatistic.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/benchmark/BenchmarkStatistic.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures.benchmark; import java.time.Duration; diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/benchmark/ImmutableStateManager.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/benchmark/ImmutableStateManager.java index a5845f733c10..a8982c124494 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/benchmark/ImmutableStateManager.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/benchmark/ImmutableStateManager.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures.benchmark; import com.swirlds.common.merkle.MerkleNode; diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/benchmark/MutableStateManager.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/benchmark/MutableStateManager.java index 10d88f2f3f85..d2d0e7f8c125 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/benchmark/MutableStateManager.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/benchmark/MutableStateManager.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures.benchmark; import com.swirlds.common.merkle.MerkleNode; diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/benchmark/StateManager.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/benchmark/StateManager.java index c2f6477d9c8e..2edee1dfd9da 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/benchmark/StateManager.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/benchmark/StateManager.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures.benchmark; import com.swirlds.common.merkle.MerkleNode; diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/crypto/ECDSASigningProvider.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/crypto/ECDSASigningProvider.java index 176c53f65eaa..4f39b8a33618 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/crypto/ECDSASigningProvider.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/crypto/ECDSASigningProvider.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures.crypto; import static com.swirlds.common.test.fixtures.crypto.EcdsaUtils.asRawEcdsaSecp256k1Key; diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/crypto/ED25519SigningProvider.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/crypto/ED25519SigningProvider.java index e053485d0134..700a26409b79 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/crypto/ED25519SigningProvider.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/crypto/ED25519SigningProvider.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures.crypto; import static com.swirlds.common.utility.CommonUtils.hex; diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/crypto/EcdsaSignedTxnPool.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/crypto/EcdsaSignedTxnPool.java index ab26ff8390a2..303b17c02491 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/crypto/EcdsaSignedTxnPool.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/crypto/EcdsaSignedTxnPool.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures.crypto; import static com.swirlds.common.crypto.engine.EcdsaSecp256k1Verifier.ECDSA_KECCAK_256_SIZE; diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/crypto/MessageDigestPool.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/crypto/MessageDigestPool.java index 451b1ba21d29..b199da72e682 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/crypto/MessageDigestPool.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/crypto/MessageDigestPool.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures.crypto; import com.swirlds.common.crypto.Message; diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/crypto/PreGeneratedPublicKeys.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/crypto/PreGeneratedPublicKeys.java index e0656f753fc2..ddeca3424575 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/crypto/PreGeneratedPublicKeys.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/crypto/PreGeneratedPublicKeys.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures.crypto; import com.swirlds.common.crypto.KeyType; diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/crypto/SerializableHashableDummy.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/crypto/SerializableHashableDummy.java index 75c2eb76cc08..1d110f7adf04 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/crypto/SerializableHashableDummy.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/crypto/SerializableHashableDummy.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures.crypto; import com.swirlds.common.crypto.AbstractSerializableHashable; diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/crypto/SignaturePool.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/crypto/SignaturePool.java index 7e16ff4d7f39..cfa061caa240 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/crypto/SignaturePool.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/crypto/SignaturePool.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures.crypto; import static com.swirlds.logging.legacy.LogMarker.EXCEPTION; diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/crypto/SigningProvider.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/crypto/SigningProvider.java index 54cdf0a00cec..390518376cae 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/crypto/SigningProvider.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/crypto/SigningProvider.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures.crypto; import java.security.SignatureException; diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/crypto/SliceConsumer.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/crypto/SliceConsumer.java index 709c3282b3cb..4f23926e24ab 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/crypto/SliceConsumer.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/crypto/SliceConsumer.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures.crypto; import java.security.NoSuchAlgorithmException; diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/dummy/Key.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/dummy/Key.java index a50af7425b28..d6dfc8219be6 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/dummy/Key.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/dummy/Key.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures.dummy; import com.swirlds.common.FastCopyable; diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/dummy/MerkleKey.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/dummy/MerkleKey.java index 4148510c9975..548ea73207d0 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/dummy/MerkleKey.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/dummy/MerkleKey.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures.dummy; import com.swirlds.common.io.streams.SerializableDataInputStream; diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/dummy/Value.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/dummy/Value.java index 3916a111f546..56b525add9a9 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/dummy/Value.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/dummy/Value.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures.dummy; import com.swirlds.common.io.streams.SerializableDataInputStream; diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/fcqueue/FCInt.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/fcqueue/FCInt.java index f88520175ec4..1ca5b8c922e9 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/fcqueue/FCInt.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/fcqueue/FCInt.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures.fcqueue; import com.swirlds.common.FastCopyable; diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/io/BlockingInputStream.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/io/BlockingInputStream.java index e2708e8a68d2..6f5babacc8ca 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/io/BlockingInputStream.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/io/BlockingInputStream.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures.io; import java.io.IOException; diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/io/BlockingOutputStream.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/io/BlockingOutputStream.java index 0efd4904da39..7054b429f2cd 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/io/BlockingOutputStream.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/io/BlockingOutputStream.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures.io; import java.io.IOException; diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/io/FileManipulation.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/io/FileManipulation.java index 8b57a1599ba2..8fb834b21ebe 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/io/FileManipulation.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/io/FileManipulation.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures.io; import java.io.BufferedInputStream; diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/io/InputOutputStream.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/io/InputOutputStream.java index 66e22308d20a..32edcb82f029 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/io/InputOutputStream.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/io/InputOutputStream.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures.io; import com.swirlds.common.io.streams.DebuggableMerkleDataInputStream; diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/io/ResourceLoader.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/io/ResourceLoader.java index e4d166efd7c7..a467529d40e0 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/io/ResourceLoader.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/io/ResourceLoader.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures.io; import static java.util.Arrays.asList; diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/io/ResourceNotFoundException.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/io/ResourceNotFoundException.java index d1bf56db71f0..f529c066b4c5 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/io/ResourceNotFoundException.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/io/ResourceNotFoundException.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures.io; public class ResourceNotFoundException extends RuntimeException { diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/io/SelfSerializableExample.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/io/SelfSerializableExample.java index c9475b0dbcf5..e5d8e152cd05 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/io/SelfSerializableExample.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/io/SelfSerializableExample.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures.io; import com.swirlds.common.io.SelfSerializable; diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/io/SerializationUtils.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/io/SerializationUtils.java index 0a96a3ead595..c600dd669510 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/io/SerializationUtils.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/io/SerializationUtils.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures.io; import static org.junit.jupiter.api.Assertions.assertEquals; diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/io/extendable/StreamSanityChecks.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/io/extendable/StreamSanityChecks.java index 9899d6f23bfe..4dd129a69d4d 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/io/extendable/StreamSanityChecks.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/io/extendable/StreamSanityChecks.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures.io.extendable; import static com.swirlds.common.test.fixtures.RandomUtils.getRandomPrintSeed; diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/junit/tags/TestComponentTags.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/junit/tags/TestComponentTags.java index 2639d4dd4401..9aeae48fdf2c 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/junit/tags/TestComponentTags.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/junit/tags/TestComponentTags.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures.junit.tags; /** diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/map/MapPair.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/map/MapPair.java index cdee777b2532..ca830fbb6aba 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/map/MapPair.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/map/MapPair.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures.map; import static org.junit.jupiter.api.Assertions.assertEquals; diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/map/MapPairs.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/map/MapPairs.java index e6e162c0735d..98cb61b09fff 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/map/MapPairs.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/map/MapPairs.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures.map; import com.swirlds.common.FastCopyable; diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/dummy/BlockingInputStream.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/dummy/BlockingInputStream.java index 2e43f0540e64..44c7186fc7f4 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/dummy/BlockingInputStream.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/dummy/BlockingInputStream.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures.merkle.dummy; import java.io.IOException; diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/dummy/BlockingOutputStream.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/dummy/BlockingOutputStream.java index 90d0a4dbe812..ada8019cabe9 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/dummy/BlockingOutputStream.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/dummy/BlockingOutputStream.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures.merkle.dummy; import java.io.IOException; diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/dummy/DummyBinaryMerkleInternal.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/dummy/DummyBinaryMerkleInternal.java index 44156883f982..6f4fb188c1d8 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/dummy/DummyBinaryMerkleInternal.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/dummy/DummyBinaryMerkleInternal.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures.merkle.dummy; import com.swirlds.common.merkle.MerkleInternal; diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/dummy/DummyCustomReconnectRoot.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/dummy/DummyCustomReconnectRoot.java index 0540c95c33a4..2f3694cfeba1 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/dummy/DummyCustomReconnectRoot.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/dummy/DummyCustomReconnectRoot.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures.merkle.dummy; import static org.junit.jupiter.api.Assertions.assertTrue; diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/dummy/DummyLearnerPushMerkleTreeView.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/dummy/DummyLearnerPushMerkleTreeView.java index 1fc197814f4d..b806cf8340d4 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/dummy/DummyLearnerPushMerkleTreeView.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/dummy/DummyLearnerPushMerkleTreeView.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures.merkle.dummy; import com.swirlds.common.merkle.MerkleNode; diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/dummy/DummyListLeaf.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/dummy/DummyListLeaf.java index 73c99044c3d6..976b5430383d 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/dummy/DummyListLeaf.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/dummy/DummyListLeaf.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures.merkle.dummy; import com.swirlds.common.merkle.utility.AbstractListLeaf; diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/dummy/DummyMerkleExternalLeaf.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/dummy/DummyMerkleExternalLeaf.java index f5fec43873d8..4d7ee5996be8 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/dummy/DummyMerkleExternalLeaf.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/dummy/DummyMerkleExternalLeaf.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures.merkle.dummy; import static org.junit.jupiter.api.Assertions.assertEquals; diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/dummy/DummyMerkleInternal.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/dummy/DummyMerkleInternal.java index ca0030267b50..ba44a0487993 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/dummy/DummyMerkleInternal.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/dummy/DummyMerkleInternal.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures.merkle.dummy; import com.swirlds.common.merkle.MerkleInternal; diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/dummy/DummyMerkleInternal2.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/dummy/DummyMerkleInternal2.java index 4c61a26491fd..a49f50b685c5 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/dummy/DummyMerkleInternal2.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/dummy/DummyMerkleInternal2.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures.merkle.dummy; /** diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/dummy/DummyMerkleLeaf.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/dummy/DummyMerkleLeaf.java index 1af4bc4c425c..fb8b0e5d08cb 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/dummy/DummyMerkleLeaf.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/dummy/DummyMerkleLeaf.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures.merkle.dummy; import static org.junit.jupiter.api.Assertions.fail; diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/dummy/DummyMerkleLeaf2.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/dummy/DummyMerkleLeaf2.java index 7ecf283ab401..e2f5a26728b5 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/dummy/DummyMerkleLeaf2.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/dummy/DummyMerkleLeaf2.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures.merkle.dummy; /** diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/dummy/DummyMerkleNode.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/dummy/DummyMerkleNode.java index 7eb427e0442f..2d066707aa99 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/dummy/DummyMerkleNode.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/dummy/DummyMerkleNode.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures.merkle.dummy; import com.swirlds.common.merkle.MerkleNode; diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/dummy/DummyTeacherPushMerkleTreeView.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/dummy/DummyTeacherPushMerkleTreeView.java index 2a932cb81210..2cda05d3829c 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/dummy/DummyTeacherPushMerkleTreeView.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/dummy/DummyTeacherPushMerkleTreeView.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures.merkle.dummy; import static org.junit.jupiter.api.Assertions.assertFalse; diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/dummy/SelfHashingDummyMerkleLeaf.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/dummy/SelfHashingDummyMerkleLeaf.java index 8bbb481dd1bd..c6f97b6d29c3 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/dummy/SelfHashingDummyMerkleLeaf.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/dummy/SelfHashingDummyMerkleLeaf.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures.merkle.dummy; import com.swirlds.common.crypto.CryptographyHolder; diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/util/AverageLeafDepth.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/util/AverageLeafDepth.java index 4c72bd5306b7..94a89bd6766a 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/util/AverageLeafDepth.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/util/AverageLeafDepth.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures.merkle.util; /** diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/util/LaggingAsyncOutputStream.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/util/LaggingAsyncOutputStream.java index f4d86523e43c..0f4a1b921069 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/util/LaggingAsyncOutputStream.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/util/LaggingAsyncOutputStream.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures.merkle.util; import com.swirlds.common.io.SelfSerializable; diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/util/LaggingLearningSynchronizer.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/util/LaggingLearningSynchronizer.java index 7b7f781034f2..5109be89e174 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/util/LaggingLearningSynchronizer.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/util/LaggingLearningSynchronizer.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures.merkle.util; import static com.swirlds.common.threading.manager.AdHocThreadManager.getStaticThreadManager; diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/util/LaggingTeachingSynchronizer.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/util/LaggingTeachingSynchronizer.java index 76065a08e07e..ef6b1a006eff 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/util/LaggingTeachingSynchronizer.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/util/LaggingTeachingSynchronizer.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures.merkle.util; import static com.swirlds.common.threading.manager.AdHocThreadManager.getStaticThreadManager; diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/util/MerkleSerializeUtils.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/util/MerkleSerializeUtils.java index 9cb8cabb459d..de1d98e664a8 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/util/MerkleSerializeUtils.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/util/MerkleSerializeUtils.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures.merkle.util; import com.swirlds.common.merkle.MerkleNode; diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/util/MerkleTestUtils.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/util/MerkleTestUtils.java index 73f2c2ba840d..ee844b98a330 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/util/MerkleTestUtils.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/util/MerkleTestUtils.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures.merkle.util; import static com.swirlds.common.merkle.copy.MerkleInitialize.initializeTreeAfterCopy; diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/util/PairedStreams.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/util/PairedStreams.java index 6977dc669150..30aae723ae86 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/util/PairedStreams.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/merkle/util/PairedStreams.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures.merkle.util; import com.swirlds.common.io.streams.MerkleDataInputStream; diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/platform/TestPlatformContextBuilder.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/platform/TestPlatformContextBuilder.java index e2fab17195e3..fb0d170546d6 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/platform/TestPlatformContextBuilder.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/platform/TestPlatformContextBuilder.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures.platform; import static com.swirlds.common.io.utility.FileUtils.rethrowIO; diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/set/Hotspot.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/set/Hotspot.java index 380ffc05772d..24f6228f4dc9 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/set/Hotspot.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/set/Hotspot.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures.set; /** diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/set/HotspotHashSet.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/set/HotspotHashSet.java index e58054c67352..daf1c76d048d 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/set/HotspotHashSet.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/set/HotspotHashSet.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures.set; import java.util.ArrayList; diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/set/HotspotSetIterator.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/set/HotspotSetIterator.java index 51df3ef0874a..86559078f57e 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/set/HotspotSetIterator.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/set/HotspotSetIterator.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures.set; import java.util.Iterator; diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/set/RandomAccessHashSet.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/set/RandomAccessHashSet.java index f1eb530085e1..fd8edabcc88b 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/set/RandomAccessHashSet.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/set/RandomAccessHashSet.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures.set; import java.util.ArrayList; diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/set/RandomAccessSet.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/set/RandomAccessSet.java index e623d589f1f9..66f87d7d1905 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/set/RandomAccessSet.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/set/RandomAccessSet.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures.set; import java.util.Collection; diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/stream/CountDownLatchStream.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/stream/CountDownLatchStream.java index 2e22387ca639..6dbe036f0a24 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/stream/CountDownLatchStream.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/stream/CountDownLatchStream.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures.stream; import com.swirlds.common.crypto.Hash; diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/stream/ObjectForTestStream.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/stream/ObjectForTestStream.java index d1aa42d71a63..d3b108437a53 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/stream/ObjectForTestStream.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/stream/ObjectForTestStream.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures.stream; import static com.swirlds.common.utility.ByteUtils.intToByteArray; diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/stream/ObjectForTestStreamGenerator.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/stream/ObjectForTestStreamGenerator.java index cb569f22395b..e004b173b3d4 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/stream/ObjectForTestStreamGenerator.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/stream/ObjectForTestStreamGenerator.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures.stream; import java.time.Instant; diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/stream/StreamFileSigner.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/stream/StreamFileSigner.java index 13b3e60fc799..915fdf429ad6 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/stream/StreamFileSigner.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/stream/StreamFileSigner.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures.stream; import static com.swirlds.common.crypto.internal.CryptoUtils.getDetRandom; diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/stream/StreamObjectWorker.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/stream/StreamObjectWorker.java index c7a8ddc92c81..a7116c8154b1 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/stream/StreamObjectWorker.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/stream/StreamObjectWorker.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures.stream; import static com.swirlds.common.test.fixtures.stream.TestStreamType.TEST_STREAM; diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/stream/TestStreamType.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/stream/TestStreamType.java index 10e4cf4dfb4b..93b7844bd720 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/stream/TestStreamType.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/stream/TestStreamType.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures.stream; import com.swirlds.common.stream.StreamType; diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/stream/WriteToStreamConsumer.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/stream/WriteToStreamConsumer.java index e39b97b83a8b..028049999033 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/stream/WriteToStreamConsumer.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/stream/WriteToStreamConsumer.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures.stream; import static com.swirlds.logging.legacy.LogMarker.EXCEPTION; diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/threading/ConcurrentTesting.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/threading/ConcurrentTesting.java index 21e7a4a8edd6..f77515c5491f 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/threading/ConcurrentTesting.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/threading/ConcurrentTesting.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures.threading; import static com.swirlds.common.test.fixtures.AssertionUtils.assertEventuallyTrue; diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/threading/ExceptionSuppressingParallelExecutor.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/threading/ExceptionSuppressingParallelExecutor.java index c6d0f2b75405..06e4e0a8181c 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/threading/ExceptionSuppressingParallelExecutor.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/threading/ExceptionSuppressingParallelExecutor.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures.threading; import com.swirlds.common.threading.manager.ThreadManager; diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/threading/ReplaceSyncPhaseParallelExecutor.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/threading/ReplaceSyncPhaseParallelExecutor.java index 3f4452436e4a..891d82458e05 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/threading/ReplaceSyncPhaseParallelExecutor.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/threading/ReplaceSyncPhaseParallelExecutor.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures.threading; import com.swirlds.common.threading.manager.ThreadManager; diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/threading/SyncPhaseParallelExecutor.java b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/threading/SyncPhaseParallelExecutor.java index 40922534bf25..5416b2e22191 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/threading/SyncPhaseParallelExecutor.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/com/swirlds/common/test/fixtures/threading/SyncPhaseParallelExecutor.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.fixtures.threading; import com.swirlds.common.threading.manager.ThreadManager; diff --git a/platform-sdk/swirlds-common/src/testFixtures/java/module-info.java b/platform-sdk/swirlds-common/src/testFixtures/java/module-info.java index 3dd94e2072c1..d8b65d1c1d5e 100644 --- a/platform-sdk/swirlds-common/src/testFixtures/java/module-info.java +++ b/platform-sdk/swirlds-common/src/testFixtures/java/module-info.java @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 open module com.swirlds.common.test.fixtures { exports com.swirlds.common.test.fixtures; exports com.swirlds.common.test.fixtures.benchmark; @@ -13,13 +14,13 @@ exports com.swirlds.common.test.fixtures.fcqueue; exports com.swirlds.common.test.fixtures.platform; + requires transitive com.hedera.pbj.runtime; requires transitive com.swirlds.base; requires transitive com.swirlds.common; requires transitive com.swirlds.config.api; requires transitive com.swirlds.metrics.api; requires transitive com.swirlds.platform.core; requires transitive com.swirlds.virtualmap; - requires transitive com.hedera.pbj.runtime; requires com.swirlds.config.extensions.test.fixtures; requires com.swirlds.logging; requires lazysodium.java; diff --git a/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/crypto/CryptographyTests.java b/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/crypto/CryptographyTests.java index fdab2821e250..b49d27b96a24 100644 --- a/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/crypto/CryptographyTests.java +++ b/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/crypto/CryptographyTests.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.crypto; import static com.swirlds.common.utility.CommonUtils.unhex; diff --git a/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/io/extendable/extensions/ExpiringStreamExtensionTests.java b/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/io/extendable/extensions/ExpiringStreamExtensionTests.java index 1c9c590da39a..6c27fcedd742 100644 --- a/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/io/extendable/extensions/ExpiringStreamExtensionTests.java +++ b/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/io/extendable/extensions/ExpiringStreamExtensionTests.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.io.extendable.extensions; import static java.util.concurrent.TimeUnit.MILLISECONDS; diff --git a/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/io/extendable/extensions/ThrottleStreamExtensionTests.java b/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/io/extendable/extensions/ThrottleStreamExtensionTests.java index 0c76fb4362ab..5a7c43d3eb9e 100644 --- a/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/io/extendable/extensions/ThrottleStreamExtensionTests.java +++ b/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/io/extendable/extensions/ThrottleStreamExtensionTests.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.io.extendable.extensions; import static com.swirlds.common.io.extendable.ExtendableInputStream.extendInputStream; diff --git a/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/metrics/platform/DefaultMetricsTest.java b/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/metrics/platform/DefaultMetricsTest.java index 0d51dcf08af3..40e54a27c49b 100644 --- a/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/metrics/platform/DefaultMetricsTest.java +++ b/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/metrics/platform/DefaultMetricsTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.platform; import static com.swirlds.common.metrics.platform.MetricsEvent.Type.ADDED; diff --git a/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/metrics/platform/PlatformSpeedometerMetricTest.java b/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/metrics/platform/PlatformSpeedometerMetricTest.java index b5d36daaa7eb..3d326210598a 100644 --- a/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/metrics/platform/PlatformSpeedometerMetricTest.java +++ b/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/metrics/platform/PlatformSpeedometerMetricTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.metrics.platform; import static com.swirlds.metrics.api.Metric.DataType.FLOAT; diff --git a/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/notification/AsyncOrderedIntegerListener.java b/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/notification/AsyncOrderedIntegerListener.java index 5dc2d8d121e1..f3f4381d66d4 100644 --- a/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/notification/AsyncOrderedIntegerListener.java +++ b/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/notification/AsyncOrderedIntegerListener.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.notification; @DispatchModel(mode = DispatchMode.ASYNC, order = DispatchOrder.ORDERED) diff --git a/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/notification/AsyncUnorderedIntegerListener.java b/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/notification/AsyncUnorderedIntegerListener.java index 518968bbc683..4a5bde11ea5b 100644 --- a/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/notification/AsyncUnorderedIntegerListener.java +++ b/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/notification/AsyncUnorderedIntegerListener.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.notification; @DispatchModel(mode = DispatchMode.ASYNC, order = DispatchOrder.UNORDERED) diff --git a/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/notification/DispatcherTests.java b/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/notification/DispatcherTests.java index 32b11f0b5844..f9479c317a6d 100644 --- a/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/notification/DispatcherTests.java +++ b/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/notification/DispatcherTests.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.notification; import static com.swirlds.common.threading.manager.AdHocThreadManager.getStaticThreadManager; diff --git a/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/notification/IntegerNotification.java b/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/notification/IntegerNotification.java index 40fae54aa572..1cc4c49e7a0d 100644 --- a/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/notification/IntegerNotification.java +++ b/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/notification/IntegerNotification.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.notification; public class IntegerNotification extends AbstractNotification { diff --git a/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/notification/IntegerNotificationTests.java b/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/notification/IntegerNotificationTests.java index ef6140af4b7f..884cce7a098e 100644 --- a/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/notification/IntegerNotificationTests.java +++ b/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/notification/IntegerNotificationTests.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.notification; import static com.swirlds.common.test.fixtures.AssertionUtils.completeBeforeTimeout; diff --git a/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/notification/SyncOrderedIntegerListener.java b/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/notification/SyncOrderedIntegerListener.java index 16b1a99da879..6bb089acc82e 100644 --- a/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/notification/SyncOrderedIntegerListener.java +++ b/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/notification/SyncOrderedIntegerListener.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.notification; @DispatchModel(mode = DispatchMode.SYNC, order = DispatchOrder.ORDERED) diff --git a/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/notification/SyncUnorderedIntegerListener.java b/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/notification/SyncUnorderedIntegerListener.java index 52ab5e0f0d7b..aa92b8e1b8c4 100644 --- a/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/notification/SyncUnorderedIntegerListener.java +++ b/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/notification/SyncUnorderedIntegerListener.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.notification; public interface SyncUnorderedIntegerListener extends Listener {} diff --git a/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/stream/StreamingPerformanceTest.java b/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/stream/StreamingPerformanceTest.java index 2f7152504600..9b01758fb0c7 100644 --- a/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/stream/StreamingPerformanceTest.java +++ b/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/stream/StreamingPerformanceTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.stream; import static org.junit.jupiter.api.Assertions.assertTrue; diff --git a/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/stream/TestStreamManager.java b/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/stream/TestStreamManager.java index 1c39b2e74c81..6f0e48368c62 100644 --- a/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/stream/TestStreamManager.java +++ b/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/stream/TestStreamManager.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.stream; import static com.swirlds.common.threading.manager.AdHocThreadManager.getStaticThreadManager; diff --git a/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/test/concurrent/DefaultForkJoinWorkerThreadFactoryTest.java b/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/test/concurrent/DefaultForkJoinWorkerThreadFactoryTest.java index e6abb7e9c097..1f5879f6a9f8 100644 --- a/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/test/concurrent/DefaultForkJoinWorkerThreadFactoryTest.java +++ b/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/test/concurrent/DefaultForkJoinWorkerThreadFactoryTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.concurrent; import com.swirlds.common.concurrent.internal.DefaultForkJoinWorkerThreadFactory; diff --git a/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/test/concurrent/DefaultForkJoinWorkerThreadTest.java b/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/test/concurrent/DefaultForkJoinWorkerThreadTest.java index 82b8cdac55d0..44e56e7350b1 100644 --- a/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/test/concurrent/DefaultForkJoinWorkerThreadTest.java +++ b/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/test/concurrent/DefaultForkJoinWorkerThreadTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.concurrent; import com.swirlds.common.concurrent.internal.DefaultForkJoinWorkerThread; diff --git a/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/test/concurrent/ExecutorFactoryTest.java b/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/test/concurrent/ExecutorFactoryTest.java index 8f818856d279..84d22d742dbc 100644 --- a/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/test/concurrent/ExecutorFactoryTest.java +++ b/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/test/concurrent/ExecutorFactoryTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.concurrent; import com.swirlds.base.context.Context; diff --git a/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/test/concurrent/ThreadLocalHandlingTest.java b/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/test/concurrent/ThreadLocalHandlingTest.java index c489d4126a54..732165a0dbdc 100644 --- a/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/test/concurrent/ThreadLocalHandlingTest.java +++ b/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/test/concurrent/ThreadLocalHandlingTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.test.concurrent; import com.swirlds.common.concurrent.ExecutorFactory; diff --git a/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/threading/BlockingResourceProviderTest.java b/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/threading/BlockingResourceProviderTest.java index 0be4ae5d28fe..e82f13ebdd2e 100644 --- a/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/threading/BlockingResourceProviderTest.java +++ b/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/threading/BlockingResourceProviderTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading; import com.swirlds.common.test.fixtures.threading.ConcurrentTesting; diff --git a/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/threading/ControllableQueue.java b/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/threading/ControllableQueue.java index c59b9a1ed5bb..4109056bb957 100644 --- a/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/threading/ControllableQueue.java +++ b/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/threading/ControllableQueue.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading; import com.swirlds.common.threading.framework.internal.AbstractBlockingQueue; diff --git a/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/threading/QueueThreadPoolTests.java b/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/threading/QueueThreadPoolTests.java index 09be2ab37987..e920caae629d 100644 --- a/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/threading/QueueThreadPoolTests.java +++ b/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/threading/QueueThreadPoolTests.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading; import static com.swirlds.common.test.fixtures.AssertionUtils.assertEventuallyEquals; diff --git a/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/threading/QueueThreadTests.java b/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/threading/QueueThreadTests.java index 708f4dbf8621..22ed2a8ee19d 100644 --- a/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/threading/QueueThreadTests.java +++ b/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/threading/QueueThreadTests.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading; import static com.swirlds.common.test.fixtures.AssertionUtils.assertEventuallyEquals; diff --git a/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/threading/StoppableThreadTests.java b/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/threading/StoppableThreadTests.java index 0a7d1186a004..f697cf4aaf69 100644 --- a/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/threading/StoppableThreadTests.java +++ b/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/threading/StoppableThreadTests.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading; import static com.swirlds.common.test.fixtures.AssertionUtils.assertEventuallyEquals; diff --git a/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/threading/futures/StandardFutureTests.java b/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/threading/futures/StandardFutureTests.java index b5fc474e370a..59ab078c2d75 100644 --- a/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/threading/futures/StandardFutureTests.java +++ b/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/threading/futures/StandardFutureTests.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading.futures; import static com.swirlds.common.test.fixtures.AssertionUtils.assertEventuallyTrue; diff --git a/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/threading/locks/IndexLockTests.java b/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/threading/locks/IndexLockTests.java index caab4e7d7ec3..a71475138913 100644 --- a/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/threading/locks/IndexLockTests.java +++ b/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/threading/locks/IndexLockTests.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading.locks; import static com.swirlds.common.test.fixtures.AssertionUtils.assertEventuallyDoesNotThrow; diff --git a/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/threading/pool/ThreadPoolTests.java b/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/threading/pool/ThreadPoolTests.java index 5179ec6f1fde..b064a54ff0f6 100644 --- a/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/threading/pool/ThreadPoolTests.java +++ b/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/threading/pool/ThreadPoolTests.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.threading.pool; import static com.swirlds.common.threading.manager.AdHocThreadManager.getStaticThreadManager; diff --git a/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/utility/throttle/BasicThrottleTest.java b/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/utility/throttle/BasicThrottleTest.java index c630646314e7..7efefea48045 100644 --- a/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/utility/throttle/BasicThrottleTest.java +++ b/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/utility/throttle/BasicThrottleTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.utility.throttle; import static org.junit.jupiter.api.Assertions.assertEquals; diff --git a/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/utility/throttle/MultiThrottleTest.java b/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/utility/throttle/MultiThrottleTest.java index b2e251fa55a8..e1fd39524de7 100644 --- a/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/utility/throttle/MultiThrottleTest.java +++ b/platform-sdk/swirlds-common/src/timingSensitive/java/com/swirlds/common/utility/throttle/MultiThrottleTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.common.utility.throttle; import static org.junit.jupiter.api.Assertions.assertFalse; diff --git a/platform-sdk/swirlds-component-framework/build.gradle.kts b/platform-sdk/swirlds-component-framework/build.gradle.kts index 0a97bd0df32d..c70046389629 100644 --- a/platform-sdk/swirlds-component-framework/build.gradle.kts +++ b/platform-sdk/swirlds-component-framework/build.gradle.kts @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 plugins { id("org.hiero.gradle.module.library") id("org.hiero.gradle.feature.publish-artifactregistry") diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/WiringConfig.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/WiringConfig.java index 8eefbc08c3a3..310f5bb1e67c 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/WiringConfig.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/WiringConfig.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework; import com.swirlds.config.api.ConfigData; diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/component/ComponentWiring.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/component/ComponentWiring.java index 4b803cd48b6b..8fb8a4319519 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/component/ComponentWiring.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/component/ComponentWiring.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.component; import static com.swirlds.component.framework.model.diagram.HyperlinkBuilder.platformCoreHyperlink; diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/component/InputWireLabel.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/component/InputWireLabel.java index d9f303b12383..45e79ce08baa 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/component/InputWireLabel.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/component/InputWireLabel.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.component; import edu.umd.cs.findbugs.annotations.NonNull; diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/component/SchedulerLabel.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/component/SchedulerLabel.java index 6e70e9bdb043..177a9d24f47a 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/component/SchedulerLabel.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/component/SchedulerLabel.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.component; import edu.umd.cs.findbugs.annotations.NonNull; diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/component/internal/FilterToBind.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/component/internal/FilterToBind.java index 976d25e14fbb..bf162039a41a 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/component/internal/FilterToBind.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/component/internal/FilterToBind.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.component.internal; import com.swirlds.component.framework.transformers.WireFilter; diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/component/internal/InputWireToBind.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/component/internal/InputWireToBind.java index f8078f94dddb..5b817940015e 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/component/internal/InputWireToBind.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/component/internal/InputWireToBind.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.component.internal; import com.swirlds.component.framework.wires.input.BindableInputWire; diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/component/internal/TransformerToBind.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/component/internal/TransformerToBind.java index 7294c9049db6..d9f89865f176 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/component/internal/TransformerToBind.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/component/internal/TransformerToBind.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.component.internal; import com.swirlds.component.framework.transformers.WireTransformer; diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/component/internal/WiringComponentProxy.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/component/internal/WiringComponentProxy.java index 14348f41250f..e4f331ae66c0 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/component/internal/WiringComponentProxy.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/component/internal/WiringComponentProxy.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.component.internal; import com.swirlds.component.framework.component.ComponentWiring; diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/counters/BackpressureObjectCounter.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/counters/BackpressureObjectCounter.java index 0923a289e318..8e6f1557baa1 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/counters/BackpressureObjectCounter.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/counters/BackpressureObjectCounter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.counters; import static java.util.concurrent.TimeUnit.NANOSECONDS; diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/counters/EmptyBlocker.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/counters/EmptyBlocker.java index 802304e77507..73adecdefcfd 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/counters/EmptyBlocker.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/counters/EmptyBlocker.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.counters; import static java.util.concurrent.TimeUnit.NANOSECONDS; diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/counters/MultiObjectCounter.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/counters/MultiObjectCounter.java index eeb9cbc268e8..2d4d77074599 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/counters/MultiObjectCounter.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/counters/MultiObjectCounter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.counters; import edu.umd.cs.findbugs.annotations.NonNull; diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/counters/NoOpObjectCounter.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/counters/NoOpObjectCounter.java index 9d4fd47bfa4f..fb4fd6a5bf93 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/counters/NoOpObjectCounter.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/counters/NoOpObjectCounter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.counters; /** diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/counters/ObjectCounter.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/counters/ObjectCounter.java index 77e9b440c97e..bc51989f17d5 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/counters/ObjectCounter.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/counters/ObjectCounter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.counters; /** diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/counters/StandardObjectCounter.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/counters/StandardObjectCounter.java index ea892170e3e6..732d72b5bdf1 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/counters/StandardObjectCounter.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/counters/StandardObjectCounter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.counters; import edu.umd.cs.findbugs.annotations.NonNull; diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/DeterministicWiringModel.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/DeterministicWiringModel.java index a39c0122e42c..3d629cc1bf0d 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/DeterministicWiringModel.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/DeterministicWiringModel.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.model; import com.swirlds.common.context.PlatformContext; diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/StandardWiringModel.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/StandardWiringModel.java index ec68802d8df7..8bc875bc9b54 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/StandardWiringModel.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/StandardWiringModel.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.model; import static com.swirlds.component.framework.schedulers.builders.TaskSchedulerType.NO_OP; diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/TraceableWiringModel.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/TraceableWiringModel.java index 8d3222abf712..6f98a27a64de 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/TraceableWiringModel.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/TraceableWiringModel.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.model; import static com.swirlds.component.framework.model.internal.analysis.ModelVertexMetaType.SCHEDULER; diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/WiringModel.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/WiringModel.java index 1cb128e32394..8ae48be6d0d5 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/WiringModel.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/WiringModel.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.model; import com.swirlds.base.state.Startable; diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/WiringModelBuilder.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/WiringModelBuilder.java index a6cef5eb02c8..e4d93e1c33e8 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/WiringModelBuilder.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/WiringModelBuilder.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.model; import com.swirlds.common.context.PlatformContext; diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/diagram/HyperlinkBuilder.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/diagram/HyperlinkBuilder.java index 1d8d7f976225..2620aaf977f9 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/diagram/HyperlinkBuilder.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/diagram/HyperlinkBuilder.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.model.diagram; import edu.umd.cs.findbugs.annotations.NonNull; diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/diagram/ModelEdgeSubstitution.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/diagram/ModelEdgeSubstitution.java index 11361a830658..00adb439f8b6 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/diagram/ModelEdgeSubstitution.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/diagram/ModelEdgeSubstitution.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.model.diagram; import edu.umd.cs.findbugs.annotations.NonNull; diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/diagram/ModelGroup.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/diagram/ModelGroup.java index 33415ada850e..34916c2a9318 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/diagram/ModelGroup.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/diagram/ModelGroup.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.model.diagram; import edu.umd.cs.findbugs.annotations.NonNull; diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/diagram/ModelManualLink.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/diagram/ModelManualLink.java index e07befe4cf21..09ab12f87a48 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/diagram/ModelManualLink.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/diagram/ModelManualLink.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.model.diagram; import edu.umd.cs.findbugs.annotations.NonNull; diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/analysis/CycleFinder.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/analysis/CycleFinder.java index a508c48e9c76..8acf6f4fc7c6 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/analysis/CycleFinder.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/analysis/CycleFinder.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.model.internal.analysis; import static com.swirlds.logging.legacy.LogMarker.EXCEPTION; diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/analysis/DirectSchedulerChecks.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/analysis/DirectSchedulerChecks.java index 229483f490db..249483beb08a 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/analysis/DirectSchedulerChecks.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/analysis/DirectSchedulerChecks.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.model.internal.analysis; import static com.swirlds.logging.legacy.LogMarker.EXCEPTION; diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/analysis/GroupVertex.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/analysis/GroupVertex.java index bd94379dbf6e..719625d60785 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/analysis/GroupVertex.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/analysis/GroupVertex.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.model.internal.analysis; import static com.swirlds.component.framework.model.internal.analysis.WiringFlowchart.GROUP_COLOR; diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/analysis/InputWireChecks.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/analysis/InputWireChecks.java index 51edcc2e8a1e..d17c0ffa4c88 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/analysis/InputWireChecks.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/analysis/InputWireChecks.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.model.internal.analysis; import static com.swirlds.logging.legacy.LogMarker.EXCEPTION; diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/analysis/InputWireDescriptor.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/analysis/InputWireDescriptor.java index fceb25a845ab..40dc5cd7f3b4 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/analysis/InputWireDescriptor.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/analysis/InputWireDescriptor.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.model.internal.analysis; import edu.umd.cs.findbugs.annotations.NonNull; diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/analysis/MermaidNameShortener.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/analysis/MermaidNameShortener.java index b5647186fbf5..253eb0add39e 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/analysis/MermaidNameShortener.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/analysis/MermaidNameShortener.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.model.internal.analysis; import edu.umd.cs.findbugs.annotations.NonNull; diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/analysis/MermaidStyleManager.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/analysis/MermaidStyleManager.java index dee7bc88907a..d63d2e35ea9a 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/analysis/MermaidStyleManager.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/analysis/MermaidStyleManager.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.model.internal.analysis; import edu.umd.cs.findbugs.annotations.NonNull; diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/analysis/ModelEdge.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/analysis/ModelEdge.java index 9d77796593ae..0771660f480b 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/analysis/ModelEdge.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/analysis/ModelEdge.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.model.internal.analysis; import static com.swirlds.common.utility.NonCryptographicHashing.hash32; diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/analysis/ModelVertex.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/analysis/ModelVertex.java index ea5d43c22bc9..aed4e8942cc6 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/analysis/ModelVertex.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/analysis/ModelVertex.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.model.internal.analysis; import com.swirlds.component.framework.schedulers.builders.TaskSchedulerType; diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/analysis/ModelVertexMetaType.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/analysis/ModelVertexMetaType.java index 761aa22e315e..808aa3626501 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/analysis/ModelVertexMetaType.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/analysis/ModelVertexMetaType.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.model.internal.analysis; /** diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/analysis/StandardVertex.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/analysis/StandardVertex.java index 68d03d4a0967..68ee8bf10ba7 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/analysis/StandardVertex.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/analysis/StandardVertex.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.model.internal.analysis; import static com.swirlds.component.framework.model.internal.analysis.WiringFlowchart.DIRECT_SCHEDULER_COLOR; diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/analysis/WiringFlowchart.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/analysis/WiringFlowchart.java index 994d2455d541..25bd98eea1e0 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/analysis/WiringFlowchart.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/analysis/WiringFlowchart.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.model.internal.analysis; import static com.swirlds.component.framework.model.internal.analysis.ModelVertexMetaType.SCHEDULER; diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/deterministic/DeterministicHeartbeatScheduler.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/deterministic/DeterministicHeartbeatScheduler.java index 8543e5714c19..241caeec8ff8 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/deterministic/DeterministicHeartbeatScheduler.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/deterministic/DeterministicHeartbeatScheduler.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.model.internal.deterministic; import static com.swirlds.common.utility.CompareTo.isGreaterThanOrEqualTo; diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/deterministic/DeterministicTaskScheduler.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/deterministic/DeterministicTaskScheduler.java index abc6df3f6db4..38db547f1d67 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/deterministic/DeterministicTaskScheduler.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/deterministic/DeterministicTaskScheduler.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.model.internal.deterministic; import com.swirlds.component.framework.counters.ObjectCounter; diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/deterministic/DeterministicTaskSchedulerBuilder.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/deterministic/DeterministicTaskSchedulerBuilder.java index bb88fcce93b7..405ee41d313f 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/deterministic/DeterministicTaskSchedulerBuilder.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/deterministic/DeterministicTaskSchedulerBuilder.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.model.internal.deterministic; import static com.swirlds.component.framework.schedulers.builders.TaskSchedulerType.DIRECT_THREADSAFE; diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/monitor/HealthMonitor.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/monitor/HealthMonitor.java index b9c42c826413..3e4c203c9531 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/monitor/HealthMonitor.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/monitor/HealthMonitor.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.model.internal.monitor; import static com.swirlds.common.utility.CompareTo.isGreaterThan; diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/monitor/HealthMonitorLogger.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/monitor/HealthMonitorLogger.java index 1b7a98c1dfa3..9dcb7927bdb3 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/monitor/HealthMonitorLogger.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/monitor/HealthMonitorLogger.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.model.internal.monitor; import static com.swirlds.common.units.TimeUnit.UNIT_NANOSECONDS; diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/monitor/HealthMonitorMetrics.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/monitor/HealthMonitorMetrics.java index c9c500c5f318..ebbf0f562eac 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/monitor/HealthMonitorMetrics.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/monitor/HealthMonitorMetrics.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.model.internal.monitor; import static com.swirlds.common.utility.CompareTo.isLessThan; diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/standard/AbstractHeartbeatScheduler.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/standard/AbstractHeartbeatScheduler.java index 7be5cdfcaf0c..38e653033a20 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/standard/AbstractHeartbeatScheduler.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/standard/AbstractHeartbeatScheduler.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.model.internal.standard; import static com.swirlds.component.framework.model.diagram.HyperlinkBuilder.platformCommonHyperlink; diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/standard/HeartbeatScheduler.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/standard/HeartbeatScheduler.java index 25b0b68ab7e4..0140e474c41e 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/standard/HeartbeatScheduler.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/standard/HeartbeatScheduler.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.model.internal.standard; import com.swirlds.base.time.Time; diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/standard/HeartbeatTask.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/standard/HeartbeatTask.java index ca0e2a3b61c8..e1e6e27758f4 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/standard/HeartbeatTask.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/standard/HeartbeatTask.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.model.internal.standard; import com.swirlds.base.time.Time; diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/standard/JvmAnchor.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/standard/JvmAnchor.java index 6ad51e7cc025..05f3713bf609 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/standard/JvmAnchor.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/model/internal/standard/JvmAnchor.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.model.internal.standard; import static java.util.concurrent.TimeUnit.SECONDS; diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/schedulers/TaskScheduler.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/schedulers/TaskScheduler.java index 60d0a24ef070..dc8c7a3d3356 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/schedulers/TaskScheduler.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/schedulers/TaskScheduler.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.schedulers; import com.swirlds.component.framework.counters.ObjectCounter; diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/schedulers/builders/TaskSchedulerBuilder.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/schedulers/builders/TaskSchedulerBuilder.java index 7270a0c0568c..5f622c8643ad 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/schedulers/builders/TaskSchedulerBuilder.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/schedulers/builders/TaskSchedulerBuilder.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.schedulers.builders; import com.swirlds.component.framework.counters.ObjectCounter; diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/schedulers/builders/TaskSchedulerConfigOption.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/schedulers/builders/TaskSchedulerConfigOption.java index 4ac7ad8e0298..bca46559094f 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/schedulers/builders/TaskSchedulerConfigOption.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/schedulers/builders/TaskSchedulerConfigOption.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.schedulers.builders; /** diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/schedulers/builders/TaskSchedulerConfiguration.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/schedulers/builders/TaskSchedulerConfiguration.java index 9c1bca8fe4d7..c9e24dc8396d 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/schedulers/builders/TaskSchedulerConfiguration.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/schedulers/builders/TaskSchedulerConfiguration.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.schedulers.builders; import static com.swirlds.component.framework.schedulers.builders.TaskSchedulerConfigOption.BUSY_FRACTION_METRIC; diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/schedulers/builders/TaskSchedulerType.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/schedulers/builders/TaskSchedulerType.java index 6db74ee5832d..a1f7fa6080f2 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/schedulers/builders/TaskSchedulerType.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/schedulers/builders/TaskSchedulerType.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.schedulers.builders; /** diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/schedulers/builders/internal/AbstractTaskSchedulerBuilder.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/schedulers/builders/internal/AbstractTaskSchedulerBuilder.java index fd691ff8fef8..7f8325421152 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/schedulers/builders/internal/AbstractTaskSchedulerBuilder.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/schedulers/builders/internal/AbstractTaskSchedulerBuilder.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.schedulers.builders.internal; import static com.swirlds.component.framework.schedulers.builders.TaskSchedulerType.DIRECT; diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/schedulers/builders/internal/StandardTaskSchedulerBuilder.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/schedulers/builders/internal/StandardTaskSchedulerBuilder.java index bbdd06ecb4dc..cf8166177dd0 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/schedulers/builders/internal/StandardTaskSchedulerBuilder.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/schedulers/builders/internal/StandardTaskSchedulerBuilder.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.schedulers.builders.internal; import static com.swirlds.component.framework.schedulers.builders.TaskSchedulerType.DIRECT_THREADSAFE; diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/schedulers/internal/ConcurrentTask.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/schedulers/internal/ConcurrentTask.java index 2b68af81b462..d036b4976120 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/schedulers/internal/ConcurrentTask.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/schedulers/internal/ConcurrentTask.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.schedulers.internal; import com.swirlds.common.concurrent.AbstractTask; diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/schedulers/internal/ConcurrentTaskScheduler.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/schedulers/internal/ConcurrentTaskScheduler.java index ca079b1e3796..1dd143fc429d 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/schedulers/internal/ConcurrentTaskScheduler.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/schedulers/internal/ConcurrentTaskScheduler.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.schedulers.internal; import com.swirlds.component.framework.counters.ObjectCounter; diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/schedulers/internal/DefaultSquelcher.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/schedulers/internal/DefaultSquelcher.java index 5a2b8aff8271..f95d70024fe2 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/schedulers/internal/DefaultSquelcher.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/schedulers/internal/DefaultSquelcher.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.schedulers.internal; import java.util.concurrent.atomic.AtomicBoolean; diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/schedulers/internal/DirectTaskScheduler.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/schedulers/internal/DirectTaskScheduler.java index efeb4938c400..411132e80977 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/schedulers/internal/DirectTaskScheduler.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/schedulers/internal/DirectTaskScheduler.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.schedulers.internal; import static com.swirlds.component.framework.schedulers.builders.TaskSchedulerBuilder.UNLIMITED_CAPACITY; diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/schedulers/internal/NoOpTaskScheduler.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/schedulers/internal/NoOpTaskScheduler.java index 8dbcedaba276..e0f2d39129c0 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/schedulers/internal/NoOpTaskScheduler.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/schedulers/internal/NoOpTaskScheduler.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.schedulers.internal; import static com.swirlds.component.framework.schedulers.builders.TaskSchedulerBuilder.UNLIMITED_CAPACITY; diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/schedulers/internal/SequentialTask.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/schedulers/internal/SequentialTask.java index 7c273e66eb20..edf6f5f9a692 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/schedulers/internal/SequentialTask.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/schedulers/internal/SequentialTask.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.schedulers.internal; import com.swirlds.common.concurrent.AbstractTask; diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/schedulers/internal/SequentialTaskScheduler.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/schedulers/internal/SequentialTaskScheduler.java index bb4ac1f41cc9..647f6e5fde1e 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/schedulers/internal/SequentialTaskScheduler.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/schedulers/internal/SequentialTaskScheduler.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.schedulers.internal; import com.swirlds.common.metrics.extensions.FractionalTimer; diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/schedulers/internal/SequentialThreadTask.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/schedulers/internal/SequentialThreadTask.java index e881a674ac19..633b8cc7f902 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/schedulers/internal/SequentialThreadTask.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/schedulers/internal/SequentialThreadTask.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.schedulers.internal; import edu.umd.cs.findbugs.annotations.NonNull; diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/schedulers/internal/SequentialThreadTaskScheduler.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/schedulers/internal/SequentialThreadTaskScheduler.java index a8fb73cb7686..c86f773651c0 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/schedulers/internal/SequentialThreadTaskScheduler.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/schedulers/internal/SequentialThreadTaskScheduler.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.schedulers.internal; import com.swirlds.base.state.Startable; diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/schedulers/internal/Squelcher.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/schedulers/internal/Squelcher.java index c8a081cb0449..9c56b61f7b24 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/schedulers/internal/Squelcher.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/schedulers/internal/Squelcher.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.schedulers.internal; /** diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/schedulers/internal/ThrowingSquelcher.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/schedulers/internal/ThrowingSquelcher.java index c3dabac4c825..e92b69cf2c43 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/schedulers/internal/ThrowingSquelcher.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/schedulers/internal/ThrowingSquelcher.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.schedulers.internal; /** diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/transformers/AdvancedTransformation.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/transformers/AdvancedTransformation.java index 393a8bddd7a7..eb7ac79f2be2 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/transformers/AdvancedTransformation.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/transformers/AdvancedTransformation.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.transformers; import com.swirlds.component.framework.wires.output.OutputWire; diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/transformers/RoutableData.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/transformers/RoutableData.java index 463907eab06c..f11553051fa0 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/transformers/RoutableData.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/transformers/RoutableData.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.transformers; import edu.umd.cs.findbugs.annotations.NonNull; diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/transformers/WireFilter.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/transformers/WireFilter.java index db345f9dd937..4cf375bd8c57 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/transformers/WireFilter.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/transformers/WireFilter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.transformers; import com.swirlds.component.framework.model.WiringModel; diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/transformers/WireListSplitter.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/transformers/WireListSplitter.java index f558f1da2305..03e143ebfc35 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/transformers/WireListSplitter.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/transformers/WireListSplitter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.transformers; import com.swirlds.component.framework.model.WiringModel; diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/transformers/WireRouter.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/transformers/WireRouter.java index 249bdb8cdfe2..4a079f8443db 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/transformers/WireRouter.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/transformers/WireRouter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.transformers; import static com.swirlds.component.framework.schedulers.builders.TaskSchedulerType.DIRECT_THREADSAFE; diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/transformers/WireTransformer.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/transformers/WireTransformer.java index d97cb4a4c284..ad566f994225 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/transformers/WireTransformer.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/transformers/WireTransformer.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.transformers; import com.swirlds.component.framework.model.WiringModel; diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/wires/SolderType.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/wires/SolderType.java index a65853380d02..5d8c6ade9822 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/wires/SolderType.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/wires/SolderType.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.wires; import com.swirlds.component.framework.wires.input.InputWire; diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/wires/input/Bindable.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/wires/input/Bindable.java index 7c2053a9377c..46329cea91e5 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/wires/input/Bindable.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/wires/input/Bindable.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.wires.input; import edu.umd.cs.findbugs.annotations.NonNull; diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/wires/input/BindableInputWire.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/wires/input/BindableInputWire.java index cd9e7564c801..cf4c7d26d8ac 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/wires/input/BindableInputWire.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/wires/input/BindableInputWire.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.wires.input; import static com.swirlds.component.framework.schedulers.builders.TaskSchedulerType.NO_OP; diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/wires/input/InputWire.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/wires/input/InputWire.java index dbb9eb34c33d..ad252177f357 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/wires/input/InputWire.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/wires/input/InputWire.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.wires.input; import com.swirlds.component.framework.schedulers.TaskScheduler; diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/wires/input/NoOpInputWire.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/wires/input/NoOpInputWire.java index 8d657e552e03..af3dcf7487ad 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/wires/input/NoOpInputWire.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/wires/input/NoOpInputWire.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.wires.input; import com.swirlds.component.framework.model.TraceableWiringModel; diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/wires/input/TaskSchedulerInput.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/wires/input/TaskSchedulerInput.java index aa5c419aa4ed..ae32ab352c77 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/wires/input/TaskSchedulerInput.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/wires/input/TaskSchedulerInput.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.wires.input; import com.swirlds.component.framework.schedulers.TaskScheduler; diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/wires/output/NoOpOutputWire.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/wires/output/NoOpOutputWire.java index 6127fbb27b4f..ff4b83df1f91 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/wires/output/NoOpOutputWire.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/wires/output/NoOpOutputWire.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.wires.output; import com.swirlds.component.framework.model.TraceableWiringModel; diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/wires/output/OutputWire.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/wires/output/OutputWire.java index 04f5e48d910e..f25f4a079aa3 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/wires/output/OutputWire.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/wires/output/OutputWire.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.wires.output; import static com.swirlds.component.framework.schedulers.builders.TaskSchedulerType.NO_OP; diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/wires/output/StandardOutputWire.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/wires/output/StandardOutputWire.java index 08ac9a42f23c..881977d259df 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/wires/output/StandardOutputWire.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/wires/output/StandardOutputWire.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.wires.output; import static com.swirlds.logging.legacy.LogMarker.EXCEPTION; diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/wires/output/internal/ForwardingOutputWire.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/wires/output/internal/ForwardingOutputWire.java index e0e2b8d6d04e..292f5858c475 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/wires/output/internal/ForwardingOutputWire.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/wires/output/internal/ForwardingOutputWire.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.wires.output.internal; import com.swirlds.component.framework.model.TraceableWiringModel; diff --git a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/wires/output/internal/TransformingOutputWire.java b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/wires/output/internal/TransformingOutputWire.java index 86170731a2d9..9c669a8ada83 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/wires/output/internal/TransformingOutputWire.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/com/swirlds/component/framework/wires/output/internal/TransformingOutputWire.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.wires.output.internal; import static com.swirlds.logging.legacy.LogMarker.EXCEPTION; diff --git a/platform-sdk/swirlds-component-framework/src/main/java/module-info.java b/platform-sdk/swirlds-component-framework/src/main/java/module-info.java index d07fe73a582a..814df2459f66 100644 --- a/platform-sdk/swirlds-component-framework/src/main/java/module-info.java +++ b/platform-sdk/swirlds-component-framework/src/main/java/module-info.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 module com.swirlds.component.framework { exports com.swirlds.component.framework; exports com.swirlds.component.framework.model.diagram; diff --git a/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/TestWiringModelBuilder.java b/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/TestWiringModelBuilder.java index bd251679ba18..e407b59bfb57 100644 --- a/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/TestWiringModelBuilder.java +++ b/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/TestWiringModelBuilder.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework; import com.swirlds.common.context.PlatformContext; diff --git a/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/benchmark/WiringBenchmark.java b/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/benchmark/WiringBenchmark.java index 871a68e79ec3..1af99f432624 100644 --- a/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/benchmark/WiringBenchmark.java +++ b/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/benchmark/WiringBenchmark.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.benchmark; import static java.util.concurrent.ForkJoinPool.defaultForkJoinWorkerThreadFactory; diff --git a/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/benchmark/WiringBenchmarkEvent.java b/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/benchmark/WiringBenchmarkEvent.java index 742911396a93..8081e67b3d3d 100644 --- a/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/benchmark/WiringBenchmarkEvent.java +++ b/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/benchmark/WiringBenchmarkEvent.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.benchmark; public final class WiringBenchmarkEvent { diff --git a/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/benchmark/WiringBenchmarkEventPool.java b/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/benchmark/WiringBenchmarkEventPool.java index 1150b2e9d45e..9cd641377127 100644 --- a/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/benchmark/WiringBenchmarkEventPool.java +++ b/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/benchmark/WiringBenchmarkEventPool.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.benchmark; import edu.umd.cs.findbugs.annotations.NonNull; diff --git a/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/benchmark/WiringBenchmarkEventVerifier.java b/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/benchmark/WiringBenchmarkEventVerifier.java index b4398dbb5795..e422dbdc5240 100644 --- a/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/benchmark/WiringBenchmarkEventVerifier.java +++ b/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/benchmark/WiringBenchmarkEventVerifier.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.benchmark; import edu.umd.cs.findbugs.annotations.NonNull; diff --git a/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/benchmark/WiringBenchmarkGossip.java b/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/benchmark/WiringBenchmarkGossip.java index c7e6d04ef146..9cb8b2ba69ff 100644 --- a/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/benchmark/WiringBenchmarkGossip.java +++ b/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/benchmark/WiringBenchmarkGossip.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.benchmark; import java.util.concurrent.Executor; diff --git a/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/benchmark/WiringBenchmarkTopologicalEventSorter.java b/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/benchmark/WiringBenchmarkTopologicalEventSorter.java index 5797747f5579..9abbaf3b17b3 100644 --- a/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/benchmark/WiringBenchmarkTopologicalEventSorter.java +++ b/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/benchmark/WiringBenchmarkTopologicalEventSorter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.benchmark; import edu.umd.cs.findbugs.annotations.NonNull; diff --git a/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/builders/TaskSchedulerConfigurationTests.java b/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/builders/TaskSchedulerConfigurationTests.java index 40e012c0877a..3e34881871ac 100644 --- a/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/builders/TaskSchedulerConfigurationTests.java +++ b/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/builders/TaskSchedulerConfigurationTests.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.builders; import static com.swirlds.common.test.fixtures.RandomUtils.getRandomPrintSeed; diff --git a/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/component/ComponentWiringRouterTests.java b/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/component/ComponentWiringRouterTests.java index 041ccac4a8aa..5906c71c8e06 100644 --- a/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/component/ComponentWiringRouterTests.java +++ b/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/component/ComponentWiringRouterTests.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.component; import static com.swirlds.common.test.fixtures.RandomUtils.getRandomPrintSeed; diff --git a/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/component/ComponentWiringTests.java b/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/component/ComponentWiringTests.java index b8e0aac03113..50d14c26fead 100644 --- a/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/component/ComponentWiringTests.java +++ b/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/component/ComponentWiringTests.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.component; import static org.junit.jupiter.api.Assertions.assertEquals; diff --git a/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/component/WiringComponentPerformanceTests.java b/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/component/WiringComponentPerformanceTests.java index 50c5779a31cf..bf2abe103167 100644 --- a/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/component/WiringComponentPerformanceTests.java +++ b/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/component/WiringComponentPerformanceTests.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.component; import com.swirlds.common.test.fixtures.platform.TestPlatformContextBuilder; diff --git a/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/counters/BackpressureObjectCounterTests.java b/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/counters/BackpressureObjectCounterTests.java index 029e896a389c..2248b43f272f 100644 --- a/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/counters/BackpressureObjectCounterTests.java +++ b/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/counters/BackpressureObjectCounterTests.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.counters; import static com.swirlds.common.test.fixtures.AssertionUtils.assertEventuallyEquals; diff --git a/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/counters/MultiObjectCounterTests.java b/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/counters/MultiObjectCounterTests.java index 12717b78ffc1..854caf5fc830 100644 --- a/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/counters/MultiObjectCounterTests.java +++ b/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/counters/MultiObjectCounterTests.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.counters; import static com.swirlds.common.test.fixtures.AssertionUtils.assertEventuallyTrue; diff --git a/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/counters/NoOpObjectCounterTests.java b/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/counters/NoOpObjectCounterTests.java index eba6dbeedb4f..cb97a71a34a2 100644 --- a/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/counters/NoOpObjectCounterTests.java +++ b/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/counters/NoOpObjectCounterTests.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.counters; import static org.junit.jupiter.api.Assertions.assertEquals; diff --git a/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/counters/StandardObjectCounterTests.java b/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/counters/StandardObjectCounterTests.java index 0b4087aef31d..3ab60ec35546 100644 --- a/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/counters/StandardObjectCounterTests.java +++ b/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/counters/StandardObjectCounterTests.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.counters; import static com.swirlds.common.test.fixtures.AssertionUtils.assertEventuallyTrue; diff --git a/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/model/DeterministicHeartbeatSchedulerTests.java b/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/model/DeterministicHeartbeatSchedulerTests.java index 67f2e95f502b..872137f2ccea 100644 --- a/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/model/DeterministicHeartbeatSchedulerTests.java +++ b/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/model/DeterministicHeartbeatSchedulerTests.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.model; import static com.swirlds.component.framework.schedulers.builders.TaskSchedulerBuilder.UNLIMITED_CAPACITY; diff --git a/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/model/DeterministicModelTests.java b/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/model/DeterministicModelTests.java index 3ccff13a0423..f4260780183a 100644 --- a/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/model/DeterministicModelTests.java +++ b/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/model/DeterministicModelTests.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.model; import static com.swirlds.common.test.fixtures.RandomUtils.getRandomPrintSeed; diff --git a/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/model/ModelTests.java b/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/model/ModelTests.java index 534239521c99..7127326a60c1 100644 --- a/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/model/ModelTests.java +++ b/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/model/ModelTests.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.model; import static com.swirlds.common.threading.framework.internal.AbstractQueueThreadConfiguration.UNLIMITED_CAPACITY; diff --git a/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/model/internal/monitor/HealthMonitorTests.java b/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/model/internal/monitor/HealthMonitorTests.java index 2d16589d190a..7b04b22a21fa 100644 --- a/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/model/internal/monitor/HealthMonitorTests.java +++ b/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/model/internal/monitor/HealthMonitorTests.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.model.internal.monitor; import static org.junit.jupiter.api.Assertions.assertEquals; diff --git a/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/schedulers/ConcurrentTaskSchedulerTests.java b/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/schedulers/ConcurrentTaskSchedulerTests.java index 596ee03dc513..085829603b0b 100644 --- a/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/schedulers/ConcurrentTaskSchedulerTests.java +++ b/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/schedulers/ConcurrentTaskSchedulerTests.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.schedulers; import static com.swirlds.common.test.fixtures.AssertionUtils.assertEventuallyEquals; diff --git a/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/schedulers/DefaultSquelcherTests.java b/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/schedulers/DefaultSquelcherTests.java index c13a8c01e96b..2abce90d3f0f 100644 --- a/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/schedulers/DefaultSquelcherTests.java +++ b/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/schedulers/DefaultSquelcherTests.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.schedulers; import static org.junit.jupiter.api.Assertions.assertFalse; diff --git a/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/schedulers/DirectTaskSchedulerTests.java b/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/schedulers/DirectTaskSchedulerTests.java index dc8296dc24c2..3ab2b50351d3 100644 --- a/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/schedulers/DirectTaskSchedulerTests.java +++ b/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/schedulers/DirectTaskSchedulerTests.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.schedulers; import static com.swirlds.common.test.fixtures.RandomUtils.getRandomPrintSeed; diff --git a/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/schedulers/HeartbeatSchedulerTests.java b/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/schedulers/HeartbeatSchedulerTests.java index 01792af028c3..fecb2aa0b4eb 100644 --- a/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/schedulers/HeartbeatSchedulerTests.java +++ b/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/schedulers/HeartbeatSchedulerTests.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.schedulers; import static java.util.concurrent.TimeUnit.SECONDS; diff --git a/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/schedulers/NoOpTaskSchedulerTests.java b/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/schedulers/NoOpTaskSchedulerTests.java index e3743f53bb8a..3a90dbbd160c 100644 --- a/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/schedulers/NoOpTaskSchedulerTests.java +++ b/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/schedulers/NoOpTaskSchedulerTests.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.schedulers; import static com.swirlds.component.framework.schedulers.builders.TaskSchedulerType.NO_OP; diff --git a/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/schedulers/SequentialTaskSchedulerTests.java b/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/schedulers/SequentialTaskSchedulerTests.java index e0afc49f1bf3..dde0d0d5bb1f 100644 --- a/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/schedulers/SequentialTaskSchedulerTests.java +++ b/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/schedulers/SequentialTaskSchedulerTests.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.schedulers; import static com.swirlds.common.test.fixtures.AssertionUtils.assertEventuallyEquals; diff --git a/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/schedulers/ThrowingSquelcherTests.java b/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/schedulers/ThrowingSquelcherTests.java index a6d65edb4426..444a784fe3c4 100644 --- a/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/schedulers/ThrowingSquelcherTests.java +++ b/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/schedulers/ThrowingSquelcherTests.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.schedulers; import static org.junit.jupiter.api.Assertions.assertFalse; diff --git a/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/transformers/TaskSchedulerTransformersTests.java b/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/transformers/TaskSchedulerTransformersTests.java index 09e885c50abc..f9b2de7c847b 100644 --- a/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/transformers/TaskSchedulerTransformersTests.java +++ b/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/transformers/TaskSchedulerTransformersTests.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.transformers; import static com.swirlds.common.test.fixtures.AssertionUtils.assertEventuallyEquals; diff --git a/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/transformers/WireRouterTests.java b/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/transformers/WireRouterTests.java index 1fccde9c1bc4..8d27e8e7bd56 100644 --- a/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/transformers/WireRouterTests.java +++ b/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/transformers/WireRouterTests.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.transformers; import static com.swirlds.common.test.fixtures.RandomUtils.getRandomPrintSeed; diff --git a/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/wires/OutputWireTests.java b/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/wires/OutputWireTests.java index 695ab32497ad..b7b011e90237 100644 --- a/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/wires/OutputWireTests.java +++ b/platform-sdk/swirlds-component-framework/src/test/java/com/swirlds/component/framework/wires/OutputWireTests.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.component.framework.wires; import static org.junit.jupiter.api.Assertions.assertEquals; diff --git a/platform-sdk/swirlds-config-api/src/main/java/com/swirlds/config/api/ConfigData.java b/platform-sdk/swirlds-config-api/src/main/java/com/swirlds/config/api/ConfigData.java index ad2aeab27639..71e6efecc358 100644 --- a/platform-sdk/swirlds-config-api/src/main/java/com/swirlds/config/api/ConfigData.java +++ b/platform-sdk/swirlds-config-api/src/main/java/com/swirlds/config/api/ConfigData.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.api; import static java.lang.annotation.ElementType.TYPE; diff --git a/platform-sdk/swirlds-config-api/src/main/java/com/swirlds/config/api/ConfigProperty.java b/platform-sdk/swirlds-config-api/src/main/java/com/swirlds/config/api/ConfigProperty.java index 68321cdcf2b9..8931df50c27f 100644 --- a/platform-sdk/swirlds-config-api/src/main/java/com/swirlds/config/api/ConfigProperty.java +++ b/platform-sdk/swirlds-config-api/src/main/java/com/swirlds/config/api/ConfigProperty.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.api; import static java.lang.annotation.ElementType.RECORD_COMPONENT; diff --git a/platform-sdk/swirlds-config-api/src/main/java/com/swirlds/config/api/Configuration.java b/platform-sdk/swirlds-config-api/src/main/java/com/swirlds/config/api/Configuration.java index f7f477f1e99b..1d16793c5ac5 100644 --- a/platform-sdk/swirlds-config-api/src/main/java/com/swirlds/config/api/Configuration.java +++ b/platform-sdk/swirlds-config-api/src/main/java/com/swirlds/config/api/Configuration.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.api; import edu.umd.cs.findbugs.annotations.NonNull; diff --git a/platform-sdk/swirlds-config-api/src/main/java/com/swirlds/config/api/ConfigurationBuilder.java b/platform-sdk/swirlds-config-api/src/main/java/com/swirlds/config/api/ConfigurationBuilder.java index dc26fd674375..2d5233aad6e5 100644 --- a/platform-sdk/swirlds-config-api/src/main/java/com/swirlds/config/api/ConfigurationBuilder.java +++ b/platform-sdk/swirlds-config-api/src/main/java/com/swirlds/config/api/ConfigurationBuilder.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.api; import com.swirlds.config.api.converter.ConfigConverter; diff --git a/platform-sdk/swirlds-config-api/src/main/java/com/swirlds/config/api/ConfigurationExtension.java b/platform-sdk/swirlds-config-api/src/main/java/com/swirlds/config/api/ConfigurationExtension.java index bd825a8bf28f..05cb60b6f6dd 100644 --- a/platform-sdk/swirlds-config-api/src/main/java/com/swirlds/config/api/ConfigurationExtension.java +++ b/platform-sdk/swirlds-config-api/src/main/java/com/swirlds/config/api/ConfigurationExtension.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.api; import com.swirlds.config.api.converter.ConfigConverter; diff --git a/platform-sdk/swirlds-config-api/src/main/java/com/swirlds/config/api/converter/ConfigConverter.java b/platform-sdk/swirlds-config-api/src/main/java/com/swirlds/config/api/converter/ConfigConverter.java index 4a819cc6c94f..c014b9c3ca98 100644 --- a/platform-sdk/swirlds-config-api/src/main/java/com/swirlds/config/api/converter/ConfigConverter.java +++ b/platform-sdk/swirlds-config-api/src/main/java/com/swirlds/config/api/converter/ConfigConverter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.api.converter; import edu.umd.cs.findbugs.annotations.NonNull; diff --git a/platform-sdk/swirlds-config-api/src/main/java/com/swirlds/config/api/intern/ConfigurationProvider.java b/platform-sdk/swirlds-config-api/src/main/java/com/swirlds/config/api/intern/ConfigurationProvider.java index f893bab996da..3fdcd6e4d26e 100644 --- a/platform-sdk/swirlds-config-api/src/main/java/com/swirlds/config/api/intern/ConfigurationProvider.java +++ b/platform-sdk/swirlds-config-api/src/main/java/com/swirlds/config/api/intern/ConfigurationProvider.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.api.intern; import com.swirlds.config.api.ConfigurationBuilder; diff --git a/platform-sdk/swirlds-config-api/src/main/java/com/swirlds/config/api/source/ConfigSource.java b/platform-sdk/swirlds-config-api/src/main/java/com/swirlds/config/api/source/ConfigSource.java index e756d4a2a27d..d9c75100f2ea 100644 --- a/platform-sdk/swirlds-config-api/src/main/java/com/swirlds/config/api/source/ConfigSource.java +++ b/platform-sdk/swirlds-config-api/src/main/java/com/swirlds/config/api/source/ConfigSource.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.api.source; import edu.umd.cs.findbugs.annotations.NonNull; diff --git a/platform-sdk/swirlds-config-api/src/main/java/com/swirlds/config/api/spi/ConfigurationBuilderFactory.java b/platform-sdk/swirlds-config-api/src/main/java/com/swirlds/config/api/spi/ConfigurationBuilderFactory.java index cb95319aae0b..cd0462f03e40 100644 --- a/platform-sdk/swirlds-config-api/src/main/java/com/swirlds/config/api/spi/ConfigurationBuilderFactory.java +++ b/platform-sdk/swirlds-config-api/src/main/java/com/swirlds/config/api/spi/ConfigurationBuilderFactory.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.api.spi; import com.swirlds.config.api.ConfigurationBuilder; diff --git a/platform-sdk/swirlds-config-api/src/main/java/com/swirlds/config/api/validation/ConfigPropertyConstraint.java b/platform-sdk/swirlds-config-api/src/main/java/com/swirlds/config/api/validation/ConfigPropertyConstraint.java index 4a8fdc4cff23..c6c0a3b9b9f0 100644 --- a/platform-sdk/swirlds-config-api/src/main/java/com/swirlds/config/api/validation/ConfigPropertyConstraint.java +++ b/platform-sdk/swirlds-config-api/src/main/java/com/swirlds/config/api/validation/ConfigPropertyConstraint.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.api.validation; import edu.umd.cs.findbugs.annotations.NonNull; diff --git a/platform-sdk/swirlds-config-api/src/main/java/com/swirlds/config/api/validation/ConfigValidator.java b/platform-sdk/swirlds-config-api/src/main/java/com/swirlds/config/api/validation/ConfigValidator.java index 088eeac0c71b..e1c046e15eaf 100644 --- a/platform-sdk/swirlds-config-api/src/main/java/com/swirlds/config/api/validation/ConfigValidator.java +++ b/platform-sdk/swirlds-config-api/src/main/java/com/swirlds/config/api/validation/ConfigValidator.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.api.validation; import com.swirlds.config.api.Configuration; diff --git a/platform-sdk/swirlds-config-api/src/main/java/com/swirlds/config/api/validation/ConfigViolation.java b/platform-sdk/swirlds-config-api/src/main/java/com/swirlds/config/api/validation/ConfigViolation.java index b50f59d9e101..bbeb583bf646 100644 --- a/platform-sdk/swirlds-config-api/src/main/java/com/swirlds/config/api/validation/ConfigViolation.java +++ b/platform-sdk/swirlds-config-api/src/main/java/com/swirlds/config/api/validation/ConfigViolation.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.api.validation; import java.io.Serializable; diff --git a/platform-sdk/swirlds-config-api/src/main/java/com/swirlds/config/api/validation/ConfigViolationException.java b/platform-sdk/swirlds-config-api/src/main/java/com/swirlds/config/api/validation/ConfigViolationException.java index dc18f947d31d..7341bfa2149a 100644 --- a/platform-sdk/swirlds-config-api/src/main/java/com/swirlds/config/api/validation/ConfigViolationException.java +++ b/platform-sdk/swirlds-config-api/src/main/java/com/swirlds/config/api/validation/ConfigViolationException.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.api.validation; import edu.umd.cs.findbugs.annotations.NonNull; diff --git a/platform-sdk/swirlds-config-api/src/main/java/com/swirlds/config/api/validation/PropertyMetadata.java b/platform-sdk/swirlds-config-api/src/main/java/com/swirlds/config/api/validation/PropertyMetadata.java index 712b9277d20c..6d4956ef290a 100644 --- a/platform-sdk/swirlds-config-api/src/main/java/com/swirlds/config/api/validation/PropertyMetadata.java +++ b/platform-sdk/swirlds-config-api/src/main/java/com/swirlds/config/api/validation/PropertyMetadata.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.api.validation; import com.swirlds.config.api.converter.ConfigConverter; diff --git a/platform-sdk/swirlds-config-api/src/main/java/com/swirlds/config/api/validation/annotation/ConstraintMethod.java b/platform-sdk/swirlds-config-api/src/main/java/com/swirlds/config/api/validation/annotation/ConstraintMethod.java index 1b185afffe68..9935cd232b4e 100644 --- a/platform-sdk/swirlds-config-api/src/main/java/com/swirlds/config/api/validation/annotation/ConstraintMethod.java +++ b/platform-sdk/swirlds-config-api/src/main/java/com/swirlds/config/api/validation/annotation/ConstraintMethod.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.api.validation.annotation; import com.swirlds.config.api.ConfigurationBuilder; diff --git a/platform-sdk/swirlds-config-api/src/main/java/com/swirlds/config/api/validation/annotation/Max.java b/platform-sdk/swirlds-config-api/src/main/java/com/swirlds/config/api/validation/annotation/Max.java index a3c94e990df5..ea4dbbcd9116 100644 --- a/platform-sdk/swirlds-config-api/src/main/java/com/swirlds/config/api/validation/annotation/Max.java +++ b/platform-sdk/swirlds-config-api/src/main/java/com/swirlds/config/api/validation/annotation/Max.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.api.validation.annotation; import com.swirlds.config.api.ConfigurationBuilder; diff --git a/platform-sdk/swirlds-config-api/src/main/java/com/swirlds/config/api/validation/annotation/Min.java b/platform-sdk/swirlds-config-api/src/main/java/com/swirlds/config/api/validation/annotation/Min.java index 68505e290297..bb922b9b7ba3 100644 --- a/platform-sdk/swirlds-config-api/src/main/java/com/swirlds/config/api/validation/annotation/Min.java +++ b/platform-sdk/swirlds-config-api/src/main/java/com/swirlds/config/api/validation/annotation/Min.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.api.validation.annotation; import com.swirlds.config.api.ConfigurationBuilder; diff --git a/platform-sdk/swirlds-config-api/src/main/java/com/swirlds/config/api/validation/annotation/Negative.java b/platform-sdk/swirlds-config-api/src/main/java/com/swirlds/config/api/validation/annotation/Negative.java index ee9386e8f524..5d3e524d9ccc 100644 --- a/platform-sdk/swirlds-config-api/src/main/java/com/swirlds/config/api/validation/annotation/Negative.java +++ b/platform-sdk/swirlds-config-api/src/main/java/com/swirlds/config/api/validation/annotation/Negative.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.api.validation.annotation; import com.swirlds.config.api.ConfigurationBuilder; diff --git a/platform-sdk/swirlds-config-api/src/main/java/com/swirlds/config/api/validation/annotation/Positive.java b/platform-sdk/swirlds-config-api/src/main/java/com/swirlds/config/api/validation/annotation/Positive.java index e94353d50894..dd8b82f902da 100644 --- a/platform-sdk/swirlds-config-api/src/main/java/com/swirlds/config/api/validation/annotation/Positive.java +++ b/platform-sdk/swirlds-config-api/src/main/java/com/swirlds/config/api/validation/annotation/Positive.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.api.validation.annotation; import com.swirlds.config.api.ConfigurationBuilder; diff --git a/platform-sdk/swirlds-config-api/src/main/java/module-info.java b/platform-sdk/swirlds-config-api/src/main/java/module-info.java index da5efafd088b..7e33811b8d1c 100644 --- a/platform-sdk/swirlds-config-api/src/main/java/module-info.java +++ b/platform-sdk/swirlds-config-api/src/main/java/module-info.java @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 import com.swirlds.config.api.spi.ConfigurationBuilderFactory; module com.swirlds.config.api { diff --git a/platform-sdk/swirlds-config-api/src/testFixtures/java/module-info.java b/platform-sdk/swirlds-config-api/src/testFixtures/java/module-info.java index c4ab5a4aa3cd..17a0be5d54b3 100644 --- a/platform-sdk/swirlds-config-api/src/testFixtures/java/module-info.java +++ b/platform-sdk/swirlds-config-api/src/testFixtures/java/module-info.java @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 module com.swirlds.config.api.test.fixtures { requires static transitive com.github.spotbugs.annotations; } diff --git a/platform-sdk/swirlds-config-extensions/src/main/java/com/swirlds/config/extensions/ConfigUtils.java b/platform-sdk/swirlds-config-extensions/src/main/java/com/swirlds/config/extensions/ConfigUtils.java index b50bffb756a0..c1f643b6ed2f 100644 --- a/platform-sdk/swirlds-config-extensions/src/main/java/com/swirlds/config/extensions/ConfigUtils.java +++ b/platform-sdk/swirlds-config-extensions/src/main/java/com/swirlds/config/extensions/ConfigUtils.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.extensions; import com.swirlds.config.api.Configuration; diff --git a/platform-sdk/swirlds-config-extensions/src/main/java/com/swirlds/config/extensions/export/ConfigExport.java b/platform-sdk/swirlds-config-extensions/src/main/java/com/swirlds/config/extensions/export/ConfigExport.java index 2a321d3dc992..a1fe8d7e6399 100644 --- a/platform-sdk/swirlds-config-extensions/src/main/java/com/swirlds/config/extensions/export/ConfigExport.java +++ b/platform-sdk/swirlds-config-extensions/src/main/java/com/swirlds/config/extensions/export/ConfigExport.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.extensions.export; import com.swirlds.config.api.Configuration; diff --git a/platform-sdk/swirlds-config-extensions/src/main/java/com/swirlds/config/extensions/reflection/ConfigReflectionUtils.java b/platform-sdk/swirlds-config-extensions/src/main/java/com/swirlds/config/extensions/reflection/ConfigReflectionUtils.java index ae63f870258e..a10b008bfd97 100644 --- a/platform-sdk/swirlds-config-extensions/src/main/java/com/swirlds/config/extensions/reflection/ConfigReflectionUtils.java +++ b/platform-sdk/swirlds-config-extensions/src/main/java/com/swirlds/config/extensions/reflection/ConfigReflectionUtils.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.extensions.reflection; import com.swirlds.config.api.ConfigData; diff --git a/platform-sdk/swirlds-config-extensions/src/main/java/com/swirlds/config/extensions/sources/AbstractConfigSource.java b/platform-sdk/swirlds-config-extensions/src/main/java/com/swirlds/config/extensions/sources/AbstractConfigSource.java index 50bfd976cba9..b19d561edc78 100644 --- a/platform-sdk/swirlds-config-extensions/src/main/java/com/swirlds/config/extensions/sources/AbstractConfigSource.java +++ b/platform-sdk/swirlds-config-extensions/src/main/java/com/swirlds/config/extensions/sources/AbstractConfigSource.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.extensions.sources; import com.swirlds.base.ArgumentUtils; diff --git a/platform-sdk/swirlds-config-extensions/src/main/java/com/swirlds/config/extensions/sources/AbstractFileConfigSource.java b/platform-sdk/swirlds-config-extensions/src/main/java/com/swirlds/config/extensions/sources/AbstractFileConfigSource.java index 7a086ade5b69..fe247195f46d 100644 --- a/platform-sdk/swirlds-config-extensions/src/main/java/com/swirlds/config/extensions/sources/AbstractFileConfigSource.java +++ b/platform-sdk/swirlds-config-extensions/src/main/java/com/swirlds/config/extensions/sources/AbstractFileConfigSource.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.extensions.sources; import edu.umd.cs.findbugs.annotations.NonNull; diff --git a/platform-sdk/swirlds-config-extensions/src/main/java/com/swirlds/config/extensions/sources/ClasspathFileConfigSource.java b/platform-sdk/swirlds-config-extensions/src/main/java/com/swirlds/config/extensions/sources/ClasspathFileConfigSource.java index 9eac4decd212..e5f80a39443f 100644 --- a/platform-sdk/swirlds-config-extensions/src/main/java/com/swirlds/config/extensions/sources/ClasspathFileConfigSource.java +++ b/platform-sdk/swirlds-config-extensions/src/main/java/com/swirlds/config/extensions/sources/ClasspathFileConfigSource.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.extensions.sources; import com.swirlds.config.api.source.ConfigSource; diff --git a/platform-sdk/swirlds-config-extensions/src/main/java/com/swirlds/config/extensions/sources/ConfigMapping.java b/platform-sdk/swirlds-config-extensions/src/main/java/com/swirlds/config/extensions/sources/ConfigMapping.java index 39382d652d90..6467a3dcfa7a 100644 --- a/platform-sdk/swirlds-config-extensions/src/main/java/com/swirlds/config/extensions/sources/ConfigMapping.java +++ b/platform-sdk/swirlds-config-extensions/src/main/java/com/swirlds/config/extensions/sources/ConfigMapping.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.extensions.sources; import com.swirlds.base.ArgumentUtils; diff --git a/platform-sdk/swirlds-config-extensions/src/main/java/com/swirlds/config/extensions/sources/ConfigSourceOrdinalConstants.java b/platform-sdk/swirlds-config-extensions/src/main/java/com/swirlds/config/extensions/sources/ConfigSourceOrdinalConstants.java index f27a2bdd197a..17c5caa853e7 100644 --- a/platform-sdk/swirlds-config-extensions/src/main/java/com/swirlds/config/extensions/sources/ConfigSourceOrdinalConstants.java +++ b/platform-sdk/swirlds-config-extensions/src/main/java/com/swirlds/config/extensions/sources/ConfigSourceOrdinalConstants.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.extensions.sources; import com.swirlds.config.api.source.ConfigSource; diff --git a/platform-sdk/swirlds-config-extensions/src/main/java/com/swirlds/config/extensions/sources/LegacyFileConfigSource.java b/platform-sdk/swirlds-config-extensions/src/main/java/com/swirlds/config/extensions/sources/LegacyFileConfigSource.java index 216ab8bb8947..e5a1847050dc 100644 --- a/platform-sdk/swirlds-config-extensions/src/main/java/com/swirlds/config/extensions/sources/LegacyFileConfigSource.java +++ b/platform-sdk/swirlds-config-extensions/src/main/java/com/swirlds/config/extensions/sources/LegacyFileConfigSource.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.extensions.sources; import com.swirlds.base.ArgumentUtils; diff --git a/platform-sdk/swirlds-config-extensions/src/main/java/com/swirlds/config/extensions/sources/MappedConfigSource.java b/platform-sdk/swirlds-config-extensions/src/main/java/com/swirlds/config/extensions/sources/MappedConfigSource.java index a94cb8c607d4..1e8a4b0b6e2f 100644 --- a/platform-sdk/swirlds-config-extensions/src/main/java/com/swirlds/config/extensions/sources/MappedConfigSource.java +++ b/platform-sdk/swirlds-config-extensions/src/main/java/com/swirlds/config/extensions/sources/MappedConfigSource.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.extensions.sources; import com.swirlds.config.api.source.ConfigSource; diff --git a/platform-sdk/swirlds-config-extensions/src/main/java/com/swirlds/config/extensions/sources/PropertyFileConfigSource.java b/platform-sdk/swirlds-config-extensions/src/main/java/com/swirlds/config/extensions/sources/PropertyFileConfigSource.java index dab9a78112e0..242285d96a5b 100644 --- a/platform-sdk/swirlds-config-extensions/src/main/java/com/swirlds/config/extensions/sources/PropertyFileConfigSource.java +++ b/platform-sdk/swirlds-config-extensions/src/main/java/com/swirlds/config/extensions/sources/PropertyFileConfigSource.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.extensions.sources; import edu.umd.cs.findbugs.annotations.NonNull; diff --git a/platform-sdk/swirlds-config-extensions/src/main/java/com/swirlds/config/extensions/sources/SimpleConfigSource.java b/platform-sdk/swirlds-config-extensions/src/main/java/com/swirlds/config/extensions/sources/SimpleConfigSource.java index a17fbf941877..55b8c9e726b6 100644 --- a/platform-sdk/swirlds-config-extensions/src/main/java/com/swirlds/config/extensions/sources/SimpleConfigSource.java +++ b/platform-sdk/swirlds-config-extensions/src/main/java/com/swirlds/config/extensions/sources/SimpleConfigSource.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.extensions.sources; import static com.swirlds.config.extensions.sources.ConfigSourceOrdinalConstants.PROGRAMMATIC_VALUES_ORDINAL; diff --git a/platform-sdk/swirlds-config-extensions/src/main/java/com/swirlds/config/extensions/sources/SystemEnvironmentConfigSource.java b/platform-sdk/swirlds-config-extensions/src/main/java/com/swirlds/config/extensions/sources/SystemEnvironmentConfigSource.java index 7702289ff69c..b5ae7445e49e 100644 --- a/platform-sdk/swirlds-config-extensions/src/main/java/com/swirlds/config/extensions/sources/SystemEnvironmentConfigSource.java +++ b/platform-sdk/swirlds-config-extensions/src/main/java/com/swirlds/config/extensions/sources/SystemEnvironmentConfigSource.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.extensions.sources; import com.swirlds.base.ArgumentUtils; diff --git a/platform-sdk/swirlds-config-extensions/src/main/java/com/swirlds/config/extensions/sources/SystemPropertiesConfigSource.java b/platform-sdk/swirlds-config-extensions/src/main/java/com/swirlds/config/extensions/sources/SystemPropertiesConfigSource.java index 239aed5869fa..febcf7c37fbf 100644 --- a/platform-sdk/swirlds-config-extensions/src/main/java/com/swirlds/config/extensions/sources/SystemPropertiesConfigSource.java +++ b/platform-sdk/swirlds-config-extensions/src/main/java/com/swirlds/config/extensions/sources/SystemPropertiesConfigSource.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.extensions.sources; import com.swirlds.base.ArgumentUtils; diff --git a/platform-sdk/swirlds-config-extensions/src/main/java/com/swirlds/config/extensions/sources/YamlConfigSource.java b/platform-sdk/swirlds-config-extensions/src/main/java/com/swirlds/config/extensions/sources/YamlConfigSource.java index c02cd658e1f1..72470b13ab58 100644 --- a/platform-sdk/swirlds-config-extensions/src/main/java/com/swirlds/config/extensions/sources/YamlConfigSource.java +++ b/platform-sdk/swirlds-config-extensions/src/main/java/com/swirlds/config/extensions/sources/YamlConfigSource.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.extensions.sources; import static java.util.Objects.requireNonNull; diff --git a/platform-sdk/swirlds-config-extensions/src/main/java/com/swirlds/config/extensions/validators/DefaultConfigViolation.java b/platform-sdk/swirlds-config-extensions/src/main/java/com/swirlds/config/extensions/validators/DefaultConfigViolation.java index 17beff30eb06..b60fa0c7df5d 100644 --- a/platform-sdk/swirlds-config-extensions/src/main/java/com/swirlds/config/extensions/validators/DefaultConfigViolation.java +++ b/platform-sdk/swirlds-config-extensions/src/main/java/com/swirlds/config/extensions/validators/DefaultConfigViolation.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.extensions.validators; import com.swirlds.config.api.validation.ConfigViolation; diff --git a/platform-sdk/swirlds-config-extensions/src/main/java/module-info.java b/platform-sdk/swirlds-config-extensions/src/main/java/module-info.java index 34cce6b03e88..e01ea9edbac3 100644 --- a/platform-sdk/swirlds-config-extensions/src/main/java/module-info.java +++ b/platform-sdk/swirlds-config-extensions/src/main/java/module-info.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 module com.swirlds.config.extensions { exports com.swirlds.config.extensions; exports com.swirlds.config.extensions.export; diff --git a/platform-sdk/swirlds-config-extensions/src/test/java/com/ext/swirlds/config/extensions/test/ConfigExportTestConstants.java b/platform-sdk/swirlds-config-extensions/src/test/java/com/ext/swirlds/config/extensions/test/ConfigExportTestConstants.java index 31226b893f46..ab6a2dce8b8a 100644 --- a/platform-sdk/swirlds-config-extensions/src/test/java/com/ext/swirlds/config/extensions/test/ConfigExportTestConstants.java +++ b/platform-sdk/swirlds-config-extensions/src/test/java/com/ext/swirlds/config/extensions/test/ConfigExportTestConstants.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.ext.swirlds.config.extensions.test; import com.swirlds.config.api.ConfigData; diff --git a/platform-sdk/swirlds-config-extensions/src/test/java/com/swirlds/config/extensions/test/ClasspathFileConfigSourceTest.java b/platform-sdk/swirlds-config-extensions/src/test/java/com/swirlds/config/extensions/test/ClasspathFileConfigSourceTest.java index 8462e5201f00..6432f31370bd 100644 --- a/platform-sdk/swirlds-config-extensions/src/test/java/com/swirlds/config/extensions/test/ClasspathFileConfigSourceTest.java +++ b/platform-sdk/swirlds-config-extensions/src/test/java/com/swirlds/config/extensions/test/ClasspathFileConfigSourceTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.extensions.test; import static org.junit.jupiter.api.Assertions.assertDoesNotThrow; diff --git a/platform-sdk/swirlds-config-extensions/src/test/java/com/swirlds/config/extensions/test/ConfigUtilsTests.java b/platform-sdk/swirlds-config-extensions/src/test/java/com/swirlds/config/extensions/test/ConfigUtilsTests.java index 6953aabfc5bd..5bd497ec3ab7 100644 --- a/platform-sdk/swirlds-config-extensions/src/test/java/com/swirlds/config/extensions/test/ConfigUtilsTests.java +++ b/platform-sdk/swirlds-config-extensions/src/test/java/com/swirlds/config/extensions/test/ConfigUtilsTests.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.extensions.test; import com.swirlds.config.api.Configuration; diff --git a/platform-sdk/swirlds-config-extensions/src/test/java/com/swirlds/config/extensions/test/MappedConfigSourceTest.java b/platform-sdk/swirlds-config-extensions/src/test/java/com/swirlds/config/extensions/test/MappedConfigSourceTest.java index 22ea64ef2392..4965594e0e59 100644 --- a/platform-sdk/swirlds-config-extensions/src/test/java/com/swirlds/config/extensions/test/MappedConfigSourceTest.java +++ b/platform-sdk/swirlds-config-extensions/src/test/java/com/swirlds/config/extensions/test/MappedConfigSourceTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.extensions.test; import com.swirlds.config.extensions.sources.MappedConfigSource; diff --git a/platform-sdk/swirlds-config-extensions/src/test/java/com/swirlds/config/extensions/test/PropertyFileConfigSourceTest.java b/platform-sdk/swirlds-config-extensions/src/test/java/com/swirlds/config/extensions/test/PropertyFileConfigSourceTest.java index c64274368d4f..e3f38b4a8285 100644 --- a/platform-sdk/swirlds-config-extensions/src/test/java/com/swirlds/config/extensions/test/PropertyFileConfigSourceTest.java +++ b/platform-sdk/swirlds-config-extensions/src/test/java/com/swirlds/config/extensions/test/PropertyFileConfigSourceTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.extensions.test; import static org.junit.jupiter.api.Assertions.assertDoesNotThrow; diff --git a/platform-sdk/swirlds-config-extensions/src/test/java/com/swirlds/config/extensions/test/SimpleConfigSourceTest.java b/platform-sdk/swirlds-config-extensions/src/test/java/com/swirlds/config/extensions/test/SimpleConfigSourceTest.java index 32ba676fa0e4..a6cedad2c650 100644 --- a/platform-sdk/swirlds-config-extensions/src/test/java/com/swirlds/config/extensions/test/SimpleConfigSourceTest.java +++ b/platform-sdk/swirlds-config-extensions/src/test/java/com/swirlds/config/extensions/test/SimpleConfigSourceTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.extensions.test; import com.swirlds.config.api.Configuration; diff --git a/platform-sdk/swirlds-config-extensions/src/test/java/com/swirlds/config/extensions/test/export/ConfigExportTest.java b/platform-sdk/swirlds-config-extensions/src/test/java/com/swirlds/config/extensions/test/export/ConfigExportTest.java index 6abb3da4550b..cfc07731aba6 100644 --- a/platform-sdk/swirlds-config-extensions/src/test/java/com/swirlds/config/extensions/test/export/ConfigExportTest.java +++ b/platform-sdk/swirlds-config-extensions/src/test/java/com/swirlds/config/extensions/test/export/ConfigExportTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.extensions.test.export; import static org.assertj.core.api.Assertions.assertThat; diff --git a/platform-sdk/swirlds-config-extensions/src/test/java/com/swirlds/config/extensions/test/sources/YamlConfigSourceTest.java b/platform-sdk/swirlds-config-extensions/src/test/java/com/swirlds/config/extensions/test/sources/YamlConfigSourceTest.java index a1ffa9cb895c..406d2ae49735 100644 --- a/platform-sdk/swirlds-config-extensions/src/test/java/com/swirlds/config/extensions/test/sources/YamlConfigSourceTest.java +++ b/platform-sdk/swirlds-config-extensions/src/test/java/com/swirlds/config/extensions/test/sources/YamlConfigSourceTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2025 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.extensions.test.sources; import com.swirlds.config.extensions.sources.YamlConfigSource; diff --git a/platform-sdk/swirlds-config-extensions/src/test/resources/config1.properties b/platform-sdk/swirlds-config-extensions/src/test/resources/config1.properties index 09882f21961d..5351c37fe60b 100644 --- a/platform-sdk/swirlds-config-extensions/src/test/resources/config1.properties +++ b/platform-sdk/swirlds-config-extensions/src/test/resources/config1.properties @@ -15,4 +15,4 @@ # # foo=1 -bar=2 \ No newline at end of file +bar=2 diff --git a/platform-sdk/swirlds-config-extensions/src/test/resources/config2.properties b/platform-sdk/swirlds-config-extensions/src/test/resources/config2.properties index b84005649eec..58de309651e8 100644 --- a/platform-sdk/swirlds-config-extensions/src/test/resources/config2.properties +++ b/platform-sdk/swirlds-config-extensions/src/test/resources/config2.properties @@ -15,4 +15,4 @@ # # foo=2 -bar=1 \ No newline at end of file +bar=1 diff --git a/platform-sdk/swirlds-config-extensions/src/test/resources/config3.properties b/platform-sdk/swirlds-config-extensions/src/test/resources/config3.properties index 84e264479d70..150ecb2f86de 100644 --- a/platform-sdk/swirlds-config-extensions/src/test/resources/config3.properties +++ b/platform-sdk/swirlds-config-extensions/src/test/resources/config3.properties @@ -14,4 +14,4 @@ # limitations under the License. # # -bar=100 \ No newline at end of file +bar=100 diff --git a/platform-sdk/swirlds-config-extensions/src/testFixtures/java/com/swirlds/config/extensions/test/fixtures/ConfigUtils.java b/platform-sdk/swirlds-config-extensions/src/testFixtures/java/com/swirlds/config/extensions/test/fixtures/ConfigUtils.java index 319c546ee432..5a553c86ecec 100644 --- a/platform-sdk/swirlds-config-extensions/src/testFixtures/java/com/swirlds/config/extensions/test/fixtures/ConfigUtils.java +++ b/platform-sdk/swirlds-config-extensions/src/testFixtures/java/com/swirlds/config/extensions/test/fixtures/ConfigUtils.java @@ -1,36 +1,6 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.extensions.test.fixtures; -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 import com.swirlds.config.api.ConfigData; import edu.umd.cs.findbugs.annotations.NonNull; import io.github.classgraph.ClassGraph; diff --git a/platform-sdk/swirlds-config-extensions/src/testFixtures/java/com/swirlds/config/extensions/test/fixtures/TestConfigBuilder.java b/platform-sdk/swirlds-config-extensions/src/testFixtures/java/com/swirlds/config/extensions/test/fixtures/TestConfigBuilder.java index cbe3d7fa2a91..a2c1003f4132 100644 --- a/platform-sdk/swirlds-config-extensions/src/testFixtures/java/com/swirlds/config/extensions/test/fixtures/TestConfigBuilder.java +++ b/platform-sdk/swirlds-config-extensions/src/testFixtures/java/com/swirlds/config/extensions/test/fixtures/TestConfigBuilder.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.extensions.test.fixtures; import com.swirlds.common.threading.locks.AutoClosableLock; diff --git a/platform-sdk/swirlds-config-extensions/src/testFixtures/java/module-info.java b/platform-sdk/swirlds-config-extensions/src/testFixtures/java/module-info.java index f627b4b97300..64c09ac8b3b2 100644 --- a/platform-sdk/swirlds-config-extensions/src/testFixtures/java/module-info.java +++ b/platform-sdk/swirlds-config-extensions/src/testFixtures/java/module-info.java @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 open module com.swirlds.config.extensions.test.fixtures { exports com.swirlds.config.extensions.test.fixtures; diff --git a/platform-sdk/swirlds-config-impl/src/jmh/java/com/swirlds/config/benchmark/ConfigBenchmark.java b/platform-sdk/swirlds-config-impl/src/jmh/java/com/swirlds/config/benchmark/ConfigBenchmark.java index c47b081b7c0d..d6116a1d7d34 100644 --- a/platform-sdk/swirlds-config-impl/src/jmh/java/com/swirlds/config/benchmark/ConfigBenchmark.java +++ b/platform-sdk/swirlds-config-impl/src/jmh/java/com/swirlds/config/benchmark/ConfigBenchmark.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.benchmark; import com.swirlds.base.utility.FileSystemUtils; diff --git a/platform-sdk/swirlds-config-impl/src/jmh/java/com/swirlds/config/benchmark/ConfigUtilsBenchmark.java b/platform-sdk/swirlds-config-impl/src/jmh/java/com/swirlds/config/benchmark/ConfigUtilsBenchmark.java index 0d747dcfb834..409419c00d5d 100644 --- a/platform-sdk/swirlds-config-impl/src/jmh/java/com/swirlds/config/benchmark/ConfigUtilsBenchmark.java +++ b/platform-sdk/swirlds-config-impl/src/jmh/java/com/swirlds/config/benchmark/ConfigUtilsBenchmark.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.benchmark; import com.swirlds.config.api.ConfigData; diff --git a/platform-sdk/swirlds-config-impl/src/jmh/resources/com/swirlds/config/benchmark/app.properties b/platform-sdk/swirlds-config-impl/src/jmh/resources/com/swirlds/config/benchmark/app.properties index 7d8dbd2edae6..f70817f21ebb 100644 --- a/platform-sdk/swirlds-config-impl/src/jmh/resources/com/swirlds/config/benchmark/app.properties +++ b/platform-sdk/swirlds-config-impl/src/jmh/resources/com/swirlds/config/benchmark/app.properties @@ -16,4 +16,4 @@ # app.name=ConfigTest -app.version=17 \ No newline at end of file +app.version=17 diff --git a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/converters/BigDecimalConverter.java b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/converters/BigDecimalConverter.java index f5cf9ea5cbcf..79a60febd209 100644 --- a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/converters/BigDecimalConverter.java +++ b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/converters/BigDecimalConverter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.converters; import com.swirlds.config.api.converter.ConfigConverter; diff --git a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/converters/BigIntegerConverter.java b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/converters/BigIntegerConverter.java index 85b164e235e9..0f64dfbe1995 100644 --- a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/converters/BigIntegerConverter.java +++ b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/converters/BigIntegerConverter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.converters; import com.swirlds.config.api.converter.ConfigConverter; diff --git a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/converters/BooleanConverter.java b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/converters/BooleanConverter.java index 530c59c65b0c..a4ca42639362 100644 --- a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/converters/BooleanConverter.java +++ b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/converters/BooleanConverter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.converters; import com.swirlds.config.api.converter.ConfigConverter; diff --git a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/converters/ByteConverter.java b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/converters/ByteConverter.java index 88591bdb5e92..f77923366a98 100644 --- a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/converters/ByteConverter.java +++ b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/converters/ByteConverter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.converters; import com.swirlds.config.api.converter.ConfigConverter; diff --git a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/converters/ChronoUnitConverter.java b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/converters/ChronoUnitConverter.java index 8f016358dc67..966f2e351fe1 100644 --- a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/converters/ChronoUnitConverter.java +++ b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/converters/ChronoUnitConverter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.converters; import com.swirlds.config.api.converter.ConfigConverter; diff --git a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/converters/DoubleConverter.java b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/converters/DoubleConverter.java index 944c372bd62a..a85b6973169f 100644 --- a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/converters/DoubleConverter.java +++ b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/converters/DoubleConverter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.converters; import com.swirlds.config.api.converter.ConfigConverter; diff --git a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/converters/DurationConverter.java b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/converters/DurationConverter.java index 2c93d1eeca06..c48aa030265d 100644 --- a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/converters/DurationConverter.java +++ b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/converters/DurationConverter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.converters; import static com.swirlds.base.units.UnitConstants.DAYS_TO_HOURS; diff --git a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/converters/EnumConverter.java b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/converters/EnumConverter.java index 46138780ddc5..022498c7cdc9 100644 --- a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/converters/EnumConverter.java +++ b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/converters/EnumConverter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.converters; import com.swirlds.config.api.converter.ConfigConverter; diff --git a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/converters/FileConverter.java b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/converters/FileConverter.java index 0c8c2367c459..ff34dc320e4a 100644 --- a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/converters/FileConverter.java +++ b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/converters/FileConverter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.converters; import com.swirlds.config.api.converter.ConfigConverter; diff --git a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/converters/FloatConverter.java b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/converters/FloatConverter.java index bb58225afd56..26263a8d8cb5 100644 --- a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/converters/FloatConverter.java +++ b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/converters/FloatConverter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.converters; import com.swirlds.config.api.converter.ConfigConverter; diff --git a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/converters/InetAddressConverter.java b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/converters/InetAddressConverter.java index b95aa7570bdd..326e14fbcce2 100644 --- a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/converters/InetAddressConverter.java +++ b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/converters/InetAddressConverter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.converters; import com.swirlds.config.api.converter.ConfigConverter; diff --git a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/converters/IntegerConverter.java b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/converters/IntegerConverter.java index 758e88f3cd84..ca4302720b93 100644 --- a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/converters/IntegerConverter.java +++ b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/converters/IntegerConverter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.converters; import com.swirlds.config.api.converter.ConfigConverter; diff --git a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/converters/LongConverter.java b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/converters/LongConverter.java index 51b9fb6a9a94..4884d4a40b55 100644 --- a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/converters/LongConverter.java +++ b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/converters/LongConverter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.converters; import com.swirlds.config.api.converter.ConfigConverter; diff --git a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/converters/PathConverter.java b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/converters/PathConverter.java index 8e48bdda56ce..3b5c731e250d 100644 --- a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/converters/PathConverter.java +++ b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/converters/PathConverter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.converters; import com.swirlds.config.api.converter.ConfigConverter; diff --git a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/converters/ShortConverter.java b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/converters/ShortConverter.java index 1f566b42cc1f..6a2fadd56745 100644 --- a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/converters/ShortConverter.java +++ b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/converters/ShortConverter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.converters; import com.swirlds.config.api.converter.ConfigConverter; diff --git a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/converters/StringConverter.java b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/converters/StringConverter.java index 1fb5cabc2401..6f163144dea0 100644 --- a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/converters/StringConverter.java +++ b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/converters/StringConverter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.converters; import com.swirlds.config.api.converter.ConfigConverter; diff --git a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/converters/UriConverter.java b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/converters/UriConverter.java index 1f685f370543..5dc43344fd25 100644 --- a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/converters/UriConverter.java +++ b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/converters/UriConverter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.converters; import com.swirlds.config.api.converter.ConfigConverter; diff --git a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/converters/UrlConverter.java b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/converters/UrlConverter.java index d06b8b6b793f..e161b55f2b30 100644 --- a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/converters/UrlConverter.java +++ b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/converters/UrlConverter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.converters; import com.swirlds.config.api.converter.ConfigConverter; diff --git a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/converters/ZonedDateTimeConverter.java b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/converters/ZonedDateTimeConverter.java index 761fc9f8b028..8540e89abf21 100644 --- a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/converters/ZonedDateTimeConverter.java +++ b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/converters/ZonedDateTimeConverter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.converters; import com.swirlds.config.api.converter.ConfigConverter; diff --git a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/internal/ConfigDataFactory.java b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/internal/ConfigDataFactory.java index 568dc741fc83..78f535de6daa 100644 --- a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/internal/ConfigDataFactory.java +++ b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/internal/ConfigDataFactory.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.internal; import com.swirlds.config.api.ConfigData; diff --git a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/internal/ConfigDataService.java b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/internal/ConfigDataService.java index 6e777943e4a5..1a61fc6af358 100644 --- a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/internal/ConfigDataService.java +++ b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/internal/ConfigDataService.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.internal; import com.swirlds.config.api.Configuration; diff --git a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/internal/ConfigLifecycle.java b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/internal/ConfigLifecycle.java index 094bdb869546..077287c8ccc6 100644 --- a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/internal/ConfigLifecycle.java +++ b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/internal/ConfigLifecycle.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.internal; /** diff --git a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/internal/ConfigListUtils.java b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/internal/ConfigListUtils.java index 2be7ff801cf1..dbfa36ab16bb 100644 --- a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/internal/ConfigListUtils.java +++ b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/internal/ConfigListUtils.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.internal; import com.swirlds.config.api.Configuration; diff --git a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/internal/ConfigNumberUtils.java b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/internal/ConfigNumberUtils.java index 709ab52b1d25..838c3ad0a76d 100644 --- a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/internal/ConfigNumberUtils.java +++ b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/internal/ConfigNumberUtils.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.internal; import edu.umd.cs.findbugs.annotations.NonNull; diff --git a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/internal/ConfigPropertiesService.java b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/internal/ConfigPropertiesService.java index 0de835917336..a9d3466b5a34 100644 --- a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/internal/ConfigPropertiesService.java +++ b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/internal/ConfigPropertiesService.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.internal; import com.swirlds.base.ArgumentUtils; diff --git a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/internal/ConfigSourceService.java b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/internal/ConfigSourceService.java index b277b955644d..7a76d85ccca0 100644 --- a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/internal/ConfigSourceService.java +++ b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/internal/ConfigSourceService.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.internal; import com.swirlds.config.api.source.ConfigSource; diff --git a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/internal/ConfigValidationService.java b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/internal/ConfigValidationService.java index f555c7e34c96..5a86eeeda841 100644 --- a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/internal/ConfigValidationService.java +++ b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/internal/ConfigValidationService.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.internal; import com.swirlds.base.ArgumentUtils; diff --git a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/internal/ConfigurationBuilderFactoryImpl.java b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/internal/ConfigurationBuilderFactoryImpl.java index 6a48b1c1eae2..78bcce22a8c3 100644 --- a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/internal/ConfigurationBuilderFactoryImpl.java +++ b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/internal/ConfigurationBuilderFactoryImpl.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.internal; import com.google.auto.service.AutoService; diff --git a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/internal/ConfigurationBuilderImpl.java b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/internal/ConfigurationBuilderImpl.java index 84c7e7216442..898760c4f85d 100644 --- a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/internal/ConfigurationBuilderImpl.java +++ b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/internal/ConfigurationBuilderImpl.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.internal; import com.swirlds.config.api.Configuration; diff --git a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/internal/ConfigurationImpl.java b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/internal/ConfigurationImpl.java index 4c3112de006e..566d0154e53d 100644 --- a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/internal/ConfigurationImpl.java +++ b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/internal/ConfigurationImpl.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.internal; import com.swirlds.base.ArgumentUtils; diff --git a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/internal/ConstraintValidator.java b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/internal/ConstraintValidator.java index 1ddb928f62ef..19b7158324bf 100644 --- a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/internal/ConstraintValidator.java +++ b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/internal/ConstraintValidator.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.internal; import com.swirlds.base.ArgumentUtils; diff --git a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/internal/ConverterService.java b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/internal/ConverterService.java index 0d5723ac7d71..5f2350a9c7f8 100644 --- a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/internal/ConverterService.java +++ b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/internal/ConverterService.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.internal; import com.swirlds.config.api.converter.ConfigConverter; diff --git a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/internal/PropertyMetadataImpl.java b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/internal/PropertyMetadataImpl.java index 8b894b576868..312c10aece1a 100644 --- a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/internal/PropertyMetadataImpl.java +++ b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/internal/PropertyMetadataImpl.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.internal; import com.swirlds.config.api.converter.ConfigConverter; diff --git a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/validators/DefaultConfigViolation.java b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/validators/DefaultConfigViolation.java index f8254c5a6776..e21b59194d48 100644 --- a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/validators/DefaultConfigViolation.java +++ b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/validators/DefaultConfigViolation.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.validators; import com.swirlds.config.api.validation.ConfigViolation; diff --git a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/validators/MinConstraint.java b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/validators/MinConstraint.java index 8603195e5888..60683023834e 100644 --- a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/validators/MinConstraint.java +++ b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/validators/MinConstraint.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.validators; import com.swirlds.config.api.validation.ConfigPropertyConstraint; diff --git a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/validators/MinLengthConstraint.java b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/validators/MinLengthConstraint.java index 275e8204ecca..54bfee1c88b0 100644 --- a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/validators/MinLengthConstraint.java +++ b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/validators/MinLengthConstraint.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.validators; import com.swirlds.config.api.validation.ConfigPropertyConstraint; diff --git a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/validators/PropertyExistsConstraint.java b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/validators/PropertyExistsConstraint.java index ceaafa394964..a9cd6ca2e87a 100644 --- a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/validators/PropertyExistsConstraint.java +++ b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/validators/PropertyExistsConstraint.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.validators; import com.swirlds.config.api.validation.ConfigPropertyConstraint; diff --git a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/validators/PropertyValueConvertableConstraint.java b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/validators/PropertyValueConvertableConstraint.java index f3d8aba95ac9..2e538f7d5acb 100644 --- a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/validators/PropertyValueConvertableConstraint.java +++ b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/validators/PropertyValueConvertableConstraint.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.validators; import com.swirlds.config.api.converter.ConfigConverter; diff --git a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/validators/annotation/internal/ConstraintMethodConstraintsValidation.java b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/validators/annotation/internal/ConstraintMethodConstraintsValidation.java index e28fe375a127..d31153fc2b09 100644 --- a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/validators/annotation/internal/ConstraintMethodConstraintsValidation.java +++ b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/validators/annotation/internal/ConstraintMethodConstraintsValidation.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.validators.annotation.internal; import com.swirlds.config.api.Configuration; diff --git a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/validators/annotation/internal/MaxConstraintsValidation.java b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/validators/annotation/internal/MaxConstraintsValidation.java index 76aad075d1d7..8dffbfebe097 100644 --- a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/validators/annotation/internal/MaxConstraintsValidation.java +++ b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/validators/annotation/internal/MaxConstraintsValidation.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.validators.annotation.internal; import com.swirlds.config.api.Configuration; diff --git a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/validators/annotation/internal/MinConstraintsValidation.java b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/validators/annotation/internal/MinConstraintsValidation.java index c7fa06bd438f..45bcc489e3ce 100644 --- a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/validators/annotation/internal/MinConstraintsValidation.java +++ b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/validators/annotation/internal/MinConstraintsValidation.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.validators.annotation.internal; import com.swirlds.config.api.Configuration; diff --git a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/validators/annotation/internal/NegativeConstraintsValidation.java b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/validators/annotation/internal/NegativeConstraintsValidation.java index d988c6258bc1..12a8ed45f470 100644 --- a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/validators/annotation/internal/NegativeConstraintsValidation.java +++ b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/validators/annotation/internal/NegativeConstraintsValidation.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.validators.annotation.internal; import com.swirlds.config.api.Configuration; diff --git a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/validators/annotation/internal/PositiveConstraintsValidation.java b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/validators/annotation/internal/PositiveConstraintsValidation.java index 15e95642eed6..a3bc4660194b 100644 --- a/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/validators/annotation/internal/PositiveConstraintsValidation.java +++ b/platform-sdk/swirlds-config-impl/src/main/java/com/swirlds/config/impl/validators/annotation/internal/PositiveConstraintsValidation.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.validators.annotation.internal; import com.swirlds.config.api.Configuration; diff --git a/platform-sdk/swirlds-config-impl/src/main/java/module-info.java b/platform-sdk/swirlds-config-impl/src/main/java/module-info.java index 4587bc995650..ddd5d0907baf 100644 --- a/platform-sdk/swirlds-config-impl/src/main/java/module-info.java +++ b/platform-sdk/swirlds-config-impl/src/main/java/module-info.java @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 import com.swirlds.config.api.ConfigurationExtension; import com.swirlds.config.api.spi.ConfigurationBuilderFactory; import com.swirlds.config.impl.internal.ConfigurationBuilderFactoryImpl; diff --git a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/ConfigApiListTests.java b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/ConfigApiListTests.java index cd0c77ccef4b..e3fc20eca2a6 100644 --- a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/ConfigApiListTests.java +++ b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/ConfigApiListTests.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl; import static org.junit.jupiter.api.Assertions.assertEquals; diff --git a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/ConfigApiRecordsTests.java b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/ConfigApiRecordsTests.java index 692213cc58e2..edad38f47602 100644 --- a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/ConfigApiRecordsTests.java +++ b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/ConfigApiRecordsTests.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl; import static org.junit.jupiter.api.Assertions.assertEquals; diff --git a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/ConfigApiSetTests.java b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/ConfigApiSetTests.java index af0ca9e1ca2d..f3a0f0b12c6a 100644 --- a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/ConfigApiSetTests.java +++ b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/ConfigApiSetTests.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl; import static org.junit.jupiter.api.Assertions.assertEquals; diff --git a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/ConfigApiTests.java b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/ConfigApiTests.java index ca38fef9482e..335e6707b1eb 100644 --- a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/ConfigApiTests.java +++ b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/ConfigApiTests.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl; import static org.junit.jupiter.api.Assertions.assertEquals; diff --git a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/EmptyCollectionConfig.java b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/EmptyCollectionConfig.java index e8fae31b030c..0ba87f39ccda 100644 --- a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/EmptyCollectionConfig.java +++ b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/EmptyCollectionConfig.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl; import com.swirlds.config.api.ConfigData; diff --git a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/NetworkConfig.java b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/NetworkConfig.java index 0292a10b48bc..1b2a33059473 100644 --- a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/NetworkConfig.java +++ b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/NetworkConfig.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl; import com.swirlds.config.api.ConfigData; diff --git a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/NullConfig.java b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/NullConfig.java index 8dd22221899e..f96335f4ed54 100644 --- a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/NullConfig.java +++ b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/NullConfig.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl; import static com.swirlds.config.api.ConfigProperty.NULL_DEFAULT_VALUE; diff --git a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/TestDateConverter.java b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/TestDateConverter.java index cc9727d311d4..5dc3894442a6 100644 --- a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/TestDateConverter.java +++ b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/TestDateConverter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl; import com.swirlds.config.api.converter.ConfigConverter; diff --git a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/converters/BigDecimalConverterTest.java b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/converters/BigDecimalConverterTest.java index cb6383eaf102..be8f8f2b83a0 100644 --- a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/converters/BigDecimalConverterTest.java +++ b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/converters/BigDecimalConverterTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.converters; import java.math.BigDecimal; diff --git a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/converters/BigIntegerConverterTest.java b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/converters/BigIntegerConverterTest.java index 576f54bc60c0..722af1d27d7d 100644 --- a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/converters/BigIntegerConverterTest.java +++ b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/converters/BigIntegerConverterTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.converters; import java.math.BigInteger; diff --git a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/converters/BooleanConverterTest.java b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/converters/BooleanConverterTest.java index 72fb73e5aa31..2f65a5218582 100644 --- a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/converters/BooleanConverterTest.java +++ b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/converters/BooleanConverterTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.converters; import java.util.stream.Stream; diff --git a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/converters/ByteConverterTest.java b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/converters/ByteConverterTest.java index 8ad48644e1e3..50a56499bbf6 100644 --- a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/converters/ByteConverterTest.java +++ b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/converters/ByteConverterTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.converters; import org.junit.jupiter.api.Assertions; diff --git a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/converters/ChronoUnitConverterTest.java b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/converters/ChronoUnitConverterTest.java index c35ad37a3e2c..f27750de3400 100644 --- a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/converters/ChronoUnitConverterTest.java +++ b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/converters/ChronoUnitConverterTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.converters; import java.time.temporal.ChronoUnit; diff --git a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/converters/DoubleConverterTest.java b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/converters/DoubleConverterTest.java index 756763a832d0..36964ae53e08 100644 --- a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/converters/DoubleConverterTest.java +++ b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/converters/DoubleConverterTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.converters; import java.util.stream.Stream; diff --git a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/converters/DurationConverterTest.java b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/converters/DurationConverterTest.java index 2588fc2aeddc..1b491d4fbc01 100644 --- a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/converters/DurationConverterTest.java +++ b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/converters/DurationConverterTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.converters; import static com.swirlds.base.units.UnitConstants.DAYS_TO_HOURS; diff --git a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/converters/EnumConverterTest.java b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/converters/EnumConverterTest.java index d6621b29f0e0..a2b7904f6197 100644 --- a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/converters/EnumConverterTest.java +++ b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/converters/EnumConverterTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.converters; import java.util.function.Supplier; diff --git a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/converters/FileConverterTest.java b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/converters/FileConverterTest.java index 45e6e78b9fb3..fca8e121cf99 100644 --- a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/converters/FileConverterTest.java +++ b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/converters/FileConverterTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.converters; import java.io.File; diff --git a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/converters/FloatConverterTest.java b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/converters/FloatConverterTest.java index 395a41e0babe..af347042053f 100644 --- a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/converters/FloatConverterTest.java +++ b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/converters/FloatConverterTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.converters; import java.util.stream.Stream; diff --git a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/converters/IntegerConverterTest.java b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/converters/IntegerConverterTest.java index 945d6e644c1e..5dc273e51a95 100644 --- a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/converters/IntegerConverterTest.java +++ b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/converters/IntegerConverterTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.converters; import java.util.stream.Stream; diff --git a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/converters/LongConverterTest.java b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/converters/LongConverterTest.java index 2c772e62c871..df0d26f3ee9a 100644 --- a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/converters/LongConverterTest.java +++ b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/converters/LongConverterTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.converters; import org.junit.jupiter.api.Assertions; diff --git a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/converters/PathConverterTest.java b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/converters/PathConverterTest.java index 154ef63efaaa..046ea4f2a9a1 100644 --- a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/converters/PathConverterTest.java +++ b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/converters/PathConverterTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.converters; import java.nio.file.Path; diff --git a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/converters/ShortConverterTest.java b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/converters/ShortConverterTest.java index c9b2d162a9ff..2e04c197177a 100644 --- a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/converters/ShortConverterTest.java +++ b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/converters/ShortConverterTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.converters; import org.junit.jupiter.api.Assertions; diff --git a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/converters/UriConverterTest.java b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/converters/UriConverterTest.java index b86a4380af7a..f07783788ec5 100644 --- a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/converters/UriConverterTest.java +++ b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/converters/UriConverterTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.converters; import java.net.URI; diff --git a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/converters/UrlConverterTest.java b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/converters/UrlConverterTest.java index 01dd6e87edec..04e46f1409ed 100644 --- a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/converters/UrlConverterTest.java +++ b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/converters/UrlConverterTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.converters; import java.net.URL; diff --git a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/converters/ZonedDateTimeConverterTest.java b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/converters/ZonedDateTimeConverterTest.java index c69f6e43ebf7..450bfaffaf62 100644 --- a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/converters/ZonedDateTimeConverterTest.java +++ b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/converters/ZonedDateTimeConverterTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.converters; import com.swirlds.config.api.Configuration; diff --git a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/internal/ConfigNumberUtilsTest.java b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/internal/ConfigNumberUtilsTest.java index ce8b0732e8c9..3c56f42d020f 100644 --- a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/internal/ConfigNumberUtilsTest.java +++ b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/internal/ConfigNumberUtilsTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.internal; import org.junit.jupiter.api.Assertions; diff --git a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/internal/ConfigurationBuilderFactoryImplTest.java b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/internal/ConfigurationBuilderFactoryImplTest.java index 2c0578424e3b..36a09e1b7d07 100644 --- a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/internal/ConfigurationBuilderFactoryImplTest.java +++ b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/internal/ConfigurationBuilderFactoryImplTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.internal; import com.swirlds.common.config.BasicCommonConfig; diff --git a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/internal/ConverterServiceTest.java b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/internal/ConverterServiceTest.java index ad540c0a6026..e96a5da76f42 100644 --- a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/internal/ConverterServiceTest.java +++ b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/internal/ConverterServiceTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.internal; import com.swirlds.config.api.Configuration; diff --git a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/sub/TestConfig.java b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/sub/TestConfig.java index 3f44c04a7535..0314ffe21cbc 100644 --- a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/sub/TestConfig.java +++ b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/sub/TestConfig.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.sub; import com.swirlds.config.api.ConfigData; diff --git a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/validators/DummyMetadata.java b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/validators/DummyMetadata.java index 306c3403051c..e1666503e5bd 100644 --- a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/validators/DummyMetadata.java +++ b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/validators/DummyMetadata.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.validators; import com.swirlds.config.api.converter.ConfigConverter; diff --git a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/validators/MinConstraintTest.java b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/validators/MinConstraintTest.java index 3e21a2e7b7ab..220a5ad8d105 100644 --- a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/validators/MinConstraintTest.java +++ b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/validators/MinConstraintTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.validators; import com.swirlds.config.api.converter.ConfigConverter; diff --git a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/validators/MinLengthConstraintTest.java b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/validators/MinLengthConstraintTest.java index ecf5516923b7..b43067075b01 100644 --- a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/validators/MinLengthConstraintTest.java +++ b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/validators/MinLengthConstraintTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.validators; import com.swirlds.config.api.converter.ConfigConverter; diff --git a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/validators/PropertyExistsConstraintTest.java b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/validators/PropertyExistsConstraintTest.java index a4588d183e9b..1685b5c3ebe1 100644 --- a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/validators/PropertyExistsConstraintTest.java +++ b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/validators/PropertyExistsConstraintTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.validators; import com.swirlds.config.api.converter.ConfigConverter; diff --git a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/validators/PropertyValueConvertableConstraintTest.java b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/validators/PropertyValueConvertableConstraintTest.java index 7c8552c031e3..07b809396249 100644 --- a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/validators/PropertyValueConvertableConstraintTest.java +++ b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/validators/PropertyValueConvertableConstraintTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.validators; import com.swirlds.config.api.converter.ConfigConverter; diff --git a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/validators/annotation/BrokenConstraintMethodConfigData.java b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/validators/annotation/BrokenConstraintMethodConfigData.java index a4ab2dd5c4c7..b38b79c59c4e 100644 --- a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/validators/annotation/BrokenConstraintMethodConfigData.java +++ b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/validators/annotation/BrokenConstraintMethodConfigData.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.validators.annotation; import com.swirlds.config.api.ConfigData; diff --git a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/validators/annotation/ConstraintMethodConfigData.java b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/validators/annotation/ConstraintMethodConfigData.java index 448b0a13b106..9d344fc337f6 100644 --- a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/validators/annotation/ConstraintMethodConfigData.java +++ b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/validators/annotation/ConstraintMethodConfigData.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.validators.annotation; import com.swirlds.config.api.ConfigData; diff --git a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/validators/annotation/ConstraintMethodTest.java b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/validators/annotation/ConstraintMethodTest.java index 2a105f31149e..329be7705fa3 100644 --- a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/validators/annotation/ConstraintMethodTest.java +++ b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/validators/annotation/ConstraintMethodTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.validators.annotation; import com.swirlds.config.api.ConfigurationBuilder; diff --git a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/validators/annotation/MaxTest.java b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/validators/annotation/MaxTest.java index 3a47d24eb543..453c679a4a6b 100644 --- a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/validators/annotation/MaxTest.java +++ b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/validators/annotation/MaxTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.validators.annotation; import com.swirlds.config.api.ConfigurationBuilder; diff --git a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/validators/annotation/MaxTestConfigData.java b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/validators/annotation/MaxTestConfigData.java index 48fceb782766..cf2bd26927b9 100644 --- a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/validators/annotation/MaxTestConfigData.java +++ b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/validators/annotation/MaxTestConfigData.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.validators.annotation; import com.swirlds.config.api.ConfigData; diff --git a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/validators/annotation/MinTest.java b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/validators/annotation/MinTest.java index c68051e218c5..78064876d2f7 100644 --- a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/validators/annotation/MinTest.java +++ b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/validators/annotation/MinTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.validators.annotation; import com.swirlds.config.api.ConfigurationBuilder; diff --git a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/validators/annotation/MinTestConfigData.java b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/validators/annotation/MinTestConfigData.java index 7adf0924039f..3ca2f793c9aa 100644 --- a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/validators/annotation/MinTestConfigData.java +++ b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/validators/annotation/MinTestConfigData.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.validators.annotation; import com.swirlds.config.api.ConfigData; diff --git a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/validators/annotation/NegativeConfigData.java b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/validators/annotation/NegativeConfigData.java index e428addd34dc..78913a183cc2 100644 --- a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/validators/annotation/NegativeConfigData.java +++ b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/validators/annotation/NegativeConfigData.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.validators.annotation; import com.swirlds.config.api.ConfigData; diff --git a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/validators/annotation/NegativeTest.java b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/validators/annotation/NegativeTest.java index 0cf942bc5b89..a2f382b99732 100644 --- a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/validators/annotation/NegativeTest.java +++ b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/validators/annotation/NegativeTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.validators.annotation; import com.swirlds.config.api.ConfigurationBuilder; diff --git a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/validators/annotation/PositiveConfigData.java b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/validators/annotation/PositiveConfigData.java index 05670e67f0f9..e6b554b4f0c5 100644 --- a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/validators/annotation/PositiveConfigData.java +++ b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/validators/annotation/PositiveConfigData.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.validators.annotation; import com.swirlds.config.api.ConfigData; diff --git a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/validators/annotation/PositiveTest.java b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/validators/annotation/PositiveTest.java index da4e4401d50c..c237507baf34 100644 --- a/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/validators/annotation/PositiveTest.java +++ b/platform-sdk/swirlds-config-impl/src/test/java/com/swirlds/config/impl/validators/annotation/PositiveTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.impl.validators.annotation; import com.swirlds.config.api.ConfigurationBuilder; diff --git a/platform-sdk/swirlds-config-impl/src/test/resources/com/swirlds/config/impl/test.properties b/platform-sdk/swirlds-config-impl/src/test/resources/com/swirlds/config/impl/test.properties index 314c7b6fac50..b75073b62d86 100644 --- a/platform-sdk/swirlds-config-impl/src/test/resources/com/swirlds/config/impl/test.properties +++ b/platform-sdk/swirlds-config-impl/src/test/resources/com/swirlds/config/impl/test.properties @@ -15,4 +15,4 @@ # DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES. # -app.name=ConfigTest \ No newline at end of file +app.name=ConfigTest diff --git a/platform-sdk/swirlds-config-processor/src/main/java/com/swirlds/config/processor/ConfigDataAnnotationProcessor.java b/platform-sdk/swirlds-config-processor/src/main/java/com/swirlds/config/processor/ConfigDataAnnotationProcessor.java index 14ff1901a017..a94be1bf9114 100644 --- a/platform-sdk/swirlds-config-processor/src/main/java/com/swirlds/config/processor/ConfigDataAnnotationProcessor.java +++ b/platform-sdk/swirlds-config-processor/src/main/java/com/swirlds/config/processor/ConfigDataAnnotationProcessor.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.processor; import static com.swirlds.config.processor.ConfigProcessorConstants.CONSTANTS_CLASS_SUFFIX; diff --git a/platform-sdk/swirlds-config-processor/src/main/java/com/swirlds/config/processor/ConfigDataPropertyDefinition.java b/platform-sdk/swirlds-config-processor/src/main/java/com/swirlds/config/processor/ConfigDataPropertyDefinition.java index 9142913eb339..abfecb085732 100644 --- a/platform-sdk/swirlds-config-processor/src/main/java/com/swirlds/config/processor/ConfigDataPropertyDefinition.java +++ b/platform-sdk/swirlds-config-processor/src/main/java/com/swirlds/config/processor/ConfigDataPropertyDefinition.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.processor; import edu.umd.cs.findbugs.annotations.NonNull; diff --git a/platform-sdk/swirlds-config-processor/src/main/java/com/swirlds/config/processor/ConfigDataRecordDefinition.java b/platform-sdk/swirlds-config-processor/src/main/java/com/swirlds/config/processor/ConfigDataRecordDefinition.java index eab7ca935c72..9d43e6b86bcf 100644 --- a/platform-sdk/swirlds-config-processor/src/main/java/com/swirlds/config/processor/ConfigDataRecordDefinition.java +++ b/platform-sdk/swirlds-config-processor/src/main/java/com/swirlds/config/processor/ConfigDataRecordDefinition.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.processor; import edu.umd.cs.findbugs.annotations.NonNull; diff --git a/platform-sdk/swirlds-config-processor/src/main/java/com/swirlds/config/processor/ConfigProcessorConstants.java b/platform-sdk/swirlds-config-processor/src/main/java/com/swirlds/config/processor/ConfigProcessorConstants.java index 2e0f104e894e..3105d8734333 100644 --- a/platform-sdk/swirlds-config-processor/src/main/java/com/swirlds/config/processor/ConfigProcessorConstants.java +++ b/platform-sdk/swirlds-config-processor/src/main/java/com/swirlds/config/processor/ConfigProcessorConstants.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.processor; /** diff --git a/platform-sdk/swirlds-config-processor/src/main/java/com/swirlds/config/processor/ConstantClassFactory.java b/platform-sdk/swirlds-config-processor/src/main/java/com/swirlds/config/processor/ConstantClassFactory.java index 604636d1400d..384d580245b6 100644 --- a/platform-sdk/swirlds-config-processor/src/main/java/com/swirlds/config/processor/ConstantClassFactory.java +++ b/platform-sdk/swirlds-config-processor/src/main/java/com/swirlds/config/processor/ConstantClassFactory.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.processor; import com.squareup.javapoet.FieldSpec; diff --git a/platform-sdk/swirlds-config-processor/src/main/java/com/swirlds/config/processor/DocumentationFactory.java b/platform-sdk/swirlds-config-processor/src/main/java/com/swirlds/config/processor/DocumentationFactory.java index 5c2a353554f9..57f43c5c1c82 100644 --- a/platform-sdk/swirlds-config-processor/src/main/java/com/swirlds/config/processor/DocumentationFactory.java +++ b/platform-sdk/swirlds-config-processor/src/main/java/com/swirlds/config/processor/DocumentationFactory.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.processor; import static com.swirlds.config.processor.MarkdownSyntax.NEWLINE; diff --git a/platform-sdk/swirlds-config-processor/src/main/java/com/swirlds/config/processor/MarkdownSyntax.java b/platform-sdk/swirlds-config-processor/src/main/java/com/swirlds/config/processor/MarkdownSyntax.java index a8ae860d30f8..b2b3e356c9dc 100644 --- a/platform-sdk/swirlds-config-processor/src/main/java/com/swirlds/config/processor/MarkdownSyntax.java +++ b/platform-sdk/swirlds-config-processor/src/main/java/com/swirlds/config/processor/MarkdownSyntax.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.processor; public final class MarkdownSyntax { diff --git a/platform-sdk/swirlds-config-processor/src/main/java/com/swirlds/config/processor/antlr/AntlrConfigRecordParser.java b/platform-sdk/swirlds-config-processor/src/main/java/com/swirlds/config/processor/antlr/AntlrConfigRecordParser.java index d6ec2de3afcc..a93c1ae14ad2 100644 --- a/platform-sdk/swirlds-config-processor/src/main/java/com/swirlds/config/processor/antlr/AntlrConfigRecordParser.java +++ b/platform-sdk/swirlds-config-processor/src/main/java/com/swirlds/config/processor/antlr/AntlrConfigRecordParser.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.processor.antlr; import com.swirlds.config.api.ConfigData; diff --git a/platform-sdk/swirlds-config-processor/src/main/java/com/swirlds/config/processor/antlr/AntlrUtils.java b/platform-sdk/swirlds-config-processor/src/main/java/com/swirlds/config/processor/antlr/AntlrUtils.java index f51d40dffc41..b9e809242c83 100644 --- a/platform-sdk/swirlds-config-processor/src/main/java/com/swirlds/config/processor/antlr/AntlrUtils.java +++ b/platform-sdk/swirlds-config-processor/src/main/java/com/swirlds/config/processor/antlr/AntlrUtils.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.processor.antlr; import com.swirlds.config.processor.ConfigDataRecordDefinition; diff --git a/platform-sdk/swirlds-config-processor/src/main/java/com/swirlds/config/processor/antlr/generated/JavaLexer.java b/platform-sdk/swirlds-config-processor/src/main/java/com/swirlds/config/processor/antlr/generated/JavaLexer.java index 154dba36f5fa..35c18c143d79 100644 --- a/platform-sdk/swirlds-config-processor/src/main/java/com/swirlds/config/processor/antlr/generated/JavaLexer.java +++ b/platform-sdk/swirlds-config-processor/src/main/java/com/swirlds/config/processor/antlr/generated/JavaLexer.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.processor.antlr.generated; import org.antlr.v4.runtime.*; diff --git a/platform-sdk/swirlds-config-processor/src/main/java/com/swirlds/config/processor/antlr/generated/JavaParser.java b/platform-sdk/swirlds-config-processor/src/main/java/com/swirlds/config/processor/antlr/generated/JavaParser.java index 3e43534bd749..f7ea93acfd6a 100644 --- a/platform-sdk/swirlds-config-processor/src/main/java/com/swirlds/config/processor/antlr/generated/JavaParser.java +++ b/platform-sdk/swirlds-config-processor/src/main/java/com/swirlds/config/processor/antlr/generated/JavaParser.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.processor.antlr.generated; import java.util.List; diff --git a/platform-sdk/swirlds-config-processor/src/main/java/com/swirlds/config/processor/antlr/generated/JavaParserBaseListener.java b/platform-sdk/swirlds-config-processor/src/main/java/com/swirlds/config/processor/antlr/generated/JavaParserBaseListener.java index e3fdf91ac1d2..68d153a420c4 100644 --- a/platform-sdk/swirlds-config-processor/src/main/java/com/swirlds/config/processor/antlr/generated/JavaParserBaseListener.java +++ b/platform-sdk/swirlds-config-processor/src/main/java/com/swirlds/config/processor/antlr/generated/JavaParserBaseListener.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.processor.antlr.generated; import org.antlr.v4.runtime.ParserRuleContext; diff --git a/platform-sdk/swirlds-config-processor/src/main/java/com/swirlds/config/processor/antlr/generated/JavaParserListener.java b/platform-sdk/swirlds-config-processor/src/main/java/com/swirlds/config/processor/antlr/generated/JavaParserListener.java index 8a2cf7a4dc41..8c0361c9f0ae 100644 --- a/platform-sdk/swirlds-config-processor/src/main/java/com/swirlds/config/processor/antlr/generated/JavaParserListener.java +++ b/platform-sdk/swirlds-config-processor/src/main/java/com/swirlds/config/processor/antlr/generated/JavaParserListener.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.processor.antlr.generated; import org.antlr.v4.runtime.tree.ParseTreeListener; diff --git a/platform-sdk/swirlds-config-processor/src/main/java/com/swirlds/config/processor/antlr/generated/JavadocLexer.java b/platform-sdk/swirlds-config-processor/src/main/java/com/swirlds/config/processor/antlr/generated/JavadocLexer.java index 78acba8498b2..3873beb44845 100644 --- a/platform-sdk/swirlds-config-processor/src/main/java/com/swirlds/config/processor/antlr/generated/JavadocLexer.java +++ b/platform-sdk/swirlds-config-processor/src/main/java/com/swirlds/config/processor/antlr/generated/JavadocLexer.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.processor.antlr.generated; import org.antlr.v4.runtime.*; diff --git a/platform-sdk/swirlds-config-processor/src/main/java/com/swirlds/config/processor/antlr/generated/JavadocParser.java b/platform-sdk/swirlds-config-processor/src/main/java/com/swirlds/config/processor/antlr/generated/JavadocParser.java index 9ac084365484..619ff87cbe77 100644 --- a/platform-sdk/swirlds-config-processor/src/main/java/com/swirlds/config/processor/antlr/generated/JavadocParser.java +++ b/platform-sdk/swirlds-config-processor/src/main/java/com/swirlds/config/processor/antlr/generated/JavadocParser.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.processor.antlr.generated; import java.util.List; diff --git a/platform-sdk/swirlds-config-processor/src/main/java/com/swirlds/config/processor/antlr/generated/JavadocParserBaseListener.java b/platform-sdk/swirlds-config-processor/src/main/java/com/swirlds/config/processor/antlr/generated/JavadocParserBaseListener.java index e8f8aa602c2b..f1d7b3d2bc00 100644 --- a/platform-sdk/swirlds-config-processor/src/main/java/com/swirlds/config/processor/antlr/generated/JavadocParserBaseListener.java +++ b/platform-sdk/swirlds-config-processor/src/main/java/com/swirlds/config/processor/antlr/generated/JavadocParserBaseListener.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.processor.antlr.generated; import org.antlr.v4.runtime.ParserRuleContext; diff --git a/platform-sdk/swirlds-config-processor/src/main/java/com/swirlds/config/processor/antlr/generated/JavadocParserListener.java b/platform-sdk/swirlds-config-processor/src/main/java/com/swirlds/config/processor/antlr/generated/JavadocParserListener.java index 854115a33248..03859d10d59f 100644 --- a/platform-sdk/swirlds-config-processor/src/main/java/com/swirlds/config/processor/antlr/generated/JavadocParserListener.java +++ b/platform-sdk/swirlds-config-processor/src/main/java/com/swirlds/config/processor/antlr/generated/JavadocParserListener.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.processor.antlr.generated; import org.antlr.v4.runtime.tree.ParseTreeListener; diff --git a/platform-sdk/swirlds-config-processor/src/main/java/module-info.java b/platform-sdk/swirlds-config-processor/src/main/java/module-info.java index 8dce1a40f3d9..83280a3bc4e7 100644 --- a/platform-sdk/swirlds-config-processor/src/main/java/module-info.java +++ b/platform-sdk/swirlds-config-processor/src/main/java/module-info.java @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 module com.swirlds.config.processor { provides javax.annotation.processing.Processor with com.swirlds.config.processor.ConfigDataAnnotationProcessor; diff --git a/platform-sdk/swirlds-config-processor/src/test/java/com/swirlds/config/processor/DocumentationFactoryTest.java b/platform-sdk/swirlds-config-processor/src/test/java/com/swirlds/config/processor/DocumentationFactoryTest.java index d0894a5b49e7..b247498d7489 100644 --- a/platform-sdk/swirlds-config-processor/src/test/java/com/swirlds/config/processor/DocumentationFactoryTest.java +++ b/platform-sdk/swirlds-config-processor/src/test/java/com/swirlds/config/processor/DocumentationFactoryTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.config.processor; import com.swirlds.config.processor.antlr.AntlrConfigRecordParser; diff --git a/platform-sdk/swirlds-logging-log4j-appender/src/main/java/com/swirlds/logging/log4j/factory/BaseLogger.java b/platform-sdk/swirlds-logging-log4j-appender/src/main/java/com/swirlds/logging/log4j/factory/BaseLogger.java index 8a71eb1afc84..cb973650a127 100644 --- a/platform-sdk/swirlds-logging-log4j-appender/src/main/java/com/swirlds/logging/log4j/factory/BaseLogger.java +++ b/platform-sdk/swirlds-logging-log4j-appender/src/main/java/com/swirlds/logging/log4j/factory/BaseLogger.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.log4j.factory; import com.swirlds.logging.api.extensions.event.LogEvent; diff --git a/platform-sdk/swirlds-logging-log4j-appender/src/main/java/com/swirlds/logging/log4j/factory/BaseLoggerContext.java b/platform-sdk/swirlds-logging-log4j-appender/src/main/java/com/swirlds/logging/log4j/factory/BaseLoggerContext.java index 407d368c52d9..762cb2f8a223 100644 --- a/platform-sdk/swirlds-logging-log4j-appender/src/main/java/com/swirlds/logging/log4j/factory/BaseLoggerContext.java +++ b/platform-sdk/swirlds-logging-log4j-appender/src/main/java/com/swirlds/logging/log4j/factory/BaseLoggerContext.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.log4j.factory; import com.swirlds.logging.api.Level; diff --git a/platform-sdk/swirlds-logging-log4j-appender/src/main/java/com/swirlds/logging/log4j/factory/BaseLoggerContextFactory.java b/platform-sdk/swirlds-logging-log4j-appender/src/main/java/com/swirlds/logging/log4j/factory/BaseLoggerContextFactory.java index 35145550ee9e..768cafa30b8c 100644 --- a/platform-sdk/swirlds-logging-log4j-appender/src/main/java/com/swirlds/logging/log4j/factory/BaseLoggerContextFactory.java +++ b/platform-sdk/swirlds-logging-log4j-appender/src/main/java/com/swirlds/logging/log4j/factory/BaseLoggerContextFactory.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.log4j.factory; import edu.umd.cs.findbugs.annotations.NonNull; diff --git a/platform-sdk/swirlds-logging-log4j-appender/src/main/java/com/swirlds/logging/log4j/factory/BaseLoggingProvider.java b/platform-sdk/swirlds-logging-log4j-appender/src/main/java/com/swirlds/logging/log4j/factory/BaseLoggingProvider.java index 869be1a0ed0d..615a621bee96 100644 --- a/platform-sdk/swirlds-logging-log4j-appender/src/main/java/com/swirlds/logging/log4j/factory/BaseLoggingProvider.java +++ b/platform-sdk/swirlds-logging-log4j-appender/src/main/java/com/swirlds/logging/log4j/factory/BaseLoggingProvider.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.log4j.factory; import com.google.auto.service.AutoService; diff --git a/platform-sdk/swirlds-logging-log4j-appender/src/main/java/com/swirlds/logging/log4j/factory/EmergencyBaseLogger.java b/platform-sdk/swirlds-logging-log4j-appender/src/main/java/com/swirlds/logging/log4j/factory/EmergencyBaseLogger.java index f2a6e2d7f3d8..dd6eadcc19a7 100644 --- a/platform-sdk/swirlds-logging-log4j-appender/src/main/java/com/swirlds/logging/log4j/factory/EmergencyBaseLogger.java +++ b/platform-sdk/swirlds-logging-log4j-appender/src/main/java/com/swirlds/logging/log4j/factory/EmergencyBaseLogger.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.log4j.factory; import static com.swirlds.logging.log4j.factory.BaseLogger.convertLevel; diff --git a/platform-sdk/swirlds-logging-log4j-appender/src/main/java/com/swirlds/logging/log4j/factory/Log4JMessage.java b/platform-sdk/swirlds-logging-log4j-appender/src/main/java/com/swirlds/logging/log4j/factory/Log4JMessage.java index cb6b2393765a..e3a36f86df92 100644 --- a/platform-sdk/swirlds-logging-log4j-appender/src/main/java/com/swirlds/logging/log4j/factory/Log4JMessage.java +++ b/platform-sdk/swirlds-logging-log4j-appender/src/main/java/com/swirlds/logging/log4j/factory/Log4JMessage.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.log4j.factory; import com.swirlds.logging.api.extensions.event.LogMessage; diff --git a/platform-sdk/swirlds-logging-log4j-appender/src/main/java/com/swirlds/logging/log4j/factory/Log4JProvider.java b/platform-sdk/swirlds-logging-log4j-appender/src/main/java/com/swirlds/logging/log4j/factory/Log4JProvider.java index 54acff241078..2f02bfa3d8e0 100644 --- a/platform-sdk/swirlds-logging-log4j-appender/src/main/java/com/swirlds/logging/log4j/factory/Log4JProvider.java +++ b/platform-sdk/swirlds-logging-log4j-appender/src/main/java/com/swirlds/logging/log4j/factory/Log4JProvider.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.log4j.factory; import com.swirlds.config.api.Configuration; diff --git a/platform-sdk/swirlds-logging-log4j-appender/src/main/java/com/swirlds/logging/log4j/factory/Log4JProviderFactory.java b/platform-sdk/swirlds-logging-log4j-appender/src/main/java/com/swirlds/logging/log4j/factory/Log4JProviderFactory.java index 1cf4ab6388cc..66ffe4032b48 100644 --- a/platform-sdk/swirlds-logging-log4j-appender/src/main/java/com/swirlds/logging/log4j/factory/Log4JProviderFactory.java +++ b/platform-sdk/swirlds-logging-log4j-appender/src/main/java/com/swirlds/logging/log4j/factory/Log4JProviderFactory.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.log4j.factory; import com.google.auto.service.AutoService; diff --git a/platform-sdk/swirlds-logging-log4j-appender/src/main/java/module-info.java b/platform-sdk/swirlds-logging-log4j-appender/src/main/java/module-info.java index 2afd3fd5e140..917f37ffd558 100644 --- a/platform-sdk/swirlds-logging-log4j-appender/src/main/java/module-info.java +++ b/platform-sdk/swirlds-logging-log4j-appender/src/main/java/module-info.java @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 import com.swirlds.logging.api.extensions.provider.LogProviderFactory; import com.swirlds.logging.log4j.factory.BaseLoggingProvider; import com.swirlds.logging.log4j.factory.Log4JProviderFactory; diff --git a/platform-sdk/swirlds-logging-log4j-appender/src/test/java/com/swirlds/logging/log4j/factory/SwirldsLogAppenderTest.java b/platform-sdk/swirlds-logging-log4j-appender/src/test/java/com/swirlds/logging/log4j/factory/SwirldsLogAppenderTest.java index 1ee09c85653c..58a67e1f479e 100644 --- a/platform-sdk/swirlds-logging-log4j-appender/src/test/java/com/swirlds/logging/log4j/factory/SwirldsLogAppenderTest.java +++ b/platform-sdk/swirlds-logging-log4j-appender/src/test/java/com/swirlds/logging/log4j/factory/SwirldsLogAppenderTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.log4j.factory; import static org.assertj.core.api.Assertions.assertThat; diff --git a/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/Runner.java b/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/Runner.java index 4622a70b41dc..0d220557928e 100644 --- a/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/Runner.java +++ b/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/Runner.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.benchmark; import com.swirlds.logging.benchmark.swirldslog.SwirldsLogBenchmark; diff --git a/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/bridged/BridgedBenchmark.java b/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/bridged/BridgedBenchmark.java index b734c1ee7c01..d665d5cb52c9 100644 --- a/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/bridged/BridgedBenchmark.java +++ b/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/bridged/BridgedBenchmark.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.benchmark.bridged; import static com.swirlds.logging.benchmark.config.Constants.CONSOLE_AND_FILE_TYPE; diff --git a/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/bridged/BridgedFineGrainBenchmark.java b/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/bridged/BridgedFineGrainBenchmark.java index e1f9ee203fc3..1d32b2ef605c 100644 --- a/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/bridged/BridgedFineGrainBenchmark.java +++ b/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/bridged/BridgedFineGrainBenchmark.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.benchmark.bridged; import static com.swirlds.logging.benchmark.config.Constants.CONSOLE_AND_FILE_TYPE; diff --git a/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/bridged/BridgedLog4JConfiguration.java b/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/bridged/BridgedLog4JConfiguration.java index 44185ef6b6cb..48520ec0eaa8 100644 --- a/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/bridged/BridgedLog4JConfiguration.java +++ b/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/bridged/BridgedLog4JConfiguration.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.benchmark.bridged; import com.swirlds.logging.benchmark.log4j2.plain.Log4JConfig; diff --git a/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/bridged/BridgedSwirldsLogConfig.java b/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/bridged/BridgedSwirldsLogConfig.java index df1ef067b505..a2f12db2a761 100644 --- a/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/bridged/BridgedSwirldsLogConfig.java +++ b/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/bridged/BridgedSwirldsLogConfig.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.benchmark.bridged; import com.swirlds.config.api.Configuration; diff --git a/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/config/Constants.java b/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/config/Constants.java index f561e62148d0..219fb2a7534e 100644 --- a/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/config/Constants.java +++ b/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/config/Constants.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.benchmark.config; import java.util.UUID; diff --git a/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/config/LoggingBenchmarkConfig.java b/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/config/LoggingBenchmarkConfig.java index 55ad4e8b61a0..a8e9526c0c2d 100644 --- a/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/config/LoggingBenchmarkConfig.java +++ b/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/config/LoggingBenchmarkConfig.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.benchmark.config; import com.swirlds.logging.benchmark.util.ConfigManagement; diff --git a/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/log4j2/Log4J2BaseBenchmark.java b/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/log4j2/Log4J2BaseBenchmark.java index d25065a5b875..5d5901445558 100644 --- a/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/log4j2/Log4J2BaseBenchmark.java +++ b/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/log4j2/Log4J2BaseBenchmark.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.benchmark.log4j2; import static com.swirlds.logging.benchmark.config.Constants.CONSOLE_AND_FILE_TYPE; diff --git a/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/log4j2/Log4J2Benchmark.java b/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/log4j2/Log4J2Benchmark.java index 6857c067070c..60354a7b82ea 100644 --- a/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/log4j2/Log4J2Benchmark.java +++ b/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/log4j2/Log4J2Benchmark.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.benchmark.log4j2; import static com.swirlds.logging.benchmark.config.Constants.FORK_COUNT; diff --git a/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/log4j2/Log4J2FineGrainBenchmark.java b/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/log4j2/Log4J2FineGrainBenchmark.java index ed428f1064f8..e7f748ae99fe 100644 --- a/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/log4j2/Log4J2FineGrainBenchmark.java +++ b/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/log4j2/Log4J2FineGrainBenchmark.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.benchmark.log4j2; import static com.swirlds.logging.benchmark.config.Constants.FORK_COUNT; diff --git a/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/log4j2/Log4JBaseConfig.java b/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/log4j2/Log4JBaseConfig.java index 86ce12913825..d5a14d79a0cc 100644 --- a/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/log4j2/Log4JBaseConfig.java +++ b/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/log4j2/Log4JBaseConfig.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.benchmark.log4j2; import com.swirlds.logging.benchmark.config.LoggingBenchmarkConfig; diff --git a/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/log4j2/Log4JRunner.java b/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/log4j2/Log4JRunner.java index 36a9bf15d466..e82738c2d5ba 100644 --- a/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/log4j2/Log4JRunner.java +++ b/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/log4j2/Log4JRunner.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.benchmark.log4j2; import com.swirlds.logging.benchmark.config.Constants; diff --git a/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/log4j2/plain/Log4JConfig.java b/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/log4j2/plain/Log4JConfig.java index 4fc078b83970..d600beee3d3c 100644 --- a/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/log4j2/plain/Log4JConfig.java +++ b/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/log4j2/plain/Log4JConfig.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.benchmark.log4j2.plain; import com.swirlds.logging.benchmark.log4j2.Log4JBaseConfig; diff --git a/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/log4j2/rolling/Log4JRollingConfig.java b/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/log4j2/rolling/Log4JRollingConfig.java index 2a5c3ba9f202..2f26aeae1279 100644 --- a/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/log4j2/rolling/Log4JRollingConfig.java +++ b/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/log4j2/rolling/Log4JRollingConfig.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.benchmark.log4j2.rolling; import com.swirlds.logging.benchmark.log4j2.Log4JBaseConfig; diff --git a/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/swirldslog/SwirldsLogBaseBenchmark.java b/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/swirldslog/SwirldsLogBaseBenchmark.java index 8e69536f20d1..120878b557fc 100644 --- a/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/swirldslog/SwirldsLogBaseBenchmark.java +++ b/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/swirldslog/SwirldsLogBaseBenchmark.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.benchmark.swirldslog; import static com.swirlds.logging.benchmark.config.Constants.CONSOLE_AND_FILE_TYPE; diff --git a/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/swirldslog/SwirldsLogBenchmark.java b/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/swirldslog/SwirldsLogBenchmark.java index 232e1509c045..80127bf72d3b 100644 --- a/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/swirldslog/SwirldsLogBenchmark.java +++ b/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/swirldslog/SwirldsLogBenchmark.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.benchmark.swirldslog; import static com.swirlds.logging.benchmark.config.Constants.FORK_COUNT; diff --git a/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/swirldslog/SwirldsLogFineGrainBenchmark.java b/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/swirldslog/SwirldsLogFineGrainBenchmark.java index 6d7dd4e83eeb..5a64b8127785 100644 --- a/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/swirldslog/SwirldsLogFineGrainBenchmark.java +++ b/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/swirldslog/SwirldsLogFineGrainBenchmark.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.benchmark.swirldslog; import static com.swirlds.logging.benchmark.config.Constants.FORK_COUNT; diff --git a/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/swirldslog/SwirldsLogRunner.java b/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/swirldslog/SwirldsLogRunner.java index 5ef91fab3183..a1c398b39d11 100644 --- a/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/swirldslog/SwirldsLogRunner.java +++ b/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/swirldslog/SwirldsLogRunner.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.benchmark.swirldslog; import com.swirlds.logging.api.Level; diff --git a/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/swirldslog/plain/SwirldsLogConfig.java b/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/swirldslog/plain/SwirldsLogConfig.java index 0beda75ba549..8191edb97674 100644 --- a/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/swirldslog/plain/SwirldsLogConfig.java +++ b/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/swirldslog/plain/SwirldsLogConfig.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.benchmark.swirldslog.plain; import com.swirlds.config.api.Configuration; diff --git a/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/swirldslog/rolling/RollingSwirldsLogConfig.java b/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/swirldslog/rolling/RollingSwirldsLogConfig.java index b4834637ec80..a86f83771597 100644 --- a/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/swirldslog/rolling/RollingSwirldsLogConfig.java +++ b/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/swirldslog/rolling/RollingSwirldsLogConfig.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.benchmark.swirldslog.rolling; import com.swirlds.config.api.Configuration; diff --git a/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/util/ConfigManagement.java b/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/util/ConfigManagement.java index 86d02d7bcd7f..52048db8f90e 100644 --- a/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/util/ConfigManagement.java +++ b/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/util/ConfigManagement.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.benchmark.util; import com.swirlds.config.api.Configuration; diff --git a/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/util/LogFiles.java b/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/util/LogFiles.java index d5dfaf4d09e4..c31b09840a17 100644 --- a/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/util/LogFiles.java +++ b/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/util/LogFiles.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.benchmark.util; import edu.umd.cs.findbugs.annotations.NonNull; diff --git a/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/util/Throwables.java b/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/util/Throwables.java index 45bbd9bdec81..bda068d496b0 100644 --- a/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/util/Throwables.java +++ b/platform-sdk/swirlds-logging/src/jmh/java/com/swirlds/logging/benchmark/util/Throwables.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.benchmark.util; import edu.umd.cs.findbugs.annotations.NonNull; diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/Level.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/Level.java index b4e033e86a1e..6a4c9cbdd8aa 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/Level.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/Level.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.api; import com.swirlds.logging.api.extensions.emergency.EmergencyLogger; diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/Logger.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/Logger.java index a01df267fe72..91327873cf2c 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/Logger.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/Logger.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.api; import edu.umd.cs.findbugs.annotations.NonNull; diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/Loggers.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/Loggers.java index 09bb76d6cf81..395433c0dc00 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/Loggers.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/Loggers.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.api; import com.swirlds.logging.api.extensions.emergency.EmergencyLogger; diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/Marker.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/Marker.java index 1a695024cf63..ca8efed92580 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/Marker.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/Marker.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.api; import edu.umd.cs.findbugs.annotations.NonNull; diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/extensions/emergency/EmergencyLogger.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/extensions/emergency/EmergencyLogger.java index 826ceeabec00..ef064b99b7a4 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/extensions/emergency/EmergencyLogger.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/extensions/emergency/EmergencyLogger.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.api.extensions.emergency; import com.swirlds.logging.api.Level; diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/extensions/emergency/EmergencyLoggerProvider.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/extensions/emergency/EmergencyLoggerProvider.java index 45bef7fda293..034d35857302 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/extensions/emergency/EmergencyLoggerProvider.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/extensions/emergency/EmergencyLoggerProvider.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.api.extensions.emergency; import com.swirlds.logging.api.internal.emergency.EmergencyLoggerImpl; diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/extensions/emergency/package-info.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/extensions/emergency/package-info.java index 5e0520407ec1..c6204062d918 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/extensions/emergency/package-info.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/extensions/emergency/package-info.java @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /** * This package contains the API of the emergency logger. The emergency logger should be used in the logging api (and * extensions of the logging api) for logging. The emergency logger does not depend on the logging API and is defined in diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/extensions/event/LogEvent.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/extensions/event/LogEvent.java index a1065f3723db..c0d6587b9ea3 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/extensions/event/LogEvent.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/extensions/event/LogEvent.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.api.extensions.event; import com.swirlds.logging.api.Level; diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/extensions/event/LogEventConsumer.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/extensions/event/LogEventConsumer.java index 7c504a346ef5..e57cc9693683 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/extensions/event/LogEventConsumer.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/extensions/event/LogEventConsumer.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.api.extensions.event; import com.swirlds.logging.api.Level; diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/extensions/event/LogEventFactory.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/extensions/event/LogEventFactory.java index 07aeef2b9b6a..81a8d9c3fef8 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/extensions/event/LogEventFactory.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/extensions/event/LogEventFactory.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.api.extensions.event; import com.swirlds.logging.api.Level; diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/extensions/event/LogMessage.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/extensions/event/LogMessage.java index 3cf69c8fc455..e8939940d1bb 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/extensions/event/LogMessage.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/extensions/event/LogMessage.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.api.extensions.event; import com.swirlds.logging.api.extensions.provider.LogProvider; diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/extensions/event/package-info.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/extensions/event/package-info.java index b865bc41c0bf..a5805356525c 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/extensions/event/package-info.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/extensions/event/package-info.java @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /** * This package contains the API for the logging events. This is the used as the basic data model of the logging API and * must be used by any extension to handle or provide logging events. diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/extensions/handler/AbstractLogHandler.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/extensions/handler/AbstractLogHandler.java index a63539c92f37..d06f291af063 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/extensions/handler/AbstractLogHandler.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/extensions/handler/AbstractLogHandler.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.api.extensions.handler; import com.swirlds.config.api.Configuration; diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/extensions/handler/LogHandler.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/extensions/handler/LogHandler.java index f689537961ce..53813bd022b7 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/extensions/handler/LogHandler.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/extensions/handler/LogHandler.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.api.extensions.handler; import com.swirlds.config.api.Configuration; diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/extensions/handler/LogHandlerFactory.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/extensions/handler/LogHandlerFactory.java index 845bda11a939..d7483b89649c 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/extensions/handler/LogHandlerFactory.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/extensions/handler/LogHandlerFactory.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.api.extensions.handler; import com.swirlds.config.api.Configuration; diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/extensions/handler/package-info.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/extensions/handler/package-info.java index e1bbc1d63d39..056b3fd11001 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/extensions/handler/package-info.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/extensions/handler/package-info.java @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /** * This package contains the {@link com.swirlds.logging.api.extensions.handler.LogHandler} extension. This extension * allows to create custom logging handlers that can be used to handle logging events. Examples are a console handler diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/extensions/package-info.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/extensions/package-info.java index 27e494e3d276..0cb50db8e34b 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/extensions/package-info.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/extensions/package-info.java @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /** * This package (and all subpackages) contains the extension API of the logging framework. That API can be used to * create custom providers or handlers. diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/extensions/provider/AbstractLogProvider.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/extensions/provider/AbstractLogProvider.java index 6b0e104ef6c5..dba88c9ea218 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/extensions/provider/AbstractLogProvider.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/extensions/provider/AbstractLogProvider.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.api.extensions.provider; import com.swirlds.config.api.Configuration; diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/extensions/provider/LogProvider.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/extensions/provider/LogProvider.java index 225af8d8a14e..3fcfab7f6b31 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/extensions/provider/LogProvider.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/extensions/provider/LogProvider.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.api.extensions.provider; import com.swirlds.logging.api.extensions.event.LogEvent; diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/extensions/provider/LogProviderFactory.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/extensions/provider/LogProviderFactory.java index 0328912cba42..43348c9fd4c9 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/extensions/provider/LogProviderFactory.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/extensions/provider/LogProviderFactory.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.api.extensions.provider; import com.swirlds.config.api.Configuration; diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/extensions/provider/package-info.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/extensions/provider/package-info.java index bae2c84ecffb..21802d13d132 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/extensions/provider/package-info.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/extensions/provider/package-info.java @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /** * This package contains the {@link com.swirlds.logging.api.extensions.provider.LogProvider} extension. This extension * allows to create custom logging providers that can be used to provide logging events to the logging system. Examples diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/DefaultLoggingSystem.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/DefaultLoggingSystem.java index d1ae237d4a6a..d488c75f197a 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/DefaultLoggingSystem.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/DefaultLoggingSystem.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.api.internal; import com.swirlds.base.internal.BaseExecutorFactory; diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/LoggerImpl.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/LoggerImpl.java index 8e1c19173f38..6e3c9cc00418 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/LoggerImpl.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/LoggerImpl.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.api.internal; import com.swirlds.logging.api.Level; diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/LoggingSystem.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/LoggingSystem.java index 8b61704a193b..2ba9b0ee5b9f 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/LoggingSystem.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/LoggingSystem.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.api.internal; import com.swirlds.base.internal.BaseExecutorFactory; diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/configuration/ConfigLevelConverter.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/configuration/ConfigLevelConverter.java index f7d7361d3d5b..dce1a05fd139 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/configuration/ConfigLevelConverter.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/configuration/ConfigLevelConverter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.api.internal.configuration; import com.swirlds.config.api.converter.ConfigConverter; diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/configuration/InternalLoggingConfig.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/configuration/InternalLoggingConfig.java index a82f038d5694..e6226f9cef01 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/configuration/InternalLoggingConfig.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/configuration/InternalLoggingConfig.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.api.internal.configuration; import com.swirlds.config.api.ConfigData; diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/configuration/MarkerStateConverter.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/configuration/MarkerStateConverter.java index cae34187ae45..b176480eb760 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/configuration/MarkerStateConverter.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/configuration/MarkerStateConverter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.api.internal.configuration; import com.swirlds.config.api.converter.ConfigConverter; diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/emergency/EmergencyLoggerImpl.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/emergency/EmergencyLoggerImpl.java index 68ff4dfb66ee..d46683cd26ed 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/emergency/EmergencyLoggerImpl.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/emergency/EmergencyLoggerImpl.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.api.internal.emergency; import com.swirlds.logging.api.Level; diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/event/DefaultLogEvent.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/event/DefaultLogEvent.java index 05b01ef3900d..8aec2c18ab14 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/event/DefaultLogEvent.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/event/DefaultLogEvent.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.api.internal.event; import com.swirlds.logging.api.Level; diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/event/MutableLogEvent.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/event/MutableLogEvent.java index f4845feb93f2..c87d081b77e0 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/event/MutableLogEvent.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/event/MutableLogEvent.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.api.internal.event; import com.swirlds.logging.api.Level; diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/event/ParameterizedLogMessage.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/event/ParameterizedLogMessage.java index fb79a72cb35e..de0401d4c4ca 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/event/ParameterizedLogMessage.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/event/ParameterizedLogMessage.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.api.internal.event; import com.swirlds.logging.api.Level; diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/event/ReuseableLogEventFactory.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/event/ReuseableLogEventFactory.java index 2c8a82a60a80..b8d3420f8cb7 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/event/ReuseableLogEventFactory.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/event/ReuseableLogEventFactory.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.api.internal.event; import com.swirlds.base.context.internal.GlobalContext; diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/event/SimpleLogEventFactory.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/event/SimpleLogEventFactory.java index 39fb08089713..bea9722a893e 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/event/SimpleLogEventFactory.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/event/SimpleLogEventFactory.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.api.internal.event; import com.swirlds.base.context.internal.GlobalContext; diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/event/SimpleLogMessage.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/event/SimpleLogMessage.java index 147e060ddc95..b794c12d1a70 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/event/SimpleLogMessage.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/event/SimpleLogMessage.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.api.internal.event; import com.swirlds.logging.api.extensions.event.LogMessage; diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/format/EpochCachedFormatter.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/format/EpochCachedFormatter.java index c4f685d17395..2bb9d7874c20 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/format/EpochCachedFormatter.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/format/EpochCachedFormatter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.api.internal.format; import static com.swirlds.logging.utils.StringUtils.toPaddedDigitsString; diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/format/FormattedLinePrinter.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/format/FormattedLinePrinter.java index 2ef2402d56a1..2ae3fea64daf 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/format/FormattedLinePrinter.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/format/FormattedLinePrinter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.api.internal.format; import com.swirlds.config.api.Configuration; diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/format/ShrinkableSizeCache.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/format/ShrinkableSizeCache.java index 1aa9e204c828..ce9a9adc0a5e 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/format/ShrinkableSizeCache.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/format/ShrinkableSizeCache.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.api.internal.format; import com.swirlds.base.internal.BaseExecutorFactory; diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/format/StackTracePrinter.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/format/StackTracePrinter.java index d5548d738a74..b8616134c88b 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/format/StackTracePrinter.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/format/StackTracePrinter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.api.internal.format; import edu.umd.cs.findbugs.annotations.NonNull; diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/format/TimestampPrinter.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/format/TimestampPrinter.java index b401e285056b..4f2b29d66d05 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/format/TimestampPrinter.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/format/TimestampPrinter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.api.internal.format; import com.swirlds.logging.api.Level; diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/level/ConfigLevel.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/level/ConfigLevel.java index 4604f5279dd5..917736bcf168 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/level/ConfigLevel.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/level/ConfigLevel.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.api.internal.level; import com.swirlds.logging.api.Level; diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/level/HandlerLoggingLevelConfig.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/level/HandlerLoggingLevelConfig.java index 7f72f58b6eb2..bc6922aad563 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/level/HandlerLoggingLevelConfig.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/level/HandlerLoggingLevelConfig.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.api.internal.level; import com.swirlds.config.api.Configuration; diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/level/MarkerState.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/level/MarkerState.java index 51f47019d598..1c530ef72f7b 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/level/MarkerState.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/level/MarkerState.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.api.internal.level; /** diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/package-info.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/package-info.java index 68c64cbe2e9c..36cd5f74c59c 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/package-info.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/internal/package-info.java @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /** * This package contains the internal API of the logging system. The classes in this package are not intended to be used * by any other module. Only tests & benchmarks are allowed to access the package. diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/package-info.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/package-info.java index bb52f7b686a2..a5a4612fc711 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/package-info.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/api/package-info.java @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /** * The logging API is an abstraction layer for logging. It should be used for all logging operations. The API is based * on a plugin structure that allows to create custom {@link com.swirlds.logging.api.extensions.handler.LogHandler} and diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/console/ConsoleHandler.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/console/ConsoleHandler.java index a158689a9b6a..f380258dc25d 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/console/ConsoleHandler.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/console/ConsoleHandler.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.console; import com.swirlds.config.api.Configuration; diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/console/ConsoleHandlerFactory.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/console/ConsoleHandlerFactory.java index 06c16c26c2fe..a54b90e9d385 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/console/ConsoleHandlerFactory.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/console/ConsoleHandlerFactory.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.console; import com.google.auto.service.AutoService; diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/file/FileHandler.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/file/FileHandler.java index 0a06ad59da5d..2a63ed49911e 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/file/FileHandler.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/file/FileHandler.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.file; import com.swirlds.config.api.Configuration; diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/file/FileHandlerFactory.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/file/FileHandlerFactory.java index 93417ce8fd5b..4a8402d84e6c 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/file/FileHandlerFactory.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/file/FileHandlerFactory.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.file; import com.google.auto.service.AutoService; diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/io/BufferedOutputStream.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/io/BufferedOutputStream.java index 09c2d8a7526d..c03f62b7da78 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/io/BufferedOutputStream.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/io/BufferedOutputStream.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.io; import edu.umd.cs.findbugs.annotations.NonNull; diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/io/OutputStreamFactory.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/io/OutputStreamFactory.java index bacd70b198f7..5f5c298f928b 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/io/OutputStreamFactory.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/io/OutputStreamFactory.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.io; import static com.swirlds.logging.api.extensions.handler.LogHandler.PROPERTY_HANDLER; diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/io/RolloverFileOutputStream.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/io/RolloverFileOutputStream.java index 3c1cd470b360..9f92042edc58 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/io/RolloverFileOutputStream.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/io/RolloverFileOutputStream.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.io; import static com.swirlds.logging.utils.StringUtils.toPaddedDigitsString; diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/FilterActionPair.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/FilterActionPair.java index 4d5213534355..dd170bf8c01f 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/FilterActionPair.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/FilterActionPair.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.legacy; import java.util.function.Consumer; diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/LogMarker.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/LogMarker.java index e35e3288719e..5b9703b1633a 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/LogMarker.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/LogMarker.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.legacy; import org.apache.logging.log4j.Marker; diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/LogMarkerType.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/LogMarkerType.java index 47352ba89499..57ed4f558629 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/LogMarkerType.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/LogMarkerType.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.legacy; public enum LogMarkerType { diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/LoggingUtils.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/LoggingUtils.java index 2e4784457f17..536b1eac0b41 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/LoggingUtils.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/LoggingUtils.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.legacy; /** diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/PlatformLogMessages.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/PlatformLogMessages.java index b0626b5c688b..386db82f8f68 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/PlatformLogMessages.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/PlatformLogMessages.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.legacy; /** diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/SwirldsLogFileReader.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/SwirldsLogFileReader.java index 3241b1d0a802..df186cd28723 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/SwirldsLogFileReader.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/SwirldsLogFileReader.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.legacy; import java.io.BufferedReader; diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/SwirldsLogParser.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/SwirldsLogParser.java index 37184c059ecb..bd51b966f853 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/SwirldsLogParser.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/SwirldsLogParser.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.legacy; /** diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/SwirldsLogReader.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/SwirldsLogReader.java index e4fef98468e7..719148d7de28 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/SwirldsLogReader.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/SwirldsLogReader.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.legacy; import java.io.IOException; diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/json/HasAnyExceptionFilter.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/json/HasAnyExceptionFilter.java index 938c9782f659..1fbfb7f2a167 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/json/HasAnyExceptionFilter.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/json/HasAnyExceptionFilter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.legacy.json; import java.util.function.Predicate; diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/json/HasErrorMarkerFilter.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/json/HasErrorMarkerFilter.java index 12d2d301a421..39a9edbbd9e3 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/json/HasErrorMarkerFilter.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/json/HasErrorMarkerFilter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.legacy.json; import com.swirlds.logging.legacy.LogMarker; diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/json/HasExceptionFilter.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/json/HasExceptionFilter.java index 641c18e41de6..581f5729a028 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/json/HasExceptionFilter.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/json/HasExceptionFilter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.legacy.json; import java.util.Collections; diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/json/HasMarkerFilter.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/json/HasMarkerFilter.java index c5735191b87c..71b0011ee2a6 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/json/HasMarkerFilter.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/json/HasMarkerFilter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.legacy.json; import java.util.Collections; diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/json/JsonLogEntry.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/json/JsonLogEntry.java index 689858f4fdea..596298cc6f1a 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/json/JsonLogEntry.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/json/JsonLogEntry.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.legacy.json; import static com.swirlds.logging.legacy.payload.AbstractLogPayload.extractPayloadType; diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/json/JsonParser.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/json/JsonParser.java index 99e937348a57..e6f85244c930 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/json/JsonParser.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/json/JsonParser.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.legacy.json; import com.fasterxml.jackson.core.JsonFactory; diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/json/PayloadTypeFilter.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/json/PayloadTypeFilter.java index 647dba409e7a..b619fd3e9c73 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/json/PayloadTypeFilter.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/json/PayloadTypeFilter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.legacy.json; import static com.swirlds.logging.legacy.payload.AbstractLogPayload.extractPayloadType; diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/AbstractLogPayload.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/AbstractLogPayload.java index 060df6c33ebf..878fdaff6d89 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/AbstractLogPayload.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/AbstractLogPayload.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.legacy.payload; import com.fasterxml.jackson.annotation.JsonIgnore; diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/ActiveStateThresholdPayload.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/ActiveStateThresholdPayload.java index 17c61ca9433b..4d94c5c30379 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/ActiveStateThresholdPayload.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/ActiveStateThresholdPayload.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.legacy.payload; /** diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/ApplicationDualStatePayload.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/ApplicationDualStatePayload.java index 940891fa5129..7e0663c2b155 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/ApplicationDualStatePayload.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/ApplicationDualStatePayload.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.legacy.payload; import java.time.Instant; diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/ApplicationFinishedPayload.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/ApplicationFinishedPayload.java index ab203fa8d583..2d7cf0e0f650 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/ApplicationFinishedPayload.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/ApplicationFinishedPayload.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.legacy.payload; /** diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/CreateTransactionFailedPayload.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/CreateTransactionFailedPayload.java index be1c8d63de74..d17860dc9c38 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/CreateTransactionFailedPayload.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/CreateTransactionFailedPayload.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.legacy.payload; /** diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/FatalErrorPayload.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/FatalErrorPayload.java index 24886b11a540..3689a9bea389 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/FatalErrorPayload.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/FatalErrorPayload.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.legacy.payload; /** diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/GarbageCollectionQueuePayload.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/GarbageCollectionQueuePayload.java index 91abddbfb5f9..d3099012a603 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/GarbageCollectionQueuePayload.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/GarbageCollectionQueuePayload.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.legacy.payload; /** diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/InsufficientSignaturesPayload.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/InsufficientSignaturesPayload.java index 7ae844daa234..96cb9da5866b 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/InsufficientSignaturesPayload.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/InsufficientSignaturesPayload.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.legacy.payload; import edu.umd.cs.findbugs.annotations.NonNull; diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/IssPayload.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/IssPayload.java index 43f2d4f1c240..4597eca9ac54 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/IssPayload.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/IssPayload.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.legacy.payload; /** diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/IssResolvedPayload.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/IssResolvedPayload.java index bef45b4a4132..57994a3fc475 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/IssResolvedPayload.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/IssResolvedPayload.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.legacy.payload; /** diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/LogPayload.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/LogPayload.java index 6bbf8ad23c9a..2e7cb69f74fc 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/LogPayload.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/LogPayload.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.legacy.payload; /** diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/NodeAddressMismatchPayload.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/NodeAddressMismatchPayload.java index 677d5ae98a00..7435f305e14b 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/NodeAddressMismatchPayload.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/NodeAddressMismatchPayload.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.legacy.payload; /** diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/NodeStartPayload.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/NodeStartPayload.java index 82ab6229755c..d7bd212181c9 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/NodeStartPayload.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/NodeStartPayload.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.legacy.payload; /** diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/PayloadParsingException.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/PayloadParsingException.java index a85bfa45a8d3..7f3e826e33e6 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/PayloadParsingException.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/PayloadParsingException.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.legacy.payload; /** diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/PlatformStatusPayload.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/PlatformStatusPayload.java index 6f435e6e3315..67efb21d83b8 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/PlatformStatusPayload.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/PlatformStatusPayload.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.legacy.payload; /** diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/ReconnectDataUsagePayload.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/ReconnectDataUsagePayload.java index 1fbca73f917c..f22db667b4f4 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/ReconnectDataUsagePayload.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/ReconnectDataUsagePayload.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.legacy.payload; /** diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/ReconnectFailurePayload.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/ReconnectFailurePayload.java index 9d12328673eb..c7d4354b0c7e 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/ReconnectFailurePayload.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/ReconnectFailurePayload.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.legacy.payload; /** diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/ReconnectFinishPayload.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/ReconnectFinishPayload.java index bb74c336fb83..735c0aa7be32 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/ReconnectFinishPayload.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/ReconnectFinishPayload.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.legacy.payload; public class ReconnectFinishPayload extends AbstractLogPayload { diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/ReconnectLoadFailurePayload.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/ReconnectLoadFailurePayload.java index de5a4e85bbbe..47a3afab086e 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/ReconnectLoadFailurePayload.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/ReconnectLoadFailurePayload.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.legacy.payload; /** diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/ReconnectPeerInfoPayload.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/ReconnectPeerInfoPayload.java index dbd70f4cf33b..511ebf0c4cc2 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/ReconnectPeerInfoPayload.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/ReconnectPeerInfoPayload.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.legacy.payload; import java.util.LinkedList; diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/ReconnectStartPayload.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/ReconnectStartPayload.java index b83d58105cd9..8834990c0cc3 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/ReconnectStartPayload.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/ReconnectStartPayload.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.legacy.payload; /** diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/RecoveredStateSavedPayload.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/RecoveredStateSavedPayload.java index 79cb9414041f..4ed79b453b9e 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/RecoveredStateSavedPayload.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/RecoveredStateSavedPayload.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.legacy.payload; /** diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/SavedStateLoadedPayload.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/SavedStateLoadedPayload.java index af48d16c6401..26caa89ce58b 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/SavedStateLoadedPayload.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/SavedStateLoadedPayload.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.legacy.payload; import edu.umd.cs.findbugs.annotations.NonNull; diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/SetFreezeTimePayload.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/SetFreezeTimePayload.java index 5c7e4e1ff2e6..b90c7369f182 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/SetFreezeTimePayload.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/SetFreezeTimePayload.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.legacy.payload; import java.time.Instant; diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/SetLastFrozenTimePayload.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/SetLastFrozenTimePayload.java index 9a58bda02eb0..f73272a8555e 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/SetLastFrozenTimePayload.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/SetLastFrozenTimePayload.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.legacy.payload; import java.time.Instant; diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/SoftwareVersionPayload.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/SoftwareVersionPayload.java index fc8b06efdceb..eca76dc992d1 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/SoftwareVersionPayload.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/SoftwareVersionPayload.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.legacy.payload; /** diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/StateSavedToDiskPayload.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/StateSavedToDiskPayload.java index 582241811960..d6b5b19288ae 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/StateSavedToDiskPayload.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/StateSavedToDiskPayload.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.legacy.payload; import edu.umd.cs.findbugs.annotations.NonNull; diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/StreamParseErrorPayload.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/StreamParseErrorPayload.java index c722a7f659fb..18af429e56bd 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/StreamParseErrorPayload.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/StreamParseErrorPayload.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.legacy.payload; public class StreamParseErrorPayload extends AbstractLogPayload { diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/SynchronizationCompletePayload.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/SynchronizationCompletePayload.java index 738ebea3c614..25e317ed6c6f 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/SynchronizationCompletePayload.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/SynchronizationCompletePayload.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.legacy.payload; /** diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/SyntheticBottleneckFinishPayload.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/SyntheticBottleneckFinishPayload.java index 02c9c295d42e..03d751856cd7 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/SyntheticBottleneckFinishPayload.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/SyntheticBottleneckFinishPayload.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.legacy.payload; /** diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/SyntheticBottleneckStartPayload.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/SyntheticBottleneckStartPayload.java index 0273260a1e18..aa13a74a2bab 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/SyntheticBottleneckStartPayload.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/SyntheticBottleneckStartPayload.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.legacy.payload; /** diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/SystemExitPayload.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/SystemExitPayload.java index 37120a4e1762..0b03ed4b9259 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/SystemExitPayload.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/SystemExitPayload.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.legacy.payload; /** diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/UnableToReconnectPayload.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/UnableToReconnectPayload.java index c83542faebaa..044907f2fa66 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/UnableToReconnectPayload.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/legacy/payload/UnableToReconnectPayload.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.legacy.payload; /** diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/utils/ConfigUtils.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/utils/ConfigUtils.java index 9bbe77849426..fab75253532a 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/utils/ConfigUtils.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/utils/ConfigUtils.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.utils; import static com.swirlds.logging.utils.ConfigUtils.DataUnit.BYTE; diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/utils/FileUtils.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/utils/FileUtils.java index 616434ace887..0e7d56dc3110 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/utils/FileUtils.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/utils/FileUtils.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.utils; import edu.umd.cs.findbugs.annotations.NonNull; diff --git a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/utils/StringUtils.java b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/utils/StringUtils.java index 49d10a22bcdc..0a00ab3f6680 100644 --- a/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/utils/StringUtils.java +++ b/platform-sdk/swirlds-logging/src/main/java/com/swirlds/logging/utils/StringUtils.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.utils; /** diff --git a/platform-sdk/swirlds-logging/src/main/java/module-info.java b/platform-sdk/swirlds-logging/src/main/java/module-info.java index 5fad23e05482..cff0c606b5a8 100644 --- a/platform-sdk/swirlds-logging/src/main/java/module-info.java +++ b/platform-sdk/swirlds-logging/src/main/java/module-info.java @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 import com.swirlds.logging.api.extensions.handler.LogHandlerFactory; import com.swirlds.logging.api.extensions.provider.LogProviderFactory; import com.swirlds.logging.console.ConsoleHandlerFactory; diff --git a/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/EmergencyLoggerTest.java b/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/EmergencyLoggerTest.java index 50d7e37d0399..ffaed97f2749 100644 --- a/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/EmergencyLoggerTest.java +++ b/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/EmergencyLoggerTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging; import com.swirlds.base.test.fixtures.io.SystemErrProvider; diff --git a/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/LevelTest.java b/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/LevelTest.java index e6390f6c8e60..57708fd48831 100644 --- a/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/LevelTest.java +++ b/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/LevelTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging; import com.swirlds.logging.api.Level; diff --git a/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/LoggerApiSpecAssertions.java b/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/LoggerApiSpecAssertions.java index c4b1bd307a4f..a3d8bc8473e1 100644 --- a/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/LoggerApiSpecAssertions.java +++ b/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/LoggerApiSpecAssertions.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging; import com.swirlds.logging.api.Level; diff --git a/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/LoggerImplTest.java b/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/LoggerImplTest.java index 74038d1cef7d..e6ede378398c 100644 --- a/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/LoggerImplTest.java +++ b/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/LoggerImplTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging; import com.swirlds.base.test.fixtures.io.WithSystemError; diff --git a/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/LoggersTest.java b/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/LoggersTest.java index dda8c573809a..341a03aef45e 100644 --- a/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/LoggersTest.java +++ b/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/LoggersTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging; import com.swirlds.logging.api.Level; diff --git a/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/MarkerTest.java b/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/MarkerTest.java index eebd04256d23..e398165509a1 100644 --- a/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/MarkerTest.java +++ b/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/MarkerTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging; import com.swirlds.logging.api.Marker; diff --git a/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/api/internal/LoggingSystemTest.java b/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/api/internal/LoggingSystemTest.java index c31256c28a0c..1aa5cb0c0507 100644 --- a/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/api/internal/LoggingSystemTest.java +++ b/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/api/internal/LoggingSystemTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.api.internal; import static com.swirlds.base.test.fixtures.assertions.AssertionUtils.assertThrowsNPE; diff --git a/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/api/internal/format/EpochCachedFormatterTest.java b/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/api/internal/format/EpochCachedFormatterTest.java index 1b087469079d..03a90b4f7c9d 100644 --- a/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/api/internal/format/EpochCachedFormatterTest.java +++ b/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/api/internal/format/EpochCachedFormatterTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.api.internal.format; import static java.time.ZoneOffset.UTC; diff --git a/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/api/internal/format/ShrinkableSizeCacheTest.java b/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/api/internal/format/ShrinkableSizeCacheTest.java index 9e1bfc9ca1cd..e5c37b2d6c1c 100644 --- a/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/api/internal/format/ShrinkableSizeCacheTest.java +++ b/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/api/internal/format/ShrinkableSizeCacheTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.api.internal.format; import static java.util.stream.IntStream.rangeClosed; diff --git a/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/api/internal/format/StackTracePrinterTest.java b/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/api/internal/format/StackTracePrinterTest.java index 6d3d6de2352d..6a86a1e6db50 100644 --- a/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/api/internal/format/StackTracePrinterTest.java +++ b/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/api/internal/format/StackTracePrinterTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.api.internal.format; import static org.junit.jupiter.api.Assertions.*; diff --git a/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/api/internal/format/TimestampPrinterTest.java b/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/api/internal/format/TimestampPrinterTest.java index 4f21fc78c0b5..863c6958d2d5 100644 --- a/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/api/internal/format/TimestampPrinterTest.java +++ b/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/api/internal/format/TimestampPrinterTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.api.internal.format; import static java.time.ZoneOffset.UTC; diff --git a/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/io/BufferedOutputStreamTest.java b/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/io/BufferedOutputStreamTest.java index 0eaeaf6fb003..3e88905865c5 100644 --- a/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/io/BufferedOutputStreamTest.java +++ b/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/io/BufferedOutputStreamTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.io; import static org.assertj.core.api.Assertions.assertThat; diff --git a/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/io/RolloverFileOutputStreamTest.java b/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/io/RolloverFileOutputStreamTest.java index f01e780c894f..1668c0826075 100644 --- a/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/io/RolloverFileOutputStreamTest.java +++ b/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/io/RolloverFileOutputStreamTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.io; import static org.junit.jupiter.api.Assertions.assertEquals; diff --git a/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/legacy/DummyLogBuilder.java b/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/legacy/DummyLogBuilder.java index 9ca5f38e2fd3..281d030ac717 100644 --- a/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/legacy/DummyLogBuilder.java +++ b/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/legacy/DummyLogBuilder.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.legacy; import com.swirlds.logging.legacy.json.JsonLogEntry; diff --git a/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/legacy/DummyLogReader.java b/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/legacy/DummyLogReader.java index 4cdaa6229e23..8f5d3208a61e 100644 --- a/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/legacy/DummyLogReader.java +++ b/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/legacy/DummyLogReader.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.legacy; import com.swirlds.logging.legacy.json.JsonLogEntry; diff --git a/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/legacy/LoggingTests.java b/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/legacy/LoggingTests.java index 9a8f5ab038d4..347f842d23d4 100644 --- a/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/legacy/LoggingTests.java +++ b/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/legacy/LoggingTests.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.legacy; import static com.swirlds.logging.legacy.LogMarker.EXCEPTION; diff --git a/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/legacy/LoggingUtilsTest.java b/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/legacy/LoggingUtilsTest.java index 033c8a8a8f96..fd4b81d9c721 100644 --- a/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/legacy/LoggingUtilsTest.java +++ b/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/legacy/LoggingUtilsTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.legacy; import static com.swirlds.logging.legacy.LoggingUtils.plural; diff --git a/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/legacy/payloads/AbstractLogPayloadTest.java b/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/legacy/payloads/AbstractLogPayloadTest.java index 237c605727f3..bfd2ac12ed63 100644 --- a/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/legacy/payloads/AbstractLogPayloadTest.java +++ b/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/legacy/payloads/AbstractLogPayloadTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.legacy.payloads; import static org.junit.jupiter.api.Assertions.assertEquals; diff --git a/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/legacy/payloads/FreezeTimePayloadTest.java b/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/legacy/payloads/FreezeTimePayloadTest.java index cb5b0087731a..02ea41a7b43f 100644 --- a/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/legacy/payloads/FreezeTimePayloadTest.java +++ b/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/legacy/payloads/FreezeTimePayloadTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2021-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.legacy.payloads; import static org.junit.jupiter.api.Assertions.assertEquals; diff --git a/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/legacy/payloads/ReconnectPeerInfoPayloadTest.java b/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/legacy/payloads/ReconnectPeerInfoPayloadTest.java index be89a65536fb..47789adc3f6d 100644 --- a/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/legacy/payloads/ReconnectPeerInfoPayloadTest.java +++ b/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/legacy/payloads/ReconnectPeerInfoPayloadTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2021-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.legacy.payloads; import static org.junit.jupiter.api.Assertions.assertEquals; diff --git a/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/test/api/internal/level/HandlerLoggingLevelConfigTest.java b/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/test/api/internal/level/HandlerLoggingLevelConfigTest.java index 7cc8f6913d95..e8bb9a4d0482 100644 --- a/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/test/api/internal/level/HandlerLoggingLevelConfigTest.java +++ b/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/test/api/internal/level/HandlerLoggingLevelConfigTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.test.api.internal.level; import static org.assertj.core.api.Assertions.assertThat; diff --git a/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/test/fixtures/internal/FilteredLoggingMirrorTest.java b/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/test/fixtures/internal/FilteredLoggingMirrorTest.java index 01812c983eff..430ad6e80d0d 100644 --- a/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/test/fixtures/internal/FilteredLoggingMirrorTest.java +++ b/platform-sdk/swirlds-logging/src/test/java/com/swirlds/logging/test/fixtures/internal/FilteredLoggingMirrorTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.test.fixtures.internal; import static org.assertj.core.api.Assertions.assertThat; diff --git a/platform-sdk/swirlds-logging/src/testFixtures/java/com/swirlds/logging/test/fixtures/InMemoryHandler.java b/platform-sdk/swirlds-logging/src/testFixtures/java/com/swirlds/logging/test/fixtures/InMemoryHandler.java index c07784c2dae7..b801146e4192 100644 --- a/platform-sdk/swirlds-logging/src/testFixtures/java/com/swirlds/logging/test/fixtures/InMemoryHandler.java +++ b/platform-sdk/swirlds-logging/src/testFixtures/java/com/swirlds/logging/test/fixtures/InMemoryHandler.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.test.fixtures; import com.swirlds.config.api.Configuration; diff --git a/platform-sdk/swirlds-logging/src/testFixtures/java/com/swirlds/logging/test/fixtures/LoggingMirror.java b/platform-sdk/swirlds-logging/src/testFixtures/java/com/swirlds/logging/test/fixtures/LoggingMirror.java index 0d15cf5507d1..373861cfc817 100644 --- a/platform-sdk/swirlds-logging/src/testFixtures/java/com/swirlds/logging/test/fixtures/LoggingMirror.java +++ b/platform-sdk/swirlds-logging/src/testFixtures/java/com/swirlds/logging/test/fixtures/LoggingMirror.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.test.fixtures; import com.swirlds.logging.api.Level; diff --git a/platform-sdk/swirlds-logging/src/testFixtures/java/com/swirlds/logging/test/fixtures/WithLoggingMirror.java b/platform-sdk/swirlds-logging/src/testFixtures/java/com/swirlds/logging/test/fixtures/WithLoggingMirror.java index da6cf5fa732f..fcadd7d91dd8 100644 --- a/platform-sdk/swirlds-logging/src/testFixtures/java/com/swirlds/logging/test/fixtures/WithLoggingMirror.java +++ b/platform-sdk/swirlds-logging/src/testFixtures/java/com/swirlds/logging/test/fixtures/WithLoggingMirror.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.test.fixtures; import com.swirlds.logging.test.fixtures.internal.LoggerMirrorExtension; diff --git a/platform-sdk/swirlds-logging/src/testFixtures/java/com/swirlds/logging/test/fixtures/internal/FilteredLoggingMirror.java b/platform-sdk/swirlds-logging/src/testFixtures/java/com/swirlds/logging/test/fixtures/internal/FilteredLoggingMirror.java index 08b06634d60e..ec5161eff38a 100644 --- a/platform-sdk/swirlds-logging/src/testFixtures/java/com/swirlds/logging/test/fixtures/internal/FilteredLoggingMirror.java +++ b/platform-sdk/swirlds-logging/src/testFixtures/java/com/swirlds/logging/test/fixtures/internal/FilteredLoggingMirror.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.test.fixtures.internal; import com.swirlds.logging.api.extensions.event.LogEvent; diff --git a/platform-sdk/swirlds-logging/src/testFixtures/java/com/swirlds/logging/test/fixtures/internal/LoggerMirrorExtension.java b/platform-sdk/swirlds-logging/src/testFixtures/java/com/swirlds/logging/test/fixtures/internal/LoggerMirrorExtension.java index 4218691ac495..be9fc089f251 100644 --- a/platform-sdk/swirlds-logging/src/testFixtures/java/com/swirlds/logging/test/fixtures/internal/LoggerMirrorExtension.java +++ b/platform-sdk/swirlds-logging/src/testFixtures/java/com/swirlds/logging/test/fixtures/internal/LoggerMirrorExtension.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.test.fixtures.internal; import com.swirlds.base.test.fixtures.util.TestInjector; diff --git a/platform-sdk/swirlds-logging/src/testFixtures/java/com/swirlds/logging/test/fixtures/internal/LoggingMirrorImpl.java b/platform-sdk/swirlds-logging/src/testFixtures/java/com/swirlds/logging/test/fixtures/internal/LoggingMirrorImpl.java index 965dcea2a1c9..93d3d3eab69f 100644 --- a/platform-sdk/swirlds-logging/src/testFixtures/java/com/swirlds/logging/test/fixtures/internal/LoggingMirrorImpl.java +++ b/platform-sdk/swirlds-logging/src/testFixtures/java/com/swirlds/logging/test/fixtures/internal/LoggingMirrorImpl.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.test.fixtures.internal; import com.swirlds.logging.api.Level; diff --git a/platform-sdk/swirlds-logging/src/testFixtures/java/com/swirlds/logging/test/fixtures/internal/package-info.java b/platform-sdk/swirlds-logging/src/testFixtures/java/com/swirlds/logging/test/fixtures/internal/package-info.java index baf5e7101c39..4fd280cdc064 100644 --- a/platform-sdk/swirlds-logging/src/testFixtures/java/com/swirlds/logging/test/fixtures/internal/package-info.java +++ b/platform-sdk/swirlds-logging/src/testFixtures/java/com/swirlds/logging/test/fixtures/internal/package-info.java @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /** * Internal classes for the implementation of the {@link com.swirlds.logging.test.fixtures.WithLoggingMirror} * extension. diff --git a/platform-sdk/swirlds-logging/src/testFixtures/java/com/swirlds/logging/test/fixtures/util/LoggingSystemTestOrchestrator.java b/platform-sdk/swirlds-logging/src/testFixtures/java/com/swirlds/logging/test/fixtures/util/LoggingSystemTestOrchestrator.java index 787ac5b4d35b..90f554befda2 100644 --- a/platform-sdk/swirlds-logging/src/testFixtures/java/com/swirlds/logging/test/fixtures/util/LoggingSystemTestOrchestrator.java +++ b/platform-sdk/swirlds-logging/src/testFixtures/java/com/swirlds/logging/test/fixtures/util/LoggingSystemTestOrchestrator.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.test.fixtures.util; import com.swirlds.logging.api.internal.LoggingSystem; diff --git a/platform-sdk/swirlds-logging/src/testFixtures/java/com/swirlds/logging/test/fixtures/util/LoggingTestScenario.java b/platform-sdk/swirlds-logging/src/testFixtures/java/com/swirlds/logging/test/fixtures/util/LoggingTestScenario.java index 976970b6331a..a47834807ae6 100644 --- a/platform-sdk/swirlds-logging/src/testFixtures/java/com/swirlds/logging/test/fixtures/util/LoggingTestScenario.java +++ b/platform-sdk/swirlds-logging/src/testFixtures/java/com/swirlds/logging/test/fixtures/util/LoggingTestScenario.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.test.fixtures.util; import com.swirlds.config.api.Configuration; diff --git a/platform-sdk/swirlds-logging/src/testFixtures/java/com/swirlds/logging/test/fixtures/util/LoggingTestUtils.java b/platform-sdk/swirlds-logging/src/testFixtures/java/com/swirlds/logging/test/fixtures/util/LoggingTestUtils.java index 65ed525d3bf5..037255222018 100644 --- a/platform-sdk/swirlds-logging/src/testFixtures/java/com/swirlds/logging/test/fixtures/util/LoggingTestUtils.java +++ b/platform-sdk/swirlds-logging/src/testFixtures/java/com/swirlds/logging/test/fixtures/util/LoggingTestUtils.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.test.fixtures.util; import com.swirlds.config.api.Configuration; diff --git a/platform-sdk/swirlds-logging/src/testFixtures/java/com/swirlds/logging/test/fixtures/util/Throwables.java b/platform-sdk/swirlds-logging/src/testFixtures/java/com/swirlds/logging/test/fixtures/util/Throwables.java index bf84d68da51c..23d8b1d5c6da 100644 --- a/platform-sdk/swirlds-logging/src/testFixtures/java/com/swirlds/logging/test/fixtures/util/Throwables.java +++ b/platform-sdk/swirlds-logging/src/testFixtures/java/com/swirlds/logging/test/fixtures/util/Throwables.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging.test.fixtures.util; /** diff --git a/platform-sdk/swirlds-logging/src/testFixtures/java/module-info.java b/platform-sdk/swirlds-logging/src/testFixtures/java/module-info.java index 0026637b2f0a..6f1e91bb382b 100644 --- a/platform-sdk/swirlds-logging/src/testFixtures/java/module-info.java +++ b/platform-sdk/swirlds-logging/src/testFixtures/java/module-info.java @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 open module com.swirlds.logging.test.fixtures { exports com.swirlds.logging.test.fixtures; diff --git a/platform-sdk/swirlds-logging/src/timingSensitive/java/com/swirlds/logging/LoggingSystemStressTest.java b/platform-sdk/swirlds-logging/src/timingSensitive/java/com/swirlds/logging/LoggingSystemStressTest.java index 2c7c5503d9da..752abc62b404 100644 --- a/platform-sdk/swirlds-logging/src/timingSensitive/java/com/swirlds/logging/LoggingSystemStressTest.java +++ b/platform-sdk/swirlds-logging/src/timingSensitive/java/com/swirlds/logging/LoggingSystemStressTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.logging; import static com.swirlds.logging.test.fixtures.util.LoggingTestUtils.EXPECTED_STATEMENTS; diff --git a/platform-sdk/swirlds-metrics-api/src/main/java/com/swirlds/metrics/api/Counter.java b/platform-sdk/swirlds-metrics-api/src/main/java/com/swirlds/metrics/api/Counter.java index 442f63b73ad5..2817e4624814 100644 --- a/platform-sdk/swirlds-metrics-api/src/main/java/com/swirlds/metrics/api/Counter.java +++ b/platform-sdk/swirlds-metrics-api/src/main/java/com/swirlds/metrics/api/Counter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.metrics.api; import static com.swirlds.metrics.api.Metric.ValueType.VALUE; diff --git a/platform-sdk/swirlds-metrics-api/src/main/java/com/swirlds/metrics/api/DoubleAccumulator.java b/platform-sdk/swirlds-metrics-api/src/main/java/com/swirlds/metrics/api/DoubleAccumulator.java index a6c27803571b..d984da7e9fca 100644 --- a/platform-sdk/swirlds-metrics-api/src/main/java/com/swirlds/metrics/api/DoubleAccumulator.java +++ b/platform-sdk/swirlds-metrics-api/src/main/java/com/swirlds/metrics/api/DoubleAccumulator.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.metrics.api; import static com.swirlds.metrics.api.FloatFormats.FORMAT_11_3; diff --git a/platform-sdk/swirlds-metrics-api/src/main/java/com/swirlds/metrics/api/DoubleGauge.java b/platform-sdk/swirlds-metrics-api/src/main/java/com/swirlds/metrics/api/DoubleGauge.java index beb6b58226f9..d44524678632 100644 --- a/platform-sdk/swirlds-metrics-api/src/main/java/com/swirlds/metrics/api/DoubleGauge.java +++ b/platform-sdk/swirlds-metrics-api/src/main/java/com/swirlds/metrics/api/DoubleGauge.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.metrics.api; import static com.swirlds.metrics.api.Metric.ValueType.VALUE; diff --git a/platform-sdk/swirlds-metrics-api/src/main/java/com/swirlds/metrics/api/FloatFormats.java b/platform-sdk/swirlds-metrics-api/src/main/java/com/swirlds/metrics/api/FloatFormats.java index 8b713793de9e..6068bfe9dd81 100644 --- a/platform-sdk/swirlds-metrics-api/src/main/java/com/swirlds/metrics/api/FloatFormats.java +++ b/platform-sdk/swirlds-metrics-api/src/main/java/com/swirlds/metrics/api/FloatFormats.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.metrics.api; public final class FloatFormats { diff --git a/platform-sdk/swirlds-metrics-api/src/main/java/com/swirlds/metrics/api/IntegerAccumulator.java b/platform-sdk/swirlds-metrics-api/src/main/java/com/swirlds/metrics/api/IntegerAccumulator.java index 3ea80c1d302b..494323f3c5ff 100644 --- a/platform-sdk/swirlds-metrics-api/src/main/java/com/swirlds/metrics/api/IntegerAccumulator.java +++ b/platform-sdk/swirlds-metrics-api/src/main/java/com/swirlds/metrics/api/IntegerAccumulator.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.metrics.api; import static com.swirlds.metrics.api.Metric.ValueType.VALUE; diff --git a/platform-sdk/swirlds-metrics-api/src/main/java/com/swirlds/metrics/api/IntegerGauge.java b/platform-sdk/swirlds-metrics-api/src/main/java/com/swirlds/metrics/api/IntegerGauge.java index 6497c874b23b..aefeb3f8935b 100644 --- a/platform-sdk/swirlds-metrics-api/src/main/java/com/swirlds/metrics/api/IntegerGauge.java +++ b/platform-sdk/swirlds-metrics-api/src/main/java/com/swirlds/metrics/api/IntegerGauge.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.metrics.api; import static com.swirlds.metrics.api.Metric.ValueType.VALUE; diff --git a/platform-sdk/swirlds-metrics-api/src/main/java/com/swirlds/metrics/api/LongAccumulator.java b/platform-sdk/swirlds-metrics-api/src/main/java/com/swirlds/metrics/api/LongAccumulator.java index 0ef2f205bbab..8fc61ca3b558 100644 --- a/platform-sdk/swirlds-metrics-api/src/main/java/com/swirlds/metrics/api/LongAccumulator.java +++ b/platform-sdk/swirlds-metrics-api/src/main/java/com/swirlds/metrics/api/LongAccumulator.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.metrics.api; import static com.swirlds.metrics.api.Metric.ValueType.VALUE; diff --git a/platform-sdk/swirlds-metrics-api/src/main/java/com/swirlds/metrics/api/LongGauge.java b/platform-sdk/swirlds-metrics-api/src/main/java/com/swirlds/metrics/api/LongGauge.java index c839b0a68139..166f8c5324a8 100644 --- a/platform-sdk/swirlds-metrics-api/src/main/java/com/swirlds/metrics/api/LongGauge.java +++ b/platform-sdk/swirlds-metrics-api/src/main/java/com/swirlds/metrics/api/LongGauge.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.metrics.api; import static com.swirlds.metrics.api.Metric.ValueType.VALUE; diff --git a/platform-sdk/swirlds-metrics-api/src/main/java/com/swirlds/metrics/api/Metric.java b/platform-sdk/swirlds-metrics-api/src/main/java/com/swirlds/metrics/api/Metric.java index ab75c5bde0dc..dee265b662e4 100644 --- a/platform-sdk/swirlds-metrics-api/src/main/java/com/swirlds/metrics/api/Metric.java +++ b/platform-sdk/swirlds-metrics-api/src/main/java/com/swirlds/metrics/api/Metric.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.metrics.api; import edu.umd.cs.findbugs.annotations.NonNull; diff --git a/platform-sdk/swirlds-metrics-api/src/main/java/com/swirlds/metrics/api/MetricConfig.java b/platform-sdk/swirlds-metrics-api/src/main/java/com/swirlds/metrics/api/MetricConfig.java index 4b19c46d733d..4f2e426923e8 100644 --- a/platform-sdk/swirlds-metrics-api/src/main/java/com/swirlds/metrics/api/MetricConfig.java +++ b/platform-sdk/swirlds-metrics-api/src/main/java/com/swirlds/metrics/api/MetricConfig.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.metrics.api; import com.swirlds.base.ArgumentUtils; diff --git a/platform-sdk/swirlds-metrics-api/src/main/java/com/swirlds/metrics/api/MetricType.java b/platform-sdk/swirlds-metrics-api/src/main/java/com/swirlds/metrics/api/MetricType.java index 30387779e238..dc9229e103b4 100644 --- a/platform-sdk/swirlds-metrics-api/src/main/java/com/swirlds/metrics/api/MetricType.java +++ b/platform-sdk/swirlds-metrics-api/src/main/java/com/swirlds/metrics/api/MetricType.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.metrics.api; /** diff --git a/platform-sdk/swirlds-metrics-api/src/main/java/com/swirlds/metrics/api/MetricTypes.java b/platform-sdk/swirlds-metrics-api/src/main/java/com/swirlds/metrics/api/MetricTypes.java index 79ff10723b3d..b65ae0d0480a 100644 --- a/platform-sdk/swirlds-metrics-api/src/main/java/com/swirlds/metrics/api/MetricTypes.java +++ b/platform-sdk/swirlds-metrics-api/src/main/java/com/swirlds/metrics/api/MetricTypes.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.metrics.api; public final class MetricTypes { diff --git a/platform-sdk/swirlds-metrics-api/src/main/java/com/swirlds/metrics/api/Metrics.java b/platform-sdk/swirlds-metrics-api/src/main/java/com/swirlds/metrics/api/Metrics.java index e747645fcc7d..e6aebe49cb97 100644 --- a/platform-sdk/swirlds-metrics-api/src/main/java/com/swirlds/metrics/api/Metrics.java +++ b/platform-sdk/swirlds-metrics-api/src/main/java/com/swirlds/metrics/api/Metrics.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.metrics.api; import static com.swirlds.metrics.api.Metric.ValueType.VALUE; diff --git a/platform-sdk/swirlds-metrics-api/src/main/java/com/swirlds/metrics/api/MetricsFactory.java b/platform-sdk/swirlds-metrics-api/src/main/java/com/swirlds/metrics/api/MetricsFactory.java index dbeaa7e97757..1b49c7f9bcb9 100644 --- a/platform-sdk/swirlds-metrics-api/src/main/java/com/swirlds/metrics/api/MetricsFactory.java +++ b/platform-sdk/swirlds-metrics-api/src/main/java/com/swirlds/metrics/api/MetricsFactory.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.metrics.api; import edu.umd.cs.findbugs.annotations.NonNull; diff --git a/platform-sdk/swirlds-metrics-api/src/main/java/com/swirlds/metrics/api/snapshot/Snapshot.java b/platform-sdk/swirlds-metrics-api/src/main/java/com/swirlds/metrics/api/snapshot/Snapshot.java index 96acce113416..7bca06f83d90 100644 --- a/platform-sdk/swirlds-metrics-api/src/main/java/com/swirlds/metrics/api/snapshot/Snapshot.java +++ b/platform-sdk/swirlds-metrics-api/src/main/java/com/swirlds/metrics/api/snapshot/Snapshot.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.metrics.api.snapshot; import com.swirlds.metrics.api.Metric; diff --git a/platform-sdk/swirlds-metrics-api/src/main/java/com/swirlds/metrics/api/snapshot/SnapshotableMetric.java b/platform-sdk/swirlds-metrics-api/src/main/java/com/swirlds/metrics/api/snapshot/SnapshotableMetric.java index 5a9050d1b2f7..58408bf216c6 100644 --- a/platform-sdk/swirlds-metrics-api/src/main/java/com/swirlds/metrics/api/snapshot/SnapshotableMetric.java +++ b/platform-sdk/swirlds-metrics-api/src/main/java/com/swirlds/metrics/api/snapshot/SnapshotableMetric.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.metrics.api.snapshot; import com.swirlds.metrics.api.Metric; diff --git a/platform-sdk/swirlds-metrics-api/src/main/java/module-info.java b/platform-sdk/swirlds-metrics-api/src/main/java/module-info.java index 1c2a99c26e3a..66d948b583c4 100644 --- a/platform-sdk/swirlds-metrics-api/src/main/java/module-info.java +++ b/platform-sdk/swirlds-metrics-api/src/main/java/module-info.java @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 module com.swirlds.metrics.api { exports com.swirlds.metrics.api; exports com.swirlds.metrics.api.snapshot; diff --git a/platform-sdk/swirlds-metrics-api/src/test/java/com/swirlds/metrics/api/CounterConfigTest.java b/platform-sdk/swirlds-metrics-api/src/test/java/com/swirlds/metrics/api/CounterConfigTest.java index aab2dafb46a2..64685c86171b 100644 --- a/platform-sdk/swirlds-metrics-api/src/test/java/com/swirlds/metrics/api/CounterConfigTest.java +++ b/platform-sdk/swirlds-metrics-api/src/test/java/com/swirlds/metrics/api/CounterConfigTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.metrics.api; import static org.assertj.core.api.Assertions.assertThat; diff --git a/platform-sdk/swirlds-metrics-api/src/test/java/com/swirlds/metrics/api/CounterTest.java b/platform-sdk/swirlds-metrics-api/src/test/java/com/swirlds/metrics/api/CounterTest.java index f8afc86f89b6..ecebda5a123c 100644 --- a/platform-sdk/swirlds-metrics-api/src/test/java/com/swirlds/metrics/api/CounterTest.java +++ b/platform-sdk/swirlds-metrics-api/src/test/java/com/swirlds/metrics/api/CounterTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.metrics.api; import static com.swirlds.metrics.api.Metric.DataType.INT; diff --git a/platform-sdk/swirlds-metrics-api/src/test/java/com/swirlds/metrics/api/DoubleAccumulatorConfigTest.java b/platform-sdk/swirlds-metrics-api/src/test/java/com/swirlds/metrics/api/DoubleAccumulatorConfigTest.java index 70086525f774..c976276dac79 100644 --- a/platform-sdk/swirlds-metrics-api/src/test/java/com/swirlds/metrics/api/DoubleAccumulatorConfigTest.java +++ b/platform-sdk/swirlds-metrics-api/src/test/java/com/swirlds/metrics/api/DoubleAccumulatorConfigTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.metrics.api; import static org.assertj.core.api.Assertions.assertThat; diff --git a/platform-sdk/swirlds-metrics-api/src/test/java/com/swirlds/metrics/api/DoubleAccumulatorTest.java b/platform-sdk/swirlds-metrics-api/src/test/java/com/swirlds/metrics/api/DoubleAccumulatorTest.java index 02d71ffe6aa4..39021e1a1a9e 100644 --- a/platform-sdk/swirlds-metrics-api/src/test/java/com/swirlds/metrics/api/DoubleAccumulatorTest.java +++ b/platform-sdk/swirlds-metrics-api/src/test/java/com/swirlds/metrics/api/DoubleAccumulatorTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.metrics.api; import static com.swirlds.metrics.api.Metric.DataType.FLOAT; diff --git a/platform-sdk/swirlds-metrics-api/src/test/java/com/swirlds/metrics/api/DoubleGaugeConfigTest.java b/platform-sdk/swirlds-metrics-api/src/test/java/com/swirlds/metrics/api/DoubleGaugeConfigTest.java index b07141bd0b0d..d955be08a6e3 100644 --- a/platform-sdk/swirlds-metrics-api/src/test/java/com/swirlds/metrics/api/DoubleGaugeConfigTest.java +++ b/platform-sdk/swirlds-metrics-api/src/test/java/com/swirlds/metrics/api/DoubleGaugeConfigTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.metrics.api; import static org.assertj.core.api.Assertions.assertThat; diff --git a/platform-sdk/swirlds-metrics-api/src/test/java/com/swirlds/metrics/api/DoubleGaugeTest.java b/platform-sdk/swirlds-metrics-api/src/test/java/com/swirlds/metrics/api/DoubleGaugeTest.java index 5f304bd8c4d2..d6e55a74596b 100644 --- a/platform-sdk/swirlds-metrics-api/src/test/java/com/swirlds/metrics/api/DoubleGaugeTest.java +++ b/platform-sdk/swirlds-metrics-api/src/test/java/com/swirlds/metrics/api/DoubleGaugeTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.metrics.api; import static com.swirlds.metrics.api.Metric.DataType.FLOAT; diff --git a/platform-sdk/swirlds-metrics-api/src/test/java/com/swirlds/metrics/api/IntegerAccumulatorConfigTest.java b/platform-sdk/swirlds-metrics-api/src/test/java/com/swirlds/metrics/api/IntegerAccumulatorConfigTest.java index eb480afa11c1..20bf10bd06fd 100644 --- a/platform-sdk/swirlds-metrics-api/src/test/java/com/swirlds/metrics/api/IntegerAccumulatorConfigTest.java +++ b/platform-sdk/swirlds-metrics-api/src/test/java/com/swirlds/metrics/api/IntegerAccumulatorConfigTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.metrics.api; import static org.assertj.core.api.Assertions.assertThat; diff --git a/platform-sdk/swirlds-metrics-api/src/test/java/com/swirlds/metrics/api/IntegerAccumulatorTest.java b/platform-sdk/swirlds-metrics-api/src/test/java/com/swirlds/metrics/api/IntegerAccumulatorTest.java index c84176965dfb..d8aba1e8144e 100644 --- a/platform-sdk/swirlds-metrics-api/src/test/java/com/swirlds/metrics/api/IntegerAccumulatorTest.java +++ b/platform-sdk/swirlds-metrics-api/src/test/java/com/swirlds/metrics/api/IntegerAccumulatorTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.metrics.api; import static com.swirlds.metrics.api.Metric.DataType.INT; diff --git a/platform-sdk/swirlds-metrics-api/src/test/java/com/swirlds/metrics/api/IntegerGaugeConfigTest.java b/platform-sdk/swirlds-metrics-api/src/test/java/com/swirlds/metrics/api/IntegerGaugeConfigTest.java index cca689ad614d..5fb1165b5468 100644 --- a/platform-sdk/swirlds-metrics-api/src/test/java/com/swirlds/metrics/api/IntegerGaugeConfigTest.java +++ b/platform-sdk/swirlds-metrics-api/src/test/java/com/swirlds/metrics/api/IntegerGaugeConfigTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.metrics.api; import static org.assertj.core.api.Assertions.assertThat; diff --git a/platform-sdk/swirlds-metrics-api/src/test/java/com/swirlds/metrics/api/IntegerGaugeTest.java b/platform-sdk/swirlds-metrics-api/src/test/java/com/swirlds/metrics/api/IntegerGaugeTest.java index c2da980f89d4..437551480a8b 100644 --- a/platform-sdk/swirlds-metrics-api/src/test/java/com/swirlds/metrics/api/IntegerGaugeTest.java +++ b/platform-sdk/swirlds-metrics-api/src/test/java/com/swirlds/metrics/api/IntegerGaugeTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.metrics.api; import static com.swirlds.metrics.api.Metric.DataType.INT; diff --git a/platform-sdk/swirlds-metrics-api/src/test/java/com/swirlds/metrics/api/LongAccumulatorConfigTest.java b/platform-sdk/swirlds-metrics-api/src/test/java/com/swirlds/metrics/api/LongAccumulatorConfigTest.java index c890dde38e27..29a121a19f89 100644 --- a/platform-sdk/swirlds-metrics-api/src/test/java/com/swirlds/metrics/api/LongAccumulatorConfigTest.java +++ b/platform-sdk/swirlds-metrics-api/src/test/java/com/swirlds/metrics/api/LongAccumulatorConfigTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.metrics.api; import static org.assertj.core.api.Assertions.assertThat; diff --git a/platform-sdk/swirlds-metrics-api/src/test/java/com/swirlds/metrics/api/LongAccumulatorTest.java b/platform-sdk/swirlds-metrics-api/src/test/java/com/swirlds/metrics/api/LongAccumulatorTest.java index 21bdaf897c8e..d9174afcb78f 100644 --- a/platform-sdk/swirlds-metrics-api/src/test/java/com/swirlds/metrics/api/LongAccumulatorTest.java +++ b/platform-sdk/swirlds-metrics-api/src/test/java/com/swirlds/metrics/api/LongAccumulatorTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.metrics.api; import static com.swirlds.metrics.api.Metric.DataType.INT; diff --git a/platform-sdk/swirlds-metrics-api/src/test/java/com/swirlds/metrics/api/LongGaugeConfigTest.java b/platform-sdk/swirlds-metrics-api/src/test/java/com/swirlds/metrics/api/LongGaugeConfigTest.java index 8a0ef5a8b31c..63d797563694 100644 --- a/platform-sdk/swirlds-metrics-api/src/test/java/com/swirlds/metrics/api/LongGaugeConfigTest.java +++ b/platform-sdk/swirlds-metrics-api/src/test/java/com/swirlds/metrics/api/LongGaugeConfigTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.metrics.api; import static org.assertj.core.api.Assertions.assertThat; diff --git a/platform-sdk/swirlds-metrics-api/src/test/java/com/swirlds/metrics/api/LongGaugeTest.java b/platform-sdk/swirlds-metrics-api/src/test/java/com/swirlds/metrics/api/LongGaugeTest.java index db65a370384f..05891cf955ca 100644 --- a/platform-sdk/swirlds-metrics-api/src/test/java/com/swirlds/metrics/api/LongGaugeTest.java +++ b/platform-sdk/swirlds-metrics-api/src/test/java/com/swirlds/metrics/api/LongGaugeTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2023-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.metrics.api; import static com.swirlds.metrics.api.Metric.DataType.INT; diff --git a/platform-sdk/swirlds-metrics-impl/src/main/java/com/swirlds/metrics/impl/AbstractMetric.java b/platform-sdk/swirlds-metrics-impl/src/main/java/com/swirlds/metrics/impl/AbstractMetric.java index a92a636972c8..8cfa7f36730f 100644 --- a/platform-sdk/swirlds-metrics-impl/src/main/java/com/swirlds/metrics/impl/AbstractMetric.java +++ b/platform-sdk/swirlds-metrics-impl/src/main/java/com/swirlds/metrics/impl/AbstractMetric.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.metrics.impl; import com.swirlds.base.utility.ToStringBuilder; diff --git a/platform-sdk/swirlds-metrics-impl/src/main/java/com/swirlds/metrics/impl/AtomicDouble.java b/platform-sdk/swirlds-metrics-impl/src/main/java/com/swirlds/metrics/impl/AtomicDouble.java index ec50c57478ee..884369635935 100644 --- a/platform-sdk/swirlds-metrics-impl/src/main/java/com/swirlds/metrics/impl/AtomicDouble.java +++ b/platform-sdk/swirlds-metrics-impl/src/main/java/com/swirlds/metrics/impl/AtomicDouble.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.metrics.impl; import static java.lang.Double.doubleToRawLongBits; diff --git a/platform-sdk/swirlds-metrics-impl/src/main/java/com/swirlds/metrics/impl/DefaultCounter.java b/platform-sdk/swirlds-metrics-impl/src/main/java/com/swirlds/metrics/impl/DefaultCounter.java index 6f5804338888..1f456fe4c291 100644 --- a/platform-sdk/swirlds-metrics-impl/src/main/java/com/swirlds/metrics/impl/DefaultCounter.java +++ b/platform-sdk/swirlds-metrics-impl/src/main/java/com/swirlds/metrics/impl/DefaultCounter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.metrics.impl; import static com.swirlds.metrics.api.Metric.ValueType.VALUE; diff --git a/platform-sdk/swirlds-metrics-impl/src/main/java/com/swirlds/metrics/impl/DefaultDoubleAccumulator.java b/platform-sdk/swirlds-metrics-impl/src/main/java/com/swirlds/metrics/impl/DefaultDoubleAccumulator.java index 18b5114f0301..99242eae7e01 100644 --- a/platform-sdk/swirlds-metrics-impl/src/main/java/com/swirlds/metrics/impl/DefaultDoubleAccumulator.java +++ b/platform-sdk/swirlds-metrics-impl/src/main/java/com/swirlds/metrics/impl/DefaultDoubleAccumulator.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.metrics.impl; import static com.swirlds.metrics.api.Metric.ValueType.VALUE; diff --git a/platform-sdk/swirlds-metrics-impl/src/main/java/com/swirlds/metrics/impl/DefaultDoubleGauge.java b/platform-sdk/swirlds-metrics-impl/src/main/java/com/swirlds/metrics/impl/DefaultDoubleGauge.java index aed990ab2356..f3fd59300dbe 100644 --- a/platform-sdk/swirlds-metrics-impl/src/main/java/com/swirlds/metrics/impl/DefaultDoubleGauge.java +++ b/platform-sdk/swirlds-metrics-impl/src/main/java/com/swirlds/metrics/impl/DefaultDoubleGauge.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.metrics.impl; import static com.swirlds.metrics.api.Metric.ValueType.VALUE; diff --git a/platform-sdk/swirlds-metrics-impl/src/main/java/com/swirlds/metrics/impl/DefaultIntegerAccumulator.java b/platform-sdk/swirlds-metrics-impl/src/main/java/com/swirlds/metrics/impl/DefaultIntegerAccumulator.java index 19f7e241bbce..ccfbcda18c98 100644 --- a/platform-sdk/swirlds-metrics-impl/src/main/java/com/swirlds/metrics/impl/DefaultIntegerAccumulator.java +++ b/platform-sdk/swirlds-metrics-impl/src/main/java/com/swirlds/metrics/impl/DefaultIntegerAccumulator.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.metrics.impl; import static com.swirlds.metrics.api.Metric.ValueType.VALUE; diff --git a/platform-sdk/swirlds-metrics-impl/src/main/java/com/swirlds/metrics/impl/DefaultIntegerGauge.java b/platform-sdk/swirlds-metrics-impl/src/main/java/com/swirlds/metrics/impl/DefaultIntegerGauge.java index 5be70f7e3c8c..c7734ddcb204 100644 --- a/platform-sdk/swirlds-metrics-impl/src/main/java/com/swirlds/metrics/impl/DefaultIntegerGauge.java +++ b/platform-sdk/swirlds-metrics-impl/src/main/java/com/swirlds/metrics/impl/DefaultIntegerGauge.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2016-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.metrics.impl; import static com.swirlds.metrics.api.Metric.ValueType.VALUE; diff --git a/platform-sdk/swirlds-metrics-impl/src/main/java/com/swirlds/metrics/impl/DefaultLongAccumulator.java b/platform-sdk/swirlds-metrics-impl/src/main/java/com/swirlds/metrics/impl/DefaultLongAccumulator.java index 017c1f199f9e..3a5134080ed0 100644 --- a/platform-sdk/swirlds-metrics-impl/src/main/java/com/swirlds/metrics/impl/DefaultLongAccumulator.java +++ b/platform-sdk/swirlds-metrics-impl/src/main/java/com/swirlds/metrics/impl/DefaultLongAccumulator.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.metrics.impl; import static com.swirlds.metrics.api.Metric.ValueType.VALUE; diff --git a/platform-sdk/swirlds-metrics-impl/src/main/java/com/swirlds/metrics/impl/DefaultLongGauge.java b/platform-sdk/swirlds-metrics-impl/src/main/java/com/swirlds/metrics/impl/DefaultLongGauge.java index 92e96d6c9875..d89d7b1e6c8d 100644 --- a/platform-sdk/swirlds-metrics-impl/src/main/java/com/swirlds/metrics/impl/DefaultLongGauge.java +++ b/platform-sdk/swirlds-metrics-impl/src/main/java/com/swirlds/metrics/impl/DefaultLongGauge.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2018-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.metrics.impl; import static com.swirlds.metrics.api.Metric.ValueType.VALUE; diff --git a/platform-sdk/swirlds-metrics-impl/src/main/java/com/swirlds/metrics/impl/DefaultMetricsFactory.java b/platform-sdk/swirlds-metrics-impl/src/main/java/com/swirlds/metrics/impl/DefaultMetricsFactory.java index e7b89b8f8182..5a1ba520b57f 100644 --- a/platform-sdk/swirlds-metrics-impl/src/main/java/com/swirlds/metrics/impl/DefaultMetricsFactory.java +++ b/platform-sdk/swirlds-metrics-impl/src/main/java/com/swirlds/metrics/impl/DefaultMetricsFactory.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2022-2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.metrics.impl; import com.swirlds.metrics.api.Counter; diff --git a/platform-sdk/swirlds-metrics-impl/src/main/java/module-info.java b/platform-sdk/swirlds-metrics-impl/src/main/java/module-info.java index 95fa3db3d792..6cb9a1d6385a 100644 --- a/platform-sdk/swirlds-metrics-impl/src/main/java/module-info.java +++ b/platform-sdk/swirlds-metrics-impl/src/main/java/module-info.java @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 module com.swirlds.metrics.impl { exports com.swirlds.metrics.impl; diff --git a/platform-sdk/swirlds-metrics-impl/src/test/java/com/swirlds/metrics/impl/test/AtomicDoubleTest.java b/platform-sdk/swirlds-metrics-impl/src/test/java/com/swirlds/metrics/impl/test/AtomicDoubleTest.java index 207449ae39f9..58b78f78bd40 100644 --- a/platform-sdk/swirlds-metrics-impl/src/test/java/com/swirlds/metrics/impl/test/AtomicDoubleTest.java +++ b/platform-sdk/swirlds-metrics-impl/src/test/java/com/swirlds/metrics/impl/test/AtomicDoubleTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.metrics.impl.test; import static org.assertj.core.api.Assertions.assertThat; diff --git a/platform-sdk/swirlds-metrics-impl/src/test/java/com/swirlds/metrics/impl/test/DefaultCounterTest.java b/platform-sdk/swirlds-metrics-impl/src/test/java/com/swirlds/metrics/impl/test/DefaultCounterTest.java index 885ae5767656..47d6242682a1 100644 --- a/platform-sdk/swirlds-metrics-impl/src/test/java/com/swirlds/metrics/impl/test/DefaultCounterTest.java +++ b/platform-sdk/swirlds-metrics-impl/src/test/java/com/swirlds/metrics/impl/test/DefaultCounterTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.metrics.impl.test; import static com.swirlds.metrics.api.Metric.ValueType.VALUE; diff --git a/platform-sdk/swirlds-metrics-impl/src/test/java/com/swirlds/metrics/impl/test/DefaultDoubleAccumulatorTest.java b/platform-sdk/swirlds-metrics-impl/src/test/java/com/swirlds/metrics/impl/test/DefaultDoubleAccumulatorTest.java index 8d3ec792eeaf..4cf9e7ab64a2 100644 --- a/platform-sdk/swirlds-metrics-impl/src/test/java/com/swirlds/metrics/impl/test/DefaultDoubleAccumulatorTest.java +++ b/platform-sdk/swirlds-metrics-impl/src/test/java/com/swirlds/metrics/impl/test/DefaultDoubleAccumulatorTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.metrics.impl.test; import static com.swirlds.metrics.api.Metric.ValueType.VALUE; diff --git a/platform-sdk/swirlds-metrics-impl/src/test/java/com/swirlds/metrics/impl/test/DefaultDoubleGaugeTest.java b/platform-sdk/swirlds-metrics-impl/src/test/java/com/swirlds/metrics/impl/test/DefaultDoubleGaugeTest.java index f06fcc1e748f..c15e9adb4de8 100644 --- a/platform-sdk/swirlds-metrics-impl/src/test/java/com/swirlds/metrics/impl/test/DefaultDoubleGaugeTest.java +++ b/platform-sdk/swirlds-metrics-impl/src/test/java/com/swirlds/metrics/impl/test/DefaultDoubleGaugeTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.metrics.impl.test; import static com.swirlds.metrics.api.Metric.ValueType.VALUE; diff --git a/platform-sdk/swirlds-metrics-impl/src/test/java/com/swirlds/metrics/impl/test/DefaultIntegerAccumulatorTest.java b/platform-sdk/swirlds-metrics-impl/src/test/java/com/swirlds/metrics/impl/test/DefaultIntegerAccumulatorTest.java index d18688ede9d0..81d36842f950 100644 --- a/platform-sdk/swirlds-metrics-impl/src/test/java/com/swirlds/metrics/impl/test/DefaultIntegerAccumulatorTest.java +++ b/platform-sdk/swirlds-metrics-impl/src/test/java/com/swirlds/metrics/impl/test/DefaultIntegerAccumulatorTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.metrics.impl.test; import static com.swirlds.metrics.api.Metric.ValueType.VALUE; diff --git a/platform-sdk/swirlds-metrics-impl/src/test/java/com/swirlds/metrics/impl/test/DefaultIntegerGaugeTest.java b/platform-sdk/swirlds-metrics-impl/src/test/java/com/swirlds/metrics/impl/test/DefaultIntegerGaugeTest.java index a4e753e31a6a..4727fbde3f42 100644 --- a/platform-sdk/swirlds-metrics-impl/src/test/java/com/swirlds/metrics/impl/test/DefaultIntegerGaugeTest.java +++ b/platform-sdk/swirlds-metrics-impl/src/test/java/com/swirlds/metrics/impl/test/DefaultIntegerGaugeTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.metrics.impl.test; import static com.swirlds.metrics.api.Metric.ValueType.VALUE; diff --git a/platform-sdk/swirlds-metrics-impl/src/test/java/com/swirlds/metrics/impl/test/DefaultLongAccumulatorTest.java b/platform-sdk/swirlds-metrics-impl/src/test/java/com/swirlds/metrics/impl/test/DefaultLongAccumulatorTest.java index 758f806d34b1..ac3f46ec7caf 100644 --- a/platform-sdk/swirlds-metrics-impl/src/test/java/com/swirlds/metrics/impl/test/DefaultLongAccumulatorTest.java +++ b/platform-sdk/swirlds-metrics-impl/src/test/java/com/swirlds/metrics/impl/test/DefaultLongAccumulatorTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.metrics.impl.test; import static com.swirlds.metrics.api.Metric.ValueType.VALUE; diff --git a/platform-sdk/swirlds-metrics-impl/src/test/java/com/swirlds/metrics/impl/test/DefaultLongGaugeTest.java b/platform-sdk/swirlds-metrics-impl/src/test/java/com/swirlds/metrics/impl/test/DefaultLongGaugeTest.java index 54905c80bd70..9d2c9fd8fdec 100644 --- a/platform-sdk/swirlds-metrics-impl/src/test/java/com/swirlds/metrics/impl/test/DefaultLongGaugeTest.java +++ b/platform-sdk/swirlds-metrics-impl/src/test/java/com/swirlds/metrics/impl/test/DefaultLongGaugeTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.metrics.impl.test; import static com.swirlds.metrics.api.Metric.ValueType.VALUE; diff --git a/platform-sdk/swirlds-metrics-impl/src/test/java/com/swirlds/metrics/impl/test/SnapshotTest.java b/platform-sdk/swirlds-metrics-impl/src/test/java/com/swirlds/metrics/impl/test/SnapshotTest.java index 19f98a1b0e5b..cca9d1fa9b2d 100644 --- a/platform-sdk/swirlds-metrics-impl/src/test/java/com/swirlds/metrics/impl/test/SnapshotTest.java +++ b/platform-sdk/swirlds-metrics-impl/src/test/java/com/swirlds/metrics/impl/test/SnapshotTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2024 Hedera Hashgraph, LLC - * - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on 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. - */ - +// SPDX-License-Identifier: Apache-2.0 package com.swirlds.metrics.impl.test; import static org.junit.jupiter.api.Assertions.assertTrue;