package info.rolandkrueger.userservice.api._internal;

/**
 * @author Roland Krüger
 */
public final class RestApiConstants {

    private RestApiConstants() {
    }

    public static final String SELF = "self";

    public static final String AUTHORITIES_RESOURCE = "authorities";
    public static final String USERS_RESOURCE = "users";
    public static final String REGISTRATIONS_RESOURCE = "registrations";
    public static final String SEARCH_RESOURCE = "search";

    public static final String AUTHORITY_PARAM = "authority";
    public static final String USERNAME_PARAM = "username";
    public static final String TOKEN_PARAM = "token";

    public static final String PROJECTION = "projection";
}

package info.rolandkrueger.userservice.api._internal;

/**
 * @author Roland Krüger
 */
public final class RestApiConstants {

    private RestApiConstants() {
    }

    public static final String AUTHORITIES_RESOURCE = "authorities";
    public static final String USERS_RESOURCE = "users";
    public static final String REGISTRATIONS_RESOURCE = "registrations";
    public static final String SEARCH_RESOURCE = "search";

    public static final String AUTHORITY_PARAM = "authority";
    public static final String USERNAME_PARAM = "username";
    public static final String TOKEN_PARAM = "token";

    public static final String PROJECTION = "projection";
}

Remove unnecessary SELF constant