Skip to content

Commit 2246136

Browse files
committed
Fix for issue #981
1 parent d9e3c80 commit 2246136

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/java/org/refactoringminer/astDiff/matchers/wrappers/FieldDeclarationMatcher.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ private void processFieldDeclaration(Tree srcTree, Tree dstTree, UMLAttribute sr
8181
if (srcUMLAttribute instanceof UMLEnumConstant && dstUMLAttribute instanceof UMLEnumConstant) {
8282
//JavaDocs are mapped as well.
8383
new LeafMatcher().match(srcAttr,dstAttr,mappingStore);
84+
new JavaDocMatcher(optimizationData, srcUMLAttribute.getJavadoc(), dstUMLAttribute.getJavadoc(), umlJavadocDiff)
85+
.match(srcTree, dstTree, mappingStore);
8486
return;
8587
}
8688
}

0 commit comments

Comments
 (0)