Skip to content

Commit ec1d9e4

Browse files
committed
rename to @Index.maxValueLength
1 parent eb03755 commit ec1d9e4

File tree

1 file changed

+1
-1
lines changed
  • objectbox-java-api/src/main/java/io/objectbox/annotation

1 file changed

+1
-1
lines changed

objectbox-java-api/src/main/java/io/objectbox/annotation/Index.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
IndexType type() default IndexType.DEFAULT;
3131

3232
/** Only allowed for {@link IndexType#VALUE} and types String and byte[]. */
33-
int maxLength() default 0;
33+
int maxValueLength() default 0;
3434

3535
// /**
3636
// * Whether the unique constraint should be created with base on this index

0 commit comments

Comments
 (0)