Bumped Java version to 1.8 in POM.
Replaced "com.google.common.base.Function" by "java.util.function.Function".
Replaced inner classes by lambdas where possible.
Added @NotNull annotations to silence IDEA warnings.
Refactored static logger initialisation for class Statics.
Refactored try block for transaction in GraphTest#createDatabase().