feat: Keep null variable if variable already exists during process #492
Quality Gate passed
Annotations
sonarqubecloud / SonarCloud Code Analysis
Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=InseeFr_genesis-api&issues=AZ6rT9-MwFyNLchbYkwl&open=AZ6rT9-MwFyNLchbYkwl&pullRequest=492
sonarqubecloud / SonarCloud Code Analysis
Replace this usage of 'Stream.collect(Collectors.toList())' with 'Stream.toList()' and ensure that the list is unmodified.
See more on https://sonarcloud.io/project/issues?id=InseeFr_genesis-api&issues=AZ6rT9-MwFyNLchbYkwm&open=AZ6rT9-MwFyNLchbYkwm&pullRequest=492
sonarqubecloud / SonarCloud Code Analysis
Do not use the system clock in tests.
See more on https://sonarcloud.io/project/issues?id=InseeFr_genesis-api&issues=AZ6rT-BtwFyNLchbYkwp&open=AZ6rT-BtwFyNLchbYkwp&pullRequest=492
sonarqubecloud / SonarCloud Code Analysis
Change the visibility of this constructor to "protected".
See more on https://sonarcloud.io/project/issues?id=InseeFr_genesis-api&issues=AZ6rT998wFyNLchbYkwk&open=AZ6rT998wFyNLchbYkwk&pullRequest=492
sonarqubecloud / SonarCloud Code Analysis
Convert this Map to an EnumMap.
See more on https://sonarcloud.io/project/issues?id=InseeFr_genesis-api&issues=AZ6rT998wFyNLchbYkwi&open=AZ6rT998wFyNLchbYkwi&pullRequest=492
sonarqubecloud / SonarCloud Code Analysis
Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=InseeFr_genesis-api&issues=AZ6rT99xwFyNLchbYkwh&open=AZ6rT99xwFyNLchbYkwh&pullRequest=492
sonarqubecloud / SonarCloud Code Analysis
Do not use the system clock in tests.
See more on https://sonarcloud.io/project/issues?id=InseeFr_genesis-api&issues=AZ6rT-CfwFyNLchbYkwq&open=AZ6rT-CfwFyNLchbYkwq&pullRequest=492
sonarqubecloud / SonarCloud Code Analysis
Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=InseeFr_genesis-api&issues=AZ6rT9-UwFyNLchbYkwn&open=AZ6rT9-UwFyNLchbYkwn&pullRequest=492
sonarqubecloud / SonarCloud Code Analysis
Replace this usage of 'Stream.collect(Collectors.toList())' with 'Stream.toList()' and ensure that the list is unmodified.
See more on https://sonarcloud.io/project/issues?id=InseeFr_genesis-api&issues=AZ6rT9-UwFyNLchbYkwo&open=AZ6rT9-UwFyNLchbYkwo&pullRequest=492
sonarqubecloud / SonarCloud Code Analysis
Do not use the system clock in tests.
See more on https://sonarcloud.io/project/issues?id=InseeFr_genesis-api&issues=AZ6rT-CfwFyNLchbYkwr&open=AZ6rT-CfwFyNLchbYkwr&pullRequest=492
Check warning on line 216 in src/main/java/fr/insee/genesis/domain/utils/DataVerifier.java
sonarqubecloud / SonarCloud Code Analysis
Remove this unused "state" local variable.
See more on https://sonarcloud.io/project/issues?id=InseeFr_genesis-api&issues=AZ6rT94cwFyNLchbYkwg&open=AZ6rT94cwFyNLchbYkwg&pullRequest=492
sonarqubecloud / SonarCloud Code Analysis
Reduce the total number of break and continue statements in this loop to use at most one.
See more on https://sonarcloud.io/project/issues?id=InseeFr_genesis-api&issues=AZ6rT998wFyNLchbYkwj&open=AZ6rT998wFyNLchbYkwj&pullRequest=492