From c324b05dfdeb0ce41af355db95b7da3149f8f98a Mon Sep 17 00:00:00 2001 From: Roman Ivanov Date: Wed, 18 Nov 2015 05:53:18 -0800 Subject: Revert "Issue #2290: Add 'skipCatchParameter' to skip catch parameter from validation" This reverts commit 176301250bfd2063f405fed4a960064e0a3e0230. --- .../checks/naming/InputCatchParameter.java | 27 ---------------------- 1 file changed, 27 deletions(-) delete mode 100644 src/test/resources/com/puppycrawl/tools/checkstyle/checks/naming/InputCatchParameter.java (limited to 'src/test/resources/com/puppycrawl/tools/checkstyle/checks/naming/InputCatchParameter.java') diff --git a/src/test/resources/com/puppycrawl/tools/checkstyle/checks/naming/InputCatchParameter.java b/src/test/resources/com/puppycrawl/tools/checkstyle/checks/naming/InputCatchParameter.java deleted file mode 100644 index 47388bef2..000000000 --- a/src/test/resources/com/puppycrawl/tools/checkstyle/checks/naming/InputCatchParameter.java +++ /dev/null @@ -1,27 +0,0 @@ -package com.puppycrawl.tools.checkstyle.checks.naming; - -import java.io.FileNotFoundException; -import java.io.IOException; -import java.sql.SQLException; - -public class InputCatchParameter { - - void foo1() { - try { - - } - catch (Exception ex) { - - } - } - - void foo2() { - try { - - } - catch (NullPointerException | IllegalArgumentException ex) { - // just to check how the ParentName's option 'skipCahcthParameter' deals with catching - // multiple exception types and - } - } -} -- cgit v1.2.3