Skip to content

Commit 4aaf0da

Browse files
committed
Fixups from review (#144)
1 parent 1528f30 commit 4aaf0da

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/it/MPMD-379-JDK21/invoker.properties

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717

18-
invoker.java.version = 1.8+
19-
2018
# available toolchains under linux:
2119
# https://github.com/apache/infrastructure-p6/blob/production/modules/build_nodes/files/toolchains.xml
2220

src/main/java/org/apache/maven/plugins/pmd/exec/CpdExecutor.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,11 +181,11 @@ private CpdResult run() throws MavenReportException {
181181
writeFormattedReport(report);
182182
}
183183
} catch (MavenReportException e) {
184-
LOG.error(e.getMessage(), e);
184+
LOG.error("Error while writing CPD report", e);
185185
}
186186
});
187187
} catch (IOException e) {
188-
LOG.error("Error while executing CPD: {}", e.getMessage(), e);
188+
LOG.error("Error while executing CPD", e);
189189
}
190190
LOG.debug("CPD finished.");
191191

0 commit comments

Comments
 (0)