mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-46129 Do not suggest "Add Maven dependency" fix in unproper places
This commit is contained in:
+1
-1
@@ -40,7 +40,7 @@ import java.util.regex.Pattern;
|
||||
|
||||
public class AddMavenDependencyQuickFix implements IntentionAction, LowPriorityAction {
|
||||
|
||||
private static final Pattern CLASSNAME_PATTERN = Pattern.compile("(\\p{javaJavaIdentifierStart}\\p{javaJavaIdentifierPart}*\\.)*[A-Z]\\p{javaJavaIdentifierPart}+");
|
||||
private static final Pattern CLASSNAME_PATTERN = Pattern.compile("(\\p{javaJavaIdentifierStart}\\p{javaJavaIdentifierPart}*\\.)*\\p{Lu}\\p{javaJavaIdentifierPart}+");
|
||||
|
||||
private final PsiJavaCodeReferenceElement myRef;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user