<commit_before>package com.example.android.materialdesigncodelab;

import com.example.android.materialdesigncodelab.Models.UserModel;
import com.google.firebase.database.Exclude;
import com.google.firebase.database.IgnoreExtraProperties;

import java.util.HashMap;
import java.util.Map;

/**
 * Created by nicomoccagatta on 1/8/17.
 */

@IgnoreExtraProperties
public class Changa {
    public String id;
    public String uid;
    public String author;
    public String title;
    public String body;
    public String price;
    public String date;
    public String picture;
    public int category;
    public Map<String, Object> postulantes;

    public int starCount = 0;
    public Map<String, Boolean> stars = new HashMap<>();

    public Changa() {
        // Default constructor required for calls to DataSnapshot.getValue(Changa.class)
    }

    public Changa(String id, String uid, String author, String title, String body, String price,
                            String date, String picture, int category) {
        this.id = id;
        this.uid = uid;
        this.author = author;
        this.title = title;
        this.body = body;
        this.price = price;
        this.date = date;
        this.picture = picture;
        this.category = category;
    }

    @Exclude
    public Map<String, Object> toMap() {
        HashMap<String, Object> result = new HashMap<>();
        result.put("id", id);
        result.put("uid", uid);
        result.put("author", author);
        result.put("title", title);
        result.put("body", body);
        result.put("price", price);
        result.put("date", date);
        result.put("picture", picture);
        result.put("category", category);
        result.put("starCount", starCount);
        result.put("stars", stars);

        return result;
    }
}<commit_msg>Status en changa<commit_after>package com.example.android.materialdesigncodelab;

import com.example.android.materialdesigncodelab.Models.UserModel;
import com.google.firebase.database.Exclude;
import com.google.firebase.database.IgnoreExtraProperties;

import java.util.HashMap;
import java.util.Map;

/**
 * Created by nicomoccagatta on 1/8/17.
 */

@IgnoreExtraProperties
public class Changa {
    public String id;
    public String uid;
    public String author;
    public String title;
    public String body;
    public String price;
    public String date;
    public String picture;
    public String status;   // "activa" - "enProceso" - "finalizada"
    public int category;
    public Map<String, Object> postulantes;

    public int starCount = 0;
    public Map<String, Boolean> stars = new HashMap<>();

    public Changa() {
        // Default constructor required for calls to DataSnapshot.getValue(Changa.class)
    }

    public Changa(String id, String uid, String author, String title, String body, String price,
                            String date, String picture, int category) {
        this.id = id;
        this.uid = uid;
        this.author = author;
        this.title = title;
        this.body = body;
        this.price = price;
        this.date = date;
        this.picture = picture;
        this.status = "activa";
        this.category = category;
    }

    @Exclude
    public Map<String, Object> toMap() {
        HashMap<String, Object> result = new HashMap<>();
        result.put("id", id);
        result.put("uid", uid);
        result.put("author", author);
        result.put("title", title);
        result.put("body", body);
        result.put("price", price);
        result.put("date", date);
        result.put("picture", picture);
        result.put("status", status);
        result.put("category", category);
        result.put("starCount", starCount);
        result.put("stars", stars);

        return result;
    }
}
{'fraction_non_alphanumeric': 0.11550550026191723, 'fraction_numerical': 0.0026191723415400735, 'mean_word_length': 2.565826330532213, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, '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': '1374481', 'n_tokens_mistral': 1074, 'n_tokens_neox': 1059, 'n_words': 296}