]> source.dussan.org Git - sonarqube.git/commit
Fix NPE when there's no unit on a requirement of a SQALE model
authorJulien Lancelot <julien.lancelot@sonarsource.com>
Tue, 18 Feb 2014 07:39:56 +0000 (08:39 +0100)
committerJulien Lancelot <julien.lancelot@sonarsource.com>
Tue, 18 Feb 2014 07:39:56 +0000 (08:39 +0100)
commit886c70d2d5cc2898f5d5230f70b9e02d6ca0f94b
treefdc1dd293bc04342ac765fbc23d6f6e6706630c2
parentdc002a9d9b6d1f228463e7e9c7727fa283af1149
Fix NPE when there's no unit on a requirement of a SQALE model
sonar-core/src/main/java/org/sonar/core/technicaldebt/TechnicalDebtXMLImporter.java
sonar-core/src/main/java/org/sonar/core/technicaldebt/db/CharacteristicDto.java
sonar-core/src/test/java/org/sonar/core/technicaldebt/TechnicalDebtXMLImporterTest.java
sonar-core/src/test/resources/org/sonar/core/technicaldebt/TechnicalDebtXMLImporterTest/use_default_unit_when_no_unit.xml [new file with mode: 0644]
sonar-plugin-api/src/main/java/org/sonar/api/technicaldebt/batch/internal/DefaultRequirement.java
sonar-plugin-api/src/main/java/org/sonar/api/technicaldebt/server/internal/DefaultCharacteristic.java