<commit_before>package com.brmuncey.shortcutcalculator.Model;

public class Calculator {

    private double value;

    public Calculator(){ value = 0; }

    public Calculator(double value) { this.value = value; }

    public void add(double x) { value += x; }

    public void subtract(double x) { value -= x; }

    public void divide(double x) { value = value / x;}

    public void multiply(double x) { value = value * x; }

    public double getValue() { return value; }
}<commit_msg>Refactor Calculator<commit_after>package com.brmuncey.shortcutcalculator.Model;

public class Calculator {

    private double value;

    Calculator(){ value = 0; }

    public Calculator(double value) { this.value = value; }

    public void add(double value) { this.value += value; }

    public void subtract(double value) { this.value -= value; }

    public void divide(double value) { this.value = this.value / value;}

    public void multiply(double value) { this.value = this.value * value; }

    public double getValue() { return value; }
}
{'fraction_non_alphanumeric': 0.11313518696069032, 'fraction_numerical': 0.0019175455417066154, 'mean_word_length': 3.3682008368200838, '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': '2770854', 'n_tokens_mistral': 328, 'n_tokens_neox': 297, 'n_words': 96}