<commit_before>package com.box.boxjavalibv2.requests.requestentities;

import com.box.boxjavalibv2.dao.BoxEmail;
import com.box.boxjavalibv2.dao.BoxFolder;
import com.box.boxjavalibv2.jsonentities.MapJSONStringEntity;
import com.box.boxjavalibv2.jsonparsing.IBoxJSONParser;

public class BoxFolderRequestEntity extends BoxItemRequestEntity {

    /**
     * Set the email-to-upload address for this folder.
     * 
     * @param access
     *            access level
     * @param email
     *            email address
     * @return
     */
    public void setUploadEmail(String access, String email) {
        MapJSONStringEntity entity = new MapJSONStringEntity();
        entity.put(BoxEmail.FIELD_ACCESS, access);
        entity.put(BoxEmail.FIELD_EMAIL, email);
        put(BoxFolder.FIELD_FOLDER_UPLOAD_EMAIL, entity);
    }

    public static BoxFolderRequestEntity getRequestEntity() {
        return (new BoxFolderRequestEntity());
    }

    public static BoxFolderRequestEntity createFolderRequestEntity(String name, String parentId, final IBoxJSONParser parser) {
        BoxFolderRequestEntity entity = new BoxFolderRequestEntity();
        entity.setName(name);
        entity.setParent(parentId);
        return entity;
    }
}
<commit_msg>remove an unecessary param<commit_after>package com.box.boxjavalibv2.requests.requestentities;

import com.box.boxjavalibv2.dao.BoxEmail;
import com.box.boxjavalibv2.dao.BoxFolder;
import com.box.boxjavalibv2.jsonentities.MapJSONStringEntity;

public class BoxFolderRequestEntity extends BoxItemRequestEntity {

    /**
     * Set the email-to-upload address for this folder.
     * 
     * @param access
     *            access level
     * @param email
     *            email address
     * @return
     */
    public void setUploadEmail(String access, String email) {
        MapJSONStringEntity entity = new MapJSONStringEntity();
        entity.put(BoxEmail.FIELD_ACCESS, access);
        entity.put(BoxEmail.FIELD_EMAIL, email);
        put(BoxFolder.FIELD_FOLDER_UPLOAD_EMAIL, entity);
    }

    public static BoxFolderRequestEntity getRequestEntity() {
        return (new BoxFolderRequestEntity());
    }

    public static BoxFolderRequestEntity createFolderRequestEntity(String name, String parentId) {
        BoxFolderRequestEntity entity = new BoxFolderRequestEntity();
        entity.setName(name);
        entity.setParent(parentId);
        return entity;
    }
}

{'fraction_non_alphanumeric': 0.08114754098360656, 'fraction_numerical': 0.0036885245901639345, 'mean_word_length': 3.2305025996533794, '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': '7665249', 'n_tokens_mistral': 693, 'n_tokens_neox': 696, 'n_words': 142}