<commit_before>package ethereumjava.module.objects;

import java.math.BigInteger;

/**
 * Created by gunicolas on 18/08/16.
 */
public class NodeInfo {

    public String enode;
    public String id;
    public String ip;
    public String listenAddr;
    public String name;
    public Ports ports;
    public Protocols protocols;

    public class Protocols{

        public Eth eth;

        public class Eth{
            public BigInteger difficulty;
            public String genesis;
            public String head;
            public int network;

            @Override
            public String toString() {
                return "Eth{" +
                        "difficulty=" + difficulty +
                        ", genesis='" + genesis + '\'' +
                        ", head='" + head + '\'' +
                        ", network=" + network +
                        '}';
            }
        }
<commit_msg>Temporary fix of bug in NodeInfo. Difficulty was deserialized using BigIntegerTypeAdapter which deserialize BigInteger in hex format, but in response difficulty is not in hex<commit_after>package ethereumjava.module.objects;

import java.math.BigInteger;

/**
 * Created by gunicolas on 18/08/16.
 */
public class NodeInfo {

    public String enode;
    public String id;
    public String ip;
    public String listenAddr;
    public String name;
    public Ports ports;
    public Protocols protocols;

    public class Protocols{

        public Eth eth;

        public class Eth{
            public String difficulty;
            public String genesis;
            public String head;
            public int network;

            @Override
            public String toString() {
                return "Eth{" +
                        "difficulty=" + difficulty +
                        ", genesis='" + genesis + '\'' +
                        ", head='" + head + '\'' +
                        ", network=" + network +
                        '}';
            }
        }

{'fraction_non_alphanumeric': 0.08287568647029456, 'fraction_numerical': 0.005991013479780329, 'mean_word_length': 1.4987531172069826, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1696430', 'n_tokens_mistral': 507, 'n_tokens_neox': 474, 'n_words': 160}