The GitHub Actions job "Validate and test" on 
pekko-grpc.git/feature/java17-files-api has failed.
Run started by GitHub user He-Pin (triggered by He-Pin).

Head commit for run:
4df06fadbcb9bb1eb90266184b86c73055e11b9a / 虎鸣 <[email protected]>
refactor: use Files.readString (Java 11+)

Motivation:
Files.readString was introduced in Java 11 and provides a cleaner API
for reading an entire file into a String, replacing the
new String(Files.readAllBytes(path), charset) pattern.

Modification:
Replace new String(Files.readAllBytes(path), "UTF-8") with
Files.readString(path, StandardCharsets.UTF_8) in two files.

Result:
More idiomatic Java 11+ code with identical behavior.

Tests:
Not run - behavior-preserving refactoring

References:
None - Java 11+ API migration

Report URL: https://github.com/apache/pekko-grpc/actions/runs/28214564479

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to