Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
nachrichten-manager
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OZG-Cloud
app
nachrichten-manager
Commits
4cf9e55b
Commit
4cf9e55b
authored
3 months ago
by
Felix Reichenbach
Browse files
Options
Downloads
Patches
Plain Diff
OZG-7136 reorder methods
parent
47b855cf
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!1
Ozg 7136 null postfach type
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
nachrichten-manager-server/src/main/java/de/ozgcloud/nachrichten/postfach/PostfachService.java
+3
-4
3 additions, 4 deletions
...ava/de/ozgcloud/nachrichten/postfach/PostfachService.java
with
3 additions
and
4 deletions
nachrichten-manager-server/src/main/java/de/ozgcloud/nachrichten/postfach/PostfachService.java
+
3
−
4
View file @
4cf9e55b
...
@@ -284,12 +284,11 @@ class PostfachService {
...
@@ -284,12 +284,11 @@ class PostfachService {
.
findFirst
();
.
findFirst
();
}
}
private
boolean
hasPostfachType
(
PostfachRemoteService
postfachRemoteService
,
String
postfachType
)
{
return
StringUtils
.
equals
(
postfachRemoteService
.
getPostfachType
(),
postfachType
);
}
Stream
<
PostfachRemoteService
>
getPostfachRemoteServices
()
{
Stream
<
PostfachRemoteService
>
getPostfachRemoteServices
()
{
return
postfachRemoteServices
.
map
(
Collection:
:
stream
).
orElseThrow
(()
->
new
NotConfiguredException
(
"No postfach configured"
));
return
postfachRemoteServices
.
map
(
Collection:
:
stream
).
orElseThrow
(()
->
new
NotConfiguredException
(
"No postfach configured"
));
}
}
private
boolean
hasPostfachType
(
PostfachRemoteService
postfachRemoteService
,
String
postfachType
)
{
return
StringUtils
.
equals
(
postfachRemoteService
.
getPostfachType
(),
postfachType
);
}
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment