diff options
author | Duarte Meneses <duarte.meneses@sonarsource.com> | 2015-09-09 16:48:49 +0200 |
---|---|---|
committer | Duarte Meneses <duarte.meneses@sonarsource.com> | 2015-09-14 17:29:40 +0200 |
commit | 069f75fe8558dbea2c7194465f84c5b025bdd672 (patch) | |
tree | f6a6e1b293276a9f04836e3bf539190798f17d04 /sonar-plugin-api | |
parent | 29d4206d4d69d5c36e8153bf1f0f52d47418799c (diff) | |
download | sonarqube-069f75fe8558dbea2c7194465f84c5b025bdd672.tar.gz sonarqube-069f75fe8558dbea2c7194465f84c5b025bdd672.zip |
improve batch logging and performance
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r-- | sonar-plugin-api/src/main/java/org/sonar/api/batch/ProjectClasspath.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/batch/ProjectClasspath.java b/sonar-plugin-api/src/main/java/org/sonar/api/batch/ProjectClasspath.java index e9f71cc17d1..8b6af71cf3c 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/batch/ProjectClasspath.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/batch/ProjectClasspath.java @@ -78,13 +78,13 @@ public class ProjectClasspath implements BatchComponent { } protected List<File> createElements() { - List<File> elements = Lists.newArrayList(); + List<File> e = Lists.newArrayList(); for (String path : def.getBinaries()) { - elements.add(projectFileSystem.resolvePath(path)); + e.add(projectFileSystem.resolvePath(path)); } for (String path : def.getLibraries()) { - elements.add(projectFileSystem.resolvePath(path)); + e.add(projectFileSystem.resolvePath(path)); } - return elements; + return e; } } |