}
if (ignoredPath.endsWith("*")) {
list.add(new IgnoredPathStarts(ignoredPath.substring(0,
ignoredPath.length() - 1)));
} else if (ignoredPath.startsWith("*")) {
list.add(new IgnoredPathEnds(ignoredPath.substring(1)));
} else {
list.add(new IgnoredPathEquals(ignoredPath));
}
}
}