Skip to content

Commit

Permalink
RANGER-3505: modified code to ignore case while validating a user for…
Browse files Browse the repository at this point in the history
… update
  • Loading branch information
spolavarpau1 committed Nov 10, 2021
1 parent e256682 commit 5ca622f
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -148,7 +148,7 @@ protected void validateForUpdate(VXUser vObj, XXUser mObj) {
String vObjName = vObj.getName();
String mObjName = mObj.getName();
if (vObjName != null && mObjName != null) {
if (!vObjName.trim().equals(mObjName.trim())) {
if (!vObjName.trim().equalsIgnoreCase(mObjName.trim())) {
validateForCreate(vObj);
}
}
Expand Down

0 comments on commit 5ca622f

Please sign in to comment.