Skip to content

Commit 951ef5b

Browse files
committed
typo fix
1 parent dea9e17 commit 951ef5b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

jaxb/src/main/java/com/fasterxml/jackson/module/jaxb/JaxbAnnotationIntrospector.java

+3-2
Original file line numberDiff line numberDiff line change
@@ -914,7 +914,7 @@ public Object findSerializationContentConverter(AnnotatedMember a)
914914
public PropertyName findNameForSerialization(Annotated a)
915915
{
916916
// 16-Sep-2016, tatu: Prior to 2.9 logic her more complicated, on assumption
917-
// that visibility rules may require return of "" if method/fied visible;
917+
// that visibility rules may require return of "" if method/field visible;
918918
// however, that is not required and causes issues so... now simpler:
919919
if (a instanceof AnnotatedMethod) {
920920
AnnotatedMethod am = (AnnotatedMethod) a;
@@ -1341,7 +1341,8 @@ private PropertyName findJaxbPropertyName(Annotated ae, Class<?> aeType, String
13411341
|| ae.hasAnnotation(XmlElements.class)
13421342
// 09-Aug-2014, tatu: Note: prior to 2.4.2, we used to give explicit name "value"
13431343
// if there was "@XmlValue" annotation; since then, only implicit name.
1344-
|| ae.hasAnnotation(XmlValue.class);
1344+
|| ae.hasAnnotation(XmlValue.class)
1345+
;
13451346
}
13461347
// One more thing:
13471348
return hasAName ? PropertyName.USE_DEFAULT : null;

0 commit comments

Comments
 (0)