public static void check(final Project project, final String vcsName) {
    if (SystemInfo.isUnix && ROOT_USER.equals(System.getenv("USER"))) {
      String message = VcsBundle.message("message.read.only.status.title", vcsName);
      String fullProductName = ApplicationNamesInfo.getInstance().getFullProductName();
      String content = VcsBundle.message("message.read.only.status.content", fullProductName);
      Notifications.Bus.notify(new Notification(vcsName, message, content, NotificationType.WARNING), project);
    }
  }
public static void check(final Project project, final String vcsName)