spring-projects / spring-data-geode

Spring Data support for Apache Geode
Apache License 2.0
52 stars 39 forks source link

Fix typo in Global, JTA Transaction Management documentation [DATAGEODE-137] #188

Closed spring-projects-issues closed 6 years ago

spring-projects-issues commented 6 years ago

Srikanth Manvi opened DATAGEODE-137 and commented

Typo in sample code for Spring Data GemFire docs. Under the section Global, JTA Transaction Management, sample code for Peer Cache JavaConfig, has a typo in the form of CacheFacatoryBean.

@Bean
CacheFacatoryBean gemfireCache() {

  CacheFactoryBean gemfireCache = new CacheFactoryBean();

  gemfireCache.setClose(true);
  gemfireCache.setCopyOnRead(true);

  return gemfireCache;
}

CacheFacatoryBean to be read as CacheFactoryBean.


Affects: 2.0.9 (Kay SR9), 2.1 RC1 (Lovelace)

Referenced from: commits https://github.com/spring-projects/spring-data-geode/commit/821cc2b2a0937beaf64ed23993a7dd01358415a5, https://github.com/spring-projects/spring-data-geode/commit/0cd07f05b15eac169c0d1370ca986f1c61810705

Backported to: 2.0.10 (Kay SR10)

spring-projects-issues commented 6 years ago

John Blum commented

Thank you Srikanth Manvi; good catch!

spring-projects-issues commented 6 years ago

Srikanth Manvi commented

I am submitting a PR in few mins

spring-projects-issues commented 6 years ago

John Blum commented

Already fixed; no need for a PR. Thanks