Take high mask into account when reporting duplicates
manio143 opened this issue · comments
The usual situation is that you copy a file or a method with the log tags in place and you need a report remind you about clearing them. When tags are duplicated in the same file, always report all instances. When tags are duplicated across files we can check the high mask for the hash of the class they are in - same way as we use it during generation of a tag. If in the set of duplicates one is in a class with a matching high mask and others are mismatching then the one which matches shouldn't be reported. In the case where they all mismatch, all should be reported.