コード例 #1
0
 /**
  * Returns the populated exclude set or an empty list if the exclude file location is <code>null
  * </code>
  *
  * @param baseline
  * @param filename
  * @return the listing of excluded items
  */
 protected HashSet<String> getExcludeSet(IApiBaseline baseline, String filename) {
   if (filename == null) {
     return null;
   }
   // MY fix it
   final FilteredElements excludedElements =
       Util.initializeRegexFilterList(getExcludeFilePath(filename), baseline, false);
   final HashSet<String> result = new HashSet<String>(excludedElements.getExactMatches());
   result.addAll(excludedElements.getPartialMatches());
   return result;
 }