src/main/java/com/googlecode/objectify/util/Queries.java
public static void addDistinctOn(final ProjectionEntityQuery.Builder builder, final List<String> distinctOn) {
		if (!distinctOn.isEmpty()) {
			builder.addDistinctOn(distinctOn.get(0), distinctOn.subList(1, distinctOn.size()).toArray(new String[distinctOn.size() - 1]));
		}
	}
public static void addDistinctOn(final ProjectionEntityQuery.Builder builder, final List<String> distinctOn) {
		if (!distinctOn.isEmpty()) {
			builder.addDistinctOn(distinctOn.get(0), distinctOn.subList(1, distinctOn.size()).toArray(new String[distinctOn.size() - 1]));
		}
	}
public static void addDistinctOn ( final ProjectionEntityQuery . Builder builder , final List < String > distinctOn ) { if ( ! distinctOn . isEmpty ( ) ) { builder . addDistinctOn ( distinctOn . get ( 0 ) , distinctOn . subList ( 1 , distinctOn . size ( ) ) . toArray ( new String [ distinctOn . size ( ) - 1 ] ) ) ; } }
The Builder api is programmer-hostile
The Builder api is programmer - hostile