mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
updates after review
This commit is contained in:
@@ -25,8 +25,6 @@ import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
* @author Tuna Aksoy
|
||||
* @since 1.0
|
||||
*/
|
||||
//FIXME: Once the fields have been added the JsonIgnoreProperties annotation should be removed
|
||||
|
||||
public class FilePlanComponent
|
||||
{
|
||||
@JsonProperty (required = true)
|
||||
|
@@ -71,7 +71,7 @@ public class RecordFolderTests extends BaseRestTest
|
||||
@Autowired
|
||||
public DataUser dataUser;
|
||||
|
||||
private static final int NUMBER_OF_FOLDER= 5;
|
||||
private static final int NUMBER_OF_FOLDERS= 5;
|
||||
/**
|
||||
* Given that a record category exists
|
||||
* When I use the API to create a new record folder
|
||||
@@ -290,7 +290,7 @@ public class RecordFolderTests extends BaseRestTest
|
||||
|
||||
// Add child olders
|
||||
ArrayList<FilePlanComponent> children = new ArrayList<FilePlanComponent>();
|
||||
for (int i = 0; i < NUMBER_OF_FOLDER; i++)
|
||||
for (int i = 0; i < NUMBER_OF_FOLDERS; i++)
|
||||
{
|
||||
// Create a child
|
||||
FilePlanComponent child = createFolder(category.getId(),
|
||||
@@ -337,7 +337,8 @@ public class RecordFolderTests extends BaseRestTest
|
||||
assertEquals(createdComponent.getName(), filePlanComponent.getName());
|
||||
assertEquals(createdComponent.getNodeType(), filePlanComponent.getNodeType());
|
||||
|
||||
} catch (NoSuchElementException e)
|
||||
}
|
||||
catch (NoSuchElementException e)
|
||||
{
|
||||
fail("No child element for " + filePlanComponent.getId());
|
||||
}
|
||||
@@ -354,7 +355,8 @@ public class RecordFolderTests extends BaseRestTest
|
||||
try
|
||||
{
|
||||
filePlanComponentAPI.deleteFilePlanComponent(filePlanComponentEntry.getFilePlanComponent().getId());
|
||||
} catch (Exception e)
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
Reference in New Issue
Block a user