Skip to content

Commit

Permalink
Remove use of org.apache.logging.log4j.util.Strings
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Froh <[email protected]>
  • Loading branch information
msfroh committed Aug 12, 2024
1 parent 93cb25e commit 8b14531
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

package org.opensearch.common.xcontent;

import org.apache.logging.log4j.util.Strings;
import org.opensearch.common.xcontent.json.JsonXContent;
import org.opensearch.core.common.Strings;
import org.opensearch.core.common.bytes.BytesReference;
import org.opensearch.core.xcontent.AbstractXContentParser;
import org.opensearch.core.xcontent.DeprecationHandler;
Expand Down Expand Up @@ -110,7 +110,7 @@ private void parseToken(Deque<String> path) throws IOException {
String parsedValue = parseValue();
if (parsedValue != null) {
this.valueList.add(parsedValue);
this.valueAndPathList.add(Strings.join(path, '.') + EQUAL_SYMBOL + parsedValue);
this.valueAndPathList.add(Strings.collectionToDelimitedString(path, ".") + EQUAL_SYMBOL + parsedValue);
}
this.parser.nextToken();
}
Expand Down

0 comments on commit 8b14531

Please sign in to comment.