[NUCCORE-1162] Rename method so that it can be built with JDK 1.8