Fix findbugs from GIRAPH-966 commit