<commit_before>/**
 * Copyright (C) 2009 - 2010 by OpenGamma Inc.
 *
 * Please see distribution for license.
 */
package com.opengamma.config.db;

import static com.opengamma.config.ConfigDocument.CREATION_INSTANT_FUDGE_FIELD_NAME;
import static com.opengamma.config.ConfigDocument.LAST_READ_INSTANT_FUDGE_FIELD_NAME;
import static com.opengamma.config.ConfigDocument.NAME_FUDGE_FIELD_NAME;
import static com.opengamma.config.ConfigDocument.OID_FUDGE_FIELD_NAME;
import static com.opengamma.config.ConfigDocument.VALUE_FUDGE_FIELD_NAME;
import static com.opengamma.config.ConfigDocument.VERSION_FUDGE_FIELD_NAME;

import java.util.Date;

import javax.time.Instant;
import javax.time.TimeSource;

import org.fudgemsg.FudgeContext;
import org.fudgemsg.MutableFudgeFieldContainer;
import org.fudgemsg.mapping.FudgeBuilder;
import org.fudgemsg.mapping.FudgeDeserializationContext;
import org.fudgemsg.mapping.FudgeSerializationContext;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.mongodb.BasicDBObject;
import com.mongodb.BasicDBObjectBuilder;
import com.mongodb.DB;
import com.mongodb.DBCollection;
import com.mongodb.DBCursor;
import com.mongodb.DBObject;
import com.mongodb.Mongo;
import com.mongodb.ObjectId;
import com.opengamma.DataNotFoundException;
import com.opengamma.OpenGammaRuntimeException;
import com.opengamma.config.ConfigDocument;
import com.opengamma.config.ConfigMaster;
import com.opengamma.config.ConfigSearchHistoricRequest;
import com.opengamma.config.ConfigSearchHistoricResult;
import com.opengamma.config.ConfigSearchRequest;
import com.opengamma.config.ConfigSearchResult;
import com.opengamma.config.DefaultConfigDocument;
import com.opengamma.id.UniqueIdentifier;<commit_msg>[IGN-51] Package of ObjectId changed in MongoDB 2.1 driver.<commit_after>/**
 * Copyright (C) 2009 - 2010 by OpenGamma Inc.
 *
 * Please see distribution for license.
 */
package com.opengamma.config.db;

import static com.opengamma.config.ConfigDocument.CREATION_INSTANT_FUDGE_FIELD_NAME;
import static com.opengamma.config.ConfigDocument.LAST_READ_INSTANT_FUDGE_FIELD_NAME;
import static com.opengamma.config.ConfigDocument.NAME_FUDGE_FIELD_NAME;
import static com.opengamma.config.ConfigDocument.OID_FUDGE_FIELD_NAME;
import static com.opengamma.config.ConfigDocument.VALUE_FUDGE_FIELD_NAME;
import static com.opengamma.config.ConfigDocument.VERSION_FUDGE_FIELD_NAME;

import java.util.Date;

import javax.time.Instant;
import javax.time.TimeSource;

import org.bson.types.ObjectId;
import org.fudgemsg.FudgeContext;
import org.fudgemsg.MutableFudgeFieldContainer;
import org.fudgemsg.mapping.FudgeBuilder;
import org.fudgemsg.mapping.FudgeDeserializationContext;
import org.fudgemsg.mapping.FudgeSerializationContext;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.mongodb.BasicDBObject;
import com.mongodb.BasicDBObjectBuilder;
import com.mongodb.DB;
import com.mongodb.DBCollection;
import com.mongodb.DBCursor;
import com.mongodb.DBObject;
import com.mongodb.Mongo;
import com.opengamma.DataNotFoundException;
import com.opengamma.OpenGammaRuntimeException;
import com.opengamma.config.ConfigDocument;
import com.opengamma.config.ConfigMaster;
import com.opengamma.config.ConfigSearchHistoricRequest;
import com.opengamma.config.ConfigSearchHistoricResult;
import com.opengamma.config.ConfigSearchRequest;
import com.opengamma.config.ConfigSearchResult;
import com.opengamma.config.DefaultConfigDocument;
import com.opengamma.id.UniqueIdentifier;
{'fraction_non_alphanumeric': 0.08454727220794059, 'fraction_numerical': 0.006855184233076264, 'mean_word_length': 7.43855421686747, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5708106', 'n_tokens_mistral': 1159, 'n_tokens_neox': 1122, 'n_words': 185}