curator-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alexlopashev <...@git.apache.org>
Subject [GitHub] curator pull request: Fix of DistributedAtomicValue#compareAndSet ...
Date Thu, 22 May 2014 09:21:34 GMT
GitHub user alexlopashev opened a pull request:

    https://github.com/apache/curator/pull/8

    Fix of DistributedAtomicValue#compareAndSet to work with empty node

    Fix of DistributedAtomicValue#compareAndSet to work with value from node with no data
(byte[0]{}). Such value is not equal to correct zero representation of integer (byte[4]{0,0,0,0})
and long (byte[8]{0,0,0,0,0,0,0,0}) in terms of Arrays.equals.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/alexlopashev/curator master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/curator/pull/8.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #8
    
----
commit d62b488c4c809c512cbb29d077276bfee9b51d96
Author: lopashev <lopashev@yandex-team.ru>
Date:   2014-05-22T09:18:25Z

    Fix of DistributedAtomicValue#compareAndSet to work with value from node with no data
(byte[0]{}). Such value is not equal to correct zero representation of integer (byte[4]{0,0,0,0})
and long (byte[8]{0,0,0,0,0,0,0,0}) in terms of Arrays.equals.

----


---
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.
---

Mime
View raw message