Invalid Change History - pmd/src/net.sourceforge.pmd.typeresolution.ClassTypeResolver#visit(ASTCompilationUnit, Object)$catch(96-98)
flozender opened this issue · 2 comments
flozender commented
In commit a708221106c1084c8aef235b14c39ad0f2c6bb1a
and file pmd/src/net/sourceforge/pmd/typeresolution/ClassTypeResolver.java
, element pmd/src/net.sourceforge.pmd.typeresolution.ClassTypeResolver#visit(ASTCompilationUnit, Object)$catch(96-98)
was identified as being expression change, body change
, which may not be accurate.
Oracle filename: pmd-ClassTypeResolver-visit-CATCH_CLAUSE.json
flozender commented
R96
matches with L98
but should be matched with L96
flozender commented
Correct change history:
"expectedChanges": [
{
"parentCommitId": "1b4aef4e56a27d4f13aed630d4e91cc8d36d2066",
"commitId": "a708221106c1084c8aef235b14c39ad0f2c6bb1a",
"commitTime": 1191507050,
"changeType": "body change",
"elementFileBefore": "pmd/src/net/sourceforge/pmd/typeresolution/ClassTypeResolver.java",
"elementNameBefore": "pmd/src/net.sourceforge.pmd.typeresolution.ClassTypeResolver#visit(ASTCompilationUnit, Object)$catch(96-98)",
"elementFileAfter": "pmd/src/net/sourceforge/pmd/typeresolution/ClassTypeResolver.java",
"elementNameAfter": "pmd/src/net.sourceforge.pmd.typeresolution.ClassTypeResolver#visit(ASTCompilationUnit, Object)$catch(96-98)"
},
{
"parentCommitId": "8625d13b0ff5442e3ee1f380bea68b413fe8221b",
"commitId": "1b4aef4e56a27d4f13aed630d4e91cc8d36d2066",
"commitTime": 1191500633,
"changeType": "body change",
"elementFileBefore": "pmd/src/net/sourceforge/pmd/typeresolution/ClassTypeResolver.java",
"elementNameBefore": "pmd/src/net.sourceforge.pmd.typeresolution.ClassTypeResolver#visit(ASTCompilationUnit, Object)$catch(96-98)",
"elementFileAfter": "pmd/src/net/sourceforge/pmd/typeresolution/ClassTypeResolver.java",
"elementNameAfter": "pmd/src/net.sourceforge.pmd.typeresolution.ClassTypeResolver#visit(ASTCompilationUnit, Object)$catch(96-98)"
},
{
"parentCommitId": "a8f04ec309cc0d772818a7993419fa02cf4969b5",
"commitId": "3bbc6575ef1ade840f1bfa7b9d9090a20a4e1394",
"commitTime": 1188334863,
"changeType": "body change",
"elementFileBefore": "pmd/src/net/sourceforge/pmd/typeresolution/ClassTypeResolver.java",
"elementNameBefore": "pmd/src/net.sourceforge.pmd.typeresolution.ClassTypeResolver#visit(ASTCompilationUnit, Object)$catch(92-94)",
"elementFileAfter": "pmd/src/net/sourceforge/pmd/typeresolution/ClassTypeResolver.java",
"elementNameAfter": "pmd/src/net.sourceforge.pmd.typeresolution.ClassTypeResolver#visit(ASTCompilationUnit, Object)$catch(96-98)"
},
{
"parentCommitId": "639ff6a00bd18370ad109e347e67de4bd1a3bab6",
"commitId": "ad46a291ea19b057a88588db2c80f50374599b6a",
"commitTime": 1176761801,
"changeType": "body change",
"elementFileBefore": "pmd/src/net/sourceforge/pmd/typeresolution/ClassTypeResolver.java",
"elementNameBefore": "pmd/src/net.sourceforge.pmd.typeresolution.ClassTypeResolver#visit(ASTCompilationUnit, Object)$catch(91-93)",
"elementFileAfter": "pmd/src/net/sourceforge/pmd/typeresolution/ClassTypeResolver.java",
"elementNameAfter": "pmd/src/net.sourceforge.pmd.typeresolution.ClassTypeResolver#visit(ASTCompilationUnit, Object)$catch(90-92)"
},
{
"parentCommitId": "f3c562c3db0f8ac1b1454c4abca63e8a4a99e0aa",
"commitId": "8812185444622ed8606bbcf79aed12477786a877",
"commitTime": 1170506892,
"changeType": "body change",
"elementFileBefore": "pmd/src/net/sourceforge/pmd/typeresolution/ClassTypeResolver.java",
"elementNameBefore": "pmd/src/net.sourceforge.pmd.typeresolution.ClassTypeResolver#visit(ASTCompilationUnit, Object)$catch(46-48)",
"elementFileAfter": "pmd/src/net/sourceforge/pmd/typeresolution/ClassTypeResolver.java",
"elementNameAfter": "pmd/src/net.sourceforge.pmd.typeresolution.ClassTypeResolver#visit(ASTCompilationUnit, Object)$catch(91-93)"
},
{
"parentCommitId": "15abbd44aea422f4ecdbb646b9ce52ab0ef363b2",
"commitId": "6215d97b9e136a46f58f13dd30c65690fef4a28d",
"commitTime": 1161830138,
"changeType": "introduced",
"elementFileBefore": "pmd/src/net/sourceforge/pmd/typeresolution/ClassTypeResolver.java",
"elementNameBefore": "pmd/src/net.sourceforge.pmd.typeresolution.ClassTypeResolver#visit(ASTCompilationUnit, Object)$catch(47-49)",
"elementFileAfter": "pmd/src/net/sourceforge/pmd/typeresolution/ClassTypeResolver.java",
"elementNameAfter": "pmd/src/net.sourceforge.pmd.typeresolution.ClassTypeResolver#visit(ASTCompilationUnit, Object)$catch(47-49)",
"comment": "added with method"
}
]