void (List<String> repositories) { if (ApplicationManager.getApplication().isUnitTestMode()) return; if (repositories.isEmpty()) { myNotIndexedUrls = Collections.emptySet(); ExternalSystemNotificationManager.getInstance(myProject).clearNotifications( UNINDEXED_MAVEN_REPOSITORIES_NOTIFICATION_GROUP_ID, NotificationSource.PROJECT_SYNC, GradleConstants.SYSTEM_ID); } else { myNotIndexedUrls = new HashSet<>(repositories); } }