public static void registerDataPersisters(DataPersister... dataPersisters){
  List<DataPersister> newList=new ArrayList<DataPersister>();
  if (registeredPersisters != null) {
    newList.addAll(registeredPersisters);
  }
  for (  DataPersister persister : dataPersisters) {
    newList.add(persister);
  }
  registeredPersisters=newList;
}

public static void registerDataPersisters ( DataPersister ... dataPersisters ) { List < DataPersister > newList = new ArrayList < DataPersister > ( ) ; if ( registeredPersisters != null ) { newList . addAll ( registeredPersisters ) ; } for ( DataPersister persister : dataPersisters ) { newList . add ( persister ) ; } registeredPersisters = newList ; }
register a data type with the manager .
