Commit 0c2d162
committed
Remove unecessary complexity in db utils Table/ColumnDefBuilder
I added the original if logic because it was throwing a NullPointer and
I didn't understand why...now I realize it was just from "auto-boxing"
of the Integer to an int. Now I switched the parameter to type Integer
so we can remove the extra branching logic.
Signed-off-by: Lee Surprenant <lmsurpre@us.ibm.com>1 parent 7268d15 commit 0c2d162
3 files changed
Lines changed: 3 additions & 11 deletions
File tree
- fhir-database-utils/src/main/java/com/ibm/fhir/database/utils/model
Lines changed: 1 addition & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
| 159 | + | |
164 | 160 | | |
165 | 161 | | |
166 | 162 | | |
| |||
Lines changed: 1 addition & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
532 | 532 | | |
533 | 533 | | |
534 | 534 | | |
535 | | - | |
536 | | - | |
537 | | - | |
538 | | - | |
539 | | - | |
| 535 | + | |
540 | 536 | | |
541 | 537 | | |
542 | 538 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
0 commit comments