Skip to content

Commit 350d3a9

Browse files
committed
Incorporate review feedback (take 2).
Shorten name of default fragment contributors to `EmptyFragmentsContributor` and `ReactiveEmptyFragmentsContributor`.
1 parent 465a8b8 commit 350d3a9

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

spring-data-cassandra/src/main/java/org/springframework/data/cassandra/repository/support/CassandraRepositoryFragmentsContributor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
*/
3333
public interface CassandraRepositoryFragmentsContributor extends RepositoryFragmentsContributor {
3434

35-
CassandraRepositoryFragmentsContributor DEFAULT = DefaultCassandraRepositoryFragmentsContributor.INSTANCE;
35+
CassandraRepositoryFragmentsContributor DEFAULT = EmptyFragmentsContributor.INSTANCE;
3636

3737
/**
3838
* Returns a composed {@code CassandraRepositoryFragmentsContributor} that first applies this contributor to its inputs,
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
* @author Chris Bono
2727
* @since 5.0
2828
*/
29-
enum DefaultCassandraRepositoryFragmentsContributor implements CassandraRepositoryFragmentsContributor {
29+
enum EmptyFragmentsContributor implements CassandraRepositoryFragmentsContributor {
3030

3131
INSTANCE;
3232

spring-data-cassandra/src/main/java/org/springframework/data/cassandra/repository/support/ReactiveCassandraRepositoryFragmentsContributor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
*/
3333
public interface ReactiveCassandraRepositoryFragmentsContributor extends RepositoryFragmentsContributor {
3434

35-
ReactiveCassandraRepositoryFragmentsContributor DEFAULT = DefaultReactiveCassandraRepositoryFragmentsContributor.INSTANCE;
35+
ReactiveCassandraRepositoryFragmentsContributor DEFAULT = ReactiveEmptyFragmentsContributor.INSTANCE;
3636

3737
/**
3838
* Returns a composed {@code ReactiveCassandraRepositoryFragmentsContributor} that first applies this contributor to
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
* @author Chris Bono
2828
* @since 5.0
2929
*/
30-
enum DefaultReactiveCassandraRepositoryFragmentsContributor implements ReactiveCassandraRepositoryFragmentsContributor {
30+
enum ReactiveEmptyFragmentsContributor implements ReactiveCassandraRepositoryFragmentsContributor {
3131

3232
INSTANCE;
3333

0 commit comments

Comments
 (0)