Skip to content

Commit

Permalink
[MNT-24195] Fix for Review Comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Sathish Kumar authored and Sathish Kumar committed May 17, 2024
1 parent d1fa2bb commit 62c5b1c
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,7 @@ public int evaluate(

//get the recordType
for (Object qname : invocation.getArguments()) {
if (qname!= null && qname.equals(RecordsManagementModel.TYPE_RECORD_FOLDER))
{
recordType = (QName) qname;
}
else if (qname!= null && qname.equals(RecordsManagementModel.TYPE_RECORD_CATEGORY))
{
if (qname != null && (qname.equals(RecordsManagementModel.TYPE_RECORD_FOLDER) || qname.equals(RecordsManagementModel.TYPE_RECORD_CATEGORY))) {
recordType = (QName) qname;
}
}
Expand Down

0 comments on commit 62c5b1c

Please sign in to comment.