Skip to content

Commit

Permalink
HexColorPattern: Fix annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
xDec0de committed Nov 2, 2024
1 parent 4ff703a commit ed447be
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
public class HexColorPattern implements ColorPattern {

@NotNull
public String applyColor(@Nullable final String string, boolean simple) {
public String applyColor(@NotNull final String string, boolean simple) {
final int len = string.length();
if (len < (simple ? 5 : 8) || string.indexOf('#') < 0)
return string;
Expand Down

0 comments on commit ed447be

Please sign in to comment.