mirror of
https://github.com/google/nomulus.git
synced 2025-06-28 15:23:34 +02:00
Replace more deprecated uses of Files methods
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=146260709
This commit is contained in:
parent
b35ffd4162
commit
90a1f4a24e
4 changed files with 14 additions and 13 deletions
|
@ -42,7 +42,7 @@ public abstract class CreateOrUpdatePremiumListCommandTestCase<
|
|||
ArgumentCaptor<byte[]> requestBodyCaptor;
|
||||
|
||||
static String generateInputData(String premiumTermsPath) throws Exception {
|
||||
return Files.toString(new File(premiumTermsPath), StandardCharsets.UTF_8);
|
||||
return Files.asCharSource(new File(premiumTermsPath), StandardCharsets.UTF_8).read();
|
||||
}
|
||||
|
||||
void verifySentParams(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue