From ebc6c6ec11485f3b26af8cabecb8a6d63ee2f261 Mon Sep 17 00:00:00 2001 From: lakshani Date: Mon, 30 Jan 2017 09:41:39 +0530 Subject: [PATCH] added java doc comments --- .../authorization/client/OAuthRequestInterceptor.java | 5 +++++ .../authorization/client/dto/BasePaginatedResult.java | 2 +- .../config/AuthorizationConfigurationManager.java | 4 +++- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/components/extensions/appm-connector/org.wso2.carbon.appmgt.mdm.restconnector/src/main/java/org/wso2/carbon/appmgt/mdm/restconnector/authorization/client/OAuthRequestInterceptor.java b/components/extensions/appm-connector/org.wso2.carbon.appmgt.mdm.restconnector/src/main/java/org/wso2/carbon/appmgt/mdm/restconnector/authorization/client/OAuthRequestInterceptor.java index 889b81bed..d3e3692bd 100755 --- a/components/extensions/appm-connector/org.wso2.carbon.appmgt.mdm.restconnector/src/main/java/org/wso2/carbon/appmgt/mdm/restconnector/authorization/client/OAuthRequestInterceptor.java +++ b/components/extensions/appm-connector/org.wso2.carbon.appmgt.mdm.restconnector/src/main/java/org/wso2/carbon/appmgt/mdm/restconnector/authorization/client/OAuthRequestInterceptor.java @@ -64,6 +64,11 @@ public class OAuthRequestInterceptor implements RequestInterceptor { } + /** + * Api create. + * + * @param template {@link RequestTemplate} object + */ @Override public void apply(RequestTemplate template) { if (tokenInfo == null) { diff --git a/components/extensions/appm-connector/org.wso2.carbon.appmgt.mdm.restconnector/src/main/java/org/wso2/carbon/appmgt/mdm/restconnector/authorization/client/dto/BasePaginatedResult.java b/components/extensions/appm-connector/org.wso2.carbon.appmgt.mdm.restconnector/src/main/java/org/wso2/carbon/appmgt/mdm/restconnector/authorization/client/dto/BasePaginatedResult.java index 0b17804dc..64527d32f 100644 --- a/components/extensions/appm-connector/org.wso2.carbon.appmgt.mdm.restconnector/src/main/java/org/wso2/carbon/appmgt/mdm/restconnector/authorization/client/dto/BasePaginatedResult.java +++ b/components/extensions/appm-connector/org.wso2.carbon.appmgt.mdm.restconnector/src/main/java/org/wso2/carbon/appmgt/mdm/restconnector/authorization/client/dto/BasePaginatedResult.java @@ -22,7 +22,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import io.swagger.annotations.ApiModelProperty; /** - * Number of Resources returned. + * Number of Resources. */ public class BasePaginatedResult { @ApiModelProperty(value = "Number of total resources.", example = "2") diff --git a/components/extensions/appm-connector/org.wso2.carbon.appmgt.mdm.restconnector/src/main/java/org/wso2/carbon/appmgt/mdm/restconnector/config/AuthorizationConfigurationManager.java b/components/extensions/appm-connector/org.wso2.carbon.appmgt.mdm.restconnector/src/main/java/org/wso2/carbon/appmgt/mdm/restconnector/config/AuthorizationConfigurationManager.java index 247cbfad7..707ef50fa 100644 --- a/components/extensions/appm-connector/org.wso2.carbon.appmgt.mdm.restconnector/src/main/java/org/wso2/carbon/appmgt/mdm/restconnector/config/AuthorizationConfigurationManager.java +++ b/components/extensions/appm-connector/org.wso2.carbon.appmgt.mdm.restconnector/src/main/java/org/wso2/carbon/appmgt/mdm/restconnector/config/AuthorizationConfigurationManager.java @@ -22,8 +22,10 @@ import org.wso2.carbon.appmgt.mobile.utils.MobileConfigurations; import java.util.HashMap; +/** + * The DTO class to AuthorizationConfigurationManager. + */ public class AuthorizationConfigurationManager { - private String tokenApiURL; private String imageURL; private String serverURL;