From 42ff3a331eef4b901dbacfdff4193a23368aca1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Fournier?= Date: Tue, 16 May 2023 15:55:42 +0200 Subject: [PATCH] Cleanup test --- .../pmd/lang/java/rule/design/xml/ExceptionAsFlowControl.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/design/xml/ExceptionAsFlowControl.xml b/pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/design/xml/ExceptionAsFlowControl.xml index e07a11f1e6..ef4467aabe 100644 --- a/pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/design/xml/ExceptionAsFlowControl.xml +++ b/pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/design/xml/ExceptionAsFlowControl.xml @@ -113,7 +113,7 @@ class SubE extends TopE { } } return result; } catch (NullPointerException | InvalidCacheLoadException e) { - throw e; // <-- Violation + throw e; } catch (CacheLoaderException e) { throw new ExecutionException(e.getCause()); } catch (Exception e) {