Jean-Francois Leveque

Simplification spécification de type

...@@ -88,7 +88,7 @@ public class PublisherServiceDefaultTest { ...@@ -88,7 +88,7 @@ public class PublisherServiceDefaultTest {
88 88
89 publisher = new Publisher(); 89 publisher = new Publisher();
90 publisherVersion = new PublisherVersion(); 90 publisherVersion = new PublisherVersion();
91 - publisherVersions = new HashSet<PublisherVersion>(); 91 + publisherVersions = new HashSet<>();
92 publisherVersions.add(publisherVersion); 92 publisherVersions.add(publisherVersion);
93 publisherVersions.add(publisherVersionMock); 93 publisherVersions.add(publisherVersionMock);
94 publisher.setVersions(publisherVersions); 94 publisher.setVersions(publisherVersions);
......