commit | c3f2f7b93b3fd8b2eaff4942f323f60aa4548493 | [log] [tgz] |
---|---|---|
author | Raph Levien <raph@google.com> | Mon Jul 06 09:01:36 2015 -0700 |
committer | Raph Levien <raph@google.com> | Mon Jul 06 09:01:36 2015 -0700 |
tree | f212f104370cabe9262725371b8c1442fd7a9d14 | |
parent | a559590043e32f670813e062f042f9e642297edf [diff] |
Clean up Hyphenator file reading The old code made invalid assumptions about read() behavior and failed to clean up properly in case of error. This patch changes the file reading to use IoUtils.readFileAsString, which handles that. Bug: 21020457 Change-Id: If9b54955c20a20a4ed5e8381d0c7e9c920d0639a