You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by lb...@apache.org on 2020/12/18 09:14:25 UTC

[camel-k-runtime] 04/10: chore(pmd): use DoNotCallSystemExit instead of the deprecated DoNotCallSystemExit

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

lburgazzoli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-k-runtime.git

commit 62fda13b9f2c0f624f9e71b8fc11f69d59b056c7
Author: Luca Burgazzoli <lb...@gmail.com>
AuthorDate: Thu Nov 26 11:21:20 2020 +0100

    chore(pmd): use DoNotCallSystemExit instead of the deprecated DoNotCallSystemExit
---
 support/pmd-ruleset.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/support/pmd-ruleset.xml b/support/pmd-ruleset.xml
index cc3ac65..9c666c8 100644
--- a/support/pmd-ruleset.xml
+++ b/support/pmd-ruleset.xml
@@ -98,7 +98,7 @@
     <rule ref="category/java/errorprone.xml/UnusedNullCheckInEquals"/>
     <rule ref="category/java/errorprone.xml/UselessOperationOnImmutable"/>
     <rule ref="category/java/errorprone.xml/ConstructorCallsOverridableMethod"/>
-    <rule ref="category/java/errorprone.xml/DoNotCallSystemExit"/>
+    <rule ref="category/java/errorprone.xml/DoNotTerminateVM"/>
 
     <rule ref="category/java/multithreading.xml/AvoidThreadGroup"/>
     <rule ref="category/java/multithreading.xml/DontCallThreadRun"/>