We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1c5731 commit b927119Copy full SHA for b927119
src/main/java/org/springframework/samples/petclinic/owner/PetTypeFormatter.java
@@ -15,7 +15,6 @@
15
*/
16
package org.springframework.samples.petclinic.owner;
17
18
-import org.springframework.beans.factory.annotation.Autowired;
19
import org.springframework.format.Formatter;
20
import org.springframework.stereotype.Component;
21
@@ -38,7 +37,6 @@ public class PetTypeFormatter implements Formatter<PetType> {
38
37
39
private final OwnerRepository owners;
40
41
- @Autowired
42
public PetTypeFormatter(OwnerRepository owners) {
43
this.owners = owners;
44
}
0 commit comments