void (@NotNull String property) { String encoding = System.getProperty(property); System.out.println("** " + property + "=" + encoding); assertNotNull("The property '" + property + "' is 'null'. Please check build configuration settings.", encoding); assertFalse( "The property '" + property + "' is set to a default value. Please make sure the build agent has sane locale settings.", Charset.forName(encoding).aliases().contains("default")); }