From ffcea568c79640227b2fd9c562f642b9d087ea10 Mon Sep 17 00:00:00 2001 From: Pierre Date: Fri, 11 Dec 2020 17:20:41 +0100 Subject: fix code smells --- .../src/test/java/org/sonar/server/plugins/PluginDownloaderTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/sonar-webserver-api') diff --git a/server/sonar-webserver-api/src/test/java/org/sonar/server/plugins/PluginDownloaderTest.java b/server/sonar-webserver-api/src/test/java/org/sonar/server/plugins/PluginDownloaderTest.java index 57dee7d4e35..80ae43aec20 100644 --- a/server/sonar-webserver-api/src/test/java/org/sonar/server/plugins/PluginDownloaderTest.java +++ b/server/sonar-webserver-api/src/test/java/org/sonar/server/plugins/PluginDownloaderTest.java @@ -252,7 +252,7 @@ public class PluginDownloaderTest { @Test public void getDownloadedPluginFilenames_reads_plugin_info_of_files_in_download_folder() throws Exception { pluginDownloader.start(); - assertThat(pluginDownloader.getDownloadedPlugins()).hasSize(0); + assertThat(pluginDownloader.getDownloadedPlugins()).isEmpty(); File file1 = new File(downloadDir, "file1.jar"); file1.createNewFile(); -- cgit v1.2.3