/** * Construct. * * @param settings the webjars settings to use */ public WebjarsResourceFinder(IWebjarsSettings settings) { this.settings = settings; this.locator = newFullPathProvider(); this.resourceStreamProvider = settings.resourceStreamProvider().newInstance(settings.classLoaders()); int _hashCode = locator != null ? locator.hashCode() : 0; this.hashCode = 31 * (_hashCode + settings.hashCode()); }
/** * Construct. * * @param settings the webjars settings to use */ public WebjarsResourceFinder(IWebjarsSettings settings) { this.settings = settings; this.locator = newFullPathProvider(); this.resourceStreamProvider = settings.resourceStreamProvider().newInstance(settings.classLoaders()); int _hashCode = locator != null ? locator.hashCode() : 0; this.hashCode = 31 * (_hashCode + settings.hashCode()); }