minor sync fixes
This commit is contained in:
parent
d04af2252e
commit
2fa329bff9
@ -17,12 +17,12 @@ import com.inteligr8.rs.ClientConfiguration;
|
||||
*/
|
||||
public abstract class ApsPublicRestApi {
|
||||
|
||||
protected abstract ClientConfiguration getConfig();
|
||||
abstract ClientConfiguration getConfig();
|
||||
|
||||
protected abstract Client getClient();
|
||||
abstract Client getClient();
|
||||
|
||||
protected <T> T getApi(Class<T> apiClass) {
|
||||
return this.getClient().getApi(apiClass);
|
||||
protected final <T> T getApi(Class<T> apiClass) {
|
||||
return this.getApi(null, apiClass);
|
||||
}
|
||||
|
||||
protected <T> T getApi(AuthorizationFilter authFilter, Class<T> apiClass) {
|
||||
|
@ -34,12 +34,12 @@ public class ApsPublicRestApiCxfImpl extends ApsPublicRestApi {
|
||||
}
|
||||
|
||||
@Override
|
||||
protected ClientConfiguration getConfig() {
|
||||
ClientConfiguration getConfig() {
|
||||
return this.client.getConfig();
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Client getClient() {
|
||||
Client getClient() {
|
||||
return this.client;
|
||||
}
|
||||
|
||||
|
@ -34,12 +34,12 @@ public class ApsPublicRestApiJerseyImpl extends ApsPublicRestApi {
|
||||
}
|
||||
|
||||
@Override
|
||||
protected ClientConfiguration getConfig() {
|
||||
ClientConfiguration getConfig() {
|
||||
return this.client.getConfig();
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Client getClient() {
|
||||
Client getClient() {
|
||||
return this.client;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user