Skip to content

Commit

Permalink
Use the default Checkstyle reliefPattern
Browse files Browse the repository at this point in the history
  • Loading branch information
garydgregory committed Dec 29, 2024
1 parent 99076ad commit 406cd9c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions src/conf/checkstyle/checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,7 @@ limitations under the License.
</module>
<module name="EqualsHashCode" />
<module name="ExplicitInitialization" />
<module name="FallThrough">
<property name="reliefPattern" value="FALL-THROUGH" />
</module>
<module name="FallThrough" />
<module name="FinalLocalVariable" />
<module name="IllegalImport" />
<module name="IllegalInstantiation" />
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/org/apache/bcel/util/BCELFactory.java
Original file line number Diff line number Diff line change
Expand Up @@ -188,12 +188,12 @@ public void visitAllocationInstruction(final AllocationInstruction i) {
break;
case Const.MULTIANEWARRAY:
dim = ((MULTIANEWARRAY) i).getDimensions();
// FALL-THROUGH
// falls-through
case Const.NEWARRAY:
if (type instanceof ArrayType) {
type = ((ArrayType) type).getBasicType();
}
// FALL-THROUGH
// falls-through
case Const.ANEWARRAY:
printWriter.println("il.append(_factory.createNewArray(" + BCELifier.printType(type) + ", (short) " + dim + "));");
break;
Expand Down

0 comments on commit 406cd9c

Please sign in to comment.