<commit_before>#include "FaultState.h"
#include "utilConstants.h"
#include <sstream>

using std::string;
using std::stringstream;
using std::auto_ptr;
using acsalarm::FaultState;

/**
 * Default Constructor
 */
FaultState::FaultState():
	userTimestamp(new Timestamp()),
	userProperties(new Properties())
{
}

/**
 * Constructor for initializing a fault state with values
 */
FaultState::FaultState(string theFamily, string theMember, int theCode):
	userTimestamp(new Timestamp()),
	userProperties(new Properties())
{
	setFamily(theFamily);
	setMember(theMember);
	setCode(theCode);
}

/**
 * Copy constructor.
 */<commit_msg>Changed the order of the initializers to avoid warnings<commit_after>#include "FaultState.h"
#include "utilConstants.h"
#include <sstream>

using std::string;
using std::stringstream;
using std::auto_ptr;
using acsalarm::FaultState;

/**
 * Default Constructor
 */
FaultState::FaultState():
	userProperties(new Properties()),
	userTimestamp(new Timestamp())
{
}

/**
 * Constructor for initializing a fault state with values
 */
FaultState::FaultState(string theFamily, string theMember, int theCode):
	userProperties(new Properties()),
	userTimestamp(new Timestamp())
{
	setFamily(theFamily);
	setMember(theMember);
	setCode(theCode);
}

/**
 * Copy constructor.
 */
{'fraction_non_alphanumeric': 0.13622291021671826, 'fraction_numerical': 0.0, 'mean_word_length': 6.473988439306359, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '3426134', 'n_tokens_mistral': 406, 'n_tokens_neox': 405, 'n_words': 96}