This is an automated email from the ASF dual-hosted git repository.

orpiske pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 46a7646ff0f6ec32c47fc19e12fea562c9769fd2
Author: Otavio Rodolfo Piske <angusyo...@gmail.com>
AuthorDate: Tue Aug 27 14:29:09 2024 +0200

    (chores) camel-test: added missing Override annotation
---
 .../src/main/java/org/apache/camel/test/AvailablePortFinder.java       | 3 +++
 1 file changed, 3 insertions(+)

diff --git 
a/components/camel-test/camel-test-junit5/src/main/java/org/apache/camel/test/AvailablePortFinder.java
 
b/components/camel-test/camel-test-junit5/src/main/java/org/apache/camel/test/AvailablePortFinder.java
index 31644d01986..08d266309fc 100644
--- 
a/components/camel-test/camel-test-junit5/src/main/java/org/apache/camel/test/AvailablePortFinder.java
+++ 
b/components/camel-test/camel-test-junit5/src/main/java/org/apache/camel/test/AvailablePortFinder.java
@@ -58,15 +58,18 @@ public final class AvailablePortFinder {
             AvailablePortFinder.this.release(this);
         }
 
+        @Override
         public String toString() {
             return Integer.toString(port);
         }
 
+        @Override
         public void beforeEach(ExtensionContext context) throws Exception {
             testClass = 
context.getTestClass().map(Class::getName).orElse(null);
             LOG.info("Registering port {} for test {}", port, testClass);
         }
 
+        @Override
         public void afterAll(ExtensionContext context) throws Exception {
             release();
         }

Reply via email to