#1314 Fix some typos

This commit is contained in:
Filip Hrisafov 2017-10-23 20:02:09 +02:00 committed by GitHub
parent a0b60a6bf4
commit 3df399f693

View File

@ -682,9 +682,9 @@ A mapper which uses other mapper classes (see <<invoking-other-mappers>>) will o
=== Injection strategy
When using <<using-dependency-injection,dependency injection>>, you can choose between field and constructor injection.
This can be done by either providing the injection strategy via `Mapper` or `MapperConfig` annotation.
This can be done by either providing the injection strategy via `@Mapper` or `@MapperConfig` annotation.
.Obtaining a mapper via dependency injection
.Using constructor injection
====
[source, java, linenums]
[subs="verbatim,attributes"]
@ -702,7 +702,10 @@ When `InjectionStrategy#FIELD` is used, the annotation is on the field itself.
For now, the default injection strategy is field injection.
It is recommended to use constructor injection to simplify testing.
TIP: For abstract classes or decorators setter injection should be used.
[TIP]
====
For abstract classes or decorators setter injection should be used.
====
[[datatype-conversions]]
== Data type conversions