Fixed IMap replace() always generating ADDED events.
This should only ever generate UPDATED events if successful.
This seems to have regressed in Hazelcast 3.0.
Hazelcast 2.x seems to have only generated UPDATED events, see https://github.com/hazelcast/hazelcast/issues/418
Added a test that verifies that the old behavior is broken and the new behavior works.
Use assertTrueEventually in the test, as events may be delayed.
Added proper comment
Doubled length value and added check if both values are the same which is unlikely to happen for wrong or broken packages
Added unittest
Added Maven Shade plugin transformer to not only merge Java standard MANIFEST entries but also OSGi metadata
Fixed checkstyle configuration
Merge branch 'master' of https://github.com/hazelcast/hazelcast
Fixed checkstyle and excluded ElementParser from checks since it's taken from another project
Fixed findbugs
makes local map stats provider check style compliant.
small cleanup
small cleanup 2
Merge branch 'master' of https://github.com/hazelcast/hazelcast
WriteBehindManager start() and stop() methods are enhanced.added test method.
small cleanup
Merge branch 'master' of https://github.com/hazelcast/hazelcast
small cleanup cont
comment fix