Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: swizzle-confluence-1.2, swizzle-jira-1.3.3
-
Fix Version/s: swizzle-confluence-1.2, swizzle-jira-1.3.3
-
Component/s: None
-
Labels:None
-
Patch Submitted:Yes
-
Number of attachments :
Description
Add no-arg constructor to domain-specific objects since it is easier and more intuitive to create a page like this:
Page page = new Page();
page.setSpace("XWiki");
page.setContent("Some content");
than like this:
Map map = new HashMap();
map.put("space", "XWiki");
map.put("content", "Some content");
Page page = new Page(map)
Patch attached.