improving code
This commit is contained in:
parent
16d41f40d0
commit
7ea388aec1
|
@ -69,8 +69,8 @@ public class RestISPublisher extends ISPublisher {
|
||||||
softwareFacet.setVersion(plugin.getVersion());
|
softwareFacet.setVersion(plugin.getVersion());
|
||||||
softwareFacet.setDescription(plugin.getDescription());
|
softwareFacet.setDescription(plugin.getDescription());
|
||||||
|
|
||||||
IsIdentifiedBy<Resource, Facet> identifiedBy = new IsIdentifiedByImpl<Resource, Facet>(runningPlugin, softwareFacet);
|
IsIdentifiedBy<Resource, Facet> isIdentifiedBy = new IsIdentifiedByImpl<Resource, Facet>(runningPlugin, softwareFacet);
|
||||||
runningPlugin.addFacet(identifiedBy);
|
runningPlugin.addFacet(isIdentifiedBy);
|
||||||
|
|
||||||
Map<String,String> pluginCapabilities = plugin.getSupportedCapabilities();
|
Map<String,String> pluginCapabilities = plugin.getSupportedCapabilities();
|
||||||
if(pluginCapabilities!=null) {
|
if(pluginCapabilities!=null) {
|
||||||
|
|
Loading…
Reference in New Issue