From cb90a7758e23631a60c6852bc5279328e57791fb Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Lievremont Date: Wed, 9 Apr 2014 14:08:10 +0200 Subject: [PATCH] SONAR-5211 Use correct type to map DB column to avoid overflow --- .../main/java/org/sonar/core/measure/db/MeasureDataDto.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sonar-core/src/main/java/org/sonar/core/measure/db/MeasureDataDto.java b/sonar-core/src/main/java/org/sonar/core/measure/db/MeasureDataDto.java index e47ec52c8c6..474aee60f7a 100644 --- a/sonar-core/src/main/java/org/sonar/core/measure/db/MeasureDataDto.java +++ b/sonar-core/src/main/java/org/sonar/core/measure/db/MeasureDataDto.java @@ -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; } -- 2.39.5