View Javadoc

1   package org.springframework.beans;
2   
3   import java.io.File;
4   
5   public class MultipleCopyrightIgnores extends CommonIgnoresFilter {
6   
7       @Override
8       public boolean accept(File file) {
9           String path = file.getAbsolutePath();
10  
11          if (path.endsWith(".xsd") && contains(path, "/impl/src/main/resources/schema/")) {
12              return false;
13          } else {
14              return super.accept(file);
15          }
16      }
17  }