hazelcast/hazelcast — pull request #1493 by oravecz (2014-01-03 03:01:23+00:00)
Title: MapStoreConfig (and QueueStoreConfig) property copy problem

The 3.1.3 version revealed a problem with some code that intended to make a copy of a java.util.Properties object. The code in question uses the following syntax:

```java
public MapStoreConfig(MapStoreConfig config) {
// ...
properties = config.getProperties() != null
? new Properties(config.getProperties())
: null;
}
```

The Properties(Map) constructor does not do exactly what is intended here. It saves the map's properties as default values. The size() function will return 0 for example. To create a copy of Properties, we should use the putAll() function.