code: protected void cleanUpDuplicatedFiles(Map<String, DependencyInfo> depsFiles,
        Map<String, DependencyInfo> jsFiles) {
      Set<String> depsPathsCopy = new HashSet<>(depsFiles.keySet());
      for (String path : depsPathsCopy) {
        if (mergeStrategy != InclusionStrategy.WHEN_IN_SRCS) {
          jsFiles.remove(path);
        }
      }
  
      for (String path : jsFiles.keySet()) {
        // If a generated file appears in both the jsFiles and in depsFiles, then
        // remove it from depsFiles in order to get the full path the generated
        // file.
        depsFiles.remove(path);
      }
    }
docs: Removes duplicated depsInfo from jsFiles if this info already present in
  some of the parsed deps.js
  
  @param depsFiles DepsInfo from deps.js dependencies
  @param jsFiles DepsInfo from some of jsSources