]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-5211 Use correct type to map DB column to avoid overflow
authorJean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com>
Wed, 9 Apr 2014 12:08:10 +0000 (14:08 +0200)
committerJean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com>
Wed, 9 Apr 2014 12:08:10 +0000 (14:08 +0200)
sonar-core/src/main/java/org/sonar/core/measure/db/MeasureDataDto.java

index e47ec52c8c647f923706c1515640431f5f920895..474aee60f7a5ee7bd1a7959366e07b21af237e65 100644 (file)
@@ -28,7 +28,7 @@ public class MeasureDataDto {
 
   private Integer id;
 
-  private Integer measureId;
+  private Long measureId;
 
   private Integer snapshotId;
 
@@ -43,11 +43,11 @@ public class MeasureDataDto {
     return this;
   }
 
-  public Integer getMeasureId() {
+  public Long getMeasureId() {
     return measureId;
   }
 
-  public MeasureDataDto setMeasureId(Integer measureId) {
+  public MeasureDataDto setMeasureId(Long measureId) {
     this.measureId = measureId;
     return this;
   }