commit | 11fa29c9a6e86962b9414dca448b87f929228653 | [log] [tgz] |
---|---|---|
author | Thomas Watson <tjwatson@us.ibm.com> | Fri Oct 30 14:16:20 2020 -0500 |
committer | Thomas Watson <tjwatson@us.ibm.com> | Fri Oct 30 14:16:47 2020 -0500 |
tree | 82a56453f9b236f4eb6200de9910ae84688f9bd7 | |
parent | 5f935ae7f99c9cfac59a3f4af55bbd0da26a7238 [diff] |
Bug 567964 - Use Files.isReadable before falling back to File IO Some environments it is more costly to do the file open/close operation than simply calling Files.isReadable. First try Files.isReadable for the golden path, if that fails then fallback to the previous behavior Change-Id: I7aaf92c4d3d1a599343034078ebb214a8da7a305 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>