Skip to content

Commit e924640

Browse files
committed
Update checkstyle rules to allow sensible isRubyRange use.
1 parent fbc0722 commit e924640

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/.checkstyle_checks.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@
211211
<property name="message" value="Don't use transferToInterpreterOnException"/>
212212
</module>
213213
<module name="RegexpSinglelineJava">
214-
<property name="format" value='"isRuby(?!Value|DynamicObject|SymbolOrString|Rational|[^"]+\|\|)'/> <!-- Rational is not a builtin type -->
214+
<property name="format" value='"isRuby(?!Value|DynamicObject|SymbolOrString|Rational|Range|[^"]+\|\|)'/> <!-- Rational is not a builtin type -->
215215
<property name="message" value="Type the argument instead of using a positive isRuby* guard."/>
216216
</module>
217217
<module name="RegexpSinglelineJava">

0 commit comments

Comments
 (0)