Buggy code:
private final String TAB = "<seq2seq4repair_space>" ; private Client thriftClient = null ; private CliSessionState sessionState = null ; private String keySpace = null ; private String username = null ; private Map < String , KsDef > keyspacesMap = new HashMap < String , KsDef > ( ) ; private Map < String , AbstractType > cfKeysComparators ; private ConsistencyLevel consistencyLevel = ConsistencyLevel . ONE ; private CliUserHelp help ; public CliClient ( CliSessionState cliSessionState , Cassandra . Client thriftClient ) { } private CliUserHelp getHelp ( ) { } public void printBanner ( ) { } public void executeCLIStatement ( String statement ) { } private void cleanupAndExit ( ) { } public KsDef getKSMetaData ( String keyspace ) throws InvalidRequestException , NotFoundException , TException { } private void executeHelp ( Tree tree ) { } private void executeCount ( Tree statement ) throws InvalidRequestException , TimedOutException , UnavailableException , TException { } private void executeDelete ( Tree statement ) throws InvalidRequestException , TimedOutException , UnavailableException , TException { } private void doSlice ( String keyspace , ByteBuffer key , String columnFamily , byte [ ] superColumnName , int limit ) throws IllegalAccessException , InstantiationException , NoSuchFieldException , InvalidRequestException , NotFoundException , TimedOutException , UnavailableException , TException { } private AbstractType getFormatType ( String compareWith ) { } private void executeGet ( Tree statement ) throws ClassNotFoundException , IllegalAccessException , InstantiationException , NoSuchFieldException , InvalidRequestException , NotFoundException , TimedOutException , UnavailableException , TException { } private void doGetCounter ( ByteBuffer key , ColumnPath path ) throws ClassNotFoundException , IllegalAccessException , InstantiationException , NoSuchFieldException , InvalidRequestException , NotFoundException , TimedOutException , UnavailableException , TException { } private void executeGetWithConditions ( Tree statement ) { } private void executeSet ( Tree statement ) throws IllegalAccessException , InstantiationException , NoSuchFieldException , InvalidRequestException , TimedOutException , UnavailableException , TException { } private void executeIncr ( Tree statement , long multiplier ) throws ClassNotFoundException , IllegalAccessException , InstantiationException , NoSuchFieldException , InvalidRequestException , NotFoundException , TimedOutException , UnavailableException , TException { } private void executeShowClusterName ( ) throws TException { } private void executeAddKeySpace ( Tree statement ) { } private void executeAddColumnFamily ( Tree statement ) { } private void executeUpdateKeySpace ( Tree statement ) { } private void executeUpdateColumnFamily ( Tree statement ) { } private KsDef updateKsDefAttributes ( Tree statement , KsDef ksDefToUpdate ) { } private CfDef updateCfDefAttributes ( Tree statement , CfDef cfDefToUpdate ) { } private void executeDelKeySpace ( Tree statement ) throws InvalidRequestException , NotFoundException , SchemaDisagreementException , TException { } private void executeDelColumnFamily ( Tree statement ) throws InvalidRequestException , NotFoundException , SchemaDisagreementException , TException { } private void executeList ( Tree statement ) throws IllegalAccessException , InstantiationException , NoSuchFieldException , CharacterCodingException , InvalidRequestException , NotFoundException , TimedOutException , UnavailableException , TException { } private void executeDropIndex ( Tree statement ) { } private void executeTruncate ( String columnFamily ) { } private void executeConsistencyLevelStatement ( Tree statement ) { } private void executeAssumeStatement ( Tree statement ) { } private void executeShowVersion ( ) throws TException { } private void executeShowKeySpaces ( ) throws InvalidRequestException , TException { } private void executeShowSchema ( Tree statement ) throws InvalidRequestException , TException { } private void showKeyspace ( StringBuilder sb , KsDef ksDef ) { } private void showColumnFamily ( StringBuilder sb , CfDef cfDef ) { } private void showColumnMeta ( StringBuilder sb , CfDef cfDef , ColumnDef colDef ) { sb . append ( ( ( ( ( NEWLINE ) + ( TAB ) ) + ( TAB ) ) + "{" ) ) ; <START_BUG> final AbstractType comparator = getFormatType ( ( ( cfDef . column_type ) == "Super" ? cfDef . subcomparator_type : cfDef . comparator_type ) ) ; <END_BUG> sb . append ( ( ( ( "column_name<seq2seq4repair_space>:<seq2seq4repair_space>'" + ( CliUtils . escapeSQLString ( comparator . getString ( colDef . name ) ) ) ) + "'," ) + ( NEWLINE ) ) ) ; String validationClass = normaliseType ( colDef . validation_class , "org.apache.cassandra.db.marshal" ) ; sb . append ( ( ( ( ( TAB ) + ( TAB ) ) + "validation_class<seq2seq4repair_space>:<seq2seq4repair_space>" ) + ( CliUtils . escapeSQLString ( validationClass ) ) ) ) ; if ( colDef . isSetIndex_name ( ) ) { sb . append ( ( "," + ( NEWLINE ) ) ) ; sb . append ( ( ( ( ( ( ( TAB ) + ( TAB ) ) + "index_name<seq2seq4repair_space>:<seq2seq4repair_space>'" ) + ( CliUtils . escapeSQLString ( colDef . index_name ) ) ) + "'," ) + ( NEWLINE ) ) ) ; sb . append ( ( ( ( ( TAB ) + ( TAB ) ) + "index_type<seq2seq4repair_space>:<seq2seq4repair_space>" ) + ( CliUtils . escapeSQLString ( Integer . toString ( colDef . index_type . getValue ( ) ) ) ) ) ) ; } sb . append ( "}" ) ; } private String normaliseType ( String path , String expectedPackage ) { } private void writeAttr ( StringBuilder sb , boolean first , String name , Boolean value ) { } private void writeAttr ( StringBuilder sb , boolean first , String name , Number value ) { } private void writeAttr ( StringBuilder sb , boolean first , String name , String value ) { } private void writeAttrRaw ( StringBuilder sb , boolean first , String name , String value ) { } private boolean hasKeySpace ( ) { } public String getKeySpace ( ) { } public void setKeySpace ( String keySpace ) throws InvalidRequestException , NotFoundException , TException { } public String getUsername ( ) { } public void setUsername ( String username ) { } private void executeUseKeySpace ( Tree statement ) throws TException { } private void describeKeySpace ( String keySpaceName , KsDef metadata ) throws TException { } private void executeDescribeKeySpace ( Tree statement ) throws InvalidRequestException , TException { } private void executeDescribeCluster ( ) { }

Fix:
final AbstractType comparator = getFormatType ( ( cfDef . column_type . equals ( "Super" ) ? cfDef . subcomparator_type : cfDef . comparator_type ) ) ;