garydgregory commented on code in PR #4411:
URL: https://github.com/apache/logging-log4j2/pull/4411#discussion_r4387830712
##########
log4j-couchdb/src/main/java/org/apache/logging/log4j/couchdb/CouchDbConnection.java:
##########
@@ -51,8 +47,8 @@ public DefaultNoSqlObject[] createList(final int length) {
}
@Override
- public Set<String> getReservedFieldNames() {
- return RESERVED_FIELD_NAMES;
+ public boolean isReservedFieldName(final String fieldName) {
+ return fieldName.startsWith("_");
Review Comment:
Would this be more maintainable if we put regular expressions (or GLOBs) in
a property file on the classpath?
--
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]