code cleanup
This commit is contained in:
parent
00d5eac7dc
commit
c8453513d1
5 changed files with 4 additions and 6 deletions
|
@ -68,7 +68,7 @@ public interface CrawlingConfig {
|
|||
public enum ConfigType {
|
||||
WEB("W"), FILE("F"), DATA("D");
|
||||
|
||||
private final String typePrefix;
|
||||
private String typePrefix;
|
||||
|
||||
ConfigType(final String typePrefix) {
|
||||
this.typePrefix = typePrefix;
|
||||
|
|
|
@ -27,7 +27,7 @@ public class JobProcessingException extends FessSystemException {
|
|||
super(message, e);
|
||||
}
|
||||
|
||||
public JobProcessingException(String message) {
|
||||
public JobProcessingException(final String message) {
|
||||
super(message);
|
||||
}
|
||||
|
||||
|
|
|
@ -45,7 +45,6 @@ import org.lastaflute.di.core.external.GenericExternalContextComponentDefRegiste
|
|||
import org.lastaflute.di.core.factory.SingletonLaContainerFactory;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.slf4j.bridge.SLF4JBridgeHandler;
|
||||
|
||||
public class SuggestCreator {
|
||||
|
||||
|
|
|
@ -773,7 +773,7 @@ public class ViewHelper {
|
|||
}
|
||||
return data.getFacetResponse();
|
||||
});
|
||||
} catch (ExecutionException e) {
|
||||
} catch (final ExecutionException e) {
|
||||
throw new FessSystemException("Cannot load facet from cache.", e);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -137,7 +137,7 @@ public class GoogleAnalyticsScoreBooster extends ScoreBooster {
|
|||
final List<MetricHeaderEntry> metricHeaders = header.getMetricHeader().getMetricHeaderEntries();
|
||||
for (final ReportRow row : rows) {
|
||||
final List<DateRangeValues> metrics = row.getMetrics();
|
||||
for (int j = 0; j < metrics.size(); j++) {
|
||||
for (final DateRangeValues values : metrics) {
|
||||
String path = null;
|
||||
Long count = null;
|
||||
|
||||
|
@ -149,7 +149,6 @@ public class GoogleAnalyticsScoreBooster extends ScoreBooster {
|
|||
}
|
||||
}
|
||||
|
||||
final DateRangeValues values = metrics.get(j);
|
||||
for (int k = 0; k < values.getValues().size() && k < metricHeaders.size(); k++) {
|
||||
final String name = metricHeaders.get(k).getName();
|
||||
if ("ga:pageviews".equals(name)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue