Java 6 compatibility for monitoring-client
Merge pull request #39 from siordache/java6

Restore java 6 compatibility for monitoring-client