code review comments

This commit is contained in:
Claudia Agache
2020-09-04 10:14:44 +03:00
parent 4b42afa11e
commit ef4f3a506b

View File

@@ -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();