/** * Constructs an instance wrapping the specified factory with a default cache. * * <p>The provided authority factory must implement {@link DatumAuthorityFactory}, {@link * CSAuthorityFactory}, {@link CRSAuthorityFactory} and {@link * CoordinateOperationAuthorityFactory} . * * @param factory The factory to cache. Can not be {@code null}. */ public CachedCRSAuthorityDecorator(final CRSAuthorityFactory factory) { this(factory, createCache(GeoTools.getDefaultHints())); }