package com.sohelper.datatypes;

import java.net.URL;

/**
 * Represents a response from Google search.
 */
public class GoogleResult {

    private String title;
    private URL url;
    private String source;


    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public URL getUrl() {
        return url;
    }

    public void setUrl(URL url) {
        this.url = url;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }
}

@@ -601,10 +601,173 @@
 ;%0A    %7D%0A
+%0A    @Override%0A    public String toString() %7B%0A        return %22GoogleResult %5Btitle=%22 + title + %22, url=%22 + url + %0A                %22, source=%22 + source + %22%5D%22;%0A    %7D%0A%0A
 %7D%0A

Add toString to GoogleResult