diff options
author | Stephane Gamard <stephane.gamard@searchbox.com> | 2014-05-05 12:09:02 +0200 |
---|---|---|
committer | Stephane Gamard <stephane.gamard@searchbox.com> | 2014-05-05 20:14:53 +0200 |
commit | eba452e84789165901b57d45d602666d8d3c243f (patch) | |
tree | c03fd8be0e4249032f73994406fa090797702142 /sonar-server | |
parent | fc57594804ab7282b4ab8f7221a79021ed3110f1 (diff) | |
download | sonarqube-eba452e84789165901b57d45d602666d8d3c243f.tar.gz sonarqube-eba452e84789165901b57d45d602666d8d3c243f.zip |
Updated activeRuleKey and QualityProfileKey in core package
Diffstat (limited to 'sonar-server')
-rw-r--r-- | sonar-server/src/main/java/org/sonar/server/rule2/ActiveRuleDao.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sonar-server/src/main/java/org/sonar/server/rule2/ActiveRuleDao.java b/sonar-server/src/main/java/org/sonar/server/rule2/ActiveRuleDao.java index 9be275fb594..6087aa66948 100644 --- a/sonar-server/src/main/java/org/sonar/server/rule2/ActiveRuleDao.java +++ b/sonar-server/src/main/java/org/sonar/server/rule2/ActiveRuleDao.java @@ -77,13 +77,13 @@ public class ActiveRuleDao extends BaseDao<ActiveRuleMapper, ActiveRuleDto, Acti @Override protected ActiveRuleDto doInsert(ActiveRuleDto item, DbSession session) { getMapper(session).insert(item); - return item; + return setActiveRuleKey(item); } @Override protected ActiveRuleDto doUpdate(ActiveRuleDto item, DbSession session) { getMapper(session).update(item); - return item; + return setActiveRuleKey(item); } @Override |