IgnoredFileBean (@NotNull @NlsSafe String path, @Nullable Project p) { String correctedPath = (path.endsWith("/") || path.endsWith(File.separator)) ? path : path + "/"; return new IgnoredFileBean(correctedPath, IgnoreSettingsType.UNDER_DIR, p); }