diff --git a/src/java/org/minifx/fxmlloading/factories/ModelSharingControllerFactory.java b/src/java/org/minifx/fxmlloading/factories/ModelSharingControllerFactory.java index e72b7e17..20243c56 100644 --- a/src/java/org/minifx/fxmlloading/factories/ModelSharingControllerFactory.java +++ b/src/java/org/minifx/fxmlloading/factories/ModelSharingControllerFactory.java @@ -28,14 +28,14 @@ * A default factory for FXML controllers. *
* This class supports a basic field injection using {@link Inject @Inject} annotation. It can be used to initialize and
- * configure controller, model or service instances, and bind them together.
+ * configure controller, model or service instances, and bind them together.
* For every call of {@link #createController(Class)} method - a new controller instance is created, but all the
* injected dependencies (models, services, etc) are instantiated only once, stored in cache and used as singletons.
*
* The factory first makes an attempt to match field to be injected with System properties and then with an optional
* {@link #fromPropertiesProvider(Function) properties provider}. The matching is done using {@link Named @Named}
- * annotation if present, otherwise using field's name.
+ * annotation if present, otherwise using field's name.
* If no matching property is found, the factory consults dependencies cache trying find a match with the field by
* exact type. Otherwise it requests the instance provider to supply a new instance of given type, injects all
* its dependencies and puts into the cache.
@@ -98,7 +98,7 @@ public class ModelSharingControllerFactory implements ControllerFactory {
private final Function