From 937ed66e049c13867d42734e763cd4e754371ae5 Mon Sep 17 00:00:00 2001 From: bobbylight Date: Sat, 21 Jun 2025 22:57:33 -0400 Subject: [PATCH] Enable checkstyle rule JavadocContentLocation for JS support --- .../main/java/org/fife/rsta/ac/js/JavaScriptHelper.java | 7 +++---- config/checkstyle/lsSuppressions.xml | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/JavaScriptHelper.java b/RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/JavaScriptHelper.java index f8d3d743..6dbf9c74 100644 --- a/RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/JavaScriptHelper.java +++ b/RSTALanguageSupport/src/main/java/org/fife/rsta/ac/js/JavaScriptHelper.java @@ -423,11 +423,10 @@ public static String convertNodeToSource(AstNode node) { /** + * Returns the index of the first {@code "("}, working backwards if there is no + * matching closing bracket. * - * Returns the index of the first ( working backwards if there is no - * matching closing bracket - * - * @param text + * @param text The text to search through which may be {@code null}. */ public static int findIndexOfFirstOpeningBracket(String text) { int index = 0; diff --git a/config/checkstyle/lsSuppressions.xml b/config/checkstyle/lsSuppressions.xml index 0a45985e..9ee90731 100644 --- a/config/checkstyle/lsSuppressions.xml +++ b/config/checkstyle/lsSuppressions.xml @@ -11,7 +11,7 @@ For now we're ignoring several issues that will take some time to address. TODO: Remove these issues one by one. --> - +