This is an automated email from the ASF dual-hosted git repository.
slachiewicz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-reporting-impl.git
The following commit(s) were added to refs/heads/master by this push:
new 8d5b1b5 Apply OpenRewrite static analysis cleanups
8d5b1b5 is described below
commit 8d5b1b5a07f2b2b83265fac027b1a0134ade358f
Author: Sylwester Lachiewicz <[email protected]>
AuthorDate: Mon Nov 16 15:18:56 2026 +0000
Apply OpenRewrite static analysis cleanups
---
src/main/java/org/apache/maven/reporting/AbstractMavenReport.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main/java/org/apache/maven/reporting/AbstractMavenReport.java
b/src/main/java/org/apache/maven/reporting/AbstractMavenReport.java
index 9f9d082..c35e286 100644
--- a/src/main/java/org/apache/maven/reporting/AbstractMavenReport.java
+++ b/src/main/java/org/apache/maven/reporting/AbstractMavenReport.java
@@ -549,7 +549,7 @@ public abstract class AbstractMavenReport extends
AbstractMojo implements MultiP
* @return The input files encoding, never <code>null</code>.
*/
protected String getInputEncoding() {
- return (inputEncoding == null) ? Charset.defaultCharset().name() :
inputEncoding;
+ return inputEncoding == null ? Charset.defaultCharset().name() :
inputEncoding;
}
/**
@@ -558,7 +558,7 @@ public abstract class AbstractMavenReport extends
AbstractMojo implements MultiP
* @return The effective reporting output file encoding, never
<code>null</code>.
*/
protected String getOutputEncoding() {
- return (outputEncoding == null) ? StandardCharsets.UTF_8.name() :
outputEncoding;
+ return outputEncoding == null ? StandardCharsets.UTF_8.name() :
outputEncoding;
}
/**