<commit_before>package org.commcare.suite.model;

import org.javarosa.core.services.storage.Persistable;
import org.javarosa.core.util.externalizable.DeserializationException;
import org.javarosa.core.util.externalizable.ExtUtil;
import org.javarosa.core.util.externalizable.ExtWrapList;
import org.javarosa.core.util.externalizable.ExtWrapMap;
import org.javarosa.core.util.externalizable.ExtWrapMapPoly;
import org.javarosa.core.util.externalizable.PrototypeFactory;

import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;
import java.util.Hashtable;
import java.util.Vector;

/**
 * Suites are containers for a set of actions,
 * detail definitions, and UI information. A suite
 * generally contains a set of form entry actions
 * related to the same case ID, sometimes including
 * referrals.
 *
 * @author ctsims
 */
public class Suite implements Persistable {

    public static final String STORAGE_KEY = "SUITE";

    private int version;
    private int recordId = -1;

    /**
     * Detail id -> Detail Object *
     */
    private Hashtable<String, Detail> details;

    /**
     * Entry id (also the same for menus) ) -> Entry Object *
     */
    private Hashtable<String, Entry> entries;
    private Vector<Menu> menus;

    @SuppressWarnings("unused")
    public Suite() {

    }

    public Suite(int version, Hashtable<String, Detail> details,
                 Hashtable<String, Entry> entries, Vector<Menu> menus) {
        this.version = version;
        this.details = details;<commit_msg>remove stray parenthesis<commit_after>package org.commcare.suite.model;

import org.javarosa.core.services.storage.Persistable;
import org.javarosa.core.util.externalizable.DeserializationException;
import org.javarosa.core.util.externalizable.ExtUtil;
import org.javarosa.core.util.externalizable.ExtWrapList;
import org.javarosa.core.util.externalizable.ExtWrapMap;
import org.javarosa.core.util.externalizable.ExtWrapMapPoly;
import org.javarosa.core.util.externalizable.PrototypeFactory;

import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;
import java.util.Hashtable;
import java.util.Vector;

/**
 * Suites are containers for a set of actions,
 * detail definitions, and UI information. A suite
 * generally contains a set of form entry actions
 * related to the same case ID, sometimes including
 * referrals.
 *
 * @author ctsims
 */
public class Suite implements Persistable {

    public static final String STORAGE_KEY = "SUITE";

    private int version;
    private int recordId = -1;

    /**
     * Detail id -> Detail Object *
     */
    private Hashtable<String, Detail> details;

    /**
     * Entry id (also the same for menus) -> Entry Object *
     */
    private Hashtable<String, Entry> entries;
    private Vector<Menu> menus;

    @SuppressWarnings("unused")
    public Suite() {

    }

    public Suite(int version, Hashtable<String, Detail> details,
                 Hashtable<String, Entry> entries, Vector<Menu> menus) {
        this.version = version;
        this.details = details;
{'fraction_non_alphanumeric': 0.09758454106280193, 'fraction_numerical': 0.0006441223832528181, 'mean_word_length': 3.7347560975609757, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 19, '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': '1683286', 'n_tokens_mistral': 920, 'n_tokens_neox': 903, 'n_words': 241}