Adding H2020 Classification, topic code and topic description to H2020 projects #46

Merged
claudio.atzori merged 59 commits from miriam.baglioni/dnet-hadoop:h2020classification into master 2020-10-05 14:14:39 +02:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit f6587c91f3 - Show all commits

View File

@ -161,7 +161,7 @@ public class PrepareProgramme {
if (current.trim().length() > parent.length()
&& current.toLowerCase().trim().substring(0, parent.length()).equals(parent)) {
current = current.substring(parent.length() + 1);
if (current.trim().charAt(0) == '-') {
if (current.trim().charAt(0) == '-' || current.trim().charAt(0) =='') {
current = current.trim().substring(1).trim();
}