Skip to content

Commit

Permalink
Fix npe
Browse files Browse the repository at this point in the history
  • Loading branch information
ramari16 committed Dec 15, 2023
1 parent 36024df commit 0d31f6f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public Set<Integer> patientMaskToPatientIdSet(BigInteger patientMask) {
String bitmaskString = patientMask.toString(2);
for(int x = 2;x < bitmaskString.length()-2;x++) {
if('1'==bitmaskString.charAt(x)) {
String patientId = patientIds.get(x-2).trim();
String patientId = getPatientIds().get(x-2).trim();
ids.add(Integer.parseInt(patientId));
}
}
Expand Down

0 comments on commit 0d31f6f

Please sign in to comment.