groovy/groovy-core — pull request #496 by pditommaso (2014-07-25 19:27:28+00:00)
Title: Changed Path.size() to return 0 instead of throwing NoSuchFileException

Modified the method `ResourceGroovyMethods#size(Path)` so that it turns 0 when the target file does not exist instead of throwing NoSuchFileException.

Thus it behaves in more uniform manner with `File#length()` and `ResourceGroovyMethods#size(File)` methods