SHL-104 - Remove compiler warnings

Thanks Hu Xi - https://github.com/huxi/spring-shell/commit/890b41bb040e978d9aa5c10754d3ef0798250eb1