public static List<String> checkIsLegalSingleMeasurementsAndUpdate(List<String> measurements)
      throws MetadataException {
    if (measurements == null) {
      return null;
    }
    List<String> res = new ArrayList<>();
    for (String measurement : measurements) {
      if (measurement == null) {
        continue;
      }
      res.add(checkAndReturnSingleMeasurement(measurement));
    }
    return res;
  }
check whether measurement is legal according to syntax convention. Measurement can only be a
single node name.
iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/utils/PathUtils.java