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:
Costantino Perciante 2018-02-05 16:21:49 +00:00
parent 2aa9b3dd42
commit 5d865474da
1 changed files with 2 additions and 2 deletions

View File

@ -334,8 +334,8 @@ public class ManageProductWidget extends Composite{
// get short name
bean.setShortNameUpdated(shortNameTextBox.getText());
if(bean.getShortName() != bean.getShortNameUpdated()){
report += "\n- The GRSF Short Name has been changed to '" + bean.getShortNameUpdated() + "'";
if(!bean.getShortName().equals(bean.getShortNameUpdated())){
report += "\n- The GRSF Short Name has been changed to '" + bean.getShortNameUpdated() + "', from '" + bean.getShortName() + "'";
hashtags.add(HashTagsOnUpdate.SHORTNAME_UPDATED.getString());
}