mirror of
https://github.com/google/nomulus.git
synced 2025-05-13 07:57:13 +02: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:
parent
0a2622c6ab
commit
468f1fb0f8
5 changed files with 8 additions and 8 deletions
|
@ -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());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue