fix travis-ci build error "diamond operator is not supported in -source
1.5"