private static void conditionalCopy(final List<NV> anns,final Properties queryHints,final String name){
  if (queryHints == null)   return;
  final Object val=queryHints.getProperty(name);
  if (val != null) {
    anns.add(new NV(name,val));
  }
}

private static void conditionalCopy ( final List < NV > anns , final Properties queryHints , final String name ) { if ( queryHints == null ) return ; final Object val = queryHints . getProperty ( name ) ; if ( val != null ) { anns . add ( new NV ( name , val ) ) ; } }
conditionally copy a query hint , adding it to the caller ' s list .
