Skip to content
Snippets Groups Projects
Commit e2c095ca authored by abat's avatar abat
Browse files

Merge into master from pull request #89:

Remove useless IStaticWebRoutableService (https://github.com/floodlight/floodlight/pull/89)
parents 8735b7a0 1966d9c4
No related branches found
No related tags found
No related merge requests found
package net.floodlightcontroller.ui.web;
import net.floodlightcontroller.core.module.IFloodlightService;
public interface IStaticWebRoutableService extends IFloodlightService {
}
......@@ -19,7 +19,7 @@ import net.floodlightcontroller.core.module.IFloodlightService;
import net.floodlightcontroller.restserver.IRestApiService;
import net.floodlightcontroller.restserver.RestletRoutable;
public class StaticWebRoutable implements RestletRoutable, IFloodlightModule, IStaticWebRoutableService {
public class StaticWebRoutable implements RestletRoutable, IFloodlightModule {
private IRestApiService restApi;
......@@ -33,22 +33,13 @@ public class StaticWebRoutable implements RestletRoutable, IFloodlightModule, IS
@Override
public Collection<Class<? extends IFloodlightService>> getModuleServices() {
Collection<Class<? extends IFloodlightService>> l =
new ArrayList<Class<? extends IFloodlightService>>();
l.add(IStaticWebRoutableService.class);
return l;
return null;
}
@Override
public Map<Class<? extends IFloodlightService>, IFloodlightService>
getServiceImpls() {
Map<Class<? extends IFloodlightService>,
IFloodlightService> m =
new HashMap<Class<? extends IFloodlightService>,
IFloodlightService>();
// We are the class that implements the service
m.put(IStaticWebRoutableService.class, this);
return m;
return null;
}
@Override
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment