From 069f75fe8558dbea2c7194465f84c5b025bdd672 Mon Sep 17 00:00:00 2001 From: Duarte Meneses Date: Wed, 9 Sep 2015 16:48:49 +0200 Subject: improve batch logging and performance --- .../src/main/java/org/sonar/api/batch/ProjectClasspath.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sonar-plugin-api/src') 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 createElements() { - List elements = Lists.newArrayList(); + List 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; } } -- cgit v1.2.3