SEC-3164: JDK6 compatability

This commit is contained in:
Rob Winch 2015-12-02 14:16:57 -06:00
parent 3cc085bcdd
commit 81db6abbe0

View File

@ -236,7 +236,7 @@ public final class CsrfFilter extends OncePerRequestFilter {
}
private static final class DefaultRequiresCsrfMatcher implements RequestMatcher {
private final HashSet<String> allowedMethods = new HashSet<>(Arrays.asList("GET", "HEAD", "TRACE", "OPTIONS"));
private final HashSet<String> allowedMethods = new HashSet<String>(Arrays.asList("GET", "HEAD", "TRACE", "OPTIONS"));
/*
* (non-Javadoc)