mirror of
https://github.com/google/nomulus
synced 2026-01-10 16:00:52 +00:00
Fix two Gauava 20 deprecations across the tools package
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=146162927
This commit is contained in:
@@ -50,7 +50,7 @@ final class ExecuteEppCommand extends MutatingEppToolCommand {
|
||||
clientId, CharStreams.toString(new InputStreamReader(stdin, UTF_8)));
|
||||
} else {
|
||||
for (String command : mainParameters) {
|
||||
addXmlCommand(clientId, Files.toString(new File(command), UTF_8));
|
||||
addXmlCommand(clientId, Files.asCharSource(new File(command), UTF_8).read());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user