From: Simon Brandhof Date: Mon, 23 May 2011 15:38:04 +0000 (+0000) Subject: SONARPLUGINS-1177 Remove unused code X-Git-Tag: 2.5-rc1~342 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1cff17644140587b582d079b1edfeeba59f2daef;p=sonar-scanner-cli.git SONARPLUGINS-1177 Remove unused code --- diff --git a/src/main/java/org/sonar/runner/Main.java b/src/main/java/org/sonar/runner/Main.java index 1900e21..0307f30 100644 --- a/src/main/java/org/sonar/runner/Main.java +++ b/src/main/java/org/sonar/runner/Main.java @@ -150,8 +150,7 @@ public class Main { URL url = Main.class.getProtectionDomain().getCodeSource().getLocation(); return bootstrapper.createClassLoader( new URL[] { url }, // Add JAR with Sonar Runner - it's a Jar which contains this class - getClass().getClassLoader(), - "org.apache.tools.ant", "org.sonar.ant"); + getClass().getClassLoader()); } static boolean isVersionPriorTo2Dot6(String version) {