Skip to content

RAT-541: create testhelpers.data package#655

Draft
Claudenw wants to merge 33 commits into
masterfrom
RAT-541_create-testhelper_data-package
Draft

RAT-541: create testhelpers.data package#655
Claudenw wants to merge 33 commits into
masterfrom
RAT-541_create-testhelper_data-package

fixed checkstyle issues

cfa48bb
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Jun 26, 2026 in 37s

Quality Gate failed

Annotations

Check warning on line 75 in apache-rat-core/src/test/java/org/apache/rat/ReportConfigurationTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import 'org.w3c.dom.Node'.

See more on https://sonarcloud.io/project/issues?id=apache_creadur-rat&issues=AZ8DCZ1ZFmdf2XmY5rvx&open=AZ8DCZ1ZFmdf2XmY5rvx&pullRequest=655

Check warning on line 876 in apache-rat-core/src/test/java/org/apache/rat/ReportConfigurationTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

A single-line comment should start with exactly two slashes, no more.

See more on https://sonarcloud.io/project/issues?id=apache_creadur-rat&issues=AZ8DCZ1ZFmdf2XmY5rvp&open=AZ8DCZ1ZFmdf2XmY5rvp&pullRequest=655

Check warning on line 38 in apache-rat-core/src/test/java/org/apache/rat/testhelpers/data/AbstractTestDataProvider.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import 'org.apache.rat.utils.Log'.

See more on https://sonarcloud.io/project/issues?id=apache_creadur-rat&issues=AZ8DCZwkFmdf2XmY5rvk&open=AZ8DCZwkFmdf2XmY5rvk&pullRequest=655

Check warning on line 30 in apache-rat-core/src/test/java/org/apache/rat/ReporterOptionsProvider.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import 'java.io.Reader'.

See more on https://sonarcloud.io/project/issues?id=apache_creadur-rat&issues=AZ7vw-kxM7sgytyXdkP5&open=AZ7vw-kxM7sgytyXdkP5&pullRequest=655

Check warning on line 31 in apache-rat-core/src/test/java/org/apache/rat/ReporterOptionsProvider.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import 'java.io.Writer'.

See more on https://sonarcloud.io/project/issues?id=apache_creadur-rat&issues=AZ7vw-kxM7sgytyXdkP6&open=AZ7vw-kxM7sgytyXdkP6&pullRequest=655

Check warning on line 61 in apache-rat-core/src/test/java/org/apache/rat/ReportConfigurationTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import 'org.apache.rat.report.claim.ClaimStatistic'.

See more on https://sonarcloud.io/project/issues?id=apache_creadur-rat&issues=AZ8DCZ1ZFmdf2XmY5rvv&open=AZ8DCZ1ZFmdf2XmY5rvv&pullRequest=655

Check warning on line 46 in apache-rat-core/src/test/java/org/apache/rat/ReportConfigurationTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import 'org.apache.commons.io.function.IOSupplier'.

See more on https://sonarcloud.io/project/issues?id=apache_creadur-rat&issues=AZ8DCZ1ZFmdf2XmY5rvr&open=AZ8DCZ1ZFmdf2XmY5rvr&pullRequest=655

Check warning on line 106 in apache-rat-core/src/main/java/org/apache/rat/OptionCollectionParser.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this nested try block into a separate method.

See more on https://sonarcloud.io/project/issues?id=apache_creadur-rat&issues=AZ8DCZsnFmdf2XmY5rvi&open=AZ8DCZsnFmdf2XmY5rvi&pullRequest=655

Check warning on line 76 in apache-rat-core/src/test/java/org/apache/rat/ReportConfigurationTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import 'org.xml.sax.SAXException'.

See more on https://sonarcloud.io/project/issues?id=apache_creadur-rat&issues=AZ8DCZ1ZFmdf2XmY5rvy&open=AZ8DCZ1ZFmdf2XmY5rvy&pullRequest=655

Check warning on line 40 in apache-rat-core/src/test/java/org/apache/rat/commandline/ArgTests.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused private "createCommandLine" method.

See more on https://sonarcloud.io/project/issues?id=apache_creadur-rat&issues=AZ8DCZyvFmdf2XmY5rvn&open=AZ8DCZyvFmdf2XmY5rvn&pullRequest=655

Check warning on line 23 in apache-rat-core/src/test/java/org/apache/rat/ReporterOptionsProvider.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import 'java.io.FileInputStream'.

See more on https://sonarcloud.io/project/issues?id=apache_creadur-rat&issues=AZ6DedpCTlzZN0sxhTRS&open=AZ6DedpCTlzZN0sxhTRS&pullRequest=655

Check warning on line 32 in apache-rat-core/src/test/java/org/apache/rat/OptionCollectionParserTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import 'java.io.IOException'.

See more on https://sonarcloud.io/project/issues?id=apache_creadur-rat&issues=AZ8DCZyYFmdf2XmY5rvm&open=AZ8DCZyYFmdf2XmY5rvm&pullRequest=655

