Project

General

Profile

« Previous | Next » 

Revision 63327

clean up imports

View differences:

modules/dnet-claims-service/trunk/src/main/java/eu/dnetlib/openaire/cors/CustomCorsFilter.java
1 1
package eu.dnetlib.openaire.cors;
2 2

  
3
import org.slf4j.Logger;
4
import org.slf4j.LoggerFactory;
5
import org.springframework.core.Ordered;
6
import org.springframework.core.annotation.Order;
7
import org.springframework.stereotype.Component;
8

  
9
import javax.servlet.*;
10
import javax.servlet.http.HttpServletRequest;
11
import javax.servlet.http.HttpServletResponse;
3 12
import java.io.IOException;
4 13
import java.util.ArrayList;
5 14
import java.util.Arrays;
......
7 16
import java.util.regex.Matcher;
8 17
import java.util.regex.Pattern;
9 18
import java.util.stream.Collectors;
10
import javax.annotation.PostConstruct;
11
import javax.servlet.*;
12
import javax.servlet.http.HttpServletRequest;
13
import javax.servlet.http.HttpServletResponse;
14

  
15
import org.slf4j.Logger;
16
import org.slf4j.LoggerFactory;
17
import org.springframework.beans.factory.annotation.Value;
18
import org.springframework.core.Ordered;
19
import org.springframework.core.annotation.Order;
20
import org.springframework.stereotype.Component;
21
import org.springframework.web.filter.OncePerRequestFilter;
22

  
23 19
@Component
24 20
@Order(Ordered.HIGHEST_PRECEDENCE)
25 21
public class CustomCorsFilter implements Filter {

Also available in: Unified diff