Skip to content
Snippets Groups Projects
Commit a6c58df7 authored by Felix Reichenbach's avatar Felix Reichenbach
Browse files

OZG-6354 use getFirst instead of get(0)

parent de696469
Branches
Tags
1 merge request!7Ozg 6354 fix pvog based routing
...@@ -60,6 +60,6 @@ class OrganisationsEinheitRemoteService { ...@@ -60,6 +60,6 @@ class OrganisationsEinheitRemoteService {
} }
private GrpcOrganisationsEinheit getOrganisationEinheit(GrpcGetByOrganisationsEinheitIdResponse response) { private GrpcOrganisationsEinheit getOrganisationEinheit(GrpcGetByOrganisationsEinheitIdResponse response) {
return response.getOrganisationsEinheitenList().get(0); return response.getOrganisationsEinheitenList().getFirst();
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment