You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by cw...@apache.org on 2019/07/24 05:57:29 UTC
[incubator-druid] branch master updated: Revert "Spotbugs:
SS_SHOULD_BE_STATIC (#8073)" (#8145)
This is an automated email from the ASF dual-hosted git repository.
cwylie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-druid.git
The following commit(s) were added to refs/heads/master by this push:
new 0388581 Revert "Spotbugs: SS_SHOULD_BE_STATIC (#8073)" (#8145)
0388581 is described below
commit 0388581493e19d1ca10c922289e7eb58d44b82e1
Author: Clint Wylie <cw...@apache.org>
AuthorDate: Tue Jul 23 22:57:19 2019 -0700
Revert "Spotbugs: SS_SHOULD_BE_STATIC (#8073)" (#8145)
This reverts commit 04a180a5fb4b604af04adf00a6bc5aa6ff587fec.
---
codestyle/spotbugs-exclude.xml | 1 +
.../java/org/apache/druid/server/security/AnonymousAuthenticator.java | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/codestyle/spotbugs-exclude.xml b/codestyle/spotbugs-exclude.xml
index 5c1e83c..44acdb8 100644
--- a/codestyle/spotbugs-exclude.xml
+++ b/codestyle/spotbugs-exclude.xml
@@ -85,6 +85,7 @@
<Bug pattern="SF_SWITCH_FALLTHROUGH"/>
<Bug pattern="SF_SWITCH_NO_DEFAULT"/>
<Bug pattern="SR_NOT_CHECKED"/>
+ <Bug pattern="SS_SHOULD_BE_STATIC"/>
<Bug pattern="SWL_SLEEP_WITH_LOCK_HELD"/>
<Bug pattern="UL_UNRELEASED_LOCK_EXCEPTION_PATH"/>
<Bug pattern="URF_UNREAD_FIELD"/>
diff --git a/server/src/main/java/org/apache/druid/server/security/AnonymousAuthenticator.java b/server/src/main/java/org/apache/druid/server/security/AnonymousAuthenticator.java
index a110189..7cfe76c 100644
--- a/server/src/main/java/org/apache/druid/server/security/AnonymousAuthenticator.java
+++ b/server/src/main/java/org/apache/druid/server/security/AnonymousAuthenticator.java
@@ -40,8 +40,8 @@ import java.util.Map;
@JsonTypeName("anonymous")
public class AnonymousAuthenticator implements Authenticator
{
- private static final String DEFAULT_IDENTITY = "defaultUser";
private final AuthenticationResult anonymousResult;
+ private final String DEFAULT_IDENTITY = "defaultUser";
@JsonCreator
public AnonymousAuthenticator(
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org