improving code

This commit is contained in:
Luca Frosini 2020-10-14 18:16:49 +02:00
parent 16d41f40d0
commit 7ea388aec1
1 changed files with 2 additions and 2 deletions

View File

@ -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) {