Skip to content

Remove unnecessary complexity in db utils Table/ColumnDefBuilder#524

Merged
prb112 merged 1 commit intomasterfrom
lee-master
Dec 20, 2019
Merged

Remove unnecessary complexity in db utils Table/ColumnDefBuilder#524
prb112 merged 1 commit intomasterfrom
lee-master

Conversation

@lmsurpre
Copy link
Copy Markdown
Member

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

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>
@lmsurpre lmsurpre requested a review from JohnTimm December 20, 2019 04:57
@lmsurpre lmsurpre changed the title Remove unecessary complexity in db utils Table/ColumnDefBuilder Remove unnecessary complexity in db utils Table/ColumnDefBuilder Dec 20, 2019
@prb112 prb112 added this to the Sprint 5 milestone Dec 20, 2019
@prb112 prb112 self-requested a review December 20, 2019 15:04
Copy link
Copy Markdown
Contributor

@prb112 prb112 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@prb112 prb112 merged commit 402380c into master Dec 20, 2019
@prb112 prb112 deleted the lee-master branch December 20, 2019 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants