Difference between revisions of "JSON Integration Adapter Code Review 1 Changes"
m |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{Admon/obsolete}} | ||
+ | |||
[[category: NexJ Express JSON Message Adapter]] | [[category: NexJ Express JSON Message Adapter]] | ||
Line 79: | Line 81: | ||
| InvocationContextAware | | InvocationContextAware | ||
* Do not implement the invocation context aware interface if not used by the class | * Do not implement the invocation context aware interface if not used by the class | ||
− | | | + | | Complete |
|- | |- | ||
| Rename methods XXXNode to XXXPart | | Rename methods XXXNode to XXXPart | ||
− | | | + | | Complete |
|- | |- | ||
| fail | | fail | ||
− | 1. Wrap fail so that is throws expection right away | + | 1. Wrap fail so that is throws expection right away<br> |
2. Move fail statements from bottom to top, remove else clauses | 2. Move fail statements from bottom to top, remove else clauses | ||
− | | 1. Complete 2. Incomplete | + | | 1. Complete <br> |
+ | 2. Incomplete | ||
|- | |- | ||
| parse() | | parse() | ||
Line 95: | Line 98: | ||
| parsing primitive values | | parsing primitive values | ||
* Use primitive formatter on values that are parsed before storing them | * Use primitive formatter on values that are parsed before storing them | ||
− | | | + | | Complete |
|} | |} | ||
Latest revision as of 19:52, 26 January 2014
Contents
General
Tasks | Status |
---|---|
Exception
|
Complete for formatter, may be revisited for parser |
Documentation
|
|
Code Style
|
Complete for now (revisit later) |
Design Document
Task | Status |
---|---|
Update Design Proposal Document
|
Complete |
JSONMessagePartMapping
Task | Status |
---|---|
Use Hashholder instead of HashSet | Complete |
byte initialization
|
Complete |
StringParser
|
Complete |
RootJSONMessagePartMapping
|
Complete |
Composite Message Part modes
|
Complete |
m_sFormat
|
Complete |
JSONMessageParser
Task | Status |
---|---|
InvocationContextAware
|
Complete |
Rename methods XXXNode to XXXPart | Complete |
fail
1. Wrap fail so that is throws expection right away |
1. Complete 2. Incomplete |
parse()
|
|
parsing primitive values
|
Complete |
JSONMessageFormatter
Task | Status |
---|---|
Format primitive values
|
Complete |
Pass enumerations into formatMessageRoot
|
Complete |