Skip to content

Commit

Permalink
Forgot this one :D
Browse files Browse the repository at this point in the history
  • Loading branch information
rickie committed Dec 25, 2024
1 parent f0e1014 commit bb69636
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ private StringRules() {}
// XXX: Now that we build with JDK 15+, this rule can be generalized to cover all `CharSequence`
// subtypes. This does require a mechanism (perhaps an annotation, or a separate Maven module) to
// make sure that non-String expressions are rewritten only if client code also targets JDK 15+.
@SuppressWarnings("CharSequenceIsEmpty" /* This is a more specific template. */)
static final class StringIsEmpty {
@BeforeTemplate
boolean before(String str) {
Expand Down

0 comments on commit bb69636

Please sign in to comment.