<commit_before>/**
 * 
 */
package me.prettyprint.cassandra.serializers;

import java.nio.ByteBuffer;

import me.prettyprint.hector.api.beans.DynamicComposite;

/**
 * @author <NAME>
 * 
 */
public class DynamicCompositeSerializer extends
    AbstractSerializer<DynamicComposite> {

  @Override
  public ByteBuffer toByteBuffer(DynamicComposite obj) {

    return obj.serialize();
  }

  @Override
  public DynamicComposite fromByteBuffer(ByteBuffer byteBuffer) {

    DynamicComposite composite = new DynamicComposite();
    composite.setAutoDeserialize(false);
    composite.deserialize(byteBuffer);

    return composite;

  }

}<commit_msg>Removed setAutodeserialize in DynamicCompositeSerializer as it's no longer needed<commit_after>/**
 * 
 */
package me.prettyprint.cassandra.serializers;

import java.nio.ByteBuffer;

import me.prettyprint.hector.api.beans.DynamicComposite;

/**
 * @author <NAME>
 * 
 */
public class DynamicCompositeSerializer extends
    AbstractSerializer<DynamicComposite> {

  @Override
  public ByteBuffer toByteBuffer(DynamicComposite obj) {

    return obj.serialize();
  }

  @Override
  public DynamicComposite fromByteBuffer(ByteBuffer byteBuffer) {

    return DynamicComposite.fromByteBuffer(byteBuffer);

  }

}
{'fraction_non_alphanumeric': 0.09424920127795527, 'fraction_numerical': 0.0, 'mean_word_length': 4.695454545454545, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5111114', 'n_tokens_mistral': 382, 'n_tokens_neox': 355, 'n_words': 70}