From 7e3df081b80da28d4e903f0694414eed91cbf3a0 Mon Sep 17 00:00:00 2001 From: Matteo Mara Date: Fri, 3 Mar 2023 17:01:35 +0100 Subject: [PATCH] [SONAR-16198] update text in the administration panel regarding common repositories --- .../org/sonar/core/config/IssueExclusionProperties.java | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/sonar-core/src/main/java/org/sonar/core/config/IssueExclusionProperties.java b/sonar-core/src/main/java/org/sonar/core/config/IssueExclusionProperties.java index 1bce9451179..1966e73c905 100644 --- a/sonar-core/src/main/java/org/sonar/core/config/IssueExclusionProperties.java +++ b/sonar-core/src/main/java/org/sonar/core/config/IssueExclusionProperties.java @@ -19,7 +19,6 @@ */ package org.sonar.core.config; -import com.google.common.collect.ImmutableList; import java.util.List; import org.sonar.api.CoreProperties; import org.sonar.api.PropertyType; @@ -54,14 +53,12 @@ public final class IssueExclusionProperties { public static final String PATTERNS_ALLFILE_KEY = EXCLUSION_KEY_PREFIX + ALLFILE_SUFFIX; public static final String FILE_REGEXP = "fileRegexp"; - public static final int LARGE_SIZE = 40; - private IssueExclusionProperties() { // only static } public static List all() { - return ImmutableList.of( + return List.of( PropertyDefinition.builder(PATTERNS_MULTICRITERIA_EXCLUSION_KEY) .category(CoreProperties.CATEGORY_EXCLUSIONS) .subCategory(SUB_CATEGORY_IGNORE_ISSUES) @@ -86,7 +83,7 @@ public final class IssueExclusionProperties { .category(CoreProperties.CATEGORY_EXCLUSIONS) .subCategory(SUB_CATEGORY_IGNORE_ISSUES) .name("Ignore Issues in Blocks") - .description("Patterns to ignore all issues (except the ones from the common repository) on specific blocks of code, " + + .description("Patterns to ignore all issues on specific blocks of code, " + "while continuing to scan and mark issues on the remainder of the file.") .onQualifiers(Qualifiers.PROJECT) .index(2) @@ -107,7 +104,7 @@ public final class IssueExclusionProperties { .category(CoreProperties.CATEGORY_EXCLUSIONS) .subCategory(SUB_CATEGORY_IGNORE_ISSUES) .name("Ignore Issues on Files") - .description("Patterns to ignore all issues (except the ones from the common repository) on files that contain a block of code matching a given regular expression.") + .description("Patterns to ignore all issues on files that contain a block of code matching a given regular expression.") .onQualifiers(Qualifiers.PROJECT) .index(1) .fields( -- 2.39.5