]> source.dussan.org Git - sonarqube.git/commit
SONAR-7299 Remove UserSession dependency from FavoriteUpdater
authorJulien Lancelot <julien.lancelot@sonarsource.com>
Mon, 23 Jan 2017 13:04:30 +0000 (14:04 +0100)
committerJulien Lancelot <julien.lancelot@sonarsource.com>
Tue, 24 Jan 2017 17:36:49 +0000 (18:36 +0100)
commit8996815c370855e6ea964ae15283b0ab93c24b75
tree283d4871307735d28d0180919f308c60626ad6bd
parent528c2312512686dba2dd9cf4dda4d38a184c56a2
SONAR-7299 Remove UserSession dependency from FavoriteUpdater

Having UserSession as a dependency of FavoriteUpdater forces any classes that is using it to also have a UserSession dependency
12 files changed:
server/sonar-server/src/main/java/org/sonar/server/component/DefaultRubyComponentService.java
server/sonar-server/src/main/java/org/sonar/server/computation/queue/ReportSubmitter.java
server/sonar-server/src/main/java/org/sonar/server/favorite/FavoriteUpdater.java
server/sonar-server/src/main/java/org/sonar/server/favorite/ws/AddAction.java
server/sonar-server/src/main/java/org/sonar/server/favorite/ws/RemoveAction.java
server/sonar-server/src/main/java/org/sonar/server/project/ws/CreateAction.java
server/sonar-server/src/test/java/org/sonar/server/component/DefaultRubyComponentServiceTest.java
server/sonar-server/src/test/java/org/sonar/server/computation/queue/ReportSubmitterTest.java
server/sonar-server/src/test/java/org/sonar/server/favorite/FavoriteUpdaterTest.java
server/sonar-server/src/test/java/org/sonar/server/favorite/ws/AddActionTest.java
server/sonar-server/src/test/java/org/sonar/server/favorite/ws/RemoveActionTest.java
server/sonar-server/src/test/java/org/sonar/server/project/ws/CreateActionTest.java