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
spring doc initial version
Fixed parsing errors / line exceeds on chapter 3
updated spring doc
removed sample spring-data code and moved them to hazelcast-code-samples repo
concurrency package requests made security-interceptor compliant
Merge branch 'master' of github.com:hazelcast/hazelcast into concurrency-security-interceptor
check-style
Added Maven Shade plugin transformer to not only merge Java standard MANIFEST entries but also OSGi metadata
Fixed checkstyle configuration
Added unittest for #issue2816 and missing return statement
Merge pull request #2864 from noctarius/docs-fix-chapter-3

Fixed parsing errors / line exceeds on chapter 3
Fixes #2663 but needs to wait till issue #2692 is resolved
Resolved merge problems + checkstyle issue
Minor test tweak