[Improvement] Muliple repeated strings in Ranger classes
What would you like to be improved?
In RangerAuthorizationProperties.java, RangerAuthorizationHDFSPlugin.java, RangerAuthorizationHadoopSQLPlugin.java, RangerClientExtension.java several strings are repeated multiple times and could be made static. e.g. "%s is required", "The privilege %s is not supported for the securable object: %s" and "The metadata object must be a PathBasedMetadataObject"
How should we improve?
Refactor, extract and make a static.
I would like to work on it.
Note I just put in a PR to improve some of the messages, you might want to wait until that is merged.
Note I just put in a PR to improve some of the messages, you might want to wait until that is merged.
@justinmclean hi, Justin is #6531 ?
Yes it's #6531