diff options
author | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2012-02-27 19:08:40 +0000 |
---|---|---|
committer | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2012-02-27 19:08:40 +0000 |
commit | 8fee51b93c848a98e975110238c0d3b96f9ef353 (patch) | |
tree | 35fe2a9ae97e1653cd3cd7a55b970017bf0acd63 | |
parent | 897d2e187b4fe00ac1119208a3e7d8b815229de4 (diff) |
Properly placing the exit when configuration is not available and default is in use
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1294281 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | sca-java-2.x/trunk/modules/common-http/src/main/java/org/apache/tuscany/sca/common/http/cors/CORSHeaderProcessor.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sca-java-2.x/trunk/modules/common-http/src/main/java/org/apache/tuscany/sca/common/http/cors/CORSHeaderProcessor.java b/sca-java-2.x/trunk/modules/common-http/src/main/java/org/apache/tuscany/sca/common/http/cors/CORSHeaderProcessor.java index 71afd9d09a..daa31d5b2e 100644 --- a/sca-java-2.x/trunk/modules/common-http/src/main/java/org/apache/tuscany/sca/common/http/cors/CORSHeaderProcessor.java +++ b/sca-java-2.x/trunk/modules/common-http/src/main/java/org/apache/tuscany/sca/common/http/cors/CORSHeaderProcessor.java @@ -34,8 +34,8 @@ public class CORSHeaderProcessor { if (request.getMethod().equals("OPTIONS")) { response.setHeader("Access-Control-Allow-Methods", "OPTIONS, HEAD, GET, POST, PUT, DELETE"); response.setHeader("Access-Control-Max-Age", "1728000"); - return; } + return; } if(config.allowCredentials) { |