From a3daead123f0d326e18e30f45b1020c2d194d384 Mon Sep 17 00:00:00 2001 From: Michal Kordas Date: Thu, 3 Sep 2015 21:37:22 +0200 Subject: [PATCH] Issue #2065: Add suppression for IntelliJ IDEA inspection as comment --- config/intellij-idea-inspections.xml | 1 - .../com/puppycrawl/tools/checkstyle/PropertiesExpander.java | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/config/intellij-idea-inspections.xml b/config/intellij-idea-inspections.xml index 3bc416dc6..ecf0ccd4e 100644 --- a/config/intellij-idea-inspections.xml +++ b/config/intellij-idea-inspections.xml @@ -1972,7 +1972,6 @@ diff --git a/src/main/java/com/puppycrawl/tools/checkstyle/PropertiesExpander.java b/src/main/java/com/puppycrawl/tools/checkstyle/PropertiesExpander.java index 365b13496..6dcdbb9ae 100644 --- a/src/main/java/com/puppycrawl/tools/checkstyle/PropertiesExpander.java +++ b/src/main/java/com/puppycrawl/tools/checkstyle/PropertiesExpander.java @@ -37,8 +37,8 @@ public final class PropertiesExpander * @param properties the underlying properties to use for * property resolution. * @throws IllegalArgumentException indicates null was passed + * @noinspection IDEA CollectionDeclaredAsConcreteClass */ - @SuppressWarnings("idea: CollectionDeclaredAsConcreteClass") public PropertiesExpander(Properties properties) { if (properties == null) { throw new IllegalArgumentException("cannot pass null");