sunjincheng created IOTDB-1169:
----------------------------------

             Summary: Clean up for redundant throw clause
                 Key: IOTDB-1169
                 URL: https://issues.apache.org/jira/browse/IOTDB-1169
             Project: Apache IoTDB
          Issue Type: Improvement
          Components: Core/Engine
            Reporter: sunjincheng
            Assignee: sunjincheng


Clean up for redundant throw clause, such as : `StorageEngine#setTTL`.

{code}
public void setTTL(PartialPath storageGroup, long dataTTL) throws 
StorageEngineException {
    // storage group has no data
    if (!processorMap.containsKey(storageGroup)) {
      return;
    }

    processorMap.get(storageGroup).setTTL(dataTTL);

  }
{code}

`StorageEngineException` is redundant.
 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to