mirror of
https://github.com/mapstruct/mapstruct.git
synced 2025-07-12 00:00:08 +08:00
#339 fixing some spelling errors in messages
This commit is contained in:
parent
d61ca26652
commit
580d7869fd
@ -29,16 +29,16 @@ public enum Message {
|
||||
beanmapping_notassignable( "%s not assignable to: %s." ),
|
||||
beanmapping_unknownpropertyinreturntype( "Unknown property \"%s\" in return type." ),
|
||||
beanmapping_severalpossiblesources( "Several possible source properties for target property \"%s\"." ),
|
||||
beanmapping_severalpossibletargetaccessors( "Found several matching getters for property \"%s\"" ),
|
||||
beanmapping_unmappedtargets( "Unmapped target %s" ),
|
||||
beanmapping_severalpossibletargetaccessors( "Found several matching getters for property \"%s\"." ),
|
||||
beanmapping_unmappedtargets( "Unmapped target %s." ),
|
||||
propertymapping_mappingnotfound( "Can't map %s to \"%s %s\". Consider to declare/implement a mapping method: \"%s map(%s value)\"." ),
|
||||
propertymapping_duplicatetargets( "Target property \"%s\" must not be mapped more than once." ),
|
||||
propertymapping_emptytarget( "Target must not be empty in @Mapping" ),
|
||||
propertymapping_sourceandconstantbothdefined( "Source and constant are both defined in @Mapping, either define a source or a constant" ),
|
||||
propertymapping_sourceandexpressionbothdefined( "Source and expression are both defined in @Mapping, either define a source or an expression" ),
|
||||
propertymapping_expressionandconstantbothdefined( "Expression and constant are both defined in @Mapping, either define an expression or a constant" ),
|
||||
propertymapping_invalidexpression( "Value must be given in the form \"java(<EXPRESSION>)\"" ),
|
||||
propertymapping_reversalproblem( "Parameter %s cannot be reversed" ),
|
||||
propertymapping_emptytarget( "Target must not be empty in @Mapping." ),
|
||||
propertymapping_sourceandconstantbothdefined( "Source and constant are both defined in @Mapping, either define a source or a constant." ),
|
||||
propertymapping_sourceandexpressionbothdefined( "Source and expression are both defined in @Mapping, either define a source or an expression." ),
|
||||
propertymapping_expressionandconstantbothdefined( "Expression and constant are both defined in @Mapping, either define an expression or a constant." ),
|
||||
propertymapping_invalidexpression( "Value must be given in the form \"java(<EXPRESSION>)\"." ),
|
||||
propertymapping_reversalproblem( "Parameter %s cannot be reversed." ),
|
||||
propertymapping_invalidparametername( "Method has no parameter named \"%s\"." ),
|
||||
propertymapping_nopropertyinparameter( "The type of parameter \"%s\" has no property named \"%s\"." ),
|
||||
propertymapping_invalidpropertyname( "No property named \"%s\" exists in source parameter(s)." ),
|
||||
@ -52,15 +52,15 @@ public enum Message {
|
||||
enummapping_undefinedsource( "A source constant must be specified for mappings of an enum mapping method." ),
|
||||
enummapping_nonexistingconstant( "Constant %s doesn't exist in enum type %s." ),
|
||||
enummapping_undefinedtarget( "A target constant must be specified for mappings of an enum mapping method." ),
|
||||
enummapping_unmappedtargets( "The following constants from the source enum have no corresponding constant in the target enum and must be be mapped via @Mapping: %s" ),
|
||||
enummapping_unmappedtargets( "The following constants from the source enum have no corresponding constant in the target enum and must be be mapped via @Mapping: %s." ),
|
||||
decorator_nosubtype( "Specified decorator type is no subtype of the annotated mapper type." ),
|
||||
decorator_constructor( "Specified decorator type has no default constructor nor a constructor with a single parameter accepting the decorated mapper type." ),
|
||||
general_noimplementation( "No implementation type is registered for return type %s." ),
|
||||
general_ambigiousmappingmethod( "Ambiguous mapping methods found for mapping %s to %s: %s." ),
|
||||
general_ambigiousfactorymethod( "Ambiguous mapping methods found for factorizing %s: %s." ),
|
||||
general_unsupporteddateformatcheck( "No dateFormat cheeck is supported for types %s, %s" ),
|
||||
general_unsupporteddateformatcheck( "No dateFormat check is supported for types %s, %s" ),
|
||||
general_validdate( "given date format \"%s\" is valid." ),
|
||||
general_invaliddate( "given date format \"%s\" is invalid. Message: \"%s\"" ),
|
||||
general_invaliddate( "given date format \"%s\" is invalid. Message: \"%s\"." ),
|
||||
retrieval_noinputargs( "Can't generate mapping method with no input arguments." ),
|
||||
retrieval_duplicatemappingtargets( "Can't generate mapping method with more than one @MappingTarget parameter." ),
|
||||
retrieval_voidmappingmethod( "Can't generate mapping method with return type void." ),
|
||||
@ -72,7 +72,7 @@ public enum Message {
|
||||
retrieval_primitivereturn( "Can't generate mapping method with primitive return type." ),
|
||||
retrieval_enumtononenum( "Can't generate mapping method from enum type to non-enum type." ),
|
||||
retrieval_nonenumtoenum( "Can't generate mapping method from non-enum type to enum type." ),
|
||||
inheritconfiguration_both( "Method cannot be annotated with both a @InheritConfiguration and @InheritInverseConfiguration" ),
|
||||
inheritconfiguration_both( "Method cannot be annotated with both a @InheritConfiguration and @InheritInverseConfiguration." ),
|
||||
inheritinverseconfiguration_referencehasinverse( "Resolved inverse mapping method %s() should not carry the @InheritInverseConfiguration annotation itself." ),
|
||||
inheritinverseconfiguration_referencehasforward( "Resolved inverse mapping method %s() should not carry the @InheritConfiguration annotation." ),
|
||||
inheritinverseconfiguration_duplicates( "Several matching inverse methods exist: %s(). Specify a name explicitly." ),
|
||||
|
Loading…
x
Reference in New Issue
Block a user