Fixed Package with name empty

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/statistical-algorithms-importer@153022 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2017-09-12 16:52:42 +00:00
parent 41f39ad8be
commit b3bff6e168
1 changed files with 3 additions and 1 deletions

View File

@ -152,7 +152,9 @@ public class InfoGenerator {
infos.add("Packages:");
for (InterpreterPackageInfo info : project.getInputData().getInterpreterInfo()
.getInterpreterPackagesInfo()) {
infos.add("Package Name: " + info.getName());
if(info.getName()!=null&& !info.getName().isEmpty()){
infos.add("Package Name: " + info.getName());
}
}
}