smiklosovic commented on code in PR #2046:
URL: https://github.com/apache/cassandra/pull/2046#discussion_r1153015608
##########
src/java/org/apache/cassandra/db/guardrails/GuardrailsConfigProvider.java:
##########
@@ -37,11 +39,15 @@
*/
public interface GuardrailsConfigProvider
{
- public static final String CUSTOM_IMPLEMENTATION_PROPERTY =
"cassandra.custom_guardrails_config_provider_class";
+ /**
+ * @deprecated CUSTOM_GUARDRAILS_CONFIG_PROVIDER_CLASS.getKey() must be
used instead.
+ */
+ @Deprecated
+ public static final String CUSTOM_IMPLEMENTATION_PROPERTY =
CUSTOM_GUARDRAILS_CONFIG_PROVIDER_CLASS.getKey();
- static final GuardrailsConfigProvider instance =
System.getProperty(CUSTOM_IMPLEMENTATION_PROPERTY) == null
+ GuardrailsConfigProvider instance =
CUSTOM_GUARDRAILS_CONFIG_PROVIDER_CLASS.getString() == null
Review Comment:
alignement, `?` should be below `= ` as previously, you know what I mean ...
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]