Skip to content

Commit

Permalink
MOSIP-32461 code changes
Browse files Browse the repository at this point in the history
Signed-off-by: Sowmya Ujjappa Banakar <[email protected]>
  • Loading branch information
Sowmya Ujjappa Banakar committed Jun 4, 2024
1 parent e18c161 commit 0eacc93
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public void validateSignature(String id, String process, BiometricRecord biometr
List<BIR> birs = biometricRecord.getSegments();
for (BIR bir : birs) {
Map<String, String> othersInfo = null;
if(bir.getOthers() instanceof HashMap<String, String>) {
if (bir.getOthers() instanceof Map<String, String>) {
othersInfo = (Map<String, String>) bir.getOthers();
}
if (othersInfo == null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ private Map<String, String> getQualityTags(List<BIR> birs) throws BiometricExcep

if (bir.getOthers() != null) {
Map<String, String> othersInfo = null;
if (bir.getOthers() instanceof HashMap<String, String>) {
if (bir.getOthers() instanceof Map<String, String>) {
othersInfo = (Map<String, String>) bir.getOthers();
}
boolean exceptionValue = false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ private void getExceptionAndBiometricInfo(BiometricRecord biometricRecord, Anony
List<BIR> birs = biometricRecord.getSegments();
for (BIR bir : birs) {
Map<String, String> othersInfo = null;
if (bir.getOthers() instanceof HashMap<String, String>) {
if (bir.getOthers() instanceof Map<String, String>) {
othersInfo = (Map<String, String>) bir.getOthers();
}

Expand Down

0 comments on commit 0eacc93

Please sign in to comment.