mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
fixing IDE whitespaces
This commit is contained in:
@@ -149,8 +149,8 @@ public class RecordsAPI extends RMModelRequest
|
||||
* <li>Invalid parameter: {@code recordId} is not a record</li>
|
||||
* <li>authentication fails</li>
|
||||
* <li>current user does not have permission to complete {@code recordId}</li>
|
||||
* <li>{@code recordId} does not exist</li>
|
||||
* <li>model integrity exception: the record is already complete</li>
|
||||
* <li>{@code recordId} does not exist or is frozen</li>
|
||||
* <li>model integrity exception: the record is already completed</li>
|
||||
* <li>model integrity exception: the record has missing meta-data</li>
|
||||
* </ul>
|
||||
*/
|
||||
@@ -242,7 +242,7 @@ public class RecordsAPI extends RMModelRequest
|
||||
* @param recordModel The record model which holds the information
|
||||
* @param recordId The identifier of a record
|
||||
* @param parameters The URL parameters to add
|
||||
* @param returns The updated {@link Record}
|
||||
* @return The updated {@link Record}
|
||||
* @throws Exception for the following cases:
|
||||
* <ul>
|
||||
* <li>the update request is invalid or {@code recordId} is not a valid format or {@code recordModel} is invalid</li>
|
||||
|
@@ -207,8 +207,7 @@ public class CompleteRecordTests extends BaseRMRestTest
|
||||
description = "Cannot complete a document that is not a record"
|
||||
)
|
||||
@AlfrescoTest (jira = "RM-4431")
|
||||
public void completeNonRecord(String nonRecordId)
|
||||
throws Exception
|
||||
public void completeNonRecord(String nonRecordId) throws Exception
|
||||
{
|
||||
// Get the recordsAPI
|
||||
RecordsAPI recordsAPI = getRestAPIFactory().getRecordsAPI();
|
||||
@@ -254,7 +253,7 @@ public class CompleteRecordTests extends BaseRMRestTest
|
||||
}
|
||||
|
||||
/**
|
||||
* Helper method to create an electronic record and and assert successfully creation
|
||||
* Helper method to create an electronic record and and assert successful creation
|
||||
*/
|
||||
private Record createAndVerifyElectronicRecord(String recordFolderId) throws Exception
|
||||
{
|
||||
@@ -268,7 +267,7 @@ public class CompleteRecordTests extends BaseRMRestTest
|
||||
}
|
||||
|
||||
/**
|
||||
* Helper method to create a non-electronic record and and assert successfully creation
|
||||
* Helper method to create a non-electronic record and and assert successful creation
|
||||
*/
|
||||
private Record createAndVerifyNonElectronicRecord(String recordFolderId) throws Exception
|
||||
{
|
||||
|
Reference in New Issue
Block a user