Skip to content

Conversation

SodhiA1
Copy link
Contributor

@SodhiA1 SodhiA1 commented Aug 20, 2024

No description provided.

rowMap.put(MINCODE.getCode(), school.getMincode());
rowMap.put(SCHOOL_NAME.getCode(), school.getDisplayName());
rowMap.put(ADDRESS_LINE1.getCode(), school.getAddresses() != null ? school.getAddresses().get(0).getAddressLine1() : "-");
rowMap.put(ADDRESS_LINE2.getCode(), school.getAddresses() != null ? school.getAddresses().get(0).getAddressLine2() : "-");
Copy link
Contributor

@mightycox mightycox Aug 20, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This won't give a "-" when addressLine2 is null; it is the only one that could be null

Copy link

@mightycox mightycox merged commit 9619e17 into master Aug 20, 2024
6 checks passed
@mightycox mightycox deleted the feature/edx-2782 branch August 20, 2024 22:24
@SodhiA1 SodhiA1 restored the feature/edx-2782 branch August 20, 2024 23:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants