diff --git a/platform/code-style-api/src/com/intellij/lang/CustomAutoFormatSyntaxErrorsVerifier.java b/platform/code-style-api/src/com/intellij/lang/CustomAutoFormatSyntaxErrorsVerifier.java index 36c8b9e86e18..ee0973a11e59 100644 --- a/platform/code-style-api/src/com/intellij/lang/CustomAutoFormatSyntaxErrorsVerifier.java +++ b/platform/code-style-api/src/com/intellij/lang/CustomAutoFormatSyntaxErrorsVerifier.java @@ -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