This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-bcel.git
commit 99076adacf1ed18b9944cf1e64593107ab1ef17b Author: Gary D. Gregory <garydgreg...@gmail.com> AuthorDate: Sun Dec 29 10:57:51 2024 -0500 Use a less lame Checkstyle comment --- src/conf/checkstyle/checkstyle.xml | 2 +- src/main/java/org/apache/bcel/util/BCELFactory.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/conf/checkstyle/checkstyle.xml b/src/conf/checkstyle/checkstyle.xml index 8130d8ab..d7878da2 100644 --- a/src/conf/checkstyle/checkstyle.xml +++ b/src/conf/checkstyle/checkstyle.xml @@ -57,7 +57,7 @@ limitations under the License. <module name="EqualsHashCode" /> <module name="ExplicitInitialization" /> <module name="FallThrough"> - <property name="reliefPattern" value="\$FALL-THROUGH\$" /> + <property name="reliefPattern" value="FALL-THROUGH" /> </module> <module name="FinalLocalVariable" /> <module name="IllegalImport" /> diff --git a/src/main/java/org/apache/bcel/util/BCELFactory.java b/src/main/java/org/apache/bcel/util/BCELFactory.java index b37736dc..c9284dc8 100644 --- a/src/main/java/org/apache/bcel/util/BCELFactory.java +++ b/src/main/java/org/apache/bcel/util/BCELFactory.java @@ -188,12 +188,12 @@ final class BCELFactory extends EmptyVisitor { break; case Const.MULTIANEWARRAY: dim = ((MULTIANEWARRAY) i).getDimensions(); - //$FALL-THROUGH$ + // FALL-THROUGH case Const.NEWARRAY: if (type instanceof ArrayType) { type = ((ArrayType) type).getBasicType(); } - //$FALL-THROUGH$ + // FALL-THROUGH case Const.ANEWARRAY: printWriter.println("il.append(_factory.createNewArray(" + BCELifier.printType(type) + ", (short) " + dim + "));"); break;