This is the codeAbility Sharing Platform! Learn more about the
codeAbility Sharing Platform
.
Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
codeAbility Sharing Platform
Manage
Activity
Members
Labels
Plan
Issues
43
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
development
sharing
codeAbility Sharing Platform
Commits
76ff4f82
Commit
76ff4f82
authored
3 years ago
by
Michael Breu
Browse files
Options
Downloads
Patches
Plain Diff
Fixing Tests
parent
392044a6
2 merge requests
!188
Merging Peer Reviewing et. al to Master
,
!164
211 peer reviewing functionality
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/at/ac/uibk/gitsearch/service/mapper/SavedSearchesMapper.java
+3
-3
3 additions, 3 deletions
...ac/uibk/gitsearch/service/mapper/SavedSearchesMapper.java
with
3 additions
and
3 deletions
src/main/java/at/ac/uibk/gitsearch/service/mapper/SavedSearchesMapper.java
+
3
−
3
View file @
76ff4f82
...
...
@@ -12,11 +12,11 @@ import org.mapstruct.*;
@Mapper
(
componentModel
=
"spring"
,
uses
=
{
UserMapper
.
class
})
public
interface
SavedSearchesMapper
extends
EntityMapper
<
SavedSearchesDTO
,
SavedSearches
>
{
@Mapping
(
source
=
"user
Id
.id"
,
target
=
"userIdId"
)
@Mapping
(
source
=
"user
Id
.login"
,
target
=
"userIdLogin"
)
@Mapping
(
source
=
"user.id"
,
target
=
"userIdId"
)
@Mapping
(
source
=
"user.login"
,
target
=
"userIdLogin"
)
SavedSearchesDTO
toDto
(
SavedSearches
savedSearches
);
@Mapping
(
source
=
"userId
Id
"
,
target
=
"user
Id
"
)
@Mapping
(
source
=
"userId"
,
target
=
"user"
)
SavedSearches
toEntity
(
SavedSearchesDTO
savedSearchesDTO
);
default
SavedSearches
fromId
(
Long
id
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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