<commit_before>package ru.ematveev.stratigypattern;

import ru.ematveev.model.IPrinter;

/**
 * Class Paint this StratigyClient.
 *
 * @author <NAME>.
 * @version 1.0.
 * @since 18.01.17.
 */
public class Paint {
    /**
     * Iprinter for output to console.
     */
    private IPrinter iPrinter;

    /**
     * Constructor.
     * @param iPrinter iPrinter.
     */

    public Paint(IPrinter iPrinter) {
        this.iPrinter = iPrinter;
    }

    /**
     * Method output to console the figures.
     * @param shape shape.
     */
    public void draw(Shape shape) {
        iPrinter.println(shape.pic());
    }

    /**
     * Method start the program.
     * @param args args.
     */

    public static void main(String[] args) {
        IPrinter iPrinter = text -> System.out.println(text);
        Shape shape = new QuadreShape(7);
        Shape shape1 = new TriangleShape(7);
        Paint paint = new Paint(iPrinter);

        paint.draw(shape);
        paint.draw(shape1);
    }
}
<commit_msg>Paint - delete method main<commit_after>package ru.ematveev.stratigypattern;

import ru.ematveev.model.IPrinter;

/**
 * Class Paint this StratigyClient.
 *
 * @author <NAME>.
 * @version 1.0.
 * @since 18.01.17.
 */
public class Paint {
    /**
     * Iprinter for output to console.
     */
    private IPrinter iPrinter;

    /**
     * Constructor.
     * @param iPrinter iPrinter.
     */

    public Paint(IPrinter iPrinter) {
        this.iPrinter = iPrinter;
    }

    /**
     * Method output to console the figures.
     * @param shape shape.
     */
    public void draw(Shape shape) {
        iPrinter.println(shape.pic());
    }
}

{'fraction_non_alphanumeric': 0.12409200968523003, 'fraction_numerical': 0.012106537530266344, 'mean_word_length': 2.095505617977528, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 6, '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': '257142', 'n_tokens_mistral': 577, 'n_tokens_neox': 546, 'n_words': 129}