diff --git a/components/org.wso2.carbon.identity.oauth/src/main/java/org/wso2/carbon/identity/oauth/OAuthAdminService.java b/components/org.wso2.carbon.identity.oauth/src/main/java/org/wso2/carbon/identity/oauth/OAuthAdminService.java
index a21135cb428..d33cf03276b 100644
--- a/components/org.wso2.carbon.identity.oauth/src/main/java/org/wso2/carbon/identity/oauth/OAuthAdminService.java
+++ b/components/org.wso2.carbon.identity.oauth/src/main/java/org/wso2/carbon/identity/oauth/OAuthAdminService.java
@@ -139,7 +139,7 @@ public OAuthConsumerAppDTO registerAndRetrieveOAuthApplicationData(OAuthConsumer
/**
* Update existing consumer application.
*
- * @param consumerAppDTO OAuthConsumerAppDTO
with updated application information
+ * @param consumerAppDTO OAuthConsumerAppDTO
with updated application information.
* @throws IdentityOAuthAdminException Error when updating the underlying identity persistence store.
*/
public void updateConsumerApplication(OAuthConsumerAppDTO consumerAppDTO) throws IdentityOAuthAdminException {
@@ -153,7 +153,7 @@ public void updateConsumerApplication(OAuthConsumerAppDTO consumerAppDTO) throws
/**
* @return
- * @throws IdentityOAuthAdminException
+ * @throws IdentityOAuthAdminException.
*/
public String getOauthApplicationState(String consumerKey) throws IdentityOAuthAdminException {
@@ -261,7 +261,7 @@ public void updateScope(String scope, String[] addClaims, String[] deleteClaims)
/**
* To load id of the scope table.
*
- * @param scope scope name
+ * @param scope scope name.
* @return id of the given scope.
* @throws IdentityOAuthAdminException if an error occurs when loading scope id.
*/
@@ -275,9 +275,9 @@ public boolean isScopeExist(String scope) throws IdentityOAuthAdminException {
}
/**
- * @param consumerKey
- * @param newState
- * @throws IdentityOAuthAdminException
+ * @param consumerKey.
+ * @param newState.
+ * @throws IdentityOAuthAdminException.
*/
public void updateConsumerAppState(String consumerKey, String newState) throws IdentityOAuthAdminException {
@@ -322,7 +322,7 @@ public OAuthConsumerAppDTO updateAndRetrieveOauthSecretKey(String consumerKey) t
/**
* Removes an OAuth consumer application.
*
- * @param consumerKey Consumer Key
+ * @param consumerKey Consumer Key.
* @throws IdentityOAuthAdminException Error when removing the consumer information from the database.
*/
public void removeOAuthApplicationData(String consumerKey) throws IdentityOAuthAdminException {
@@ -336,9 +336,9 @@ public void removeOAuthApplicationData(String consumerKey) throws IdentityOAuthA
}
/**
- * Get apps that are authorized by the given user
+ * Get apps that are authorized by the given user.
*
- * @return OAuth applications authorized by the user that have tokens in ACTIVE or EXPIRED state
+ * @return OAuth applications authorized by the user that have tokens in ACTIVE or EXPIRED state.
*/
public OAuthConsumerAppDTO[] getAppsAuthorizedByUser() throws IdentityOAuthAdminException {
@@ -350,10 +350,10 @@ public OAuthConsumerAppDTO[] getAppsAuthorizedByUser() throws IdentityOAuthAdmin
}
/**
- * Revoke authorization for OAuth apps by resource owners
+ * Revoke authorization for OAuth apps by resource owners.
*
* @param revokeRequestDTO DTO representing authorized user and apps[]
- * @return revokeRespDTO DTO representing success or failure message
+ * @return revokeRespDTO DTO representing success or failure message.
*/
public OAuthRevocationResponseDTO revokeAuthzForAppsByResoureOwner(
OAuthRevocationRequestDTO revokeRequestDTO) throws IdentityOAuthAdminException {
@@ -366,11 +366,11 @@ public OAuthRevocationResponseDTO revokeAuthzForAppsByResoureOwner(
}
/**
- * Revoke approve always of the consent for OAuth apps by resource owners
+ * Revoke approve always of the consent for OAuth apps by resource owners.
*
- * @param appName name of the app
- * @param state state of the approve always
- * @return revokeRespDTO DTO representing success or failure message
+ * @param appName name of the app.
+ * @param state state of the approve always.
+ * @return revokeRespDTO DTO representing success or failure message.
*/
public OAuthRevocationResponseDTO updateApproveAlwaysForAppConsentByResourceOwner(String appName, String state)
throws IdentityOAuthAdminException {