File tree Expand file tree Collapse file tree 3 files changed +4
-14
lines changed
main/java/org/springframework/data/domain
test/java/org/springframework/data/domain Expand file tree Collapse file tree 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() {
487487 }
488488
489489 /**
490- * Creates a {@link GenericPropertyMatcher} that matches string case sensitive.
490+ * Creates a {@link GenericPropertyMatcher} that matches string case- sensitive.
491491 *
492492 * @return
493493 */
Original file line number Diff line number Diff line change @@ -267,7 +267,7 @@ private Sort withDirection(Direction direction) {
267267 *
268268 * @author Oliver Gierke
269269 */
270- public static enum Direction {
270+ public enum Direction {
271271
272272 ASC , DESC ;
273273
@@ -429,7 +429,7 @@ public static Order desc(String property) {
429429 *
430430 * @param direction can be {@literal null}, will default to {@link Sort#DEFAULT_DIRECTION}
431431 * @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.
433433 * @param nullHandling must not be {@literal null}.
434434 * @since 1.7
435435 */
@@ -483,7 +483,7 @@ public boolean isDescending() {
483483 }
484484
485485 /**
486- * Returns whether or not the sort will be case sensitive.
486+ * Returns whether the sort will be case- sensitive or case-insensitive .
487487 *
488488 * @return
489489 */
Original file line number Diff line number Diff line change @@ -40,8 +40,6 @@ class SortUnitTests {
4040
4141 /**
4242 * Asserts that the class applies the default sort order if no order or {@code null} was provided.
43- *
44- * @throws Exception
4543 */
4644 @ Test
4745 void appliesDefaultForOrder () {
@@ -50,8 +48,6 @@ void appliesDefaultForOrder() {
5048
5149 /**
5250 * Asserts that the class rejects {@code null} as properties array.
53- *
54- * @throws Exception
5551 */
5652 @ Test
5753 @ SuppressWarnings ("null" )
@@ -61,8 +57,6 @@ void preventsNullProperties() {
6157
6258 /**
6359 * Asserts that the class rejects {@code null} values in the properties array.
64- *
65- * @throws Exception
6660 */
6761 @ Test
6862 void preventsNullProperty () {
@@ -71,8 +65,6 @@ void preventsNullProperty() {
7165
7266 /**
7367 * Asserts that the class rejects empty strings in the properties array.
74- *
75- * @throws Exception
7668 */
7769 @ Test
7870 void preventsEmptyProperty () {
@@ -81,8 +73,6 @@ void preventsEmptyProperty() {
8173
8274 /**
8375 * Asserts that the class rejects no properties given at all.
84- *
85- * @throws Exception
8676 */
8777 @ Test
8878 void preventsNoProperties () {
You can’t perform that action at this time.
0 commit comments