use-default-filters a question about the use-default-filters

One problem with the use-default-filters

use-default-filters = true default behavior will automatically scan all annotations

Package and its sub packages under com.fleet notes will be scanned, and this will be a problem, is to include-filter tag will not work

Only when the use-default-filters = false will be useful,

, However, exclude-filter will work is not affected by the use-default-filters,

Action: If you want to scan only a comment, it would need to use use-default-filters = false, this will only scan your notes given

E.g:

If you want to exclude certain notes, do not set up this way, in that case, other notes will not be scanned unless you also given include-filter and exclude-filter

The role of use-default-filters is whether to use the default scanning behavior, exclude-filter will exclude a given scan, but will only include-filter icing on the cake, giving the feeling that did not work

Guess you like

Origin www.cnblogs.com/lcj12121/p/11442910.html