[MODCLUSTER-358] demo does not compile on JDK6
Merge pull request #49 from rhusar/MODCLUSTER-358

[MODCLUSTER-358] demo does not compile on JDK6