package uk.ac.ebi.atlas.bioentity.properties;

import com.google.gson.JsonObject;

// Used in bioentity-information.jsp
public class PropertyLink {

    private String text;
    private String url;
    private int relevance;

    PropertyLink(String text, String url, int relevance) {
        this.text = text;
        this.url = url;
        this.relevance = relevance;
    }

    PropertyLink(String text, int relevance) {
        this(text, "", relevance);
    }

    public String getText() {
        return text;
    }

    public String getUrl() {
        return url;
    }

    public JsonObject toJson(){
        JsonObject result = new JsonObject();
        result.addProperty("text", text);
        result.addProperty("url", url);
        result.addProperty("relevance", relevance);
        return result;
    }
}

@@ -80,45 +80,8 @@
 t;%0A%0A
-// Used in bioentity-information.jsp%0A
 publ
@@ -778,10 +778,11 @@
 ;%0A    %7D%0A
+%0A
 %7D%0A

Remove comment, it’s a lie