Fix maven compile warning (#3322)