blob: 2271f9230b767ac7b1b383789c463bbd43ee2f55 [file] [log] [blame]
package com.puppycrawl.tools.checkstyle.checks.annotation.suppresswarnings;
import java.util.List;
import java.util.ArrayList;
public class InputSuppressWarningsConstants
{
public static final String UNCHECKED = "unchecked";
public static void test() {
@SuppressWarnings(UNCHECKED)
final List<String> dummyOne = (List<String>) new ArrayList();
@SuppressWarnings(InputSuppressWarningsConstants.UNCHECKED)
final List<String> dummyTwo = (List<String>) new ArrayList();
}
}