Fixed GRSF_pre fix

This commit is contained in:
Luca Frosini 2020-06-08 15:45:07 +02:00
parent 6b21a61e6c
commit 0e63ac3796
1 changed files with 5 additions and 1 deletions

View File

@ -699,7 +699,11 @@ public class CommonServiceUtils {
public static String evaluateOrganization(String organization, Sources sourceInPath) {
if(sourceInPath.equals(Sources.GRSF) &&
(organization.compareTo(Constants.GRSF_ADMIN_ORGANIZATION_NAME)==0 || organization.compareTo(Constants.GRSF_PRE_ORGANIZATION_NAME)==0)){
if(organization.compareTo(Constants.GRSF_ADMIN_ORGANIZATION_NAME)==0) {
return Constants.GRSF_ADMIN_ORGANIZATION_NAME;
}else {
return Constants.GRSF_PRE_ORGANIZATION_NAME;
}
}else
return sourceInPath.getOrigName().toLowerCase();
}