commit | 2b6cee2d9081628348e0925a9e7e7b596292eee3 | [log] [tgz] |
---|---|---|
author | Kevin Risden <risdenk@users.noreply.github.com> | Tue Nov 12 16:19:11 2019 -0500 |
committer | GitHub <noreply@github.com> | Tue Nov 12 16:19:11 2019 -0500 |
tree | bba3a402894b6cbe64867052e04d7ef2120940d6 | |
parent | 6f7d633b1bfc62fdd6f2203348d65afebbf6771a [diff] |
KNOX-2122 - Code cleanup from static code analysis (#191) * 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>