Fixed code

This commit is contained in:
luca.frosini 2023-06-27 15:02:19 +02:00
parent e378d275bc
commit b189ad0e72
1 changed files with 1 additions and 8 deletions

View File

@ -641,14 +641,9 @@ public class CKANPackage extends CKAN implements Moderated {
protected String getFilterForOrganizations() {
StringWriter stringWriter = new StringWriter();
// stringWriter.append(String.format(GCatConstants.ORGANIZATION_FILTER_TEMPLATE, configuration.getDefaultOrganization()));
/*
* This generated something like:
* (organization:orgfortesting OR organization:prevre OR organization:data_inrae)
*
* " (organization:orgfortesting OR organization:prevre OR organization:data_inrae) "
*/
int i=1;
stringWriter.append(" (");
@ -662,8 +657,6 @@ public class CKANPackage extends CKAN implements Moderated {
i++;
}
stringWriter.append(") ");
// */
return stringWriter.toString();
}