public static List<SelectArg> makeSelectArgsFromList(Collection<? extends Object> items){
  List<SelectArg> args=new ArrayList<SelectArg>(items.size());
  for (  Object item : items) {
    args.add(new SelectArg(item));
  }
  return args;
}

public static List < SelectArg > makeSelectArgsFromList ( Collection < ? extends Object > items ) { List < SelectArg > args = new ArrayList < SelectArg > ( items . size ( ) ) ; for ( Object item : items ) { args . add ( new SelectArg ( item ) ) ; } return args ; }
this generates a list of selectargs which must be used when building queries , especially with strings . strings are otherwise not escaped , even when used with . in ( ) or . eq ( ) . this can result in an sql injection vulnerability . see : http : / / ormlite . com / javadoc / ormlite - core / doc - files / ormlite_3 . html # select - arguments
