void () { if (!myWildcardPatterns.isEmpty()) { removeWildcardPatterns(); } try { for (String pattern : DEFAULT_WILDCARD_PATTERNS) { addWildcardResourcePattern(pattern); } } catch (MalformedPatternException e) { LOG.error(e); } }