File tree 3 files changed +4
-14
lines changed
main/java/org/springframework/data/domain
test/java/org/springframework/data/domain
3 files changed +4
-14
lines changed Original file line number Diff line number Diff line change @@ -497,7 +497,7 @@ public static GenericPropertyMatcher ignoreCase() {
497
497
}
498
498
499
499
/**
500
- * Creates a {@link GenericPropertyMatcher} that matches string case sensitive.
500
+ * Creates a {@link GenericPropertyMatcher} that matches string case- sensitive.
501
501
*
502
502
* @return
503
503
*/
Original file line number Diff line number Diff line change @@ -285,7 +285,7 @@ private Sort withDirection(Direction direction) {
285
285
*
286
286
* @author Oliver Gierke
287
287
*/
288
- public static enum Direction {
288
+ public enum Direction {
289
289
290
290
ASC , DESC ;
291
291
@@ -447,7 +447,7 @@ public static Order desc(String property) {
447
447
*
448
448
* @param direction can be {@literal null}, will default to {@link Sort#DEFAULT_DIRECTION}
449
449
* @param property must not be {@literal null} or empty.
450
- * @param ignoreCase true if sorting should be case insensitive. false if sorting should be case sensitive.
450
+ * @param ignoreCase true if sorting should be case- insensitive. false if sorting should be case- sensitive.
451
451
* @param nullHandling must not be {@literal null}.
452
452
* @since 1.7
453
453
*/
@@ -501,7 +501,7 @@ public boolean isDescending() {
501
501
}
502
502
503
503
/**
504
- * Returns whether or not the sort will be case sensitive.
504
+ * Returns whether the sort will be case- sensitive or case-insensitive .
505
505
*
506
506
* @return
507
507
*/
Original file line number Diff line number Diff line change @@ -40,8 +40,6 @@ class SortUnitTests {
40
40
41
41
/**
42
42
* Asserts that the class applies the default sort order if no order or {@code null} was provided.
43
- *
44
- * @throws Exception
45
43
*/
46
44
@ Test
47
45
void appliesDefaultForOrder () {
@@ -50,8 +48,6 @@ void appliesDefaultForOrder() {
50
48
51
49
/**
52
50
* Asserts that the class rejects {@code null} as properties array.
53
- *
54
- * @throws Exception
55
51
*/
56
52
@ Test
57
53
@ SuppressWarnings ("null" )
@@ -61,8 +57,6 @@ void preventsNullProperties() {
61
57
62
58
/**
63
59
* Asserts that the class rejects {@code null} values in the properties array.
64
- *
65
- * @throws Exception
66
60
*/
67
61
@ Test
68
62
void preventsNullProperty () {
@@ -71,8 +65,6 @@ void preventsNullProperty() {
71
65
72
66
/**
73
67
* Asserts that the class rejects empty strings in the properties array.
74
- *
75
- * @throws Exception
76
68
*/
77
69
@ Test
78
70
void preventsEmptyProperty () {
@@ -81,8 +73,6 @@ void preventsEmptyProperty() {
81
73
82
74
/**
83
75
* Asserts that the class rejects no properties given at all.
84
- *
85
- * @throws Exception
86
76
*/
87
77
@ Test
88
78
void preventsNoProperties () {
You can’t perform that action at this time.
0 commit comments