spring-geode/src/main/java/org/springframework/geode/data/AbstractCacheDataImporterExporter.java
/**
	 * Imports data into the given {@link Region}.
	 *
	 * @param region {@link Region} to import data into.
	 * @return the given {@link Region}.
	 * @see org.apache.geode.cache.Region
	 * @see #isImportEnabled(Environment)
	 * @see #isImportProfilesActive(Environment)
	 * @see #getRegionPredicate()
	 * @see #doImportInto(Region)
	 */
Imports data into the given  Region.
@param region  Region to import data into.
@return the given  Region.
Imports data into the given Region . @param region Region to import data into . @return the given Region .
@NonNull @Override
	public Region importInto(@NonNull Region region) {
		Assert.notNull(region, "Region must not be null");
		boolean importEnabled = getEnvironment()
			.filter(this::isImportEnabled)
			.filter(this::isImportProfilesActive)
			.filter(environment -> getRegionPredicate().test(region))
			.isPresent();
		return importEnabled ? doImportInto(region) : region;
	}
@ NonNull @ Override public Region importInto ( @ NonNull Region region ) { Assert . notNull ( region , "Region must not be null" ) ; boolean importEnabled = getEnvironment ( ) . filter ( this :: isImportEnabled ) . filter ( this :: isImportProfilesActive ) . filter ( environment -> getRegionPredicate ( ) . test ( region ) ) . isPresent ( ) ; return importEnabled ? doImportInto ( region ) : region ; }
Imports data into the given {@link Region}.
Imports data into the given { @link Region } .