code: private void copyBaseDirs(File[] baseDirs) {
          this.baseDirs = new File[baseDirs.length];
          for (int i = 0; i < baseDirs.length; i++) {
              this.baseDirs[i] = baseDirs[i].getAbsoluteFile();
          }
      }
docs: Convert the dirs to absolute paths to prevent that equals returns true for directories with the same name in a different location.
  
  @param baseDirs the directories that are used to resolve resources