summaryrefslogtreecommitdiffstats
path: root/sonar-server/src
diff options
context:
space:
mode:
authorEvgeny Mandrikov <mandrikov@gmail.com>2011-01-31 17:35:09 +0300
committerEvgeny Mandrikov <mandrikov@gmail.com>2011-01-31 19:40:17 +0300
commit79939c458e96e0238c32f561dbdc13708ba4878e (patch)
tree7b08174d73c6b1bc021dbac6d5abaa06a47a8219 /sonar-server/src
parent84b0c24d3df04fb61e50015d43c5350bc2c15a20 (diff)
downloadsonarqube-79939c458e96e0238c32f561dbdc13708ba4878e.tar.gz
sonarqube-79939c458e96e0238c32f561dbdc13708ba4878e.zip
Change format of response from BatchResourcesServlet
Diffstat (limited to 'sonar-server/src')
-rw-r--r--sonar-server/src/main/java/org/sonar/server/plugins/BatchResourcesServlet.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/sonar-server/src/main/java/org/sonar/server/plugins/BatchResourcesServlet.java b/sonar-server/src/main/java/org/sonar/server/plugins/BatchResourcesServlet.java
index 2a569a0d075..e8195a55ca4 100644
--- a/sonar-server/src/main/java/org/sonar/server/plugins/BatchResourcesServlet.java
+++ b/sonar-server/src/main/java/org/sonar/server/plugins/BatchResourcesServlet.java
@@ -53,9 +53,7 @@ public class BatchResourcesServlet extends HttpServlet {
try {
response.setContentType("text/html");
writer = response.getWriter();
- for (String lib : getLibs()) {
- writer.println(lib);
- }
+ writer.print(StringUtils.join(getLibs(), ','));
} catch (IOException e) {
LOG.error("Unable to provide list of batch resources", e);
response.sendError(HttpServletResponse.SC_INTERNAL_SERVER_ERROR);