code: private void addAllWithFilter(Map<String, String> toMap, Map<String, String> fromMap, IncludeExcludePatterns pattern) {
          for (Object o : fromMap.entrySet()) {
              Map.Entry entry = (Map.Entry) o;
              String key = (String) entry.getKey();
              if (PatternMatcher.pathConflicts(key, pattern)) {
                  continue;
              }
              toMap.put(key, (String) entry.getValue());
          }
      }
docs: Adds all pairs from 'fromMap' to 'toMap' excluding once that matching the pattern