Skip to content
18 changes: 9 additions & 9 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ We are currently working on implementing EmpireAvenue Service. Status as follows
GET
===
Profile Information - rajmahendra
profile/notifications - Pending
profile/notifications - Kalakkumkarthikeyan(working)

Lists - kalakkumkarthikeyan

Expand Down Expand Up @@ -42,21 +42,21 @@ Testing and Documentation

GET
===
Profile Information
Profile Information-Kalakkumkarthikeyan

Lists -
Lists - Kalakkumkarthikeyan

Leaders -
Leaders -Kalakkumkarthikeyan

History -
History - Kalakkumkarthikeyan

Shares -
Shares - Kalakkumkarthikeyan

Portfolio -
Portfolio - Kalakkumkarthikeyan

Search-
Search-Kalakkumkarthikeyan

Community -
Community -Kalakkumkarthikeyan

POST
====
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,27 +16,25 @@

package org.agorava.empireavenue;

import org.agorava.api.atinject.ProviderRelated;

import javax.inject.Qualifier;
import java.lang.annotation.Documented;
import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.ElementType.PARAMETER;
import static java.lang.annotation.ElementType.TYPE;
import java.lang.annotation.Retention;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
import java.lang.annotation.Target;

import javax.inject.Qualifier;
import org.agorava.api.atinject.ProviderRelated;
import static java.lang.annotation.ElementType.*;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

/**
* The Interface EmpireAvenue.
*
* @author Rajmahendra Hegde
* @author Rajmahendra Hegde
* @since 0.7.0
*/
@Qualifier
@ProviderRelated("EmpireAvenue")
@Target({ TYPE, METHOD, PARAMETER, FIELD })
@Target({TYPE, METHOD, PARAMETER, FIELD})
@Retention(RUNTIME)
@Documented
public @interface EmpireAvenue {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,10 @@
*/
@EmpireAvenue
public class EmpireAvenueConfigOauth extends ProviderConfigOauth20Final {

/** The Constant AUTHORIZE_URL. */

/**
* The Constant AUTHORIZE_URL.
*/
private static final String AUTHORIZE_URL = "https://www.empireavenue.com/profile/developer/authorize?client_id=%s&redirect_uri=%s&response_type=code&state=request_auth_code";

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,9 @@

/**
* Base exception for Agorava EmpireAvenue Services.<br/>
*
* <p/>
* This will help you to catch all EmpireAvenue based Exception at the time of contacting to EA Services.<br/>
*
*
*
* @author Rajmahendra Hegde
* @since 0.7.0
*/
Expand All @@ -31,7 +30,7 @@ public class EmpireAvenueException extends AgoravaException {

/**
* Instantiates a new empire avenue exception.
*
*
* @param errorMessage the error message
*/
public EmpireAvenueException(String errorMessage) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,9 @@
import java.math.BigDecimal;

/**
*
* @author Rajmahendra Hegde
* @since 0.7.0
*/
* @author Rajmahendra Hegde
* @since 0.7.0
*/
public class BankBalance {
private BigDecimal balance;

Expand All @@ -31,14 +30,14 @@ public BankBalance() {
public BigDecimal getBalance() {
return balance;
}

@Override
public String toString() {
return new StringBuffer()
.append("BankBalance [ ")
.append(balance)
.append("]")
.toString();
.append("BankBalance [ ")
.append(balance)
.append("]")
.toString();
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,11 @@
package org.agorava.empireavenue.model;

/**
*
* @author Rajmahendra Hegde
* @since 0.7.0
*/
* @author Rajmahendra Hegde
* @since 0.7.0
*/
public class Community {

private int communityId;
private String joined;
private int admin;
Expand Down Expand Up @@ -60,10 +59,9 @@ public String toString() {
.append(",")
.append(country)
.append("]")
.toString();
.toString();
}




public int getCommunityId() {
return communityId;
Expand Down Expand Up @@ -137,5 +135,5 @@ public String getVisibility() {
public String getCountry() {
return country;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@
package org.agorava.empireavenue.model;

/**
*
* @author Rajmahendra Hegde
* @author Rajmahendra Hegde
* @since 0.7.0
*/
public class Count {
Expand Down
Loading