Check warning on line 40 in apache-rat-core/src/test/java/org/apache/rat/ReportConfigurationTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import 'java.util.Map'.

See more on https://sonarcloud.io/project/issues?id=apache_creadur-rat&issues=AZ8DCZ1ZFmdf2XmY5rvq&open=AZ8DCZ1ZFmdf2XmY5rvq&pullRequest=655

Check warning on line 78 in apache-rat-core/src/test/java/org/apache/rat/ReportConfigurationTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import 'javax.xml.parsers.DocumentBuilder'.

See more on https://sonarcloud.io/project/issues?id=apache_creadur-rat&issues=AZ8DCZ1ZFmdf2XmY5rvz&open=AZ8DCZ1ZFmdf2XmY5rvz&pullRequest=655

Check warning on line 50 in apache-rat-core/src/test/java/org/apache/rat/ReportConfigurationTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import 'org.apache.rat.commandline.StyleSheets'.

See more on https://sonarcloud.io/project/issues?id=apache_creadur-rat&issues=AZ8DCZ1ZFmdf2XmY5rvt&open=AZ8DCZ1ZFmdf2XmY5rvt&pullRequest=655

Check warning on line 25 in apache-rat-core/src/test/java/org/apache/rat/ReporterOptionsProvider.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import 'java.io.FileWriter'.

See more on https://sonarcloud.io/project/issues?id=apache_creadur-rat&issues=AZ7vw-kxM7sgytyXdkP4&open=AZ7vw-kxM7sgytyXdkP4&pullRequest=655

Check warning on line 38 in apache-rat-core/src/test/java/org/apache/rat/analysis/HeaderCheckWorkerTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import 'org.assertj.core.util.Lists'.

See more on https://sonarcloud.io/project/issues?id=apache_creadur-rat&issues=AZ6DedoLTlzZN0sxhTQ_&open=AZ6DedoLTlzZN0sxhTQ_&pullRequest=655

Check warning on line 24 in apache-rat-core/src/test/java/org/apache/rat/analysis/HeaderCheckWorkerTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import 'java.util.Collections'.

See more on https://sonarcloud.io/project/issues?id=apache_creadur-rat&issues=AZ6DedoLTlzZN0sxhTQ-&open=AZ6DedoLTlzZN0sxhTQ-&pullRequest=655

Check warning on line 53 in apache-rat-core/src/test/java/org/apache/rat/ReportConfigurationTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import 'org.apache.rat.configuration.XMLConfigurationReader'.

See more on https://sonarcloud.io/project/issues?id=apache_creadur-rat&issues=AZ8DCZ1ZFmdf2XmY5rvu&open=AZ8DCZ1ZFmdf2XmY5rvu&pullRequest=655

Check warning on line 33 in apache-rat-core/src/test/java/org/apache/rat/config/exclusion/ExclusionProcessorTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import 'org.apache.rat.testhelpers.TextUtils'.

See more on https://sonarcloud.io/project/issues?id=apache_creadur-rat&issues=AZ8DCZveFmdf2XmY5rvj&open=AZ8DCZveFmdf2XmY5rvj&pullRequest=655

Check warning on line 62 in apache-rat-core/src/test/java/org/apache/rat/ReportConfigurationTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import 'org.apache.rat.report.xml.writer.XmlWriter'.

See more on https://sonarcloud.io/project/issues?id=apache_creadur-rat&issues=AZ8DCZ1ZFmdf2XmY5rvw&open=AZ8DCZ1ZFmdf2XmY5rvw&pullRequest=655

Check warning on line 48 in apache-rat-core/src/test/java/org/apache/rat/ReportConfigurationTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import 'org.apache.commons.lang3.StringUtils'.

See more on https://sonarcloud.io/project/issues?id=apache_creadur-rat&issues=AZ8DCZ1ZFmdf2XmY5rvs&open=AZ8DCZ1ZFmdf2XmY5rvs&pullRequest=655

Check warning on line 80 in apache-rat-core/src/test/java/org/apache/rat/ReportConfigurationTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import 'javax.xml.parsers.ParserConfigurationException'.

See more on https://sonarcloud.io/project/issues?id=apache_creadur-rat&issues=AZ8DCZ1ZFmdf2XmY5rv1&open=AZ8DCZ1ZFmdf2XmY5rv1&pullRequest=655

Check warning on line 76 in apache-rat-core/src/test/java/org/apache/rat/ReporterTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import 'org.junit.jupiter.api.AfterEach'.

See more on https://sonarcloud.io/project/issues?id=apache_creadur-rat&issues=AZ6Dz6cmUpn8FbF7fang&open=AZ6Dz6cmUpn8FbF7fang&pullRequest=655

Check warning on line 144 in apache-rat-core/src/test/java/org/apache/rat/ReporterTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the declaration of thrown exception 'org.apache.commons.cli.ParseException', as it cannot be thrown from method's body.

See more on https://sonarcloud.io/project/issues?id=apache_creadur-rat&issues=AZ8DCZ2uFmdf2XmY5rv2&open=AZ8DCZ2uFmdf2XmY5rv2&pullRequest=655