Added @supressWarning in unused method