/** * Add a number of IntFromRequest adapters to a container. * @param toContainer the container to add to * @param names the list of names to make adapters from */ public static void addIntegerRequestParameters(MutablePicoContainer toContainer, String... names) { for (String name : names) { toContainer.addAdapter(new IntFromRequest(name)); } }