fix typo in parsing "cachePolicy" parameter

This commit is contained in:
bhoerdzn 2013-10-09 11:41:15 +02:00
parent 98f5c9018d
commit 5057f27bbd

View File

@ -466,7 +466,7 @@ public class CrawlStartExpert_p {
// Policy for usage of Web Cache // Policy for usage of Web Cache
if (post != null && post.containsKey("cachePolicy")) { if (post != null && post.containsKey("cachePolicy")) {
final String cachePolicy = post.get("chachePolicy", ""); final String cachePolicy = post.get("cachePolicy", "");
if (cachePolicy.equalsIgnoreCase("nocache")) { if (cachePolicy.equalsIgnoreCase("nocache")) {
prop.put("cachePolicy_nocache", "1"); prop.put("cachePolicy_nocache", "1");
} else if (cachePolicy.equalsIgnoreCase("ifexist")) { } else if (cachePolicy.equalsIgnoreCase("ifexist")) {