public static void checkSameHost(Host host,ExecutionSystem es){
  Host esHost=Host.fromUri(es.uri());
  checkArgument(esHost.equals(host),"execution system host (%s) must equal %s",esHost,host);
}

public static void checkSameHost ( Host host , ExecutionSystem es ) { Host esHost = Host . fromUri ( es . uri ( ) ) ; checkArgument ( esHost . equals ( host ) , "execution system host (%s) must equal %s" , esHost , host ) ; }
ensures that the given host is the same as the host of the given execution system .
