{
String summary = "";
Map<String, Integer> actionCounts = new TreeMap<String, Integer>();
for (int i = 0; i < actions.length(); i++)
{
PackratPackageAction action = actions.get(i);
String actionName = action.getAction();
if (actionCounts.containsKey(actionName))
actionCounts.put(actionName, actionCounts.get(actionName) + 1);
else
actionCounts.put(actionName, 1);
}