diff options
author | David Gageot <david@gageot.net> | 2012-04-24 10:12:28 +0200 |
---|---|---|
committer | David Gageot <david@gageot.net> | 2012-04-27 14:58:59 +0200 |
commit | 872b3923f80d9a2bcc13713f41cf801f2a7024eb (patch) | |
tree | 2ef0a5003c3becb1b0e53d5683e60ed3c9f759b5 /sonar-application | |
parent | 4b262d15878b31c6c2c7efd8236fb5c65093ba11 (diff) | |
download | sonarqube-872b3923f80d9a2bcc13713f41cf801f2a7024eb.tar.gz sonarqube-872b3923f80d9a2bcc13713f41cf801f2a7024eb.zip |
Remove warnings
Diffstat (limited to 'sonar-application')
-rw-r--r-- | sonar-application/src/main/java/org/sonar/application/JettyEmbedder.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sonar-application/src/main/java/org/sonar/application/JettyEmbedder.java b/sonar-application/src/main/java/org/sonar/application/JettyEmbedder.java index 2bbbbd276e7..53cdc2aadba 100644 --- a/sonar-application/src/main/java/org/sonar/application/JettyEmbedder.java +++ b/sonar-application/src/main/java/org/sonar/application/JettyEmbedder.java @@ -84,7 +84,7 @@ public class JettyEmbedder { }); } - private Server configureProgrammatically() throws URISyntaxException, IOException { + private Server configureProgrammatically() throws URISyntaxException { configureServer(); WebAppContext context = new WebAppContext(getPath("/war/sonar-server"), contextPath); server.addHandler(context); @@ -102,7 +102,7 @@ public class JettyEmbedder { server.addHandler(requestLogHandler); } - private void configureServer() throws URISyntaxException { + private void configureServer() { QueuedThreadPool threadPool = new QueuedThreadPool(); threadPool.setMinThreads(5); threadPool.setMaxThreads(50); @@ -128,7 +128,7 @@ public class JettyEmbedder { List<String> paths = new ArrayList<String>(); paths.add(pluginsDir.getCanonicalPath() + System.getProperty("file.separator")); - Collection<File> files = FileUtils.listFiles(pluginsDir, new String[]{"jar"}, false); + Collection<File> files = FileUtils.listFiles(pluginsDir, new String[] {"jar"}, false); if (files != null) { for (File file : files) { paths.add(file.getCanonicalPath()); |