adwsingh commented on code in PR #1268:
URL: https://github.com/apache/logging-log4j2/pull/1268#discussion_r1098611283
##########
log4j-api/src/main/java/org/apache/logging/log4j/util/PropertySource.java:
##########
@@ -71,6 +71,20 @@ default CharSequence getNormalForm(Iterable<? extends
CharSequence> tokens) {
return null;
}
+ /**
+ * Converts a list of property name tokens into a normal form of legacy
type. For example, a list of tokens such as
+ * "foo", "bar", "baz", might be normalized into the property name
"log4j.fooBarBaz".
+ * </p>
+ * This is not supposed to be implemented by newer implementations, but
only exists to add compatibility support
+ * for existing implementations.
+ *
+ * @param tokens list of property name tokens
+ * @return a normalized legacy property name using the given tokens
+ */
+ default CharSequence getLegacyNormalForm(Iterable<? extends CharSequence>
tokens) {
+ return null;
+ }
+
Review Comment:
Updated the PR.
--
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]