<commit_before>package com.yammer.dropwizard.config;

import org.codehaus.jackson.annotate.JsonProperty;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

@SuppressWarnings({ "FieldMayBeFinal", "FieldCanBeLocal" })
public class RequestLogConfiguration {
    @JsonProperty
    private boolean enabled = false;

    @NotNull
    @JsonProperty
    private String filenamePattern = "./logs/yyyy_mm_dd.log";

    @Min(1)
    @Max(50)
    @JsonProperty
    private int retainedFileCount = 5;

    public boolean isEnabled() {
        return enabled;
    }

    public String getFilenamePattern() {
        return filenamePattern;
    }

    public int getRetainedFileCount() {
        return retainedFileCount;
    }
}<commit_msg>Allow null filenamePattern in RequestLogConfiguration<commit_after>package com.yammer.dropwizard.config;

import org.codehaus.jackson.annotate.JsonProperty;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

@SuppressWarnings({ "FieldMayBeFinal", "FieldCanBeLocal" })
public class RequestLogConfiguration {
    @JsonProperty
    private boolean enabled = false;

    @JsonProperty
    private String filenamePattern = "./logs/yyyy_mm_dd.log";

    @Min(1)
    @Max(50)
    @JsonProperty
    private int retainedFileCount = 5;

    public boolean isEnabled() {
        return enabled;
    }

    public String getFilenamePattern() {
        return filenamePattern;
    }

    public int getRetainedFileCount() {
        return retainedFileCount;
    }
}
{'fraction_non_alphanumeric': 0.08879363135333741, 'fraction_numerical': 0.004898958971218616, 'mean_word_length': 3.75, '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': '1923187', 'n_tokens_mistral': 468, 'n_tokens_neox': 452, 'n_words': 101}