cassandra-pr mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aweisberg <...@git.apache.org>
Subject [GitHub] cassandra pull request #239: Optimize Streaming
Date Fri, 06 Jul 2018 16:38:41 GMT
Github user aweisberg commented on a diff in the pull request:

    https://github.com/apache/cassandra/pull/239#discussion_r200707822
  
    --- Diff: src/java/org/apache/cassandra/io/sstable/Component.java ---
    @@ -74,6 +81,20 @@ static Type fromRepresentation(String repr)
                 }
                 return CUSTOM;
             }
    +
    +        public static Type fromRepresentation(byte id)
    +        {
    +            return idToType.getOrDefault(id, CUSTOM);
    +        }
    +
    +        static {
    --- End diff --
    
    newline before brace


---

---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For additional commands, e-mail: pr-help@cassandra.apache.org


Mime
View raw message