ignore = ignore.substring(0, ignore.length() - 1);
} while (ignore.endsWith("*"));
if (ignore.length() == 0) {
LOG.debug("Ignoring all imports due to %s value of %s", ServiceConstants.INSTR_FAB_EXCLUDE_IMPORTS_PACKAGE, expression);
values.clear();
} else {
List<String> packageNames = new ArrayList<String>(values.keySet());
for (String packageName : packageNames) {
if (packageName.equals(ignore) || packageName.startsWith(ignore)) {
if (LOG.isDebugEnabled()) {