fix for annotation message
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portlets/widgets/grsf-manage-widget@162965 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
597a1095a4
commit
8de3c8fcdb
|
@ -103,8 +103,7 @@ public class GRSFUpdaterServiceClient {
|
|||
obj.put(Constants.OLD_STATUS, bean.getCurrentStatus().toString().toLowerCase());
|
||||
obj.put(Constants.TRACEABILITY_FLAG, bean.isTraceabilityFlag());
|
||||
|
||||
String annotation = bean.getAnnotation();
|
||||
if(annotation != null)
|
||||
String annotation = bean.getAnnotation() != null ? bean.getAnnotation(): "";
|
||||
obj.put(Constants.ANNOTATION, annotation.replaceAll("\"", ""));
|
||||
|
||||
obj.put(Constants.SHORT_NAME_OLD, bean.getShortName());
|
||||
|
|
Loading…
Reference in New Issue