fixed trivial bug returning default recover time in ParseMaxRecoveryTime

This commit is contained in:
eeichinger
2008-10-03 09:44:00 +00:00
parent 0c0c66c7d2
commit f015a40cb8

View File

@@ -423,7 +423,7 @@ namespace Spring.Messaging.Nms.Config
private string ParseMaxRecoveryTime(XmlElement ele, ParserContext parserContext)
{
string recoverTime = ele.GetAttribute(MAX_RECOVERY_TIME_ATTRIBUTE);
if (!StringUtils.HasText(recoverTime))
if (StringUtils.HasText(recoverTime))
{
return recoverTime;
}