Skip to content

Commit

Permalink
Minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
Gcolon021 committed Jul 12, 2023
1 parent e159402 commit df893ca
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,7 @@ private Map<String, Map<String, Boolean>> generateObfuscationMap(Map<String, Map
// If the value contains either of the obfuscation types, set the value to true
if (subValue.contains(threshold) || subValue.contains(variance)) {
tempObf.put(subKey, true);
}

// If the value does not contain either of the obfuscation types, set the value to false
if (!tempObf.containsKey(subKey)) {
} else {
tempObf.put(subKey, false);
}

Expand Down Expand Up @@ -177,7 +174,9 @@ private Map<String, Map<String, Integer>> getContinuousCrossCount(QueryRequest q

private Map<String, Map<String, String>> getOpenCrossCounts(QueryRequest query, Query queryJson, ResultType resultType) {
Map<String, Map<String, String>> crossCountsMap;
if ((queryJson.numericFilters != null && queryJson.numericFilters.size() > 0) || (queryJson.categoryFilters != null && queryJson.categoryFilters.size() > 0) || (queryJson.requiredFields != null && queryJson.requiredFields.size() > 0)) {
if ((queryJson.numericFilters != null && queryJson.numericFilters.size() > 0)
|| (queryJson.categoryFilters != null && queryJson.categoryFilters.size() > 0)
|| (queryJson.requiredFields != null && queryJson.requiredFields.size() > 0)) {
crossCountsMap = hpdsServices.getOpenCrossCountsMap(query, resultType);
} else {
crossCountsMap = new HashMap<>();
Expand Down

0 comments on commit df893ca

Please sign in to comment.