Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Eclipse Projects
Eclipse openK User Modules
org.eclipse.openk-usermodules.gridFailureInformation.backend
Commits
c2e9cabc
Commit
c2e9cabc
authored
Apr 09, 2020
by
Ina Curdt
Browse files
sonar work
parent
e3019204
Changes
1
Hide whitespace changes
Inline
Side-by-side
gfsBackendService/src/main/java/org/eclipse/openk/gridfailureinformation/service/AddressService.java
View file @
c2e9cabc
...
...
@@ -54,13 +54,12 @@ public class AddressService {
public
List
<
String
>
getStreets
(
String
postcode
,
String
community
,
Optional
<
String
>
district
)
{
if
(
district
.
equals
(
Optional
.
empty
()
)){
if
(
!
district
.
isPresent
(
)){
return
addressRepository
.
findStreetsByPostcodeAndCommunity
(
postcode
,
community
);
}
else
{
return
addressRepository
.
findStreetsByPostcodeAndCommunityAndDistrict
(
postcode
,
community
,
district
.
get
());
}
}
public
List
<
String
>
getHousenumbers
(
String
postcode
,
String
community
,
String
street
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment