Removes filter for comma, since it is used in the documents.

This commit is contained in:
James Quinley 2022-09-17 22:59:50 -07:00
parent 569326293e
commit 16125cfdeb

View File

@ -1423,7 +1423,6 @@ public class delegationServices {
byte[] bytes = Files.readAllBytes(path); byte[] bytes = Files.readAllBytes(path);
List<String> allLines = Files.readAllLines(path, StandardCharsets.UTF_8); List<String> allLines = Files.readAllLines(path, StandardCharsets.UTF_8);
String formattedString = allLines.toString() String formattedString = allLines.toString()
.replace(",", "") //remove the commas
.replace("[", "") //remove the right bracket .replace("[", "") //remove the right bracket
.replace("]", "") //remove the left bracket .replace("]", "") //remove the left bracket
.trim(); //remove trailing spaces from partially initialized arrays .trim(); //remove trailing spaces from partially initialized arrays
@ -1463,7 +1462,6 @@ public class delegationServices {
byte[] bytes = Files.readAllBytes(path); byte[] bytes = Files.readAllBytes(path);
List<String> allLines = Files.readAllLines(path, StandardCharsets.UTF_8); List<String> allLines = Files.readAllLines(path, StandardCharsets.UTF_8);
String formattedString = allLines.toString() String formattedString = allLines.toString()
.replace(",", "") //remove the commas
.replace("[", "") //remove the right bracket .replace("[", "") //remove the right bracket
.replace("]", "") //remove the left bracket .replace("]", "") //remove the left bracket
.trim(); //remove trailing spaces from partially initialized arrays .trim(); //remove trailing spaces from partially initialized arrays