Make all REST resources public so that they can be used from plugins
Make the RestResource classes and their constructors public so that they can be used from plugins. Most RestResource classes were already public, so this makes it consistent across all RestResources. Change-Id: I49b7dc9b3bd7e9b0734d5933392df60b006e5745 Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
This commit is contained in:
committed by
David Pursehouse
parent
04cbd34e70
commit
d6a48f0201
@@ -25,12 +25,12 @@ public class PluginResource implements RestResource {
|
||||
private final Plugin plugin;
|
||||
private final String name;
|
||||
|
||||
PluginResource(Plugin plugin) {
|
||||
public PluginResource(Plugin plugin) {
|
||||
this.plugin = plugin;
|
||||
this.name = plugin.getName();
|
||||
}
|
||||
|
||||
PluginResource(String name) {
|
||||
public PluginResource(String name) {
|
||||
this.plugin = null;
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user