1
0
Fork 0
This commit is contained in:
Miriam Baglioni 2021-06-29 17:59:40 +02:00
commit c64c0a0743
1 changed files with 2 additions and 2 deletions

View File

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