wjr4hy

Results 2 issues of wjr4hy

## Description fix ISSUE-7014 ### Content1 ... Replace the usage of the "instanceof" operator by a catch block ### Content2 ... ### Content3 ... This PR has: - [ ]...

## Description fix [IOTDB-jira 7016] [https://github.com/apache/iotdb/issues/7016] ### Content1 ... Replace this "switch" statement by "if" statements when there's just one or two cases ### Content2 ... ### Content3 ... This...