From ffcea568c79640227b2fd9c562f642b9d087ea10 Mon Sep 17 00:00:00 2001 From: Pierre Date: Fri, 11 Dec 2020 17:20:41 +0100 Subject: fix code smells --- .../scanner/protocol/input/MultiModuleProjectRepositoryTest.java | 4 ++-- .../org/sonar/scanner/protocol/input/SingleProjectRepositoryTest.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'sonar-scanner-protocol') diff --git a/sonar-scanner-protocol/src/test/java/org/sonar/scanner/protocol/input/MultiModuleProjectRepositoryTest.java b/sonar-scanner-protocol/src/test/java/org/sonar/scanner/protocol/input/MultiModuleProjectRepositoryTest.java index 656fb421fb2..1648a6315fd 100644 --- a/sonar-scanner-protocol/src/test/java/org/sonar/scanner/protocol/input/MultiModuleProjectRepositoryTest.java +++ b/sonar-scanner-protocol/src/test/java/org/sonar/scanner/protocol/input/MultiModuleProjectRepositoryTest.java @@ -54,7 +54,7 @@ public class MultiModuleProjectRepositoryTest { repository.addFileDataToModule("module1", null, fileData); - assertThat(repository.repositoriesByModule()).hasSize(0); + assertThat(repository.repositoriesByModule()).isEmpty(); } @Test @@ -63,6 +63,6 @@ public class MultiModuleProjectRepositoryTest { repository.addFileDataToModule("module2", "/Abc.java", fileData); - assertThat(repository.repositoriesByModule()).hasSize(0); + assertThat(repository.repositoriesByModule()).isEmpty(); } } diff --git a/sonar-scanner-protocol/src/test/java/org/sonar/scanner/protocol/input/SingleProjectRepositoryTest.java b/sonar-scanner-protocol/src/test/java/org/sonar/scanner/protocol/input/SingleProjectRepositoryTest.java index dc34d9f8589..6c5f5819f16 100644 --- a/sonar-scanner-protocol/src/test/java/org/sonar/scanner/protocol/input/SingleProjectRepositoryTest.java +++ b/sonar-scanner-protocol/src/test/java/org/sonar/scanner/protocol/input/SingleProjectRepositoryTest.java @@ -50,7 +50,7 @@ public class SingleProjectRepositoryTest { repository.addFileData(null, fileData); - assertThat(repository.fileData()).hasSize(0); + assertThat(repository.fileData()).isEmpty(); } @Test @@ -59,6 +59,6 @@ public class SingleProjectRepositoryTest { repository.addFileData("/Abc.java", fileData); - assertThat(repository.fileData()).hasSize(0); + assertThat(repository.fileData()).isEmpty(); } } -- cgit v1.2.3 ui.git/log/demos/switchClass/default.html?h=datepicker'>logtreecommitdiffstats
path: root/demos/switchClass/default.html
blob: 55e2e59a9a4d2e39fa31aeb3b3c1bf0e9be5cc46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47