Skip to content

getMsg fix for NullPointerException#28

Open
bivas wants to merge 2 commits into
accelio:masterfrom
bivas:fix-npe-getmsg
Open

getMsg fix for NullPointerException#28
bivas wants to merge 2 commits into
accelio:masterfrom
bivas:fix-npe-getmsg

Conversation

@bivas
Copy link
Copy Markdown
Contributor

@bivas bivas commented Dec 6, 2016

No description provided.

@mellanox-github
Copy link
Copy Markdown
Collaborator

Can one of the admins verify this patch?

@mellanox-github
Copy link
Copy Markdown
Collaborator

Test SUCCESS.
See http://hpc-master.lab.mtl.com:8080/job/accl-jxio/158/ for details (Mellanox internal link).

Comment thread src/java/org/accelio/jxio/MsgPool.java Outdated
}
Msg msg = listMsg.poll();
msg.setMsgReturnable();
if (msg != null) {
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Please fix the indentation.

Copy link
Copy Markdown

@ilansmith ilansmith left a comment

Choose a reason for hiding this comment

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

Sorry, one more thing I forgot - commits should be signed-off-by. I know this hasn't always been preserved, but better late than never. Please re-commit with -s.

The indentation is OK, except that the 'if' block (msg.setMsg...) should be indented by a single tab relative to the 'if' statement - without the spaces after the tab.

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.

3 participants