try to fix compile of spring-dedicated
fix compile warning (unused function)