Fixed Package with name empty
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/statistical-algorithms-importer@153028 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
b3bff6e168
commit
c8a72f5e07
|
@ -153,7 +153,10 @@ public class InfoGenerator {
|
|||
for (InterpreterPackageInfo info : project.getInputData().getInterpreterInfo()
|
||||
.getInterpreterPackagesInfo()) {
|
||||
if(info.getName()!=null&& !info.getName().isEmpty()){
|
||||
infos.add("Package Name: " + info.getName());
|
||||
String pName=info.getName().trim();
|
||||
if(pName!=null&& !pName.isEmpty()){
|
||||
infos.add("Package Name: " + pName);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue