fixed checkstyle for Query