# | Line 111 | Line 111 | public class ComponentManager { | |
---|---|---|
111 | component = new uk.ac.ukc.iscream.dbinterface.DBInterface(); | |
112 | } else if (componentName.equalsIgnoreCase("clientinterface")) { | |
113 | component = new uk.ac.ukc.iscream.clientinterface.ClientInterfaceMain(); | |
114 | + | // note the passing of the Filter's name in its constructor |
115 | + | } else if (componentName.equalsIgnoreCase("filter")) { |
116 | + | component = new uk.ac.ukc.iscream.filter.FilterMain(filterName); |
117 | } | |
118 | // ### Add new component constructors in the above section! ### | |
119 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |