Skip to content

Commit

Permalink
#2436 Adding References in report for renovator. (#2442)
Browse files Browse the repository at this point in the history
* Adding References in report for renovator.
  • Loading branch information
mvkp737 authored Oct 15, 2020
1 parent 45b0b99 commit cceec77
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,7 @@ protected void identifyReferences(ActionManager manager) {
discoveredReferences.addAndGet(childNode.getAllReferences().size());
if (detailedReport) {
note(childNode.getSourcePath(), Report.all_references, childNode.getAllReferences().size());
note(childNode.getSourcePath(), Report.referred_in,childNode.getAllReferences().toString());
note(childNode.getSourcePath(), Report.published_references, childNode.getPublishedReferences().size());
}
});
Expand Down Expand Up @@ -627,7 +628,7 @@ protected void removeSource(ActionManager manager) {

@SuppressWarnings("squid:S00115")
enum Report {
misc, target, acl_check, all_references, published_references, move_time, activate_time, deactivate_time
misc, target, acl_check, all_references, published_references, move_time, activate_time, deactivate_time, referred_in
}

private final Map<String, EnumMap<Report, Object>> reportData = new LinkedHashMap<>();
Expand Down

0 comments on commit cceec77

Please sign in to comment.