zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hanm <...@git.apache.org>
Subject [GitHub] zookeeper issue #140: ZOOKEEPER-2656: Fix ServerConfigTest#testValidArgument...
Date Wed, 04 Jan 2017 00:55:54 GMT
Github user hanm commented on the issue:

    @eribeiro Yeah, I read about the difference but I think in our context it is pretty safe
to use File.equals given the actual string literal returned from getDataDir and the string
it compares against would be exact the same (so the corner cases does not apply here). Initially
I used getCanonicalPath for safety but since you brought this up and I thought about it, I
feel it's OK. Do you see any practical failure cases that we would run into here by using

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 infrastructure@apache.org or file a JIRA ticket
with INFRA.

View raw message