Skip to content

Commit

Permalink
fix incorrect assert comment
Browse files Browse the repository at this point in the history
  • Loading branch information
darvil82 committed Oct 22, 2023
1 parent d766754 commit 3c49edc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/lanat/ArgumentTypeInfer.java
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ void registerNumericWithTuple(
@NotNull Class<?> infer
) {
assert !infer.isPrimitive() && inferPrimitive.isPrimitive()
: "Infer must be a primitive type and inferPrimitive must be a non-primitive type.";
: "Infer must be a non-primitive type and inferPrimitive must be a primitive type.";

// register both the primitive and non-primitive types
ArgumentTypeInfer.register(type, inferPrimitive, infer);
Expand Down

0 comments on commit 3c49edc

Please sign in to comment.