private static void addForAllModifiers(String fullName,float error,String[] modifierNames,HashMap<String,TestResult> modifierResults){
  for (  String modifierName : modifierNames) {
    TestResult r=modifierResults.get(fullName);
    if (r == null) {
      modifierResults.put(modifierName,new TestResult(modifierName,error));
    }
 else {
      r.addInto(error);
    }
  }
}

private static void addForAllModifiers ( String fullName , float error , String [ ] modifierNames , HashMap < String , TestResult > modifierResults ) { for ( String modifierName : modifierNames ) { TestResult r = modifierResults . get ( fullName ) ; if ( r == null ) { modifierResults . put ( modifierName , new TestResult ( modifierName , error ) ) ; } else { r . addInto ( error ) ; } } }
inserts the error value into all testresult objects , associated with each of its modifiers
