mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-11 03:13:38 +00:00
Improve the code as suggested for readability
This commit is contained in:
1 parent
b4107a7705
commit
eec1f5dd37
1 file changed
+1
-2
@@ -196,8 +196,7 @@ public class HandleJacksonized extends EclipseAnnotationHandler<Jacksonized> {
|
||||
if (hasAnnotation(eclipseNode, JacksonAnnotationType.JSON_PROPERTY2) ||
|
||||
hasAnnotation(eclipseNode, JacksonAnnotationType.JSON_IGNORE2)) {
|
||||
continue;
|
||||
}
|
||||
else if (eclipseNode.isTransient()) {
|
||||
} else if (eclipseNode.isTransient()) {
|
||||
createJsonIgnoreForField(eclipseNode, annotationNode);
|
||||
} else {
|
||||
createJsonPropertyForField(eclipseNode, annotationNode);
|
||||
|
||||
Reference in new issue
Block a user