<commit_before>package com.springer.gocd.cloudfoundry;

import java.util.Date;

public class AppInstanceDetails {
    private final String appName;
    private final Date since;
    private final String revision;


    public AppInstanceDetails(String appName, Date since, String revision) {
        this.appName = appName;
        this.since = since;
        this.revision = revision;
    }

    public Date getSince() {
        return new Date(since.getTime());
    }

    public String getRevision() {
        return revision;
    }

    public String getAppName() {
        return appName;
    }
}<commit_msg>Keeping FindBugs happy by exposing a copy of the date rather than a reference.<commit_after>package com.springer.gocd.cloudfoundry;

import java.util.Date;

public class AppInstanceDetails {
    private final String appName;
    private final Date since;
    private final String revision;


    public AppInstanceDetails(String appName, Date since, String revision) {
        this.appName = appName;
        this.since = new Date(since.getTime());
        this.revision = revision;
    }

    public Date getSince() {
        return new Date(since.getTime());
    }

    public String getRevision() {
        return revision;
    }

    public String getAppName() {
        return appName;
    }
}
{'fraction_non_alphanumeric': 0.08085430968726164, 'fraction_numerical': 0.0, 'mean_word_length': 2.71671388101983, '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': '1373730', 'n_tokens_mistral': 370, 'n_tokens_neox': 355, 'n_words': 110}