Github user janmaterne commented on the issue:
https://github.com/apache/ant-ivy/pull/38
requireCommonBaseDir:
- could we replace firstPath by base==null?
- line 115: additional comment:
'fail fast: ...'
- line 117: 'finally we got ...'
getBaseDir:
- Rename parameter to file1 and file2. For me it seems that both parameters
are indepent from each other. 'base' implies that it's itself a parent of the
other.
- you changed the semantic of the method:
base==null && file==null --> old=NPE, new=null (ok with me ;)
base==null && file!=null --> old=file.paren, new=null (incompatible
change)
base!=null && file==null --> both=null
base!=null && file!=null --> both=commonBase
- could be static, maybe moved to a FileUtil-class
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]