[codestyle] CustomAutoFormatSyntaxErrorsVerifier: minor doc cleanup

GitOrigin-RevId: 771661d5b5582fb2ba66a9a3382a540fb94a7cba
This commit is contained in:
Yann Cébron
2024-02-20 15:26:58 +01:00
committed by intellij-monorepo-bot
parent 7fadc462e8
commit 071826ed8c

View File

@@ -1,4 +1,4 @@
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.lang;
import com.intellij.openapi.extensions.ExtensionPointName;
@@ -14,7 +14,7 @@ public interface CustomAutoFormatSyntaxErrorsVerifier {
ExtensionPointName.create("com.intellij.lang.formatter.syntaxErrorsVerifier");
/**
* This method is called before {@code checkValid()} to ensure that current syntax errors verifier is applicable for the given file
* This method is called before {@code checkValid()} to ensure that current syntax errors verifier is applicable for the given file.
*
* @param context the given PSI element to reformat
* @return {@code true} if the current syntax errors verifier applicable for given context, {@code false} otherwise
@@ -22,7 +22,7 @@ public interface CustomAutoFormatSyntaxErrorsVerifier {
boolean isApplicable(@NotNull PsiElement context);
/**
* This method checks and ensures that given context element has no any errors
* This method checks and ensures that the given context element has no errors.
*
* @param context the given PSI element to reformat
* @return {@code true} if context doesn't contain any syntax errors, {@code false} otherwise