Fix in Affiliation Propagation #113

Merged
claudio.atzori merged 1 commits from miriam.baglioni/dnet-hadoop:master into stable_ids 2021-06-09 18:42:42 +02:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 32b0c27217 - Show all commits

View File

@ -93,9 +93,9 @@ public class PrepareResultInstRepoAssociation {
SparkSession spark, String datasourceOrganizationPath, List<String> blacklist) {
String blacklisted = "";
if (blacklist.size() > 0) {
blacklisted = " AND d.id != '" + blacklist.get(0) + "'";
blacklisted = " AND id != '" + blacklist.get(0) + "'";
for (int i = 1; i < blacklist.size(); i++) {
blacklisted += " AND d.id != '" + blacklist.get(i) + "'";
blacklisted += " AND id != '" + blacklist.get(i) + "'";
}
}