在研究SS
問題就在這個遍歷Map上
private ConfigAttributeDefinition lookupUrlInMap(Map requestMap
Iterator entries = requestMap
while (entries
Map
Object p = entry
boolean matched = urlMatcher
if (logger
logger
}
if (matched) {
return (ConfigAttributeDefinition) entry
}
}
return null;
}
return null
private ConfigAttributeDefinition lookupUrlInMap(Map requestMap
ConfigAttributeDefinition cad = (ConfigAttributeDefinition)requestMap
if(cad != null) {
return cad;
}
Iterator entries = requestMap
while (entries
Map
Object p = entry
boolean matched = urlMatcher
if (logger
logger
}
if (matched) {
return (ConfigAttributeDefinition) entry
}
}
return null;
}
當然
總之
From:http://tw.wingwit.com/Article/program/Java/ky/201311/28285.html