Showing
1 changed file
with
3 additions
and
3 deletions
... | @@ -68,9 +68,9 @@ public class PublisherServiceDefault implements PublisherService { | ... | @@ -68,9 +68,9 @@ public class PublisherServiceDefault implements PublisherService { |
68 | @Override | 68 | @Override |
69 | public PublisherVersion addVersionToPublisher(Publisher publisher, PublisherVersion publisherVersion) { | 69 | public PublisherVersion addVersionToPublisher(Publisher publisher, PublisherVersion publisherVersion) { |
70 | logger.trace("debut addVersionToPublisher, publisherVersion = {}", publisherVersion); | 70 | logger.trace("debut addVersionToPublisher, publisherVersion = {}", publisherVersion); |
71 | - Set<PublisherVersion> publisherVersionSet = publisher.getVersions(); | 71 | + Set<PublisherVersion> publisherVersions = publisher.getVersions(); |
72 | - publisherVersionSet.add(publisherVersion); | 72 | + publisherVersions.add(publisherVersion); |
73 | - publisher.setVersions(publisherVersionSet); | 73 | + publisher.setVersions(publisherVersions); |
74 | publisherVersion.setPublisher(publisher); | 74 | publisherVersion.setPublisher(publisher); |
75 | publisherVersion.setPublisherVersionCreator(sharedService.getCurrentUser()); | 75 | publisherVersion.setPublisherVersionCreator(sharedService.getCurrentUser()); |
76 | publisherVersion.setPublisherVersionDatetime(new Timestamp(new Date().getTime())); | 76 | publisherVersion.setPublisherVersionDatetime(new Timestamp(new Date().getTime())); | ... | ... |
-
Please register or login to post a comment