Slight file tweak
This commit is contained in:
parent
fdf6fe23e3
commit
cb7fe62223
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user