Jean-Francois Leveque

Petit changement nommage local de confort

...@@ -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()));
......