content API: cleanup
(MAGNOLIA-3015)
|
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | core |
| Affects Version/s: | None |
| Fix Version/s: | 4.3 |
| Type: | Sub-task | Priority: | Major |
| Reporter: | Philipp Bärfuss | Assignee: | Philipp Bärfuss |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Template: |
|
||||||||
| Description |
|
Content.getNodeData(name) doesn't define any throws declaration. To be compliant to the former implementation (4.2) we will do the following:
setValue will fail always, but getString(), .. methods will return default values. Because of the amount of usages we decided against adding a throws declaration. We might rethink that in the future but for now it is far the safest/cleanest solution. |