Skip to content

Commit

Permalink
[Quality] as per SonarQube suggestions; update copyright statement to…
Browse files Browse the repository at this point in the history
… include 2024
  • Loading branch information
samatrhea committed Apr 14, 2024
1 parent 3d5e27b commit 0ac96bf
Show file tree
Hide file tree
Showing 35 changed files with 37 additions and 37 deletions.
2 changes: 1 addition & 1 deletion DEH-REQIF-APP/Commands/ConvertCommand.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// -------------------------------------------------------------------------------------------------
// <copyright file="ConvertCommand.cs" company="RHEA System S.A.">
//
// Copyright 2022 RHEA System S.A.
// Copyright 2022-2024 RHEA System S.A.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion DEH-REQIF-APP/Commands/ConvertCommandFactory.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// -------------------------------------------------------------------------------------------------
// <copyright file="ConvertCommandFactory.cs" company="RHEA System S.A.">
//
// Copyright 2022 RHEA System S.A.
// Copyright 2022-2024 RHEA System S.A.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion DEH-REQIF-APP/Commands/ICommand.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// -------------------------------------------------------------------------------------------------
// <copyright file="ICommand.cs" company="RHEA System S.A.">
//
// Copyright 2022 RHEA System S.A.
// Copyright 2022-2024 RHEA System S.A.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion DEH-REQIF-APP/Commands/IConvertCommand.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// -------------------------------------------------------------------------------------------------
// <copyright file="IConvertCommand.cs" company="RHEA System S.A.">
//
// Copyright 2022 RHEA System S.A.
// Copyright 2022-2024 RHEA System S.A.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion DEH-REQIF-APP/Commands/IConvertCommandFactory.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// -------------------------------------------------------------------------------------------------
// <copyright file="IConvertCommandFactory.cs" company="RHEA System S.A.">
//
// Copyright 2022 RHEA System S.A.
// Copyright 2022-2024 RHEA System S.A.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion DEH-REQIF-APP/Program.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// -------------------------------------------------------------------------------------------------
// <copyright file="Program.cs" company="RHEA System S.A.">
//
// Copyright 2022 RHEA System S.A.
// Copyright 2022-2024 RHEA System S.A.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion DEH-REQIF-APP/Resources/IResourceLoader.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// -------------------------------------------------------------------------------------------------
// <copyright file="IResourceLoader.cs" company="RHEA System S.A.">
//
// Copyright 2022 RHEA System S.A.
// Copyright 2022-2024 RHEA System S.A.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion DEH-REQIF-APP/Resources/ResourceLoader.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// -------------------------------------------------------------------------------------------------
// <copyright file="ResourceLoader.cs" company="RHEA System S.A.">
//
// Copyright 2022 RHEA System S.A.
// Copyright 2022-2024 RHEA System S.A.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion DEH-REQIF-APP/Resources/ascii-art.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
██████╔╝███████╗██║ ██║ ██║ ██║███████╗╚██████╔╝██║██║
╚═════╝ ╚══════╝╚═╝ ╚═╝ ╚═╝ ╚═╝╚══════╝ ╚══▀▀═╝ ╚═╝╚═╝

copyright 2022 RHEA Group S.A. https://www.rheagroup.com
Copyright 2022-2024 RHEA Group S.A. https://www.rheagroup.com
email: [email protected]

DEH-ReqIF version: DEHReqIFVersion
2 changes: 1 addition & 1 deletion DEH-REQIF.Console.Tests/ConvertCommandTestFixture.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// -------------------------------------------------------------------------------------------------
// <copyright file="ConvertCommandTestFixture.cs" company="RHEA System S.A.">
//
// Copyright 2022 RHEA System S.A.
// Copyright 2022-2024 RHEA System S.A.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// -------------------------------------------------------------------------------------------------
// <copyright file="ScalarParameterTypeMappingRuleTestFixture.cs" company="RHEA System S.A.">
//
// Copyright 2022 RHEA System S.A.
// Copyright 2022-2024 RHEA System S.A.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion DEH-REQIF.Tests/ReqIFBuilderTestFixture.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// -------------------------------------------------------------------------------------------------
// <copyright file="IReqIFBuilder.cs" company="RHEA System S.A.">
//
// Copyright 2022 RHEA System S.A.
// Copyright 2022-2024 RHEA System S.A.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
6 changes: 3 additions & 3 deletions DEH-REQIF.Tests/Services/ExportSettingsReaderTestFixture.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// -------------------------------------------------------------------------------------------------
// <copyright file="ExportSettingsReaderTestFixture.cs" company="RHEA System S.A.">
//
// Copyright 2022 RHEA System S.A.
// Copyright 2022-2024 RHEA System S.A.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -64,7 +64,7 @@ public async Task Verify_that_a_settings_File_is_correctly_read()
Assert.That(exportSettings.SpecificationAttributeDefinitions.NameAttributeDefinitionId, Is.EqualTo("NAME-DOORS-MODULE"));

