minor changes as the code is now java 1.8

Signed-off-by: olivier lamy <olamy@apache.org>
15 files changed