style: apply spotless formatting
diff --git a/external-service-impl/rest/src/main/java/org/apache/iotdb/rest/protocol/v1/handler/RequestValidationHandler.java b/external-service-impl/rest/src/main/java/org/apache/iotdb/rest/protocol/v1/handler/RequestValidationHandler.java index 5182170..55843bb 100644 --- a/external-service-impl/rest/src/main/java/org/apache/iotdb/rest/protocol/v1/handler/RequestValidationHandler.java +++ b/external-service-impl/rest/src/main/java/org/apache/iotdb/rest/protocol/v1/handler/RequestValidationHandler.java
@@ -42,7 +42,8 @@ Objects.requireNonNull(insertTabletRequest.getTimestamps(), "timestamps should not be null"); Objects.requireNonNull(insertTabletRequest.getIsAligned(), "isAligned should not be null"); Objects.requireNonNull(insertTabletRequest.getDeviceId(), "deviceId should not be null"); - Objects.requireNonNull(insertTabletRequest.getMeasurements(), "measurements should not be null"); + Objects.requireNonNull( + insertTabletRequest.getMeasurements(), "measurements should not be null"); Objects.requireNonNull(insertTabletRequest.getDataTypes(), "dataTypes should not be null"); Objects.requireNonNull(insertTabletRequest.getValues(), "values should not be null");
diff --git a/external-service-impl/rest/src/test/java/org/apache/iotdb/rest/protocol/handler/RequestValidationLimitTest.java b/external-service-impl/rest/src/test/java/org/apache/iotdb/rest/protocol/handler/RequestValidationLimitTest.java index 9da02ec..e061e4d 100644 --- a/external-service-impl/rest/src/test/java/org/apache/iotdb/rest/protocol/handler/RequestValidationLimitTest.java +++ b/external-service-impl/rest/src/test/java/org/apache/iotdb/rest/protocol/handler/RequestValidationLimitTest.java
@@ -79,13 +79,9 @@ request.setDevices(Arrays.asList("root.sg.d1", "root.sg.d2")); request.setTimestamps(Arrays.asList(1L, 2L)); request.setMeasurementsList( - Arrays.asList( - Arrays.asList("s1", "s2"), - Collections.singletonList("s1"))); + Arrays.asList(Arrays.asList("s1", "s2"), Collections.singletonList("s1"))); request.setDataTypesList( - Arrays.asList( - Arrays.asList("INT64", "INT64"), - Collections.singletonList("INT64"))); + Arrays.asList(Arrays.asList("INT64", "INT64"), Collections.singletonList("INT64"))); request.setValuesList(Arrays.asList(Arrays.asList(1L, 2L), Collections.singletonList(3L))); org.apache.iotdb.rest.protocol.v2.handler.RequestValidationHandler.validateInsertRecordsRequest(