<commit_before>package com.amee.domain.environment;

import com.amee.base.utils.XMLUtils;
import com.amee.domain.AMEEEntity;
import com.amee.domain.ObjectType;
import org.json.JSONException;
import org.json.JSONObject;
import org.w3c.dom.Document;
import org.w3c.dom.Element;

import java.util.Date;

public class Environment extends AMEEEntity implements Comparable {

    /**
     * A mock 'entity' so that existing API responses continue to look the same.
     */
    // TODO: Original dates.
    public final static Environment ENVIRONMENT =
            new Environment(
                    2L,
                    "5F5887BCF726",
                    "AMEE",
                    "",
                    "",
                    10,
                    10,
                    new Date(),
                    new Date(),
                    "");

    private String name;
    private String path;
    private String description;
    private String owner;
    private Integer itemsPerPage = 10;
    private Integer itemsPerFeed = 10;

    public Environment() {
        super();
        setName("");
        setPath("");
        setDescription("");
        setOwner("");
        setItemsPerPage(10);<commit_msg>PL-3427 - Servlet container disabled.<commit_after>package com.amee.domain.environment;

import com.amee.base.utils.XMLUtils;
import com.amee.domain.AMEEEntity;
import com.amee.domain.ObjectType;
import org.joda.time.DateTime;
import org.json.JSONException;
import org.json.JSONObject;
import org.w3c.dom.Document;
import org.w3c.dom.Element;

import java.util.Date;

public class Environment extends AMEEEntity implements Comparable {

    /**
     * A mock Environment 'entity' so that existing API responses continue to look the same.
     */
    public final static Environment ENVIRONMENT =
            new Environment(
                    2L,
                    "5F5887BCF726",
                    "AMEE",
                    "",
                    "",
                    10,
                    10,
                    new DateTime(2007, 7, 27, 8, 30, 44, 0).toDate(),
                    new DateTime(2007, 7, 27, 8, 30, 44, 0).toDate(),
                    "");

    private String name;
    private String path;
    private String description;
    private String owner;
    private Integer itemsPerPage = 10;
    private Integer itemsPerFeed = 10;

    public Environment() {
        super();
        setName("");
        setPath("");
        setDescription("");
        setOwner("");
        setItemsPerPage(10);
{'fraction_non_alphanumeric': 0.09889676910953507, 'fraction_numerical': 0.028368794326241134, 'mean_word_length': 1.8117386489479512, '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': '4151352', 'n_tokens_mistral': 731, 'n_tokens_neox': 668, 'n_words': 184}