report minor fix
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portlets/widgets/grsf-manage-widget@162947 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
2aa9b3dd42
commit
5d865474da
|
@ -334,8 +334,8 @@ public class ManageProductWidget extends Composite{
|
||||||
// get short name
|
// get short name
|
||||||
bean.setShortNameUpdated(shortNameTextBox.getText());
|
bean.setShortNameUpdated(shortNameTextBox.getText());
|
||||||
|
|
||||||
if(bean.getShortName() != bean.getShortNameUpdated()){
|
if(!bean.getShortName().equals(bean.getShortNameUpdated())){
|
||||||
report += "\n- The GRSF Short Name has been changed to '" + bean.getShortNameUpdated() + "'";
|
report += "\n- The GRSF Short Name has been changed to '" + bean.getShortNameUpdated() + "', from '" + bean.getShortName() + "'";
|
||||||
hashtags.add(HashTagsOnUpdate.SHORTNAME_UPDATED.getString());
|
hashtags.add(HashTagsOnUpdate.SHORTNAME_UPDATED.getString());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue