Exemple #1
0
 private static <T> void registerIfAbsent(
     Class<?> type, ParameterizedTypeHandlerMap<T> adapters, T adapter) {
   if (!adapters.hasSpecificHandlerFor(type)) {
     adapters.register(type, adapter, false);
   }
 }