diff --git a/src/main/java/io/openliberty/tools/common/plugins/config/ServerConfigDocument.java b/src/main/java/io/openliberty/tools/common/plugins/config/ServerConfigDocument.java index edf0bb3e..a1010dd3 100644 --- a/src/main/java/io/openliberty/tools/common/plugins/config/ServerConfigDocument.java +++ b/src/main/java/io/openliberty/tools/common/plugins/config/ServerConfigDocument.java @@ -501,9 +501,8 @@ private static void parseDocumentFromFileOrDirectory(File f, String locationStri * @throws IOException */ private static void parseDocumentsInDirectory(File directory, ArrayList docs) { - // OpenLiberty reference code for behavior, parseInclude() method - // https://github.com/OpenLiberty/open-liberty/blob/integration/dev/com.ibm.ws.config/src/com/ibm/ws/config/xml/internal/XMLConfigParser.java#L409C8-L409C8 - // uses Collections.sort on filenames which is case-sensitive (all uppercase comes before lowercase) + // OpenLiberty reference code for behavior: https://github.com/OpenLiberty/open-liberty + // ServerXMLConfiguration.java:parseDirectoryFiles() and XMLConfigParser.java:parseInclude() File[] files = directory.listFiles(); Arrays.sort(files, NameFileComparator.NAME_INSENSITIVE_COMPARATOR); for (File file : files) {