} else if (array[i] == '.') { try { i = getMethodOrProperty(array, i, null, context); } catch (InvalidVelocityException e) { LOGGER.debug("Not a valid method at char [{}]", i, e);
} else if (array[i] == '.') { try { i = getMethodOrProperty(array, i, null, context); } catch (InvalidVelocityException e) { getLogger().debug("Not a valid method at char [" + i + "]", e);