public static Map<String,Object> createUserPrefMap(GenericValue rec) throws GeneralException {
  return addPrefToMap(rec,new LinkedHashMap<String,Object>());
}

public static Map < String , Object > createUserPrefMap ( GenericValue rec ) throws GeneralException { return addPrefToMap ( rec , new LinkedHashMap < String , Object > ( ) ) ; }
convert a userpreference genericvalue to a userprefmap .
