mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
code review comments
This commit is contained in:
@@ -533,7 +533,7 @@ public class BaseRMRestTest extends RestTest
|
|||||||
* @return the created record
|
* @return the created record
|
||||||
* @throws Exception
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
public Record createElectronicRecord(String parentId, String name) throws Exception
|
public Record createElectronicRecord(String parentId, String name)
|
||||||
{
|
{
|
||||||
return createElectronicRecord(parentId, name ,null);
|
return createElectronicRecord(parentId, name ,null);
|
||||||
}
|
}
|
||||||
@@ -547,7 +547,7 @@ public class BaseRMRestTest extends RestTest
|
|||||||
* @return the created record
|
* @return the created record
|
||||||
* @throws Exception
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
public Record createElectronicRecord(String parentId, String name, UserModel user) throws Exception
|
public Record createElectronicRecord(String parentId, String name, UserModel user)
|
||||||
{
|
{
|
||||||
RecordFolderAPI recordFolderAPI = restAPIFactory.getRecordFolderAPI(user);
|
RecordFolderAPI recordFolderAPI = restAPIFactory.getRecordFolderAPI(user);
|
||||||
Record recordModel = Record.builder().name(name).nodeType(CONTENT_TYPE).build();
|
Record recordModel = Record.builder().name(name).nodeType(CONTENT_TYPE).build();
|
||||||
|
Reference in New Issue
Block a user