From ec1b65b97b166373262cf9eb156b05f75c63bb2c Mon Sep 17 00:00:00 2001 From: gshenoy Date: Wed, 5 Feb 2014 22:38:59 +0530 Subject: [PATCH] Removed super class from ProfileInfo --- .../agorava/empireavenue/model/ProfileInfo.java | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/agorava-empireavenue-api/src/main/java/org/agorava/empireavenue/model/ProfileInfo.java b/agorava-empireavenue-api/src/main/java/org/agorava/empireavenue/model/ProfileInfo.java index d610ca7..0db904f 100644 --- a/agorava-empireavenue-api/src/main/java/org/agorava/empireavenue/model/ProfileInfo.java +++ b/agorava-empireavenue-api/src/main/java/org/agorava/empireavenue/model/ProfileInfo.java @@ -15,7 +15,6 @@ */ package org.agorava.empireavenue.model; -import org.agorava.spi.UserProfile; /** * @@ -23,7 +22,7 @@ * @since 0.7.0 */ @SuppressWarnings("serial") -public class ProfileInfo extends UserProfile { +public class ProfileInfo { private String ticker; private String firstName; @@ -78,7 +77,7 @@ public class ProfileInfo extends UserProfile { public ProfileInfo(String id, String ticker, String firstName, String lastName, String fullName, String joined, String country, String location) { - super(id); + this.ticker = ticker; this.firstName = firstName; this.lastName = lastName; @@ -87,6 +86,10 @@ public ProfileInfo(String id, String ticker, String firstName, String lastName, this.country = country; this.location = location; } + + public ProfileInfo() { + + } public String getTicker() { return ticker; @@ -301,10 +304,5 @@ public String toString() { .toString(); } - @Override - public String getProfileImageUrl() { - - return smPortrait; - } }