Inspector ER-214 summary

Severity: 1
Version: 0
Description: Heterogenous Collection detected: The code adds objects of different types in a collection. This can cause serious mainteance issues. The creator and consumer of the collection have to have implicit knowledge about the index of a specific object inside of the collection. Go with a dedicated parameter or Data Transfer Object instead. There is only one exception for using Heterogenous Collection: If all objects in the collection implement a specific interface, this is acceptable.

Violations
#FileLineColumn
1org/hammurapi/HammurapiTask.java28041
2org/hammurapi/HammurapiTask.java28138
3org/hammurapi/HammurapiTask.java42744
4org/hammurapi/InspectorSet.java15770
5org/hammurapi/QuickHammurapiTask.java17541
6org/hammurapi/QuickHammurapiTask.java17638
7org/hammurapi/inspectors/metrics/callertrace/DepthFirstSearch.java3926
8org/hammurapi/results/persistent/jdbc/ResultsFactory.java51934

Hammurapi 3 Copyright © 2004 Hammurapi Group. All Rights Reserved.