Skip to content

Commit 8277030

Browse files
committed
chore(unit-tests): minor formatting fixes
1 parent 320b465 commit 8277030

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

powertools-core/src/test/java/software/amazon/lambda/powertools/core/internal/LambdaHandlerProcessorTest.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
class LambdaHandlerProcessorTest {
2121

2222
private Signature signature = mock(Signature.class);
23-
;
2423
private ProceedingJoinPoint pjpMock = mock(ProceedingJoinPoint.class);
2524

2625
@Test
@@ -38,6 +37,7 @@ void isHandlerMethod_shouldRecognizeRequestStreamHandler() {
3837

3938
assertThat(LambdaHandlerProcessor.isHandlerMethod(pjpMock)).isTrue();
4039
}
40+
4141
@Test
4242
void isHandlerMethod_shouldReturnFalse() {
4343
ProceedingJoinPoint pjpMock = mockRequestHandlerPjp(Object.class, new Object[]{});
@@ -232,5 +232,4 @@ private ProceedingJoinPoint mockRequestHandlerPjp(Class handlerClass, Object[] h
232232
when(pjpMock.getSignature()).thenReturn(signature);
233233
return pjpMock;
234234
}
235-
236235
}

powertools-validation/src/main/java/software/amazon/lambda/powertools/validation/ValidationConfig.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
/**
2727
* Use this if you need to customize some part of the JSON Schema validation
2828
* (eg. specification version, Jackson ObjectMapper, or adding functions to JMESPath).
29-
* <p>
29+
*
3030
* For everything but the validation features (factory, schemaVersion), {@link ValidationConfig}
3131
* is just a wrapper of {@link JsonConfig}.
3232
*/
@@ -62,7 +62,7 @@ public void setSchemaVersion(SpecVersion.VersionFlag version) {
6262
* {@link Base64Function} and {@link Base64GZipFunction} are already built-in.
6363
*
6464
* @param function the function to add
65-
* @param <T> Must extends {@link BaseFunction}
65+
* @param <T> Must extend {@link BaseFunction}
6666
*/
6767
public <T extends BaseFunction> void addFunction(T function) {
6868
JsonConfig.get().addFunction(function);

0 commit comments

Comments
 (0)