Fix warnings flagged by IDEA

Signed-off-by: Matthew Heon <mheon@redhat.com>