]> git.aero2k.de Git - tmp/jakarta-migration.git/commitdiff
CSPACE-6372: Add comment.
authorRay Lee <rhlee@berkeley.edu>
Thu, 24 Apr 2014 23:19:36 +0000 (16:19 -0700)
committerRay Lee <rhlee@berkeley.edu>
Thu, 24 Apr 2014 23:19:36 +0000 (16:19 -0700)
services/common/src/main/java/org/collectionspace/services/nuxeo/client/java/DocumentModelHandler.java

index b0e71aeee599a0ece44064580973566367d35947..b42d52895bbce13a2bbae639a43fe52b14bf1216 100644 (file)
@@ -391,6 +391,9 @@ public abstract class DocumentModelHandler<T, TL>
        boolean result = false;
        
        if (Tools.notBlank(newRefNameOnUpdate) && Tools.notBlank(oldRefNameOnUpdate)) {
+               // CSPACE-6372: refNames are different if:
+               //   - any part of the refName is different, using a case insensitive comparison, or
+               //   - the display name portions are different, using a case sensitive comparison
                if (newRefNameOnUpdate.equalsIgnoreCase(oldRefNameOnUpdate) == false) {
                        result = true; // refNames are different so updates are needed
                }