Fixes broken build due to spotless and error-prone
This commit is contained in:
committed by
Michael Vorburger ⛑️
parent
2323450e71
commit
2f04f6a3e7
+2
-2
@@ -27,7 +27,7 @@ import io.restassured.specification.RequestSpecification;
|
|||||||
import io.restassured.specification.ResponseSpecification;
|
import io.restassured.specification.ResponseSpecification;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.Map.Entry;
|
import java.util.Map;
|
||||||
import org.apache.fineract.integrationtests.common.ClientHelper;
|
import org.apache.fineract.integrationtests.common.ClientHelper;
|
||||||
import org.apache.fineract.integrationtests.common.CommonConstants;
|
import org.apache.fineract.integrationtests.common.CommonConstants;
|
||||||
import org.apache.fineract.integrationtests.common.GlobalConfigurationHelper;
|
import org.apache.fineract.integrationtests.common.GlobalConfigurationHelper;
|
||||||
@@ -85,7 +85,7 @@ public class FlexibleSavingsInterestPostingIntegrationTest {
|
|||||||
HashMap accountDetails = this.savingsAccountHelper.getSavingsDetails(savingsId);
|
HashMap accountDetails = this.savingsAccountHelper.getSavingsDetails(savingsId);
|
||||||
ArrayList<HashMap<String, Object>> transactions = (ArrayList<HashMap<String, Object>>) accountDetails.get("transactions");
|
ArrayList<HashMap<String, Object>> transactions = (ArrayList<HashMap<String, Object>>) accountDetails.get("transactions");
|
||||||
HashMap<String, Object> interestPostingTransaction = transactions.get(transactions.size() - 2);
|
HashMap<String, Object> interestPostingTransaction = transactions.get(transactions.size() - 2);
|
||||||
for (Entry<String, Object> entry : interestPostingTransaction.entrySet()) {
|
for (Map.Entry<String, Object> entry : interestPostingTransaction.entrySet()) {
|
||||||
LOG.info("{} - {}", entry.getKey(), entry.getValue().toString());
|
LOG.info("{} - {}", entry.getKey(), entry.getValue().toString());
|
||||||
}
|
}
|
||||||
// 1st Dec 13 to 31st March 14 - 365 days, daily compounding using daily
|
// 1st Dec 13 to 31st March 14 - 365 days, daily compounding using daily
|
||||||
|
|||||||
+1
-1
@@ -28,7 +28,7 @@ public class CenterDomain implements Comparable<CenterDomain> {
|
|||||||
|
|
||||||
private static final Logger LOG = LoggerFactory.getLogger(CenterDomain.class);
|
private static final Logger LOG = LoggerFactory.getLogger(CenterDomain.class);
|
||||||
|
|
||||||
public final static class Builder {
|
public static final class Builder {
|
||||||
|
|
||||||
private final Integer id;
|
private final Integer id;
|
||||||
private final String accountNo;
|
private final String accountNo;
|
||||||
|
|||||||
+1
-1
@@ -22,7 +22,7 @@ import com.google.gson.Gson;
|
|||||||
|
|
||||||
public class CurrencyDomain implements Comparable<CurrencyDomain> {
|
public class CurrencyDomain implements Comparable<CurrencyDomain> {
|
||||||
|
|
||||||
public final static class Builder {
|
public static final class Builder {
|
||||||
|
|
||||||
private String code;
|
private String code;
|
||||||
private String name;
|
private String name;
|
||||||
|
|||||||
+1
-1
@@ -23,7 +23,7 @@ import java.util.Arrays;
|
|||||||
|
|
||||||
public class OfficeDomain {
|
public class OfficeDomain {
|
||||||
|
|
||||||
public final static class Builder {
|
public static final class Builder {
|
||||||
|
|
||||||
private int id;
|
private int id;
|
||||||
private String name;
|
private String name;
|
||||||
|
|||||||
+1
-1
@@ -22,7 +22,7 @@ import com.google.gson.Gson;
|
|||||||
|
|
||||||
public class FundsHelper {
|
public class FundsHelper {
|
||||||
|
|
||||||
final public static class Builder {
|
public static final class Builder {
|
||||||
|
|
||||||
private String name;
|
private String name;
|
||||||
private String externalId;
|
private String externalId;
|
||||||
|
|||||||
+1
-2
@@ -24,7 +24,6 @@ import java.util.Date;
|
|||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.Map.Entry;
|
|
||||||
import org.apache.fineract.accounting.closure.domain.GLClosure;
|
import org.apache.fineract.accounting.closure.domain.GLClosure;
|
||||||
import org.apache.fineract.accounting.common.AccountingConstants.AccrualAccountsForLoan;
|
import org.apache.fineract.accounting.common.AccountingConstants.AccrualAccountsForLoan;
|
||||||
import org.apache.fineract.accounting.common.AccountingConstants.CashAccountsForLoan;
|
import org.apache.fineract.accounting.common.AccountingConstants.CashAccountsForLoan;
|
||||||
@@ -284,7 +283,7 @@ public class AccrualBasedAccountingProcessorForLoan implements AccountingProcess
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
for (Entry<GLAccount, BigDecimal> entry : accountMap.entrySet()) {
|
for (Map.Entry<GLAccount, BigDecimal> entry : accountMap.entrySet()) {
|
||||||
this.helper.createCreditJournalEntryOrReversalForLoan(office, currencyCode, loanId, transactionId, transactionDate,
|
this.helper.createCreditJournalEntryOrReversalForLoan(office, currencyCode, loanId, transactionId, transactionDate,
|
||||||
entry.getValue(), isReversal, entry.getKey());
|
entry.getValue(), isReversal, entry.getKey());
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -35,7 +35,7 @@ public final class CommandContext {
|
|||||||
*
|
*
|
||||||
* @author Rishabh Shukla
|
* @author Rishabh Shukla
|
||||||
*/
|
*/
|
||||||
public final static class Builder {
|
public static final class Builder {
|
||||||
|
|
||||||
private String resource;
|
private String resource;
|
||||||
private String method;
|
private String method;
|
||||||
|
|||||||
+4
-4
@@ -26,7 +26,7 @@ import com.jayway.jsonpath.JsonPath;
|
|||||||
import com.jayway.jsonpath.ReadContext;
|
import com.jayway.jsonpath.ReadContext;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map.Entry;
|
import java.util.Map;
|
||||||
import org.apache.fineract.batch.domain.BatchRequest;
|
import org.apache.fineract.batch.domain.BatchRequest;
|
||||||
import org.apache.fineract.batch.domain.BatchResponse;
|
import org.apache.fineract.batch.domain.BatchResponse;
|
||||||
import org.apache.fineract.infrastructure.core.serialization.FromJsonHelper;
|
import org.apache.fineract.infrastructure.core.serialization.FromJsonHelper;
|
||||||
@@ -145,7 +145,7 @@ public class ResolutionHelper {
|
|||||||
|
|
||||||
// Iterate through each element in the requestBody to find dependent
|
// Iterate through each element in the requestBody to find dependent
|
||||||
// parameter
|
// parameter
|
||||||
for (Entry<String, JsonElement> element : jsonRequestBody.entrySet()) {
|
for (Map.Entry<String, JsonElement> element : jsonRequestBody.entrySet()) {
|
||||||
final String key = element.getKey();
|
final String key = element.getKey();
|
||||||
final JsonElement value = resolveDependentVariables(element, responseCtx);
|
final JsonElement value = resolveDependentVariables(element, responseCtx);
|
||||||
jsonResultBody.add(key, value);
|
jsonResultBody.add(key, value);
|
||||||
@@ -179,7 +179,7 @@ public class ResolutionHelper {
|
|||||||
return br;
|
return br;
|
||||||
}
|
}
|
||||||
|
|
||||||
private JsonElement resolveDependentVariables(final Entry<String, JsonElement> entryElement, final ReadContext responseCtx) {
|
private JsonElement resolveDependentVariables(final Map.Entry<String, JsonElement> entryElement, final ReadContext responseCtx) {
|
||||||
JsonElement value = null;
|
JsonElement value = null;
|
||||||
|
|
||||||
final JsonElement element = entryElement.getValue();
|
final JsonElement element = entryElement.getValue();
|
||||||
@@ -198,7 +198,7 @@ public class ResolutionHelper {
|
|||||||
|
|
||||||
private JsonElement processJsonObject(final JsonObject jsObject, final ReadContext responseCtx) {
|
private JsonElement processJsonObject(final JsonObject jsObject, final ReadContext responseCtx) {
|
||||||
JsonObject valueObj = new JsonObject();
|
JsonObject valueObj = new JsonObject();
|
||||||
for (Entry<String, JsonElement> element : jsObject.entrySet()) {
|
for (Map.Entry<String, JsonElement> element : jsObject.entrySet()) {
|
||||||
final String key = element.getKey();
|
final String key = element.getKey();
|
||||||
final JsonElement value = resolveDependentVariable(element.getValue(), responseCtx);
|
final JsonElement value = resolveDependentVariable(element.getValue(), responseCtx);
|
||||||
valueObj.add(key, value);
|
valueObj.add(key, value);
|
||||||
|
|||||||
+2
-3
@@ -32,7 +32,6 @@ import java.util.HashSet;
|
|||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Locale;
|
import java.util.Locale;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.Map.Entry;
|
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
import org.apache.commons.lang3.StringUtils;
|
import org.apache.commons.lang3.StringUtils;
|
||||||
import org.apache.fineract.infrastructure.core.exception.InvalidJsonException;
|
import org.apache.fineract.infrastructure.core.exception.InvalidJsonException;
|
||||||
@@ -103,10 +102,10 @@ public class FromJsonHelper {
|
|||||||
throw new InvalidParameterException();
|
throw new InvalidParameterException();
|
||||||
}
|
}
|
||||||
|
|
||||||
final Set<Entry<String, JsonElement>> entries = object.entrySet();
|
final Set<Map.Entry<String, JsonElement>> entries = object.entrySet();
|
||||||
final List<String> unsupportedParameterList = new ArrayList<>();
|
final List<String> unsupportedParameterList = new ArrayList<>();
|
||||||
|
|
||||||
for (final Entry<String, JsonElement> providedParameter : entries) {
|
for (final Map.Entry<String, JsonElement> providedParameter : entries) {
|
||||||
if (!supportedParams.contains(providedParameter.getKey())) {
|
if (!supportedParams.contains(providedParameter.getKey())) {
|
||||||
unsupportedParameterList.add(providedParameter.getKey());
|
unsupportedParameterList.add(providedParameter.getKey());
|
||||||
}
|
}
|
||||||
|
|||||||
+2
-3
@@ -26,7 +26,6 @@ import java.util.Comparator;
|
|||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.Map.Entry;
|
|
||||||
import org.springframework.dao.DataAccessException;
|
import org.springframework.dao.DataAccessException;
|
||||||
import org.springframework.jdbc.core.ResultSetExtractor;
|
import org.springframework.jdbc.core.ResultSetExtractor;
|
||||||
|
|
||||||
@@ -63,11 +62,11 @@ public class EventResultSetExtractor implements ResultSetExtractor<List<Grouping
|
|||||||
groupToEntityMapping.put(groupingName, entities);
|
groupToEntityMapping.put(groupingName, entities);
|
||||||
}
|
}
|
||||||
|
|
||||||
for (final Entry<String, Map<String, List<String>>> groupingEntry : groupToEntityMapping.entrySet()) {
|
for (final Map.Entry<String, Map<String, List<String>>> groupingEntry : groupToEntityMapping.entrySet()) {
|
||||||
final List<Entity> entities = new ArrayList<>();
|
final List<Entity> entities = new ArrayList<>();
|
||||||
final Grouping group = new Grouping();
|
final Grouping group = new Grouping();
|
||||||
group.setName(groupingEntry.getKey());
|
group.setName(groupingEntry.getKey());
|
||||||
for (final Entry<String, List<String>> entityEntry : groupingEntry.getValue().entrySet()) {
|
for (final Map.Entry<String, List<String>> entityEntry : groupingEntry.getValue().entrySet()) {
|
||||||
final List<String> actions = new ArrayList<>();
|
final List<String> actions = new ArrayList<>();
|
||||||
final Entity entity = new Entity();
|
final Entity entity = new Entity();
|
||||||
entity.setName(entityEntry.getKey());
|
entity.setName(entityEntry.getKey());
|
||||||
|
|||||||
+1
-2
@@ -34,7 +34,6 @@ import java.util.ArrayList;
|
|||||||
import java.util.HashSet;
|
import java.util.HashSet;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.Map.Entry;
|
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
import javax.persistence.PersistenceException;
|
import javax.persistence.PersistenceException;
|
||||||
import org.apache.commons.lang3.exception.ExceptionUtils;
|
import org.apache.commons.lang3.exception.ExceptionUtils;
|
||||||
@@ -223,7 +222,7 @@ public class HookWritePlatformServiceJpaRepositoryImpl implements HookWritePlatf
|
|||||||
final Set<HookConfiguration> configuration = new HashSet<>();
|
final Set<HookConfiguration> configuration = new HashSet<>();
|
||||||
final Set<Schema> fields = template.getSchema();
|
final Set<Schema> fields = template.getSchema();
|
||||||
|
|
||||||
for (final Entry<String, String> configEntry : hookConfig.entrySet()) {
|
for (final Map.Entry<String, String> configEntry : hookConfig.entrySet()) {
|
||||||
for (final Schema field : fields) {
|
for (final Schema field : fields) {
|
||||||
final String fieldName = field.getFieldName();
|
final String fieldName = field.getFieldName();
|
||||||
if (fieldName.equalsIgnoreCase(configEntry.getKey())) {
|
if (fieldName.equalsIgnoreCase(configEntry.getKey())) {
|
||||||
|
|||||||
+1
-2
@@ -25,7 +25,6 @@ import java.util.Collection;
|
|||||||
import java.util.Iterator;
|
import java.util.Iterator;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.Map.Entry;
|
|
||||||
import java.util.concurrent.ExecutorService;
|
import java.util.concurrent.ExecutorService;
|
||||||
import java.util.concurrent.Executors;
|
import java.util.concurrent.Executors;
|
||||||
import javax.annotation.PostConstruct;
|
import javax.annotation.PostConstruct;
|
||||||
@@ -194,7 +193,7 @@ public class SmsMessageScheduledJobServiceImpl implements SmsMessageScheduledJob
|
|||||||
if (!smsDataMap.isEmpty()) {
|
if (!smsDataMap.isEmpty()) {
|
||||||
List<SmsMessage> toSaveMessages = new ArrayList<>();
|
List<SmsMessage> toSaveMessages = new ArrayList<>();
|
||||||
List<SmsMessage> toSendNotificationMessages = new ArrayList<>();
|
List<SmsMessage> toSendNotificationMessages = new ArrayList<>();
|
||||||
for (Entry<SmsCampaign, Collection<SmsMessage>> entry : smsDataMap.entrySet()) {
|
for (Map.Entry<SmsCampaign, Collection<SmsMessage>> entry : smsDataMap.entrySet()) {
|
||||||
Iterator<SmsMessage> smsMessageIterator = entry.getValue().iterator();
|
Iterator<SmsMessage> smsMessageIterator = entry.getValue().iterator();
|
||||||
Collection<SmsMessageApiQueueResourceData> apiQueueResourceDatas = new ArrayList<>();
|
Collection<SmsMessageApiQueueResourceData> apiQueueResourceDatas = new ArrayList<>();
|
||||||
StringBuilder request = new StringBuilder();
|
StringBuilder request = new StringBuilder();
|
||||||
|
|||||||
@@ -25,7 +25,6 @@ import java.text.SimpleDateFormat;
|
|||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.Map.Entry;
|
|
||||||
import org.apache.fineract.mix.data.ContextData;
|
import org.apache.fineract.mix.data.ContextData;
|
||||||
import org.apache.fineract.mix.data.MixTaxonomyData;
|
import org.apache.fineract.mix.data.MixTaxonomyData;
|
||||||
import org.apache.fineract.mix.data.NamespaceData;
|
import org.apache.fineract.mix.data.NamespaceData;
|
||||||
@@ -72,7 +71,7 @@ public class XBRLBuilder {
|
|||||||
this.startDate = startDate;
|
this.startDate = startDate;
|
||||||
this.endDate = endDate;
|
this.endDate = endDate;
|
||||||
|
|
||||||
for (final Entry<MixTaxonomyData, BigDecimal> entry : map.entrySet()) {
|
for (final Map.Entry<MixTaxonomyData, BigDecimal> entry : map.entrySet()) {
|
||||||
final MixTaxonomyData taxonomy = entry.getKey();
|
final MixTaxonomyData taxonomy = entry.getKey();
|
||||||
final BigDecimal value = entry.getValue();
|
final BigDecimal value = entry.getValue();
|
||||||
addTaxonomy(this.root, taxonomy, value);
|
addTaxonomy(this.root, taxonomy, value);
|
||||||
@@ -175,7 +174,7 @@ public class XBRLBuilder {
|
|||||||
|
|
||||||
public void addContexts() {
|
public void addContexts() {
|
||||||
final SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd");
|
final SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd");
|
||||||
for (final Entry<ContextData, String> entry : this.contextMap.entrySet()) {
|
for (final Map.Entry<ContextData, String> entry : this.contextMap.entrySet()) {
|
||||||
final ContextData context = entry.getKey();
|
final ContextData context = entry.getKey();
|
||||||
final Element contextElement = this.root.addElement("context");
|
final Element contextElement = this.root.addElement("context");
|
||||||
contextElement.addAttribute("id", entry.getValue());
|
contextElement.addAttribute("id", entry.getValue());
|
||||||
|
|||||||
+2
-2
@@ -23,7 +23,7 @@ import java.math.BigDecimal;
|
|||||||
import java.sql.Date;
|
import java.sql.Date;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.Map.Entry;
|
import java.util.Map;
|
||||||
import java.util.regex.Matcher;
|
import java.util.regex.Matcher;
|
||||||
import java.util.regex.Pattern;
|
import java.util.regex.Pattern;
|
||||||
import javax.script.ScriptEngine;
|
import javax.script.ScriptEngine;
|
||||||
@@ -87,7 +87,7 @@ public class XBRLResultServiceImpl implements XBRLResultService {
|
|||||||
// <taxonomyId, value>
|
// <taxonomyId, value>
|
||||||
final HashMap<MixTaxonomyData, BigDecimal> resultMap = new HashMap<>();
|
final HashMap<MixTaxonomyData, BigDecimal> resultMap = new HashMap<>();
|
||||||
setupBalanceMap(getAccountSql(startDate, endDate));
|
setupBalanceMap(getAccountSql(startDate, endDate));
|
||||||
for (final Entry<String, String> entry : configMap.entrySet()) {
|
for (final Map.Entry<String, String> entry : configMap.entrySet()) {
|
||||||
final BigDecimal value = processMappingString(entry.getValue());
|
final BigDecimal value = processMappingString(entry.getValue());
|
||||||
if (value != null) {
|
if (value != null) {
|
||||||
final MixTaxonomyData taxonomy = this.readTaxonomyService.retrieveOne(Long.parseLong(entry.getKey()));
|
final MixTaxonomyData taxonomy = this.readTaxonomyService.retrieveOne(Long.parseLong(entry.getKey()));
|
||||||
|
|||||||
+1
-2
@@ -37,7 +37,6 @@ import java.security.KeyStoreException;
|
|||||||
import java.security.NoSuchAlgorithmException;
|
import java.security.NoSuchAlgorithmException;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.Map.Entry;
|
|
||||||
import org.apache.fineract.template.domain.Template;
|
import org.apache.fineract.template.domain.Template;
|
||||||
import org.apache.fineract.template.domain.TemplateFunctions;
|
import org.apache.fineract.template.domain.TemplateFunctions;
|
||||||
import org.codehaus.jackson.map.ObjectMapper;
|
import org.codehaus.jackson.map.ObjectMapper;
|
||||||
@@ -179,7 +178,7 @@ public class TemplateMergeService {
|
|||||||
Map<String, Object> valueAsMap = (Map<String, Object>) value;
|
Map<String, Object> valueAsMap = (Map<String, Object>) value;
|
||||||
// Map<String, Object> newValue = null;
|
// Map<String, Object> newValue = null;
|
||||||
Map<String, Object> valueAsMap_second = new HashMap<>();
|
Map<String, Object> valueAsMap_second = new HashMap<>();
|
||||||
for (Entry<String, Object> valueAsMapEntry : valueAsMap.entrySet()) {
|
for (Map.Entry<String, Object> valueAsMapEntry : valueAsMap.entrySet()) {
|
||||||
Object valueAsMapEntryValue = valueAsMapEntry.getValue();
|
Object valueAsMapEntryValue = valueAsMapEntry.getValue();
|
||||||
if (valueAsMapEntryValue instanceof Map) { // JSON Object
|
if (valueAsMapEntryValue instanceof Map) { // JSON Object
|
||||||
expandMapArrays(valueAsMapEntryValue);
|
expandMapArrays(valueAsMapEntryValue);
|
||||||
|
|||||||
+2
-3
@@ -24,7 +24,6 @@ import io.github.classgraph.ScanResult;
|
|||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.Map.Entry;
|
|
||||||
import java.util.stream.Collectors;
|
import java.util.stream.Collectors;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -48,7 +47,7 @@ public class ClasspathHellDuplicatesChecker {
|
|||||||
|
|
||||||
public String toString(Map<String, List<String>> map) {
|
public String toString(Map<String, List<String>> map) {
|
||||||
StringBuilder sb = new StringBuilder();
|
StringBuilder sb = new StringBuilder();
|
||||||
for (Entry<String, List<String>> entry : map.entrySet()) {
|
for (Map.Entry<String, List<String>> entry : map.entrySet()) {
|
||||||
sb.append(entry.getKey());
|
sb.append(entry.getKey());
|
||||||
sb.append('\n');
|
sb.append('\n');
|
||||||
for (String location : entry.getValue()) {
|
for (String location : entry.getValue()) {
|
||||||
@@ -66,7 +65,7 @@ public class ClasspathHellDuplicatesChecker {
|
|||||||
// We intentionally do not use .classFilesOnly(), or
|
// We intentionally do not use .classFilesOnly(), or
|
||||||
// .nonClassFilesOnly(), to check both
|
// .nonClassFilesOnly(), to check both
|
||||||
try (ScanResult scanResult = new ClassGraph().scan()) {
|
try (ScanResult scanResult = new ClassGraph().scan()) {
|
||||||
for (Entry<String, ResourceList> dupe : scanResult.getAllResources().findDuplicatePaths()) {
|
for (Map.Entry<String, ResourceList> dupe : scanResult.getAllResources().findDuplicatePaths()) {
|
||||||
String resourceName = dupe.getKey();
|
String resourceName = dupe.getKey();
|
||||||
if (!isHarmlessDuplicate(resourceName)) {
|
if (!isHarmlessDuplicate(resourceName)) {
|
||||||
boolean addIt = true;
|
boolean addIt = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user