Merge "Issue #2566 fix bandwidthmanager spring file resource resolution." into omaha_14.2.1

Former-commit-id: d9d19a1515 [formerly 4ea822a22d2b21b4b3172a1f93773f01c2af20de]
Former-commit-id: 51e46e08c5
This commit is contained in:
Richard Peter 2013-12-11 16:08:06 -06:00 committed by Gerrit Code Review
commit 561706ef1e

View file

@ -53,6 +53,7 @@ import com.raytheon.uf.common.time.util.IPerformanceTimer;
import com.raytheon.uf.common.time.util.ITimer;
import com.raytheon.uf.common.time.util.TimeUtil;
import com.raytheon.uf.common.util.CollectionUtil;
import com.raytheon.uf.common.util.JarUtil;
import com.raytheon.uf.common.util.LogUtil;
import com.raytheon.uf.common.util.algorithm.AlgorithmUtil;
import com.raytheon.uf.common.util.algorithm.AlgorithmUtil.IBinarySearchResponse;
@ -129,6 +130,7 @@ import com.raytheon.uf.edex.registry.ebxml.exception.EbxmlRegistryException;
* Nov 04, 2013 2506 bgonzale Added removeBandwidthSubscriptions method.
* Nov 19, 2013 2545 bgonzale changed getBandwidthGraphData to protected.
* Dec 04, 2013 2566 bgonzale added method to retrieve and parse spring files for a mode.
* Dec 11, 2013 2566 bgonzale fix spring resource resolution.
*
* </pre>
*
@ -193,8 +195,9 @@ public abstract class BandwidthManager<T extends Time, C extends Coverage>
int i = 0;
for (String fileName : fileList) {
String name = RES_PATTERN.matcher(fileName).replaceFirst("");
name = JarUtil.getResResourcePath(name);
result[i++] = name;
statusHandler.debug("Spring file added: " + name + " for mode "
statusHandler.info("Spring file added: " + name + " for mode "
+ modeName);
}
return result;