<commit_before>package org.zalando.intellij.swagger.examples.extensions.zalando.validator.zally;

import com.google.common.collect.Lists;
import com.intellij.codeInspection.*;
import com.intellij.openapi.components.ServiceManager;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.psi.PsiElement;
import com.intellij.psi.PsiFile;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.yaml.psi.YAMLKeyValue;
import org.zalando.intellij.swagger.examples.extensions.zalando.validator.ZallySettings;
import org.zalando.intellij.swagger.examples.extensions.zalando.validator.zally.model.LintingResponse;
import org.zalando.intellij.swagger.examples.extensions.zalando.validator.zally.model.Violation;

import java.util.List;
import java.util.Optional;

public abstract class ZallyYamlFileValidator extends LocalInspectionTool {

    private final static Logger LOG = Logger.getInstance(OpenApiYamlFileValidator.class);

    private final ZallyService zallyService;

    ZallyYamlFileValidator(ZallyService zallyService) {
        this.zallyService = zallyService;
    }

    abstract boolean supportsFile(PsiFile file);<commit_msg>Fixed incorrect logger instantiation<commit_after>package org.zalando.intellij.swagger.examples.extensions.zalando.validator.zally;

import com.google.common.collect.Lists;
import com.intellij.codeInspection.*;
import com.intellij.openapi.components.ServiceManager;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.psi.PsiElement;
import com.intellij.psi.PsiFile;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.yaml.psi.YAMLKeyValue;
import org.zalando.intellij.swagger.examples.extensions.zalando.validator.ZallySettings;
import org.zalando.intellij.swagger.examples.extensions.zalando.validator.zally.model.LintingResponse;
import org.zalando.intellij.swagger.examples.extensions.zalando.validator.zally.model.Violation;

import java.util.List;
import java.util.Optional;

public abstract class ZallyYamlFileValidator extends LocalInspectionTool {

    private final static Logger LOG = Logger.getInstance(ZallyYamlFileValidator.class);

    private final ZallyService zallyService;

    ZallyYamlFileValidator(ZallyService zallyService) {
        this.zallyService = zallyService;
    }

    abstract boolean supportsFile(PsiFile file);
{'fraction_non_alphanumeric': 0.08946236559139785, 'fraction_numerical': 0.0, 'mean_word_length': 6.091463414634147, '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': '3443270', 'n_tokens_mistral': 735, 'n_tokens_neox': 720, 'n_words': 106}