Toggle navigation
Toggle navigation
This project
Loading...
Sign in
grogv3
/
grog-cubi
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Jean-Francois Leveque
2017-03-08 12:18:18 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
9884e68597be911c37ed0f82bdffee5829f0652a
9884e685
1 parent
d0f416fb
Refactoring
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
src/main/java/org/legrog/web/publisher/PublisherServiceDefault.java
src/main/java/org/legrog/web/publisher/PublisherServiceDefault.java
View file @
9884e68
...
...
@@ -91,6 +91,12 @@ public class PublisherServiceDefault implements PublisherService {
publisherAction
.
setPublisherVersion
(
publisherVersion
);
publisherAction
.
setPublisher
(
publisher
);
this
.
savePublisher
(
publisher
);
this
.
index
(
publisher
);
publisherActionRepository
.
save
(
publisherAction
);
return
publisherAction
;
}
protected
void
index
(
Publisher
publisher
)
{
IndexedPublisher
indexedPublisher
=
new
IndexedPublisher
(
publisher
);
try
{
publisherSearchRepository
.
save
(
indexedPublisher
);
...
...
@@ -98,8 +104,6 @@ public class PublisherServiceDefault implements PublisherService {
logger
.
error
(
"IndexingException {}"
,
e
);
// TODO Ajouter l'information de manière plus accessible que dans les logs
}
publisherActionRepository
.
save
(
publisherAction
);
return
publisherAction
;
}
protected
void
savePublisherVersion
(
PublisherVersion
publisherVersion
)
{
...
...
Please
register
or
login
to post a comment