Closed reevik closed 5 years ago
In Default mode, the framework has the type information from the class field, so the factory attribute becomes obsolete:
@Provider(factory = UUIDProvider.class) private UUIDProvider uuidProvider;
We could omit the factory attribute:
@Provider private UUIDProvider uuidProvider;
Well, it still might be handy to have a factory attribute to take advantages of polymorphic assignment.
In Default mode, the framework has the type information from the class field, so the factory attribute becomes obsolete:
We could omit the factory attribute: