You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@creadur.apache.org by po...@apache.org on 2026/09/17 12:40:32 UTC

(creadur-rat) branch fix/reduceSonarWarnings created (now e4bcc445a)

This is an automated email from the ASF dual-hosted git repository.

ottlinger pushed a change to branch fix/reduceSonarWarnings
in repository https://gitbox.apache.org/repos/asf/creadur-rat.git


      at e4bcc445a Remove debugging var usage in test

This branch includes the following new commits:

     new e4bcc445a Remove debugging var usage in test

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(creadur-rat) 01/01: Remove debugging var usage in test

Posted by po...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ottlinger pushed a commit to branch fix/reduceSonarWarnings
in repository https://gitbox.apache.org/repos/asf/creadur-rat.git

commit e4bcc445aed16cf13449e4ee94851cc50552bc07
Author: P. Ottlinger <po...@apache.org>
AuthorDate: Thu Sep 17 14:40:13 2026 +0200

    Remove debugging var usage in test
---
 .../src/test/java/org/apache/rat/ReporterOptionsProvider.java         | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/apache-rat-core/src/test/java/org/apache/rat/ReporterOptionsProvider.java b/apache-rat-core/src/test/java/org/apache/rat/ReporterOptionsProvider.java
index 12fe7aa45..d068c089f 100644
--- a/apache-rat-core/src/test/java/org/apache/rat/ReporterOptionsProvider.java
+++ b/apache-rat-core/src/test/java/org/apache/rat/ReporterOptionsProvider.java
@@ -1236,7 +1236,7 @@ class ReporterOptionsProvider extends AbstractOptionsProvider implements Argumen
             System.setOut(out);
             configureSourceDir(OptionCollection.HELP);
 
-            ReportConfiguration config = generateConfig(List.of(arg1), true);
+            generateConfig(List.of(arg1), true);
             assertThat(helpCalled.get()).as("Help was not called").isTrue();
             new Help(System.out).printUsage(options);
             actualText = baos.toString(StandardCharsets.UTF_8);
@@ -1286,7 +1286,7 @@ class ReporterOptionsProvider extends AbstractOptionsProvider implements Argumen
         try (PrintStream out = new PrintStream(baos)) {
             System.setOut(out);
             configureSourceDir(option);
-            ReportConfiguration config = generateConfig(arg1);
+            generateConfig(arg1);
             actualText = baos.toString(StandardCharsets.UTF_8);
         } catch (IOException e) {
             fail(e.getMessage(), e);