fix missing plugin bug

This commit is contained in:
Sebastian Sdorra
2011-03-13 11:47:40 +01:00
parent f60ee10718
commit 08705c983c

View File

@@ -105,8 +105,8 @@ public class PluginResource
@GET @GET
@Produces(MediaType.APPLICATION_XML) @Produces(MediaType.APPLICATION_XML)
public Response getPlugins( public Response getPlugins(
@PathParam("version") String version, @PathParam("version") String version,
@DefaultValue("false") @QueryParam("snapshot") boolean snapshot) @DefaultValue("false") @QueryParam("snapshot") boolean snapshot)
{ {
if (logger.isDebugEnabled()) if (logger.isDebugEnabled())
{ {
@@ -161,6 +161,8 @@ public class PluginResource
} }
} }
pluginSet.add(newest);
return pluginSet; return pluginSet;
} }