You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ja...@apache.org on 2022/11/13 03:47:53 UTC

[iotdb] 02/03: ignore checkstyle

This is an automated email from the ASF dual-hosted git repository.

jackietien pushed a commit to branch QueryMetrics
in repository https://gitbox.apache.org/repos/asf/iotdb.git

commit 2494aa0e87052878a1688c7ddb11d0dc9dfd5be1
Author: JackieTien97 <ja...@gmail.com>
AuthorDate: Sun Nov 13 10:21:42 2022 +0800

    ignore checkstyle
---
 checkstyle.xml | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/checkstyle.xml b/checkstyle.xml
index 99303b42d8..b8081ac251 100644
--- a/checkstyle.xml
+++ b/checkstyle.xml
@@ -51,13 +51,6 @@
         <module name="AvoidStarImport">
             <property name="severity" value="error"/>
         </module>
-        <module name="RegexpSinglelineJava">
-            <property name="id" value="unsafeThreadSchedule"/>
-            <property name="format" value="schedule(AtFixedRate|WithFixedDelay)\("/>
-            <property name="severity" value="error"/>
-            <property name="ignoreComments" value="true"/>
-            <property name="message" value="Using ScheduledExecutorService::schedule(AtFixedRate|WithFixedDelay) directly is unsafe, please use ScheduledExecutorUtil::(unsafely|safely)Schedule(AtFixedRate|WithFixedDelay) instead."/>
-        </module>
         <module name="RegexpSinglelineJava">
             <property name="id" value="invalidPlanNodeTypeUsage"/>
             <property name="format" value="PlanNodeType\.[a-zA-Z_]*\.ordinal\("/>