src/main/java/com/example/polymorphism/NetworkControlServiceFactory.java
private void registerControllers() {
		bindingsNetworkController.put(new RadioNetwork(), radioControlServices);
		bindingsNetworkController.put(new IpNetwork(), ipControlServices);
		bindingsNetworkController.put(new RestrictedRadioNetwork(), restrictedRadioControlServices);
	}
/** 
	 * This part could be externalize soon to make it more maintainable.
	 */
This part could be externalize soon to make it more maintainable.
This part could be externalize soon to make it more maintainable .
private void registerControllers() {
		bindingsNetworkController.put(new RadioNetwork(), radioControlServices);
		bindingsNetworkController.put(new IpNetwork(), ipControlServices);
		bindingsNetworkController.put(new RestrictedRadioNetwork(), restrictedRadioControlServices);
	}
private void registerControllers ( ) { bindingsNetworkController . put ( new RadioNetwork ( ) , radioControlServices ) ; bindingsNetworkController . put ( new IpNetwork ( ) , ipControlServices ) ; bindingsNetworkController . put ( new RestrictedRadioNetwork ( ) , restrictedRadioControlServices ) ; }
This part could be externalize soon to make it more maintainable.
This part could be externalize soon to make it more maintainable .