Skip to content

Commit

Permalink
Avoid maintaining multiple extension map at SiddhiExtensionLoader
Browse files Browse the repository at this point in the history
  • Loading branch information
pcnfernando committed Sep 20, 2019
1 parent 259846c commit ac1abb1
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@
import org.osgi.service.component.annotations.Activate;
import org.osgi.service.component.annotations.Component;

import java.util.HashMap;

/**
* Siddhi Manager Service which is
*
Expand All @@ -46,7 +44,6 @@ public class SiddhiManagerComponent {
@Activate
protected void start(BundleContext bundleContext) throws Exception {
ReferenceHolder.getInstance().setBundleContext(bundleContext);
SiddhiExtensionLoader.loadSiddhiExtensions(new HashMap<>());
serviceRegistration = bundleContext.registerService(SiddhiComponentActivator.class.getName(),
new SiddhiComponentActivator(), null);
}
Expand Down

0 comments on commit ac1abb1

Please sign in to comment.