diff options
author | simonbrandhof <simon.brandhof@gmail.com> | 2012-01-01 21:48:15 +0100 |
---|---|---|
committer | simonbrandhof <simon.brandhof@gmail.com> | 2012-01-01 21:48:15 +0100 |
commit | 9215b60984179e3fc28cea11a032556de4f7abdf (patch) | |
tree | 9bff4660b874f5af517d8ed4a9380235e12c709a /sonar-plugin-api | |
parent | 7a87485a457afd837eb89a1df66d2287b122171d (diff) | |
download | sonarqube-9215b60984179e3fc28cea11a032556de4f7abdf.tar.gz sonarqube-9215b60984179e3fc28cea11a032556de4f7abdf.zip |
Fix some quality flaws
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r-- | sonar-plugin-api/src/main/java/org/sonar/api/database/model/MeasureModel.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/database/model/MeasureModel.java b/sonar-plugin-api/src/main/java/org/sonar/api/database/model/MeasureModel.java index c0a56de9dd3..3c3a94bd4b9 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/database/model/MeasureModel.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/database/model/MeasureModel.java @@ -184,7 +184,7 @@ public class MeasureModel implements Cloneable { * * @throws IllegalArgumentException in case value is not a valid double */ - public MeasureModel setValue(Double value) throws IllegalArgumentException { + public MeasureModel setValue(Double value) { if (value != null && (value.isNaN() || value.isInfinite())) { throw new IllegalArgumentException(); } |