saserr/xsbt — comment on commit 89659c8cc04e6ce866215d3d2d54d5b13fb2e115
File: main/Resolvers.scala line 103
By vigdorchik:

If you
1) check for file existence and
2) return the file
you can factor out common code in the callers, and also some callers become trivial and can be inlined.