(Map<String, String> draftNotes)
| 600 | } |
| 601 | |
| 602 | public void setDraftNotes(Map<String, String> draftNotes) { |
| 603 | if (draftNotes == null) { |
| 604 | return; |
| 605 | } |
| 606 | |
| 607 | for(String key : draftNotes.keySet()) { |
| 608 | String notes = draftNotes.get(key); |
| 609 | if (notes == null || notes.isEmpty()) { |
| 610 | continue; |
| 611 | } |
| 612 | this.draftNotes.put(key, notes.trim()); |
| 613 | } |
| 614 | } |
| 615 | |
| 616 | public Map<String, String> getDraftNotes() { |
| 617 | return draftNotes; |
no test coverage detected