ppkarwasz commented on code in PR #2278:
URL: https://github.com/apache/logging-log4j2/pull/2278#discussion_r1492128810
##########
log4j-core/src/main/java/org/apache/logging/log4j/core/config/AbstractConfiguration.java:
##########
@@ -670,7 +673,7 @@ protected void doConfigure() {
boolean setLoggers = false;
boolean setRoot = false;
for (final Node child : rootNode.getChildren()) {
- if (child.getName().equalsIgnoreCase("Properties")) {
+ if ("Properties".equalsIgnoreCase(child.getName())) {
if (tempLookup == runtimeStrSubstitutor.getVariableResolver())
{
LOGGER.error("Properties declaration must be the first
element in the configuration");
}
Review Comment:
Done
--
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]