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:
cgoldfeder 2017-01-31 14:03:46 -08:00 committed by Ben McIlwain
parent 0a2622c6ab
commit 468f1fb0f8
5 changed files with 8 additions and 8 deletions

View file

@ -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());
}
}
}