The code now compiles on JDK 1.8
Merge pull request #1 from tahseen/master

The code now compiles on JDK 1.8