CHAIN-108 - Build fails with Java 6; assigning variables helps the compiler to figure out typed arguments