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 @@ -487,7 +487,7 @@ public static GenericPropertyMatcher ignoreCase() {
487
487
}
488
488
489
489
/**
490
- * Creates a {@link GenericPropertyMatcher} that matches string case sensitive.
490
+ * Creates a {@link GenericPropertyMatcher} that matches string case- sensitive.
491
491
*
492
492
* @return
493
493
*/
Original file line number Diff line number Diff line change @@ -267,7 +267,7 @@ private Sort withDirection(Direction direction) {
267
267
*
268
268
* @author Oliver Gierke
269
269
*/
270
- public static enum Direction {
270
+ public enum Direction {
271
271
272
272
ASC , DESC ;
273
273
@@ -429,7 +429,7 @@ public static Order desc(String property) {
429
429
*
430
430
* @param direction can be {@literal null}, will default to {@link Sort#DEFAULT_DIRECTION}
431
431
* @param property must not be {@literal null} or empty.
432
- * @param ignoreCase true if sorting should be case insensitive. false if sorting should be case sensitive.
432
+ * @param ignoreCase true if sorting should be case- insensitive. false if sorting should be case- sensitive.
433
433
* @param nullHandling must not be {@literal null}.
434
434
* @since 1.7
435
435
*/
@@ -483,7 +483,7 @@ public boolean isDescending() {
483
483
}
484
484
485
485
/**
486
- * Returns whether or not the sort will be case sensitive.
486
+ * Returns whether the sort will be case- sensitive or case-insensitive .
487
487
*
488
488
* @return
489
489
*/
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