Inspectopedia
 
2024.3

Duplicate or redundant pattern

Warning
Sanity
New
Last modified: 03 December 2024

Reports file patterns that are redundant as there already are other patterns that define the same scope of files or even a broader one. For example, in [{*.java,*}] the first *.java pattern defines a narrower scope compared to *. That is why it is redundant and can be removed.