<BUG>@Nonnullpublic static String escapeForQuery(String value) {</BUG><CONTEXT>return "xs:dateTime('" + value.getString() + "')";default:throw new RepositoryException("Property of type " + PropertyType.nameFromValue(value.getType()) + " not supported");}}<extra_id_0>StringBuilder ret = new StringBuilder();for (int i = 0; i < value.length(); i++) {</CONTEXT>
public static String escapeForQuery(@Nonnull String oakName, @Nonnull NamePathMapper namePathMapper) {return escapeForQuery(namePathMapper.getJcrName(oakName));public static String escapeForQuery(@Nonnull String value) {