commit | fc41794afbcad8c435ff113687da876331f7cbcf | [log] [download] |
---|---|---|
author | Dave Borowitz <dborowitz@google.com> | Wed Apr 09 07:54:42 2014 -0700 |
committer | Dave Borowitz <dborowitz@google.com> | Wed Apr 09 07:59:26 2014 -0700 |
tree | 8783fac46627174081b26580f23cb4202a7c2c5c | |
parent | 5a0e14e1036a617f361c50534cc53c37e7169657 [diff] |
Properly handle empty and missing paths when building TreeWalks TreeWalk.forPath may behave in two ways we weren't handling correctly: -throws IllegalArgumentException when the path passed in was empty. -returns null when the path is not found. Validate inputs and outputs where this method is used. Change-Id: I63d33a9fc6e5d56265dc3a96b7d6d6585a8ae2de