Slight file tweak

This commit is contained in:
James Quinley 2022-09-15 22:50:28 -07:00
parent fdf6fe23e3
commit cb7fe62223

View File

@ -1417,7 +1417,7 @@ public class delegationServices {
String policyDocument; String policyDocument;
try try
{ {
String fileName = "/Home/ocs/policy/launcher/legal/eula.txt"; String fileName = "~/home/ocs/policy/launcher/legal/eula.txt";
Path path = Paths.get(fileName); Path path = Paths.get(fileName);
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);