O'Reilly logo
  • Guillaume Olivrin thinks this is interesting:

@Qualifier("taskDAO") private UserService userService;

From

Cover of Spring Essentials

Note

Typo in this example ?

I think it should have been :

@Qualifier(“userService”)
private UserService userService;

OR

@Qualifier(“taskDAO”)
private TaskDAO taskDAO;

not a mix