]> source.dussan.org Git - sonarqube.git/commit
Remove UserSession#locale
authorJulien Lancelot <julien.lancelot@sonarsource.com>
Mon, 30 Jan 2017 11:12:29 +0000 (12:12 +0100)
committerJulien Lancelot <julien.lancelot@sonarsource.com>
Mon, 30 Jan 2017 12:26:36 +0000 (13:26 +0100)
commite46ca2c7e9f90e2c7b2e9257066a94dd8d877b16
tree282b39bfee93d122a552769adf0bcee3ae1a9457
parentaf1196ea8badb4f17906ac4356649d9a9c5f0f2c
Remove UserSession#locale

This method was useless as it was always returning Locale#ENGLISH
20 files changed:
server/sonar-ce/src/main/java/org/sonar/ce/user/CeUserSession.java
server/sonar-server/src/main/java/org/sonar/server/exceptions/BadRequestException.java
server/sonar-server/src/main/java/org/sonar/server/exceptions/Errors.java
server/sonar-server/src/main/java/org/sonar/server/exceptions/Message.java
server/sonar-server/src/main/java/org/sonar/server/qualityprofile/ws/BulkRuleActivationActions.java
server/sonar-server/src/main/java/org/sonar/server/user/DoPrivileged.java
server/sonar-server/src/main/java/org/sonar/server/user/ServerUserSession.java
server/sonar-server/src/main/java/org/sonar/server/user/ThreadLocalUserSession.java
server/sonar-server/src/main/java/org/sonar/server/user/UserSession.java
server/sonar-server/src/main/java/org/sonar/server/user/ws/CreateAction.java
server/sonar-server/src/main/java/org/sonar/server/ws/WebServiceEngine.java
server/sonar-server/src/test/java/org/sonar/server/component/ws/AppActionTest.java
server/sonar-server/src/test/java/org/sonar/server/qualityprofile/ws/QProfilesWsTest.java
server/sonar-server/src/test/java/org/sonar/server/tester/AbstractMockUserSession.java
server/sonar-server/src/test/java/org/sonar/server/tester/UserSessionRule.java
server/sonar-server/src/test/java/org/sonar/server/user/ThreadLocalUserSessionTest.java
server/sonar-server/src/test/java/org/sonar/server/user/ws/CreateActionTest.java
server/sonar-server/src/test/java/org/sonar/server/user/ws/UsersWsTest.java
server/sonar-server/src/test/java/org/sonar/server/ws/WebServiceEngineTest.java
server/sonar-server/src/test/resources/org/sonar/server/user/ws/CreateActionTest/reactivate_user.json