This commit is contained in:
Shinsuke Sugaya 2014-01-30 22:55:26 +09:00
parent cb3cccbae4
commit d238fc2022
3 changed files with 0 additions and 40 deletions

View file

@ -85,10 +85,6 @@ public class CrawlAction implements Serializable {
Constants.WEB_API_XML_PROPERTY, Constants.TRUE);
crawlForm.webApiJson = crawlerProperties.getProperty(
Constants.WEB_API_JSON_PROPERTY, Constants.TRUE);
crawlForm.webApiSuggest = crawlerProperties.getProperty(
Constants.WEB_API_SUGGEST_PROPERTY, Constants.TRUE);
crawlForm.webApiAnalysis = crawlerProperties.getProperty(
Constants.WEB_API_ANALYSIS_PROPERTY, Constants.TRUE);
crawlForm.defaultLabelValue = crawlerProperties.getProperty(
Constants.DEFAULT_LABEL_VALUE_PROPERTY, "");
crawlForm.appendQueryParameter = crawlerProperties.getProperty(
@ -200,20 +196,6 @@ public class CrawlAction implements Serializable {
&& Constants.ON
.equalsIgnoreCase(crawlForm.webApiJson) ? Constants.TRUE
: Constants.FALSE);
crawlerProperties
.setProperty(
Constants.WEB_API_SUGGEST_PROPERTY,
crawlForm.webApiSuggest != null
&& Constants.ON
.equalsIgnoreCase(crawlForm.webApiSuggest) ? Constants.TRUE
: Constants.FALSE);
crawlerProperties
.setProperty(
Constants.WEB_API_ANALYSIS_PROPERTY,
crawlForm.webApiAnalysis != null
&& Constants.ON
.equalsIgnoreCase(crawlForm.webApiAnalysis) ? Constants.TRUE
: Constants.FALSE);
crawlerProperties.setProperty(Constants.DEFAULT_LABEL_VALUE_PROPERTY,
crawlForm.defaultLabelValue);
crawlerProperties

View file

@ -66,12 +66,6 @@ public class CrawlForm implements Serializable {
@Maxbytelength(maxbytelength = 10)
public String webApiJson;
@Maxbytelength(maxbytelength = 10)
public String webApiSuggest;
@Maxbytelength(maxbytelength = 10)
public String webApiAnalysis;
@Maxbytelength(maxbytelength = 1000)
public String defaultLabelValue;

View file

@ -69,22 +69,6 @@
<html:checkbox property="webApiJson"/><bean:message key="labels.enabled"/>
</td>
</tr>
<tr>
<th>
<bean:message key="labels.web_api_suggest_enabled"/>
</th>
<td>
<html:checkbox property="webApiSuggest"/><bean:message key="labels.enabled"/>
</td>
</tr>
<tr>
<th>
<bean:message key="labels.web_api_analysis_enabled"/>
</th>
<td>
<html:checkbox property="webApiAnalysis"/><bean:message key="labels.enabled"/>
</td>
</tr>
<tr>
<th>
<bean:message key="labels.mobile_transcoder"/>