fix SOE caused by incorrect SS replace in 0830617

This commit is contained in:
Daniil Ovchinnikov
2018-04-11 19:33:08 +03:00
parent f426ee5927
commit 92b5481a87
@@ -46,7 +46,8 @@ public interface PsiAnnotationOwner {
* @since 2018.2
*/
default boolean hasAnnotation(@NotNull @NonNls String qualifiedName) {
return hasAnnotation(qualifiedName);
//noinspection SSBasedInspection
return findAnnotation(qualifiedName) != null;
}
/**