mbaedke commented on code in PR #1426: URL: https://github.com/apache/jackrabbit-oak/pull/1426#discussion_r1570663077
########## oak-query-spi/src/main/java/org/apache/jackrabbit/oak/spi/query/QueryIndex.java: ########## @@ -415,8 +429,20 @@ public Builder setDelayed(boolean isDelayed) { return this; } - public Builder addAdditionalMessage(Level level, String s) { - this.additionalMessages.compute(level, (k,v) -> { + public Builder addAdditionalMessage(String level, String s) { + Level logLevel; + switch (level) { + case "TRACE": + case "DEBUG": + case "INFO": + case "WARN": + case "ERROR": + logLevel = Level.valueOf(level); Review Comment: Yes, of course, once the API get's actually removed and the Map type changes. -- 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: dev-unsubscr...@jackrabbit.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org