private String checkDependencies(ModuleDescriptor md,HashMap<String,ModuleDescriptor> modlist){
  logger.debug("Checking dependencies of " + md.getId());
  ModuleInterface[] requires=md.getRequires();
  if (requires != null) {
    for (    ModuleInterface req : requires) {
      String res=checkOneDependency(md,req,modlist);
      if (!res.isEmpty()) {
        return res;
      }
    }
  }
  return "";
}

private String checkDependencies ( ModuleDescriptor md , HashMap < String , ModuleDescriptor > modlist ) { logger . debug ( "Checking dependencies of " + md . getId ( ) ) ; ModuleInterface [ ] requires = md . getRequires ( ) ; if ( requires != null ) { for ( ModuleInterface req : requires ) { String res = checkOneDependency ( md , req , modlist ) ; if ( ! res . isEmpty ( ) ) { return res ; } } } return "" ; }
check that the dependencies are satisfied .
