Removing whitespace from tags while storing the Host tags.

This commit is contained in:
prachi 2011-11-23 14:14:03 -08:00
parent f56c3d7bc5
commit 5eba3d9326
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ public class HostTagsDaoImpl extends GenericDaoBase<HostTagVO, Long> implements
expunge(sc);
for (String tag : hostTags) {
tag.trim();
tag = tag.trim();
if(tag.length() > 0) {
HostTagVO vo = new HostTagVO(hostId, tag);
persist(vo);