fix a bug that cause null pointer error

main
PeterAlbus 3 years ago
parent 04c643f9c3
commit 987af6c6f8

@ -39,6 +39,7 @@ public class HospitalController {
* *
* @param earthquakeInfoService the earthquake info service * @param earthquakeInfoService the earthquake info service
*/ */
@Autowired
public void setEarthquakeInfoService(EarthquakeInfoService earthquakeInfoService) public void setEarthquakeInfoService(EarthquakeInfoService earthquakeInfoService)
{ {
this.earthquakeInfoService = earthquakeInfoService; this.earthquakeInfoService = earthquakeInfoService;

Loading…
Cancel
Save