Jean-Francois Leveque

Cleanup traces

...@@ -51,14 +51,10 @@ public class ListPublisherVersionsViewTest { ...@@ -51,14 +51,10 @@ public class ListPublisherVersionsViewTest {
51 Publisher publisher1 = new Publisher(); 51 Publisher publisher1 = new Publisher();
52 publisher.setPublisherId(0); 52 publisher.setPublisherId(0);
53 publisher1.setPublisherId(1); 53 publisher1.setPublisherId(1);
54 - logger.trace("publisher {}", publisher);
55 - logger.trace("publisher1 {}", publisher1);
56 publisherVersion.setPublisher(publisher); 54 publisherVersion.setPublisher(publisher);
57 publisherVersion1.setPublisher(publisher1); 55 publisherVersion1.setPublisher(publisher1);
58 publisherVersion2.setPublisher(publisher); 56 publisherVersion2.setPublisher(publisher);
59 publisher.setValidatedVersion(publisherVersion); 57 publisher.setValidatedVersion(publisherVersion);
60 - logger.trace("publisherVersion {}", publisherVersion);
61 - logger.trace("publisherVersion1 {}", publisherVersion1);
62 publisherVersions = new ArrayList<PublisherVersion>(); 58 publisherVersions = new ArrayList<PublisherVersion>();
63 publisherVersions.add(publisherVersion); 59 publisherVersions.add(publisherVersion);
64 publisherVersions.add(publisherVersion1); 60 publisherVersions.add(publisherVersion1);
...@@ -67,8 +63,6 @@ public class ListPublisherVersionsViewTest { ...@@ -67,8 +63,6 @@ public class ListPublisherVersionsViewTest {
67 when(publisherService.getAllPublisherVersions()).thenReturn(publisherVersions); 63 when(publisherService.getAllPublisherVersions()).thenReturn(publisherVersions);
68 listPublisherVersionsView = new ListPublisherVersionsView(publisherService); 64 listPublisherVersionsView = new ListPublisherVersionsView(publisherService);
69 65
70 - logger.trace("listPublisherVersionsView : {}", listPublisherVersionsView);
71 - logger.trace("listPublisherVersionsView, publisherVersions : {}", publisherVersions);
72 } 66 }
73 67
74 @Test 68 @Test
......
...@@ -52,7 +52,6 @@ public class PublisherVersionViewTest { ...@@ -52,7 +52,6 @@ public class PublisherVersionViewTest {
52 publisherVersion.setPublisherActive(true); 52 publisherVersion.setPublisherActive(true);
53 publisherVersion.setPublisherHistory("J"); 53 publisherVersion.setPublisherHistory("J");
54 publisherVersion.setPublisher(new Publisher()); 54 publisherVersion.setPublisher(new Publisher());
55 - logger.trace("publisherVersion = {}", publisherVersion);
56 55
57 // todo uncomment when need to use it (new mockito refuses unnecessary stubbing) 56 // todo uncomment when need to use it (new mockito refuses unnecessary stubbing)
58 // when(publisherService.getPublisherVersion(0)).thenReturn(publisherVersion); 57 // when(publisherService.getPublisherVersion(0)).thenReturn(publisherVersion);
...@@ -128,4 +127,4 @@ public class PublisherVersionViewTest { ...@@ -128,4 +127,4 @@ public class PublisherVersionViewTest {
128 assertThat(publisherVersionView.isNewPublisher()).isFalse(); 127 assertThat(publisherVersionView.isNewPublisher()).isFalse();
129 } 128 }
130 */ 129 */
131 -} 130 +}
...\ No newline at end of file ...\ No newline at end of file
......