Skip to content

Commit 077c4ea

Browse files
committed
Add comment
1 parent 808479d commit 077c4ea

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

experiment/src/org/labkey/experiment/defaults/DefaultValueServiceImpl.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ private String getContainerDefaultsLSID(Container container, Domain domain)
6666
Lsid domainLsid = new Lsid(domain.getTypeURI());
6767
return (new Lsid(DOMAIN_DEFAULT_VALUE_LSID_PREFIX, suffix, Lsid.decodePart(domainLsid.getObjectId()))).toString();
6868
}
69-
else
69+
else // for internal domains (such as audit domains), the domain name and objectId are often not the same.
7070
return (new Lsid(DOMAIN_DEFAULT_VALUE_LSID_PREFIX, suffix, domain.getName())).toString();
7171

7272
}
@@ -80,7 +80,7 @@ private String getUserDefaultsParentLSID(Container container, User user, Domain
8080
Lsid domainLsid = new Lsid(domain.getTypeURI());
8181
return (new Lsid(USER_DEFAULT_VALUE_DOMAIN_PARENT, suffix, Lsid.decodePart(domainLsid.getObjectId()))).toString();
8282
}
83-
else
83+
else // for internal domains (such as audit domains), the domain name and objectId are often not the same.
8484
return (new Lsid(USER_DEFAULT_VALUE_DOMAIN_PARENT, suffix, domain.getName())).toString();
8585
}
8686

0 commit comments

Comments
 (0)