You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by GitBox <gi...@apache.org> on 2020/01/14 06:18:55 UTC

[GitHub] [incubator-iotdb] Ring-k commented on a change in pull request #736: Refactor TsFile

Ring-k commented on a change in pull request #736: Refactor TsFile
URL: https://github.com/apache/incubator-iotdb/pull/736#discussion_r366167413
 
 

 ##########
 File path: tsfile/src/main/java/org/apache/iotdb/tsfile/compress/ICompressor.java
 ##########
 @@ -47,12 +49,12 @@ static ICompressor getCompressor(CompressionType name) {
       throw new CompressionTypeNotSupportedException("NULL");
     }
     switch (name) {
-      case UNCOMPRESSED:
-        return new NoCompressor();
-      case SNAPPY:
-        return new SnappyCompressor();
-      default:
-        throw new CompressionTypeNotSupportedException(name.toString());
+    case UNCOMPRESSED:
 
 Review comment:
   Please check the indention.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services