<commit_before>package com.atlassian.jira.plugins.dvcs.spi.bitbucket.clientlibrary.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * BitbucketPullRequest
 * 
 * 
 * <br />
 * <br />
 * Created on 11.12.2012, 14:02:57 <br />
 * <br />
 * 
 * @author <EMAIL>
 * 
 */
public class BitbucketPullRequest implements Serializable, HasMessages
{
    private Integer id;
    private String title;
    private String description;
    private BitbucketAccount user;
    private BitbucketPullRequestCommitInfo commits;
    private BitbucketPullRequestLinks links;

    //
    private transient List<BitbucketPullRequestCommit> commitsDetails;

    public BitbucketPullRequest()
    {
        super();
    }

    public Integer getId()
    {
        return id;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public String getTitle()
    {
        return title;
    }

    public void setTitle(String title)
    {
        this.title = title;
    }

    public BitbucketAccount getUser()
    {
        return user;
    }

    public void setUser(BitbucketAccount user)
    {
        this.user = user;
    }

    public BitbucketPullRequestCommitInfo getCommits()
    {
        return commits;
    }

    public void setCommits(BitbucketPullRequestCommitInfo commits)
    {
        this.commits = commits;
    }

    public List<BitbucketPullRequestCommit> getCommitsDetails()
    {
        return commitsDetails;
    }

    public void setCommitsDetails(List<BitbucketPullRequestCommit> commitsDetails)
    {
        this.commitsDetails = commitsDetails;
    }

    @Override
    public List<String> getMessages()
    {
        ArrayList<String> allMessages = new ArrayList<String>();

        allMessages.add(title);
        allMessages.add(description);
        
        if (commitsDetails != null)
        {
            for (BitbucketPullRequestCommit commitDetail : commitsDetails)
            {
                allMessages.add(commitDetail.getMessage());
            }
        }
        return allMessages;
    }

    public String getDescription()
    {
        return description;
    }

    public void setDescription(String description)
    {
        this.description = description;
    }

    public BitbucketPullRequestLinks getLinks()
    {
        return links;
    }

    public void setLinks(BitbucketPullRequestLinks links)
    {
        this.links = links;
    }
}
<commit_msg>BBC-398 Fixing PR id type<commit_after>package com.atlassian.jira.plugins.dvcs.spi.bitbucket.clientlibrary.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * BitbucketPullRequest
 * 
 * 
 * <br />
 * <br />
 * Created on 11.12.2012, 14:02:57 <br />
 * <br />
 * 
 * @author <EMAIL>
 * 
 */
public class BitbucketPullRequest implements Serializable, HasMessages
{
    private Long id;
    private String title;
    private String description;
    private BitbucketAccount user;
    private BitbucketPullRequestCommitInfo commits;
    private BitbucketPullRequestLinks links;

    //
    private transient List<BitbucketPullRequestCommit> commitsDetails;

    public BitbucketPullRequest()
    {
        super();
    }

    public Long getId()
    {
        return id;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public String getTitle()
    {
        return title;
    }

    public void setTitle(String title)
    {
        this.title = title;
    }

    public BitbucketAccount getUser()
    {
        return user;
    }

    public void setUser(BitbucketAccount user)
    {
        this.user = user;
    }

    public BitbucketPullRequestCommitInfo getCommits()
    {
        return commits;
    }

    public void setCommits(BitbucketPullRequestCommitInfo commits)
    {
        this.commits = commits;
    }

    public List<BitbucketPullRequestCommit> getCommitsDetails()
    {
        return commitsDetails;
    }

    public void setCommitsDetails(List<BitbucketPullRequestCommit> commitsDetails)
    {
        this.commitsDetails = commitsDetails;
    }

    @Override
    public List<String> getMessages()
    {
        ArrayList<String> allMessages = new ArrayList<String>();

        allMessages.add(title);
        allMessages.add(description);
        
        if (commitsDetails != null)
        {
            for (BitbucketPullRequestCommit commitDetail : commitsDetails)
            {
                allMessages.add(commitDetail.getMessage());
            }
        }
        return allMessages;
    }

    public String getDescription()
    {
        return description;
    }

    public void setDescription(String description)
    {
        this.description = description;
    }

    public BitbucketPullRequestLinks getLinks()
    {
        return links;
    }

    public void setLinks(BitbucketPullRequestLinks links)
    {
        this.links = links;
    }
}

{'fraction_non_alphanumeric': 0.0803484995159729, 'fraction_numerical': 0.006001936108422072, 'mean_word_length': 1.958762886597938, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 25, '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': '7397870', 'n_tokens_mistral': 1523, 'n_tokens_neox': 1384, 'n_words': 298}