package com.jstanier;

import org.apache.commons.lang3.builder.CompareToBuilder;
import org.joda.time.DateTime;

public class Tweet implements Comparable<Tweet> {

    DateTime time;
    String content;
    Integer retweets;
    Integer favourites;

    public DateTime getTime() {
        return time;
    }

    public void setTime(DateTime time) {
        this.time = time;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getRetweets() {
        return retweets;
    }

    public void setRetweets(Integer retweets) {
        this.retweets = retweets;
    }

    public Integer getFavourites() {
        return favourites;
    }

    public void setFavourites(Integer favourites) {
        this.favourites = favourites;
    }

    public int compareTo(Tweet that) {
        return new CompareToBuilder()
            .append(this.retweets, (Integer) (that.getRetweets() * 2))
            .append(this.favourites, that.getFavourites())
            .toComparison();
    }
}

@@ -161,16 +161,24 @@
  %7B%0A%0A    
+private 
 DateTime
@@ -188,16 +188,24 @@
 me;%0A    
+private 
 String c
@@ -212,24 +212,32 @@
 ontent;%0A    
+private 
 Integer retw
@@ -246,16 +246,24 @@
 ts;%0A    
+private 
 Integer 

Make variables private in Tweet