Assert.That(exportSettings.ExternalIdentifierMap, Is.Not.Null);
Assert.That(exportSettings.ExternalIdentifierMap.Correspondence.Count, Is.EqualTo(1));
Assert.That(exportSettings.ExternalIdentifierMap.Correspondence, Has.Count.EqualTo(1));
Assert.That(exportSettings.ExternalIdentifierMap.Correspondence.First().ExternalId, Is.EqualTo("EXTERNAL_ID"));
Assert.That(exportSettings.ExternalIdentifierMap.Correspondence.First().InternalThing, Is.EqualTo(Guid.Parse("7d936326-544e-4990-96cf-54f67f7aa365")));
}
Expand Down Expand Up @@ -113,7 +113,7 @@ public void Verify_that_a_settings_File_can_be_created_and_correctly_read()
Assert.That(deserializedExportSettings.RequirementAttributeDefinitions.ForeignModifiedOnAttributeDefinitionId, Is.EqualTo(requirementForeignModifiedOnAttributeDefinitionId));
Assert.That(deserializedExportSettings.SpecificationAttributeDefinitions.NameAttributeDefinitionId, Is.EqualTo(specificationNameAttributeDefinitionId));
Assert.That(deserializedExportSettings.ExternalIdentifierMap, Is.Not.Null);
Assert.That(deserializedExportSettings.ExternalIdentifierMap.Correspondence.Count, Is.EqualTo(1));
Assert.That(deserializedExportSettings.ExternalIdentifierMap.Correspondence, Has.Count.EqualTo(1));
Assert.That(deserializedExportSettings.ExternalIdentifierMap.Correspondence.First().ExternalId, Is.EqualTo(externalId));
Assert.That(deserializedExportSettings.ExternalIdentifierMap.Correspondence.First().InternalThing, Is.EqualTo(internalThing));
}
Expand Down
2 changes: 1 addition & 1 deletion DEH-REQIF/ExportSettings/AttributeDefinitions.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// -------------------------------------------------------------------------------------------------
// <copyright file="AttributeDefinitions.cs" company="RHEA System S.A.">
//
// Copyright 2022 RHEA System S.A.
// Copyright 2022-2024 RHEA System S.A.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion DEH-REQIF/ExportSettings/ExportSettings.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// -------------------------------------------------------------------------------------------------
// <copyright file="ExportSettings.cs" company="RHEA System S.A.">
//
// Copyright 2022 RHEA System S.A.
// Copyright 2022-2024 RHEA System S.A.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion DEH-REQIF/ExportSettings/ExternalIdentifierMap.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// -------------------------------------------------------------------------------------------------
// <copyright file="ExternalIdentifierMap.cs" company="RHEA System S.A.">
//
// Copyright 2022 RHEA System S.A.
// Copyright 2022-2024 RHEA System S.A.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion DEH-REQIF/ExportSettings/IdCorrespondence.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// -------------------------------------------------------------------------------------------------
// <copyright file="IdCorrespondence.cs" company="RHEA System S.A.">
//
// Copyright 2022 RHEA System S.A.
// Copyright 2022-2024 RHEA System S.A.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion DEH-REQIF/IReqIFBuilder.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// -------------------------------------------------------------------------------------------------
// <copyright file="IReqIFBuilder.cs" company="RHEA System S.A.">
//
// Copyright 2022 RHEA System S.A.
// Copyright 2022-2024 RHEA System S.A.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion DEH-REQIF/Mapping/IMappingEngine.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// -------------------------------------------------------------------------------------------------
// <copyright file="IMappingEngine.cs" company="RHEA System S.A.">
//
// Copyright 2022 RHEA System S.A.
// Copyright 2022-2024 RHEA System S.A.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion DEH-REQIF/Mapping/MappingEngine.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// -------------------------------------------------------------------------------------------------
// <copyright file="MappingEngine.cs" company="RHEA System S.A.">
//
// Copyright 2022 RHEA System S.A.
// Copyright 2022-2024 RHEA System S.A.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion DEH-REQIF/Mapping/MappingException.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// -------------------------------------------------------------------------------------------------
// <copyright file="MappingException.cs" company="RHEA System S.A.">
//
// Copyright 2022 RHEA System S.A.
// Copyright 2022-2024 RHEA System S.A.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion DEH-REQIF/MappingRules/IMappingRule.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// -------------------------------------------------------------------------------------------------
// <copyright file="IMappingRule.cs" company="RHEA System S.A.">
//
// Copyright 2022 RHEA System S.A.
// Copyright 2022-2024 RHEA System S.A.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion DEH-REQIF/MappingRules/MappingRule.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// -------------------------------------------------------------------------------------------------
// <copyright file="IMappingRule.cs" company="RHEA System S.A.">
//
// Copyright 2022 RHEA System S.A.
// Copyright 2022-2024 RHEA System S.A.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// -------------------------------------------------------------------------------------------------
// <copyright file="ScalarParameterTypeMappingRule.cs" company="RHEA System S.A.">
//
// Copyright 2022 RHEA System S.A.
// Copyright 2022-2024 RHEA System S.A.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion DEH-REQIF/ReqIFBuilder.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// -------------------------------------------------------------------------------------------------
// <copyright file="ReqIFBuilder.cs" company="RHEA System S.A.">
//
// Copyright 2022 RHEA System S.A.
// Copyright 2022-2024 RHEA System S.A.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion DEH-REQIF/Services/ExportSettingsReader.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// -------------------------------------------------------------------------------------------------
// <copyright file="ExportSettingsReader.cs" company="RHEA System S.A.">
//
// Copyright 2022 RHEA System S.A.
// Copyright 2022-2024 RHEA System S.A.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion DEH-REQIF/Services/IExportSettingsReader.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// -------------------------------------------------------------------------------------------------
// <copyright file="IExportSettingsReader.cs" company="RHEA System S.A.">
//
// Copyright 2022 RHEA System S.A.
// Copyright 2022-2024 RHEA System S.A.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion DEH-REQIF/Services/IInstanceMappingService.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// -------------------------------------------------------------------------------------------------
// <copyright file="IInstanceMappingService.cs" company="RHEA System S.A.">
//
// Copyright 2022 RHEA System S.A.
// Copyright 2022-2024 RHEA System S.A.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion DEH-REQIF/Services/IReqIfFileWriter.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// -------------------------------------------------------------------------------------------------
// <copyright file="IReqIfFileWriter.cs" company="RHEA System S.A.">
//
// Copyright 2022 RHEA System S.A.
// Copyright 2022-2024 RHEA System S.A.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion DEH-REQIF/Services/ISessionDataRetriever.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// -------------------------------------------------------------------------------------------------
// <copyright file="ISessionDataRetriever.cs" company="RHEA System S.A.">
//
// Copyright 2022 RHEA System S.A.
// Copyright 2022-2024 RHEA System S.A.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion DEH-REQIF/Services/ITemplateBasedReqIfBuilder.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// -------------------------------------------------------------------------------------------------
// <copyright file="ITemplateBasedReqIfBuilder.cs" company="RHEA System S.A.">
//
// Copyright 2022 RHEA System S.A.
// Copyright 2022-2024 RHEA System S.A.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion DEH-REQIF/Services/ReqIfFileWriter.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// -------------------------------------------------------------------------------------------------
// <copyright file="ReqIfFileWriter.cs" company="RHEA System S.A.">
//
// Copyright 2022 RHEA System S.A.
// Copyright 2022-2024 RHEA System S.A.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion DEH-REQIF/Services/SessionDataRetriever.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// -------------------------------------------------------------------------------------------------
// <copyright file="SessionDataRetriever.cs" company="RHEA System S.A.">
//
// Copyright 2022 RHEA System S.A.
// Copyright 2022-2024 RHEA System S.A.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion DEH-REQIF/Services/TemplateBasedReqIfBuilder.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// -------------------------------------------------------------------------------------------------
// <copyright file="TemplateBasedReqIfBuilder.cs" company="RHEA System S.A.">
//
// Copyright 2022 RHEA System S.A.
// Copyright 2022-2024 RHEA System S.A.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion NOTICE
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
DEH-REQIF
Copyright 2022 RHEA System S.A.
Copyright 2022-2024 RHEA System S.A.

0 comments on commit 0ac96bf

Please sign in to comment.