Skip to content

Commit

Permalink
style[OrganizationRepository]: change style on method for better read…
Browse files Browse the repository at this point in the history
…ability
  • Loading branch information
Fredrik Marjoni committed Mar 5, 2026
1 parent f81c347 commit be3995b
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,15 @@ public OrganizationRepository(Object[] input) {
* Gets all trusted organizations in the repository
* @return all organizations with trusted = true
*/
public Map<Integer, Organization> getTrustedOrganizations() {
public Map<Integer, Organization> getTrustedOrganizations() {
Map<Integer, Organization> trustedOrganizations = new HashMap<>();

grandMap.forEach((orgNr, org) -> {
if (org.trusted()) {
trustedOrganizations.put(orgNr, org);
}
if (org.trusted()) {
trustedOrganizations.put(orgNr, org);
}
});

return trustedOrganizations;
}
}

}

0 comments on commit be3995b

Please sign in to comment.