Update Typos in java-doc

Closes #2989
This commit is contained in:
Prasanth Omanakuttan 2022-08-26 19:25:58 +05:30 committed by Filip Hrisafov
parent 473d581528
commit 45e01fea91
7 changed files with 11 additions and 11 deletions

View File

@ -21,15 +21,15 @@ import org.mapstruct.ap.internal.util.Strings;
* </p>
* <p>
* In general each type comes with a "parse" method to convert a string to this particular type.
* For formatting a dedicated instance of {@link java.time.format.DateTimeFormatter} is used.
* For formatting a dedicated instance of {@link DateTimeFormatter} is used.
* </p>
* <p>
* If no date format for mapping is specified predefined ISO* formatters from
* {@link java.time.format.DateTimeFormatter} are used.
* {@link DateTimeFormatter} are used.
* </p>
* <p>
* An overview of date and time types shipped with Java 8 can be found at
* http://docs.oracle.com/javase/tutorial/datetime/iso/index.html.
* An overview of date and time types shipped with Java 8 can be found at the
* <a href="http://docs.oracle.com/javase/tutorial/datetime/iso/index.html">Standard Calendar Tutorial</a>
* </p>
*/
public abstract class AbstractJavaTimeToStringConversion extends SimpleConversion {

View File

@ -22,7 +22,7 @@ import org.mapstruct.ap.internal.gem.NullValuePropertyMappingStrategyGem;
/**
* This wrapper handles the situation where an assignment is done for an update method.
*
* In case of a pre-existing target the wrapper checks if there is an collection or map initialized on the target bean
* In case of a pre-existing target the wrapper checks if there is a collection or map initialized on the target bean
* (not null). If so it uses the addAll (for collections) or putAll (for maps). The collection / map is cleared in case
* of a pre-existing target {@link org.mapstruct.MappingTarget }before adding the source entries.
*

View File

@ -16,7 +16,7 @@ import org.mapstruct.ap.internal.model.common.Type;
* This wrapper handles the situation were an assignment must be done via a target getter method because there
* is no setter available.
*
* The wrapper checks if there is an collection or map initialized on the target bean (not null). If so it uses the
* The wrapper checks if there is a collection or map initialized on the target bean (not null). If so it uses the
* addAll (for collections) or putAll (for maps). The collection / map is cleared in case of a pre-existing target
* {@link org.mapstruct.MappingTarget }before adding the source entries. The goal is that the same collection / map
* is used as target.

View File

@ -54,7 +54,7 @@ public class UpdateWrapper extends AssignmentWrapper {
return targetType.getImplementationType();
}
// no factory method means we create a new instance ourself and thus need to import the type
// no factory method means we create a new instance ourselves and thus need to import the type
return targetType;
}

View File

@ -14,7 +14,7 @@ import org.mapstruct.ap.internal.util.accessor.ReadAccessor;
/**
* A PropertyEntry contains information on the name, readAccessor and presenceCheck (for source)
* and return type of a property.
* and return type of property.
*/
public class PropertyEntry {

View File

@ -143,7 +143,7 @@ public class SourceReference extends AbstractReference {
* the parameter name to avoid ambiguity
*
* consider: {@code Target map( Source1 source1 )}
* entries in an @Mapping#source can be "source1.propx" or just "propx" to be valid
* entries in a @Mapping#source can be "source1.propx" or just "propx" to be valid
*
* @param segments the segments of @Mapping#source
* @param parameter the one and only parameter
@ -213,7 +213,7 @@ public class SourceReference extends AbstractReference {
* needs to match the parameter name to avoid ambiguity
*
* consider: {@code Target map( Source1 source1, Source2 source2 )}
* entries in an @Mapping#source need to be "source1.propx" or "source2.propy.propz" to be valid
* entries in a @Mapping#source need to be "source1.propx" or "source2.propy.propz" to be valid
*
* @param segments the segments of @Mapping#source
* @return parameter that matches with first segment of @Mapping#source

View File

@ -41,7 +41,7 @@ public class RoundContext {
/**
* Whether the given type has been found to be ready for further processing or not. This is the case if the type's
* hierarchy is complete (no super-types need to be generated by other processors) an no processors have signaled
* hierarchy is complete (no super-types need to be generated by other processors) and no processors have signaled
* the intention to amend the given type.
*
* @param type the typed to be checked for its readiness