Skip to content

Commit 0b99a84

Browse files
committed
DATACMNS-937 - Fixed spelling of Javaslang related code.
Using a lower case "s" now.
1 parent cde3404 commit 0b99a84

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

src/main/java/org/springframework/data/repository/util/QueryExecutionConverters.java

+8-8
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@ public abstract class QueryExecutionConverters {
9696
}
9797

9898
if (JAVASLANG_PRESENT) {
99-
WRAPPER_TYPES.add(NullableWrapperToJavaSlangOptionConverter.getWrapperType());
100-
UNWRAPPERS.add(JavaSlangOptionUnwrapper.INSTANCE);
99+
WRAPPER_TYPES.add(NullableWrapperToJavaslangOptionConverter.getWrapperType());
100+
UNWRAPPERS.add(JavaslangOptionUnwrapper.INSTANCE);
101101
}
102102
}
103103

@@ -145,7 +145,7 @@ public static void registerConvertersIn(ConfigurableConversionService conversion
145145
}
146146

147147
if (JAVASLANG_PRESENT) {
148-
conversionService.addConverter(new NullableWrapperToJavaSlangOptionConverter(conversionService));
148+
conversionService.addConverter(new NullableWrapperToJavaslangOptionConverter(conversionService));
149149
}
150150

151151
conversionService.addConverter(new NullableWrapperToFutureConverter(conversionService));
@@ -392,7 +392,7 @@ public static Class<?> getWrapperType() {
392392
* @author Oliver Gierke
393393
* @since 1.13
394394
*/
395-
private static class NullableWrapperToJavaSlangOptionConverter extends AbstractWrapperTypeConverter {
395+
private static class NullableWrapperToJavaslangOptionConverter extends AbstractWrapperTypeConverter {
396396

397397
private static final Method OF_METHOD;
398398
private static final Method NONE_METHOD;
@@ -403,11 +403,11 @@ private static class NullableWrapperToJavaSlangOptionConverter extends AbstractW
403403
}
404404

405405
/**
406-
* Creates a new {@link NullableWrapperToJavaSlangOptionConverter} using the given {@link ConversionService}.
406+
* Creates a new {@link NullableWrapperToJavaslangOptionConverter} using the given {@link ConversionService}.
407407
*
408408
* @param conversionService must not be {@literal null}.
409409
*/
410-
public NullableWrapperToJavaSlangOptionConverter(ConversionService conversionService) {
410+
public NullableWrapperToJavaslangOptionConverter(ConversionService conversionService) {
411411
super(conversionService, createEmptyOption(), getWrapperType());
412412
}
413413

@@ -505,12 +505,12 @@ public Object convert(Object source) {
505505
}
506506

507507
/**
508-
* Converter to unwrap JavaSlang {@link javaslang.control.Option} instances.
508+
* Converter to unwrap Javaslang {@link javaslang.control.Option} instances.
509509
*
510510
* @author Oliver Gierke
511511
* @since 1.13
512512
*/
513-
private static enum JavaSlangOptionUnwrapper implements Converter<Object, Object> {
513+
private static enum JavaslangOptionUnwrapper implements Converter<Object, Object> {
514514

515515
INSTANCE;
516516

src/test/java/org/springframework/data/repository/util/QueryExecutionConvertersUnitTests.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ public void unwrapsEmptyJavaSlangOption() {
201201
* @see DATACMNS-937
202202
*/
203203
@Test
204-
public void unwrapsJavaSlangOption() {
204+
public void unwrapsJavaslangOption() {
205205
assertThat(QueryExecutionConverters.unwrap(option("string")), is((Object) "string"));
206206
}
207207

0 commit comments

Comments
 (0)