delete spring code