mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-165641 IDEA 2016.3.1: Wrong unused import recognition in xml files
This commit is contained in:
@@ -71,7 +71,7 @@ public class XmlRefCountHolder {
|
||||
private final Set<String> myUsedPrefixes = new HashSet<>();
|
||||
private final Set<String> myUsedNamespaces = new HashSet<>();
|
||||
|
||||
private static final Pattern PREFIX_PATTERN = Pattern.compile("\\w+:");
|
||||
private static final Pattern PREFIX_PATTERN = Pattern.compile("[\\w_][\\w_.]*:");
|
||||
|
||||
@Nullable
|
||||
public static XmlRefCountHolder getRefCountHolder(@NotNull XmlFile file) {
|
||||
|
||||
Reference in New Issue
Block a user