Revision 54125
Added by Miriam Baglioni over 5 years ago
ResultProjectIterator.java | ||
---|---|---|
56 | 56 |
Value v = Value.fromJson(it.next().toString()); |
57 | 57 |
if(trust == null) trust = v.getTrust(); |
58 | 58 |
if (v.getType() == PropagationConstants.Type.fromresult) { |
59 |
fromResult.addAll(Arrays.asList(StringUtils.split(v.getValue(), ","))); |
|
59 |
if(StringUtils.isNotBlank(v.getValue())) |
|
60 |
fromResult.addAll(Arrays.asList(StringUtils.split(v.getValue(), ","))); |
|
60 | 61 |
} else { |
61 | 62 |
fromSemRel.addAll(Arrays.asList(StringUtils.split(v.getValue(), ","))); |
62 | 63 |
} |
Also available in: Unified diff
refactoring and fixed issue for empty project list