if(protocol != null)
if((providerClass != null) && (protocol != null))
   public Client createClient(Protocol protocol, String name)   {      Client result = null;      try		{         Class<? extends Client> providerClass = this.clients.get(protocol);                  if(protocol != null)         {         	result = providerClass.getConstructor(Protocol.class, String.class).newInstance(protocol, name);         }         else         {            logger.log(Level.WARNING, "No client connector supports the " + protocol.getName() + " protocol.");         }		}		catch (Exception e)		{         logger.log(Level.SEVERE, "Exception while instantiation the client connector.", e);		}      return result;   }