ref 8819: Extend The Algorithms Importer to Manage Many Processes as Black Boxes

https://support.d4science.org/issues/8819

Updated the support for Processes as Black Boxes

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/statistical-algorithms-importer@150617 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2017-06-28 16:47:59 +00:00
parent d9c84066ae
commit 0659422cb5
1 changed files with 5 additions and 5 deletions

View File

@ -62,14 +62,14 @@ public class InfoGenerator {
ArrayList<String> infos = new ArrayList<String>(); ArrayList<String> infos = new ArrayList<String>();
if (serviceCredentials != null) { if (serviceCredentials != null) {
if (serviceCredentials.getUserName() != null && !serviceCredentials.getUserName().isEmpty()) { if (serviceCredentials.getUserName() != null && !serviceCredentials.getUserName().isEmpty()) {
infos.add("UserName: " + serviceCredentials.getUserName()); infos.add("Username: " + serviceCredentials.getUserName());
} else { } else {
infos.add("UserName: "); infos.add("Username: ");
} }
if (serviceCredentials.getFullName() != null) { if (serviceCredentials.getFullName() != null) {
infos.add("FullName: " + serviceCredentials.getFullName()); infos.add("Full Name: " + serviceCredentials.getFullName());
} else { } else {
infos.add("FullName: "); infos.add("Full Name: ");
} }
if (serviceCredentials.getEmail() != null) { if (serviceCredentials.getEmail() != null) {
infos.add("Email: " + serviceCredentials.getEmail()); infos.add("Email: " + serviceCredentials.getEmail());
@ -79,7 +79,7 @@ public class InfoGenerator {
} else { } else {
infos.add("Username: "); infos.add("Username: ");
infos.add("FullName: "); infos.add("Full Name: ");
infos.add("Email: "); infos.add("Email: ");
} }
infos.add(""); infos.add("");