*/
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;
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<PropertyDefinition> all() {
- return ImmutableList.of(
+ return List.of(
PropertyDefinition.builder(PATTERNS_MULTICRITERIA_EXCLUSION_KEY)
.category(CoreProperties.CATEGORY_EXCLUSIONS)
.subCategory(SUB_CATEGORY_IGNORE_ISSUES)
.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)
.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(