You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2019/10/16 17:17:51 UTC
[GitHub] [incubator-druid] leventov commented on a change in pull request
#8558: 7227 : Prohibit Non Final Static Field
leventov commented on a change in pull request #8558: 7227 : Prohibit Non Final Static Field
URL: https://github.com/apache/incubator-druid/pull/8558#discussion_r335583876
##########
File path: core/src/main/java/org/apache/druid/utils/JvmUtils.java
##########
@@ -50,11 +50,12 @@ public static boolean isIsJava9Compatible()
}
@Inject
- private static RuntimeInfo runtimeInfo = new RuntimeInfo();
+ @SuppressWarnings("SSBasedInspection") // static field(s) cannot be final because set in an initializer block
Review comment:
Injection.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org