[DS-569] Trailing white spaces lead to wrong order of texts in browse

git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5295 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
Claudia Juergen
2010-08-27 10:52:12 +00:00
parent 7f4e6bc004
commit c27c651a7e
5 changed files with 23 additions and 8 deletions

View File

@@ -727,7 +727,7 @@ public class Item extends DSpaceObject
dcv.schema = schema;
dcv.element = element;
dcv.qualifier = qualifier;
dcv.language = lang;
dcv.language = (lang == null ? lang : lang.trim());
// Logic to set Authority and Confidence:
// - normalize an empty string for authority to NULL.