Peer-Review changes

This commit is contained in:
Rene Pfeuffer
2019-08-22 10:53:14 +02:00
parent 5c09f92a57
commit 74cc7b53e8
5 changed files with 8 additions and 8 deletions

View File

@@ -75,7 +75,7 @@ public class AvailablePluginResource {
if (plugin.isPresent()) {
return Response.ok(mapper.mapAvailable(plugin.get())).build();
} else {
throw notFound(entity(InstalledPluginDescriptor.class, name));
throw notFound(entity("Plugin", name));
}
}

View File

@@ -75,7 +75,7 @@ public class InstalledPluginResource {
if (pluginDto.isPresent()) {
return Response.ok(mapper.mapInstalled(pluginDto.get())).build();
} else {
throw notFound(entity(InstalledPluginDescriptor.class, name));
throw notFound(entity("Plugin", name));
}
}
}