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

@ -46,6 +46,6 @@ final class GetClaimsListCommand implements RemoteApiCommand {
public void run() throws Exception {
ClaimsListShard cl = checkNotNull(ClaimsListShard.get(), "Couldn't load ClaimsList");
String csv = Joiner.on('\n').withKeyValueSeparator(",").join(cl.getLabelsToKeys()) + "\n";
Files.write(csv, output.toFile(), UTF_8);
Files.asCharSink(output.toFile(), UTF_8).write(csv);
}
}