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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to