Update AbstractQuery.java