Code Review Request: 7168172: (fs) Files.isReadable slow on Windows (original) (raw)
Alan Bateman Alan.Bateman at oracle.com
Fri Aug 24 04:17:15 PDT 2012
- Previous message: Code Review Request: 7168172: (fs) Files.isReadable slow on Windows
- Next message: Code Review Request: 7168172: (fs) Files.isReadable slow on Windows
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 24/08/2012 12:00, Ulf Zibis wrote:
:
To my taste the line: WindowsPath file = WindowsPath.toWindowsPath(obj); ... should be moved to the place, where it is actually needed. -Ulf It's just that in the original implementation that the parameters are checked in order, in this case the path parameter is checked for null and that it is associated with the right provider before it checks the modes parameter.
-Alan
- Previous message: Code Review Request: 7168172: (fs) Files.isReadable slow on Windows
- Next message: Code Review Request: 7168172: (fs) Files.isReadable slow on Windows
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]