private void unifyUsernameByEmail(Map<String,List<LogCommitInfo>> usernameMap){
  for (  Entry<String,List<LogCommitInfo>> entry : usernameMap.entrySet()) {
    List<String> names=getNamesList(entry.getValue());
    String newUserName=names.get(0);
    if (names.size() > 1)     newUserName=getNewName(names);
    for (    LogCommitInfo commit : entry.getValue()) {
      commit.setUserName(newUserName);
    }
  }
}

private void unifyUsernameByEmail ( Map < String , List < LogCommitInfo > > usernameMap ) { for ( Entry < String , List < LogCommitInfo > > entry : usernameMap . entrySet ( ) ) { List < String > names = getNamesList ( entry . getValue ( ) ) ; String newUserName = names . get ( 0 ) ; if ( names . size ( ) > 1 ) newUserName = getNewName ( names ) ; for ( LogCommitInfo commit : entry . getValue ( ) ) { commit . setUserName ( newUserName ) ; } } }
treat different names for the same e - mail case
