FELIX-1957 Replace use String.matches by using a regular string match. First this makes this method usable in a OSGi/Minimum-1.0 EE evnironment this should also make this method faster: Previously the list was iterated and for each pattern, the JAR file was opened and scanned. Now the JAR file is opened and scanned once and for each entry, the list of "prefixes" is matched.

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@900191 13f79535-47bb-0310-9956-ffa450edef68
1 file changed