adjusting for java8 api
Merge remote-tracking branch 'origin/master'