Skip to content

Commit

Permalink
Support Java 8
Browse files Browse the repository at this point in the history
  • Loading branch information
tilln committed Aug 27, 2024
1 parent bdd7552 commit a237008
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public class CorsPreProcessor extends AbstractTestElement implements PreProcesso
public static final String forbiddenMethods = "CONNECT|TRACE|TRACK";
public static final String methodOverrideHeaders = "x-http-method|x-http-method-override|x-method-override";

final static Map<String, String> safeListedHeaders = new HashMap<>() {{
final static Map<String, String> safeListedHeaders = new HashMap<String, String>() {{
put("accept", ".*");
put("accept-language", ".*");
put("content-language", ".*");
Expand Down

0 comments on commit a237008

Please sign in to comment.