Update QueryBuilder.java

had to make nameInfo public to implement a change