Edit Javadoc in Async Inline Caching Sample code.
Use SDG's CollectionUtils class instead of Apache Shiro's CollectionUtils class in the GolfCourse model class. Implement the toString() method in terms of the GolfTournament 'name'.
This commit is contained in:
@@ -20,8 +20,7 @@ import java.util.Collections;
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
|
||||
import org.apache.shiro.util.CollectionUtils;
|
||||
|
||||
import org.springframework.data.gemfire.util.CollectionUtils;
|
||||
import org.springframework.util.Assert;
|
||||
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
@@ -38,10 +38,12 @@ import lombok.ToString;
|
||||
* Abstract Data Type (ADT) modeling a golf tournament.
|
||||
*
|
||||
* @author John Blum
|
||||
* @see example.app.caching.inline.async.client.model.Golfer
|
||||
* @see example.app.caching.inline.async.client.model.GolfCourse
|
||||
* @since 1.4.0
|
||||
*/
|
||||
@Getter
|
||||
@ToString
|
||||
@ToString(of = "name")
|
||||
@RequiredArgsConstructor(staticName = "newGolfTournament")
|
||||
@SuppressWarnings("unused")
|
||||
public class GolfTournament implements Iterable<GolfTournament.Pairing> {
|
||||
|
||||
@@ -21,7 +21,7 @@ import example.app.caching.inline.async.client.model.Golfer;
|
||||
|
||||
/**
|
||||
* Spring Data {@link JpaRepository} and Data Access Object (DAO) used to perform basic CRUD and simple SQL query
|
||||
* data access operations on {@link Golfer Golfers} stored in an RDBMS (database) with JPA.
|
||||
* data access operations on {@link Golfer Golfers} stored in an RDBMS (database) with JPA (Hibernate).
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.springframework.data.jpa.repository.JpaRepository
|
||||
|
||||
@@ -34,11 +34,12 @@ import example.app.caching.inline.async.client.model.Golfer;
|
||||
import example.app.caching.inline.async.client.repo.GolferRepository;
|
||||
|
||||
/**
|
||||
* Spring {@link Service} class used to manage {@link Golfer Golfers}.
|
||||
* Spring {@link Service} class used to manage {@link Golfer Golfers} on the tour.
|
||||
*
|
||||
* @author John Blum
|
||||
* @see org.springframework.stereotype.Service
|
||||
* @see org.apache.geode.cache.Region
|
||||
* @see org.springframework.data.gemfire.GemfireTemplate
|
||||
* @see org.springframework.stereotype.Service
|
||||
* @see example.app.caching.inline.async.client.model.Golfer
|
||||
* @see example.app.caching.inline.async.client.repo.GolferRepository
|
||||
* @since 1.4.0
|
||||
|
||||
Reference in New Issue
Block a user