Issue #2065: Add suppression for IntelliJ IDEA inspection as comment

This commit is contained in:
Michal Kordas 2015-09-03 21:37:22 +02:00
parent 6389959930
commit a3daead123
2 changed files with 1 additions and 2 deletions

View File

@ -1972,7 +1972,6 @@
<option value="deprecation" />
<option value="unchecked" />
<option value="rawtypes" />
<option value="idea: CollectionDeclaredAsConcreteClass" />
</list>
</option>
</inspection_tool>

View File

@ -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");