-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: removed unnecessary StartupMessage#time, no NPE when exc in error() is null #15
fix: removed unnecessary StartupMessage#time, no NPE when exc in error() is null #15
Conversation
to rely on the message builder to mangle it's internal state is a bad idea: clearing the properties is not enough, the "started" timestamp also has to be cleared: |
cfbd503
to
368a4d5
Compare
@jeffmaury, @lstocchi rebased, please review |
368a4d5
to
b682fe6
Compare
Signed-off-by: Andre Dietisheim <adietish@redhat.com>
Signed-off-by: Andre Dietisheim <adietish@redhat.com>
Signed-off-by: Andre Dietisheim <adietish@redhat.com>
c4d985f
to
090716b
Compare
Signed-off-by: Andre Dietisheim <adietish@redhat.com>
090716b
to
851d76e
Compare
closed by mistake. Reopening. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't like the renaming because you endup with builder.send() where it should be logically builder.build().send().
So it's ok for me to have non builder beans that returns this in setter methods and that would be easier to understand for novice users.
Unless I missed something
+1, I became doubtful of the renaming in the meantime but still kept it. Reverting it. |
Signed-off-by: Andre Dietisheim <adietish@redhat.com>
Different cleanups, the initial idea in this PR was refuted (See comment #15 (comment)).
Keeping the initial idea for documentational/informational purposes: