Skip to content

Conversation

@risdenk
Copy link
Contributor

@risdenk risdenk commented Nov 12, 2019

What changes were proposed in this pull request?

  • Diamond operator
  • Static method calls instead of on instances
  • Remove null check before instanceof
  • Use computeIfAbsent where possible
  • Remove simple nested if statements
  • Remove redundant cast
  • Use entrySet for iteration of maps

How was this patch tested?

mvn -T.75C verify -U -Ppackage,release -Dshellcheck

@risdenk risdenk self-assigned this Nov 12, 2019
@risdenk risdenk force-pushed the KNOX-2122 branch 2 times, most recently from 888da27 to db504da Compare November 12, 2019 03:38
* Diamond operator
* Static method calls instead of on instances
* Remove null check before instanceof
* Use computeIfAbsent where possible
* Remove simple nested if statements
* Remove redundant cast
* Use entrySet for iteration of maps

Signed-off-by: Kevin Risden <krisden@apache.org>
@smolnar82
Copy link
Contributor

Let me know if you need another hand here!

@risdenk risdenk merged commit 2b6cee2 into apache:master Nov 12, 2019
@risdenk risdenk deleted the KNOX-2122 branch November 12, 2019 21:19
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