From 4d1956137b8eb91d789ba82e7f487e144b2f17eb Mon Sep 17 00:00:00 2001 From: Julien Lancelot Date: Mon, 12 Jan 2015 17:51:28 +0100 Subject: [PATCH] Fix quaity flaws --- .../src/main/java/org/sonar/server/user/index/UserDoc.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/server/sonar-server/src/main/java/org/sonar/server/user/index/UserDoc.java b/server/sonar-server/src/main/java/org/sonar/server/user/index/UserDoc.java index 84c98236a88..c01104d1801 100644 --- a/server/sonar-server/src/main/java/org/sonar/server/user/index/UserDoc.java +++ b/server/sonar-server/src/main/java/org/sonar/server/user/index/UserDoc.java @@ -33,19 +33,23 @@ public class UserDoc extends BaseDoc implements User { super(fields); } + @Override public String login() { return getField(UserIndexDefinition.FIELD_LOGIN); } + @Override public String name() { return getField(UserIndexDefinition.FIELD_NAME); } + @Override @Nullable public String email() { return getNullableField(UserIndexDefinition.FIELD_EMAIL); } + @Override public boolean active() { return (Boolean) getField(UserIndexDefinition.FIELD_ACTIVE); } -- 2.39.5