aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-db/src/main/java/org/sonar/db/component/SnapshotDao.java
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-db/src/main/java/org/sonar/db/component/SnapshotDao.java')
-rw-r--r--sonar-db/src/main/java/org/sonar/db/component/SnapshotDao.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-db/src/main/java/org/sonar/db/component/SnapshotDao.java b/sonar-db/src/main/java/org/sonar/db/component/SnapshotDao.java
index f9f6f716355..db3f6384066 100644
--- a/sonar-db/src/main/java/org/sonar/db/component/SnapshotDao.java
+++ b/sonar-db/src/main/java/org/sonar/db/component/SnapshotDao.java
@@ -138,7 +138,7 @@ public class SnapshotDao implements Dao {
insert(session, Lists.asList(item, others));
}
- public void updateVersion(DbSession dbSession, String analysisUuid, String version) {
+ public void updateVersion(DbSession dbSession, String analysisUuid, @Nullable String version) {
mapper(dbSession).updateVersion(analysisUuid, version);
}