if (appDict != null) {
NSArray appDictKeys = appDict.allKeys();
for (Enumeration e2 = appDictKeys.objectEnumerator(); e2.hasMoreElements(); ) {
String appDictKey = (String) e2.nextElement();
NSTimestamp lastLifebeat = (NSTimestamp) appDict.valueForKey(appDictKey);
if ( (lastLifebeat != null) && (lastLifebeat.before(cutOffDate)) ) {
appDict.removeObjectForKey(appDictKey);
}
}
if (appDict.count() == 0) {
unknownApps.removeObjectForKey(unknownAppKey);