<commit_before>package ru.job4j.calculator;
/**
 * Basic calculator.
 * @author imoskovtsev
 */
public class Calculator {
    /**
     * Calculation result.
     */
    private double result;

    /**
     * adds second to first
     * @param first first
     * @param second
     */
    public void add(double first, double second) {
        this.result = first + second;
    }

    /**
     * subtracts second from first
     * @param first first
     * @param second
     */
    public void subtract(double first, double second) {
        this.result = first - second;
    }

    /**
     * devides first by second
     * @param first first
     * @param second
     */
    public void devide(double first, double second) {
        this.result = first / second;
    }

    /**
     * multiplies first by second
     * @param first first
     * @param second
     */
    public void multiply(double first, double second) {
        this.result = first * second;
    }

    /**
     * Returns calculation result
     * @return result
     */
    public double getResult() {
        return this.result;
    }
}<commit_msg>1.3. JavaDoc. Code convention [#9712]<commit_after>package ru.job4j.calculator;
/**
 * Basic calculator.
 * @author imoskovtsev
 */
public class Calculator {
    /**
     * Calculation result.
     */
    private double result;

    /**
     * adds second to first.
     * @param first - first value
     * @param second - second value
     */
    public void add(double first, double second) {
        this.result = first + second;
    }

    /**
     * subtracts second from first.
     * @param first - first value
     * @param second - second value
     */
    public void subtract(double first, double second) {
        this.result = first - second;
    }

    /**
     * devides first by second.
     * @param first - first value
     * @param second - second value
     */
    public void devide(double first, double second) {
        this.result = first / second;
    }

    /**
     * multiplies first by second.
     * @param first - first value
     * @param second - second value
     */
    public void multiply(double first, double second) {
        this.result = first * second;
    }

    /**
     * Returns calculation result.
     * @return result
     */
    public double getResult() {
        return this.result;
    }
}
{'fraction_non_alphanumeric': 0.10537452391028354, 'fraction_numerical': 0.0033855268726195515, 'mean_word_length': 1.8654545454545455, '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': '3107509', 'n_tokens_mistral': 688, 'n_tokens_neox': 657, 'n_words': 208}