Skip to content
This repository was archived by the owner on Mar 12, 2026. It is now read-only.

Commit c420443

Browse files
authored
remove empty fields check (#48)
1 parent 7e25031 commit c420443

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

  • ceresdb-protocol/src/main/java/io/ceresdb/models

ceresdb-protocol/src/main/java/io/ceresdb/models/Point.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ public Point build() {
8181

8282
private static void check(final Point point) throws IllegalArgumentException {
8383
Requires.requireNonNull(point.fields, "Null.fields");
84-
Requires.requireTrue(!point.fields.isEmpty(), "Empty.fields");
8584
Utils.checkKeywords(point.tags.keySet().stream().iterator());
8685
Utils.checkKeywords(point.fields.keySet().stream().iterator());
8786
}

0 commit comments

Comments
 (0)