mirror of
https://github.com/google/nomulus
synced 2026-09-20 15:04:24 +00: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:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user