aboutsummaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2014-10-08 11:52:59 +0200
committerSimon Brandhof <simon.brandhof@sonarsource.com>2014-10-08 12:30:07 +0200
commit31a65f34968937d01a7e6c64a117409f150b5c0f (patch)
tree9893c22746504d0fec5a70ed07642f2b3a0176ec /server
parent80824622efd18b59a8dfac18548565d3f5b07691 (diff)
downloadsonarqube-31a65f34968937d01a7e6c64a117409f150b5c0f.tar.gz
sonarqube-31a65f34968937d01a7e6c64a117409f150b5c0f.zip
Fix quality flaws
Diffstat (limited to 'server')
-rw-r--r--server/sonar-server/src/main/java/org/sonar/server/activity/ws/ActivityMapping.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/server/sonar-server/src/main/java/org/sonar/server/activity/ws/ActivityMapping.java b/server/sonar-server/src/main/java/org/sonar/server/activity/ws/ActivityMapping.java
index e2910b6c4ea..668b072dad9 100644
--- a/server/sonar-server/src/main/java/org/sonar/server/activity/ws/ActivityMapping.java
+++ b/server/sonar-server/src/main/java/org/sonar/server/activity/ws/ActivityMapping.java
@@ -19,14 +19,12 @@
*/
package org.sonar.server.activity.ws;
-import org.sonar.api.resources.Languages;
import org.sonar.api.utils.text.JsonWriter;
import org.sonar.core.activity.Activity;
import org.sonar.server.activity.index.ActivityDoc;
import org.sonar.server.activity.index.ActivityNormalizer;
import org.sonar.server.search.ws.BaseMapping;
import org.sonar.server.search.ws.SearchOptions;
-import org.sonar.server.text.MacroInterpreter;
import java.util.Map;
@@ -35,7 +33,7 @@ import java.util.Map;
*/
public class ActivityMapping extends BaseMapping<ActivityDoc, Object> {
- public ActivityMapping(Languages languages, MacroInterpreter macroInterpreter) {
+ public ActivityMapping() {
map("type", ActivityNormalizer.LogFields.TYPE.field());
map("action", ActivityNormalizer.LogFields.ACTION.field());
mapDateTime("createdAt", ActivityNormalizer.LogFields.CREATED_AT.field());