From 5f9a5053f3ff401ecc8a0fd99397f9f1a18f1496 Mon Sep 17 00:00:00 2001 From: Emily Jiang Date: Tue, 18 Jun 2024 22:02:36 +0100 Subject: [PATCH] consume the parent pom v2.9 (#630) --- .github/workflows/build.yml | 4 +-- .../faulttolerance/Asynchronous.java | 14 ++++---- .../faulttolerance/ExecutionContext.java | 8 ++--- .../faulttolerance/FallbackHandler.java | 10 +++--- .../FaultToleranceDefinitionException.java | 2 +- .../faulttolerance/package-info.java | 2 +- pom.xml | 2 +- spec/src/main/asciidoc/release_notes.asciidoc | 4 +-- tck/pom.xml | 6 ++-- .../fault/tolerance/tck/AsyncTimeoutTest.java | 8 ++--- .../tolerance/tck/AsynchronousCSTest.java | 2 +- .../fault/tolerance/tck/AsynchronousTest.java | 8 ++--- .../tck/CircuitBreakerBulkheadTest.java | 24 ++++++------- .../tck/CircuitBreakerInitialSuccessTest.java | 4 +-- .../tck/CircuitBreakerLateSuccessTest.java | 2 +- .../tolerance/tck/CircuitBreakerTest.java | 36 +++++++++---------- .../tck/CircuitBreakerTimeoutTest.java | 2 +- .../fault/tolerance/tck/ConfigTest.java | 24 ++++++------- .../fault/tolerance/tck/FallbackTest.java | 14 ++++---- .../fault/tolerance/tck/Misc.java | 2 +- .../tolerance/tck/RetryConditionTest.java | 2 +- .../fault/tolerance/tck/RetryTest.java | 10 +++--- .../fault/tolerance/tck/RetryTimeoutTest.java | 10 +++--- .../fault/tolerance/tck/TimeoutTest.java | 16 ++++----- .../tck/TimeoutUninterruptableTest.java | 6 ++-- .../asynchronous/AsyncClassLevelClient.java | 4 +-- .../tck/asynchronous/AsyncClient.java | 6 ++-- .../asynchronous/CompletableFutureHelper.java | 4 +-- .../AsyncClassLevelTimeoutClient.java | 4 +-- .../clientserver/AsyncTimeoutClient.java | 6 ++-- .../tck/bulkhead/BulkheadAsynchRetryTest.java | 4 +-- .../tck/bulkhead/BulkheadAsynchTest.java | 2 +- .../tck/bulkhead/BulkheadSynchRetryTest.java | 6 ++-- .../tck/bulkhead/BulkheadSynchTest.java | 4 +-- .../Bulkhead10ClassSemaphoreBean.java | 2 +- .../Bulkhead10MethodSemaphoreBean.java | 2 +- .../Bulkhead3ClassSemaphoreBean.java | 2 +- .../Bulkhead3MethodSemaphoreBean.java | 2 +- ...BulkheadClassAsynchronousQueueingBean.java | 2 +- .../clientserver/BulkheadPressureBean.java | 2 +- ...rcuitBreakerClassLevelClientWithDelay.java | 2 +- ...rcuitBreakerClassLevelClientWithRetry.java | 2 +- ...tBreakerClientDefaultSuccessThreshold.java | 2 +- ...itBreakerClientHigherSuccessThreshold.java | 2 +- .../CircuitBreakerClientWithDelay.java | 2 +- .../CircuitBreakerClientWithRetry.java | 8 ++--- .../CircuitBreakerClientWithRetryAsync.java | 10 +++--- .../CircuitBreakerClientWithTimeout.java | 4 +-- .../tck/config/ConfigAnnotationAsset.java | 12 +++---- .../clientserver/ConfigClassLevelClient.java | 2 +- .../ConfigClassLevelMaxDurationClient.java | 4 +-- .../tck/config/clientserver/ConfigClient.java | 4 +-- .../disableEnv/DisableAnnotationClient.java | 6 ++-- ...nGloballyEnableOnClassDisableOnMethod.java | 2 +- ...leAnnotationGloballyEnableOnClassTest.java | 2 +- ...eAnnotationGloballyEnableOnMethodTest.java | 2 +- ...leAnnotationOnClassEnableOnMethodTest.java | 2 +- .../tck/disableEnv/DisableClient.java | 10 +++--- .../tolerance/tck/disableEnv/DisableTest.java | 14 ++++---- .../tck/exception/hierarchy/package-info.java | 4 +-- .../extension/AwaitilityArchiveAppender.java | 2 +- .../extension/HamcrestArchiveAppender.java | 2 +- .../tck/extension/TckLoadableExtension.java | 2 +- .../FallbackClassLevelClient.java | 2 +- .../fallback/clientserver/FallbackClient.java | 2 +- .../clientserver/FallbackWithBeanClient.java | 2 +- .../SecondStringFallbackHandler.java | 2 +- .../clientserver/StringFallbackHandler.java | 2 +- .../StringFallbackHandlerWithBean.java | 2 +- .../tck/illegalConfig/FallbackClient.java | 4 +-- .../FallbackClientWithBothFallbacks.java | 4 +-- .../illegalConfig/FallbackMethodClient.java | 6 ++-- .../FallbackMethodWithArgsClient.java | 6 ++-- .../IncompatibleFallbackHandler.java | 2 +- .../IncompatibleFallbackMethodTest.java | 2 +- ...ncompatibleFallbackMethodWithArgsTest.java | 2 +- .../IncompatibleFallbackTest.java | 2 +- .../tck/interceptor/EarlyFtInterceptor.java | 2 +- .../FaultToleranceInterceptorTest.java | 4 +-- .../tck/interceptor/InterceptorComponent.java | 2 +- .../tck/interceptor/LateFtInterceptor.java | 2 +- .../tck/interceptor/OrderQueueProducer.java | 4 +-- .../ftPriorityChange/EarlyFtInterceptor.java | 2 +- ...eptorPriorityChangeAnnotationConfTest.java | 4 +-- .../InterceptorComponent.java | 2 +- .../ftPriorityChange/LateFtInterceptor.java | 2 +- .../AsynchronousClientForValidationClass.java | 4 +-- ...AsynchronousClientForValidationMethod.java | 2 +- .../BulkheadClientForValidation.java | 2 +- ...ulkheadClientForValidationAsynchQueue.java | 2 +- ...ircuitBreakerClientForValidationDelay.java | 2 +- ...kerClientForValidationFailureRatioNeg.java | 2 +- ...kerClientForValidationFailureRatioPos.java | 2 +- ...cuitBreakerClientForValidationReqVol0.java | 2 +- ...itBreakerClientForValidationReqVolNeg.java | 2 +- ...uitBreakerClientForValidationSuccess0.java | 2 +- ...tBreakerClientForValidationSuccessNeg.java | 2 +- .../InvalidBulkheadAsynchQueueTest.java | 2 +- .../InvalidBulkheadValueTest.java | 2 +- .../InvalidCircuitBreakerDelayTest.java | 2 +- ...alidCircuitBreakerFailureRatioNegTest.java | 2 +- ...alidCircuitBreakerFailureRatioPosTest.java | 2 +- ...validCircuitBreakerFailureReqVol0Test.java | 2 +- ...lidCircuitBreakerFailureReqVolNegTest.java | 2 +- ...alidCircuitBreakerFailureSuccess0Test.java | 2 +- ...idCircuitBreakerFailureSuccessNegTest.java | 2 +- .../InvalidRetryDelayDurationTest.java | 2 +- .../InvalidRetryDelayTest.java | 2 +- .../InvalidRetryJitterTest.java | 2 +- .../InvalidRetryMaxRetriesTest.java | 2 +- .../InvalidTimeoutValueTest.java | 2 +- .../RetryClientForValidationDelay.java | 2 +- ...RetryClientForValidationDelayDuration.java | 2 +- .../RetryClientForValidationJitter.java | 2 +- .../RetryClientForValidationMaxRetries.java | 2 +- .../TimeoutClientForValidation.java | 2 +- .../tck/metrics/util/CounterMetric.java | 6 ++-- .../tck/metrics/util/GaugeMetric.java | 8 ++--- .../tck/metrics/util/MetricGetter.java | 10 +++--- .../RetryClassLevelClientAbortOn.java | 2 +- .../RetryClassLevelClientForMaxRetries.java | 6 ++-- .../RetryClassLevelClientRetryOn.java | 2 +- .../clientserver/RetryClientAbortOn.java | 2 +- .../RetryClientForMaxRetries.java | 6 ++-- .../RetryClientForZeroJitter.java | 2 +- .../clientserver/RetryClientRetryOn.java | 6 ++-- .../clientserver/RetryClientWithDelay.java | 2 +- .../RetryClientWithNoDelayAndJitter.java | 2 +- .../clientserver/RetryTimeoutClient.java | 8 ++--- .../util/TelemetryGaugeMetric.java | 4 +-- .../clientserver/DefaultTimeoutClient.java | 6 ++-- .../clientserver/ShorterTimeoutClient.java | 6 ++-- .../timeout/clientserver/TimeoutClient.java | 10 +++--- .../UninterruptableTimeoutClient.java | 14 ++++---- .../fault/tolerance/tck/util/AsyncCaller.java | 2 +- .../tolerance/tck/util/AsyncTaskManager.java | 24 ++++++------- .../fault/tolerance/tck/util/Barrier.java | 2 +- .../tck/util/ConcurrentExecutionTracker.java | 2 +- .../tolerance/tck/util/DurationMatcher.java | 4 +-- .../fault/tolerance/tck/util/Exceptions.java | 2 +- .../visibility/retry/RetryVisibilityTest.java | 2 +- 141 files changed, 321 insertions(+), 321 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 76f4b408..2fd66572 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -50,7 +50,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - java: [11] + java: [17, 21] name: build with jdk ${{matrix.java}} steps: @@ -59,7 +59,7 @@ jobs: with: ref: ${{ github.event.pull_request.merge_commit_sha }} - - uses: actions/setup-java@v2 + - uses: actions/setup-java@v4 name: set up jdk ${{matrix.java}} with: java-version: ${{matrix.java}} diff --git a/api/src/main/java/org/eclipse/microprofile/faulttolerance/Asynchronous.java b/api/src/main/java/org/eclipse/microprofile/faulttolerance/Asynchronous.java index 2f7902e8..6db243c3 100644 --- a/api/src/main/java/org/eclipse/microprofile/faulttolerance/Asynchronous.java +++ b/api/src/main/java/org/eclipse/microprofile/faulttolerance/Asynchronous.java @@ -36,14 +36,14 @@ *
  • {@link java.util.concurrent.Future}
  • *
  • {@link java.util.concurrent.CompletionStage}
  • * - * + * * Otherwise, {@link org.eclipse.microprofile.faulttolerance.exceptions.FaultToleranceDefinitionException} occurs during * deployment. The return type {@link java.util.concurrent.CompletionStage} is preferred over * {@link java.util.concurrent.Future} as a {@link java.util.concurrent.Future} that completes exceptionally will not * trigger other Fault Tolerance operations even if specified (e.g. Retry), while a * {@link java.util.concurrent.CompletionStage} that completes exceptionally will trigger other Fault Tolerance * capabilities if specified (e.g. Retry). - * + * *

    * When a method marked with this annotation is called from one thread (which we will call Thread A), the method call is * intercepted, and execution of the method is submitted to run asynchronously on another thread (which we will call @@ -70,7 +70,7 @@ * At this point, any calls to the Future or CompletionStage returned in Thread A will be delegated to the Future or * CompletionStage returned from the execution in Thread B. * - * + * *

    * The call made on Thread A will never throw an exception, even if the method declares that it throws checked * exceptions, because the execution is going to occur on Thread B and hasn't happened yet. To avoid unnecessary @@ -86,14 +86,14 @@ *

  • If the method declares {@link java.util.concurrent.CompletionStage} as the return type, the CompletionStage * returned in Thread A is completed exceptionally with the exception.
  • * - * + * *

    * If a class is annotated with this annotation, all class methods are treated as if they were marked with this * annotation. If one of the methods doesn't return either Future or CompletionStage, * {@link org.eclipse.microprofile.faulttolerance.exceptions.FaultToleranceDefinitionException} occurs (at deploy time * if the bean is discovered during deployment). *

    - * + * *

    * Example usage: *

    @@ -111,11 +111,11 @@ * *
      * CompletionStage stage = getString().exceptionally(e -> {
    - *     handleException(e); 
    + *     handleException(e);
      *     return null;
      * });
      * 
    - * + * * @author Emily Jiang */ @Documented diff --git a/api/src/main/java/org/eclipse/microprofile/faulttolerance/ExecutionContext.java b/api/src/main/java/org/eclipse/microprofile/faulttolerance/ExecutionContext.java index 794a30d9..f3f60190 100644 --- a/api/src/main/java/org/eclipse/microprofile/faulttolerance/ExecutionContext.java +++ b/api/src/main/java/org/eclipse/microprofile/faulttolerance/ExecutionContext.java @@ -22,7 +22,7 @@ /** * The execution context for the method being executed. - * + * * @author Emily Jiang */ @org.osgi.annotation.versioning.ProviderType @@ -30,21 +30,21 @@ public interface ExecutionContext { /** * Returns the method being executed. - * + * * @return the method */ public Method getMethod(); /** * Returns the parameter values being passed to the method. - * + * * @return the parameter values, as an array */ public Object[] getParameters(); /** * Returns the failure of the method execution. - * + * * @return the failure of the method execution */ public Throwable getFailure(); diff --git a/api/src/main/java/org/eclipse/microprofile/faulttolerance/FallbackHandler.java b/api/src/main/java/org/eclipse/microprofile/faulttolerance/FallbackHandler.java index e180f6a2..8d066fa3 100644 --- a/api/src/main/java/org/eclipse/microprofile/faulttolerance/FallbackHandler.java +++ b/api/src/main/java/org/eclipse/microprofile/faulttolerance/FallbackHandler.java @@ -23,12 +23,12 @@ * instance must be assignable to the return type of the method, where the {@link Fallback} is specified. The container * must ensure this type safety. Otherwise, {@link IllegalArgumentException} should be thrown. *

    Usage

    - * + * *
      * public class MyService {
      *     @Inject
      *     OtherService otherService;
    - * 
    + *
      *     @Timeout(3000)
      *     @Fallback(MyFallback.class)
      *     Long getAmount() {
    @@ -46,7 +46,7 @@
      *     }
      * }
      * 
    - * + * * @author Emily Jiang * @author Ken Finnigan * @@ -54,10 +54,10 @@ public interface FallbackHandler { /** * Handle the previous calling failure and then call alternative methods or perform any alternative operations. - * + * * @param context * the execution context - * + * * @return the result of the fallback */ T handle(ExecutionContext context); diff --git a/api/src/main/java/org/eclipse/microprofile/faulttolerance/exceptions/FaultToleranceDefinitionException.java b/api/src/main/java/org/eclipse/microprofile/faulttolerance/exceptions/FaultToleranceDefinitionException.java index 4473e0f8..8bac3ab0 100644 --- a/api/src/main/java/org/eclipse/microprofile/faulttolerance/exceptions/FaultToleranceDefinitionException.java +++ b/api/src/main/java/org/eclipse/microprofile/faulttolerance/exceptions/FaultToleranceDefinitionException.java @@ -21,7 +21,7 @@ /** * The exception should be thrown when the definition of any Fault Tolerance annotations is invalid. The deployment * should fail. - * + * * Emily Jiang * */ diff --git a/api/src/main/java/org/eclipse/microprofile/faulttolerance/package-info.java b/api/src/main/java/org/eclipse/microprofile/faulttolerance/package-info.java index efe89dae..2f004b6e 100644 --- a/api/src/main/java/org/eclipse/microprofile/faulttolerance/package-info.java +++ b/api/src/main/java/org/eclipse/microprofile/faulttolerance/package-info.java @@ -22,7 +22,7 @@ *

    * CDI Support for Microprofile Fault Tolerance * - * + * * * @author Emily Jiang */ diff --git a/pom.xml b/pom.xml index 0f06dc62..8eca8080 100644 --- a/pom.xml +++ b/pom.xml @@ -19,7 +19,7 @@ org.eclipse.microprofile microprofile-parent - 2.6 + 2.9 org.eclipse.microprofile.fault-tolerance diff --git a/spec/src/main/asciidoc/release_notes.asciidoc b/spec/src/main/asciidoc/release_notes.asciidoc index 4a9c1fa8..f485c2c5 100644 --- a/spec/src/main/asciidoc/release_notes.asciidoc +++ b/spec/src/main/asciidoc/release_notes.asciidoc @@ -37,10 +37,10 @@ No. A full list of changes delivered in the 4.0 release can be found at link:https://github.com/eclipse/microprofile-fault-tolerance/milestone/10[MicroProfile Fault Tolerance 4.0 Milestone]. -==== Incompatible Changes +=== Incompatible Changes This release aligns with Jakarta EE 9.1, so it won't work with earlier versions of Jakarta or Java EE. -==== API/SPI Changes +=== API/SPI Changes There are no functional changes introduced in this release, except the dependency updating from javax to jakarta. [[release_notes_30]] diff --git a/tck/pom.xml b/tck/pom.xml index 2e520afd..7bad2003 100644 --- a/tck/pom.xml +++ b/tck/pom.xml @@ -68,7 +68,7 @@ io.opentelemetry opentelemetry-api - 1.36.0 + 1.39.0 @@ -94,13 +94,13 @@ io.opentelemetry opentelemetry-sdk-metrics - 1.36.0 + 1.39.0 io.opentelemetry opentelemetry-sdk-extension-autoconfigure - 1.36.0 + 1.39.0 diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/AsyncTimeoutTest.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/AsyncTimeoutTest.java index 554d2df5..e1b1a51f 100644 --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/AsyncTimeoutTest.java +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/AsyncTimeoutTest.java @@ -49,7 +49,7 @@ /** * Test the combination of the @Asynchronous and @Timeout annotations. - * + * * @author Neil Young * */ @@ -92,7 +92,7 @@ public static WebArchive deploy() { /** * Test that an Asynchronous Service times out as expected where the service is annotated with both * the @Asynchronous and @Timeout annotations. - * + * * A timeout is configured for serviceA but serviceA has a 5 second sleep so that, in this case, the service should * generate Timeout exceptions. */ @@ -151,7 +151,7 @@ public void testAsyncTimeout() { /** * Test that an Asynchronous Service does not throw a TimeoutException where the service completes more quickly than * the specified time out. The service is annotated with both @Asynchronous and @Timeout. - * + * * A 2 second timeout is configured for serviceB but serviceB has a 0.5 second sleep so that, in this case, the * service should NOT generate Timeout exceptions. */ @@ -189,7 +189,7 @@ public void testAsyncNoTimeout() { /** * Analogous to testAsyncTimeout but using Class level rather than method level annotations. - * + * * A timeout is configured for serviceA but serviceA has a 5 second sleep so that, in this case, the service should * generate Timeout exceptions. */ diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/AsynchronousCSTest.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/AsynchronousCSTest.java index 380fd102..dae82233 100644 --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/AsynchronousCSTest.java +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/AsynchronousCSTest.java @@ -155,7 +155,7 @@ public void testClassLevelAsyncIsFinished() { /** * Test that the callbacks added to the initial stage are executed after the stage returned by the asynchronous * method call is completed. - * + * * The callbacks added inside method invocation must be called first and then callbacks added to the result of the * call (on the calling thread) must be executed in the order they were added. */ diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/AsynchronousTest.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/AsynchronousTest.java index 8bf01eb6..c20dc742 100644 --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/AsynchronousTest.java +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/AsynchronousTest.java @@ -124,10 +124,10 @@ public void testClassLevelAsyncIsFinished() { /** * Test that the request context is active during execution for an asynchronous method that returns a * CompletionStage - * + * * If the request scope is active, then an @ApplicationScoped bean should be able to asynchronously call * an @Asynchronous method returning a CompletionStage on a @RequestScoped bean, and return the correct result - * + * * @throws TimeoutException * @throws ExecutionException * @throws InterruptedException @@ -142,10 +142,10 @@ public void testAsyncRequestContextWithCompletionStage() /** * Test that the request context is active during execution for an asynchronous method that returns a Future - * + * * If the request scope is active, then an @ApplicationScoped bean should be able to asynchronously call * an @Asynchronous method returning a Future on a @RequestScoped bean, and return the correct result - * + * * @throws TimeoutException * @throws ExecutionException * @throws InterruptedException diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/CircuitBreakerBulkheadTest.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/CircuitBreakerBulkheadTest.java index 12937c2f..66bd509d 100644 --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/CircuitBreakerBulkheadTest.java +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/CircuitBreakerBulkheadTest.java @@ -69,14 +69,14 @@ public static WebArchive deploy() { /** * A test to ensure that the CircuitBreaker is checked before entering the Bulkhead and that BulkheadExceptions * count as failures for the CircuitBreaker. - * + * * Uses an asynchronous bulkhead - * + * * With requestVolumeThreshold = 3, failureRatio = 1.0, delay = 50000 the expected behaviour is, - * + * * Execution Behaviour ========= ========= 1 Fill Bulkhead 2 Fill Bulkhead 3 BulkheadException 4 BulkheadException 5 * BulkheadException 6 CircuitBreakerOpenException 7 CircuitBreakerOpenException - * + * * @throws InterruptedException * if the test is interrupted * @throws TimeoutException @@ -116,14 +116,14 @@ public void testCircuitBreakerAroundBulkheadAsync() /** * A test to ensure that the CircuitBreaker is checked before entering the Bulkhead and that BulkheadExceptions * count as failures for the CircuitBreaker. - * + * * Uses a synchronous bulkhead - * + * * With requestVolumeThreshold = 3, failureRatio = 1.0, delay = 50000 the expected behaviour is, - * + * * Execution Behaviour ========= ========= 1 Fill Bulkhead 2 BulkheadException 3 BulkheadException 4 * BulkheadException 5 CircuitBreakerOpenException 6 CircuitBreakerOpenException - * + * * @throws InterruptedException * if the test is interrupted * @throws TimeoutException @@ -158,15 +158,15 @@ public void testCircuitBreakerAroundBulkheadSync() /** * A test to ensure that the CircuitBreaker does not open in response to a BulkheadException if {@code failOn} does * not include BulkheadException - * + * * Uses an asynchronous bulkhead - * + * * With requestVolumeThreshold = 3, failureRatio = 1.0, delay = 50000, failOn=TestException the expected behaviour * is, - * + * * Execution Behaviour ========= ========= 1 Fill Bulkhead 2 Fill Bulkhead 3 BulkheadException 4 BulkheadException 5 * BulkheadException 6 BulkheadException 7 BulkheadException - * + * * @throws InterruptedException * if the test is interrupted * @throws TimeoutException diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/CircuitBreakerInitialSuccessTest.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/CircuitBreakerInitialSuccessTest.java index 78196fe8..f3717c2a 100644 --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/CircuitBreakerInitialSuccessTest.java +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/CircuitBreakerInitialSuccessTest.java @@ -37,7 +37,7 @@ /** * Test CircuitBreaker using different success/failure pattern. - * + * * @author Neil Young * */ @@ -62,7 +62,7 @@ public static WebArchive deploy() { /** * Analagous to testCircuitDefaultSuccessThreshold but with a different success/failure pattern for the service that * is called. In this case, the service initially succeeds. - * + * * With requestVolumeThreshold = 4, failureRatio=0.75 and successThreshold = 1 the expected behaviour is, * * Execution Behaviour ========= ========= 1 SUCCESS 2 TestException 3 TestException 4 TestException 5 diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/CircuitBreakerLateSuccessTest.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/CircuitBreakerLateSuccessTest.java index 29b8d891..87f0c900 100644 --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/CircuitBreakerLateSuccessTest.java +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/CircuitBreakerLateSuccessTest.java @@ -37,7 +37,7 @@ /** * Test CircuitBreaker using different success/failure pattern. - * + * * @author Neil Young * */ diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/CircuitBreakerTest.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/CircuitBreakerTest.java index b295f6b6..4761784b 100644 --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/CircuitBreakerTest.java +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/CircuitBreakerTest.java @@ -42,7 +42,7 @@ /** * Test CircuitBreaker Thresholds and delays. - * + * * @author Neil Young * */ @@ -76,10 +76,10 @@ public static WebArchive deploy() { /** * A test to exercise Circuit Breaker thresholds, with a default SuccessThreshold - * + * * With requestVolumeThreshold = 4, failureRatio=0.75, successThreshold = 2, delay = 50000 the expected behaviour * is, - * + * * Execution Behaviour ========= ========= 1 TestException 2 TestException 3 TestException 4 TestException 5 * CircuitBreakerOpenException 6 CircuitBreakerOpenException 7 CircuitBreakerOpenException */ @@ -118,9 +118,9 @@ public void testCircuitClosedThenOpen() { /** * A test to exercise Circuit Breaker thresholds, with a SuccessThreshold of 2 - * + * * With requestVolumeThreshold = 4, failureRatio=0.75 and successThreshold = 2 the expected behaviour is, - * + * * Execution Behaviour ========= ========= 1 TestException 2 TestException 3 TestException 4 TestException Pause for * longer than CircuitBreaker delay, so that it transitions to half-open 5 SUCCEED 6 SUCCEED (CircuitBreaker will be * re-closed as successThreshold is 2) 7 SUCCEED @@ -165,7 +165,7 @@ public void testCircuitReClose() { /** * A test to exercise Circuit Breaker thresholds, with a default SuccessThreshold - * + * * With requestVolumeThreshold = 4, failureRatio=0.75 and successThreshold = 1 the expected behaviour is, * * Execution Behaviour ========= ========= 1 TestException 2 TestException 3 TestException 4 TestException 5 @@ -222,9 +222,9 @@ public void testCircuitDefaultSuccessThreshold() { /** * A test to exercise Circuit Breaker thresholds, with a default SuccessThreshold - * + * * With requestVolumeThreshold = 4, failureRatio=0.75 and successThreshold = 3 the expected behaviour is, - * + * * Execution Behaviour ========= ========= 1 TestException 2 TestException 3 TestException 4 TestException 5 * CircuitBreakerOpenException Pause for longer than CircuitBreaker delay, so that it transitions to half-open 6 * SUCCEED 7 SUCCEED 8 TestException (CircuitBreaker will be re-opened) 9 CircuitBreakerOpenException @@ -278,10 +278,10 @@ public void testCircuitHighSuccessThreshold() { /** * Analogous to testCircuitClosedThenOpen but using a Class level rather than method level annotation. - * + * * With requestVolumeThreshold = 4, failureRatio=0.75, successThreshold = 2 , delay = 50000 the expected behaviour * is, - * + * * Execution Behaviour ========= ========= 1 TestException 2 TestException 3 TestException 4 TestException 5 * CircuitBreakerOpenException 6 CircuitBreakerOpenException 7 CircuitBreakerOpenException */ @@ -323,9 +323,9 @@ public void testClassLevelCircuitBase() { /** * Analogous to testCircuitClosedThenOpen but with a Class level annotation specified that is overridden by a Method * level annotation on serviceC. - * + * * With successThreshold = 2, requestVolumeThreshold = 2, failureRatio=1, delay = 50000 the expected behaviour is, - * + * * Execution Behaviour ========= ========= 1 TestException 2 TestException 3 CircuitBreakerOpenException 4 * CircuitBreakerOpenException 5 CircuitBreakerOpenException 6 CircuitBreakerOpenException 7 * CircuitBreakerOpenException @@ -368,9 +368,9 @@ public void testClassLevelCircuitOverride() { /** * Analogous to testCircuitReClose but with a Class level annotation specified that is overridden by a Method level * annotation on serviceD. - * + * * With successThreshold = 2, requestVolumeThreshold = 4, failureRatio=0.75, delay = 1 the expected behaviour is, - * + * * Execution Behaviour ========= ========= 1 TestException 2 TestException 3 TestException 4 TestException Pause for * longer than CircuitBreaker delay, so that it transitions to half-open 5 SUCCEED 6 SUCCEED (CircuitBreaker will be * re-closed as successThreshold is 2) 7 SUCCEED @@ -421,9 +421,9 @@ public void testClassLevelCircuitOverrideNoDelay() { /** * A test to exercise Circuit Breaker rolling window - * + * * With requestVolumeThreshold = 4, failureRatio=0.5, expected behaviour is, - * + * * Execution Behaviour ========= ========= 1 Success 2 TestException 3 TestException 4 Success 5 * CircuitBreakerOpenException */ @@ -463,9 +463,9 @@ public void testRollingWindowCircuitOpen() { /** * A test to exercise Circuit Breaker rolling window - * + * * With requestVolumeThreshold = 4, failureRatio=0.5, expected behaviour is, - * + * * Execution Behaviour ========= ========= 1 Success 2 TestException 3 Success 4 Success 5 TestException 6 * CircuitBreakerOpenException */ diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/CircuitBreakerTimeoutTest.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/CircuitBreakerTimeoutTest.java index f34b9bcf..bdd89372 100644 --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/CircuitBreakerTimeoutTest.java +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/CircuitBreakerTimeoutTest.java @@ -35,7 +35,7 @@ /** * Test the combination of {@code @CircuitBreaker} and {@code @Timeout} - * + * * @author Andrew Rouse */ public class CircuitBreakerTimeoutTest extends Arquillian { diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/ConfigTest.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/ConfigTest.java index cc5b03f2..47d4f838 100644 --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/ConfigTest.java +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/ConfigTest.java @@ -37,10 +37,10 @@ /** * Test that Fault Tolerance values configured through annotations can be overridden by configuration properties. - * + * * The test assumes that the container supports both the MicroProfile Configuration API and the MicroProfile Fault * Tolerance API. Configuration Properties are provided in the manifest of the deployed application. - * + * * @author Neil Young * */ @@ -76,10 +76,10 @@ public static WebArchive deploy() { /** * Test the configuration of maxRetries on a specific method. - * + * * The serviceA is annotated with maxRetries = 5, but a configuration property overrides it with a value of 3, so * serviceA should be executed 4 times. - * + * * The test assumes that the container has been configured with the property, * org.eclipse.microprofile.fault.tolerance.tck.config.clientserver.ConfigClient/serviceA/Retry/maxRetries=3 */ @@ -98,10 +98,10 @@ public void testConfigMaxRetries() { /** * Test the configuration of maxRetries on a class. - * + * * The class is annotated with maxRetries = 5, but a configuration property overrides it with a value of 3, so * serviceA should be executed 4 times. - * + * * The test assumes that the container has been configured with the property, * org.eclipse.microprofile.fault.tolerance.tck.config.clientserver.ConfigClassLevelClient/Retry/maxRetries=3 */ @@ -120,10 +120,10 @@ public void testClassLevelConfigMaxRetries() { /** * Test the configuration of maxRetries on a class. - * + * * The class is annotated with maxRetries = 5. A configuration property overrides it with a value of 3 but serviceB * has its own annotation and should be executed 2 times. - * + * * The test assumes that the container has been configured with the property, * org.eclipse.microprofile.fault.tolerance.tck.config.clientserver.ConfigClassLevelClient/Retry/maxRetries=3 */ @@ -142,10 +142,10 @@ public void testClassLevelConfigMethodOverrideMaxRetries() { /** * Test the configuration of maxDuration on a specific method. - * + * * The serviceA is annotated with maxDuration=3000 but a configuration property overrides it with a value of 1000, * so serviceA should be executed 11 or less times. - * + * * The test assumes that the container has been configured with the property, * org.eclipse.microprofile.fault.tolerance.tck.config.clientserver.ConfigClient/serviceC/Retry/maxDuration=1000 */ @@ -168,10 +168,10 @@ public void testConfigMaxDuration() { /** * Test the configuration of maxDuration on a class. - * + * * The class is annotated with maxDuration=3000 but a configuration property overrides it with a value of 1000 so * serviceA should be executed 11 or less times. - * + * * The test assumes that the container has been configured with the property, * org.eclipse.microprofile.fault.tolerance.tck.config.clientserver.ConfigClassLevelMaxDurationClient/Retry/maxDuration=1000 */ diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/FallbackTest.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/FallbackTest.java index b28f1211..fd2c605b 100644 --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/FallbackTest.java +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/FallbackTest.java @@ -42,7 +42,7 @@ /** * Test fallback was invoked correctly; fallback handler supporting CDI injection; type safety on fallback class. - * + * * @author Neil Young * */ @@ -71,7 +71,7 @@ public static WebArchive deploy() { /** * Test that a Fallback service is driven after the specified number of retries are executed. - * + * * Each of serviceA and serviceB specify the same FallbackHandler. The test checks that the handler has been driven * in the correct ExecutionContext and that the Service has been executed the correct number of times. */ @@ -100,7 +100,7 @@ public void testFallbackSuccess() { /** * A refinement on testFallbackSuccess to test that a bean may be injected in the FallbackHandler. - * + * * Each of serviceA and serviceB specify the same FallbackHandler. The test checks that the handler has been driven * in the correct ExecutionContext and that the Service has been executed the correct number of times. */ @@ -166,7 +166,7 @@ public void testClassLevelFallbackSuccess() { /** * Test that a Fallback service is driven after the specified number of retries are executed. - * + * * A timeout is configured for serviceC but the service should fail before the timeout is reached and generate a * RuntimeException. After a retry the Fallback will be executed. */ @@ -190,7 +190,7 @@ public void testFallbacktNoTimeout() { /** * Test that a Fallback service is driven after the specified number of retries are executed. - * + * * A timeout is configured for serviceC and in this case the service should generate Timeout exceptions. After a * retry the Fallback will be executed. */ @@ -214,7 +214,7 @@ public void testFallbackTimeout() { /** * Test that a method in a Fallback service is driven after the specified number of retries are executed. - * + * * ServiceD specifies a method on a FallbackHandler. The test checks that the FallbackHandler method has been driven * and that the Service has been executed the correct number of times. */ @@ -235,7 +235,7 @@ public void testFallbackMethodSuccess() { /** * Analogous to testFallbackMethodSuccess but serviceE has a pair of parameters. - * + * * ServiceE specifies a method on a FallbackHandler. The test checks that the FallbackHandler method has been driven * and that the Service has been executed the correct number of times. */ diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/Misc.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/Misc.java index 820c6286..a81b41ca 100644 --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/Misc.java +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/Misc.java @@ -26,7 +26,7 @@ public abstract class Misc { public abstract static class Ints { /** * Search for the existence of an int value in a given int array. - * + * * @param data * the int data to search into * @param value diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/RetryConditionTest.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/RetryConditionTest.java index eb1676f0..0bd13ab9 100644 --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/RetryConditionTest.java +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/RetryConditionTest.java @@ -57,7 +57,7 @@ /** * Test the retryOn and abortOn conditions. If retryOn condition is not met, no retry will be performed. If abortOn * condition is met, no retry will be performed. - * + * * @author Emily Jiang * */ diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/RetryTest.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/RetryTest.java index 38a14bbc..af9db624 100644 --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/RetryTest.java +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/RetryTest.java @@ -39,7 +39,7 @@ /** * Test when maxDuration is reached, no more retries will be perfomed. Test the delay and jitter were taken into * consideration. - * + * * @author Emily Jiang * */ @@ -74,7 +74,7 @@ public static WebArchive deploy() { /** * Test maxRetries. - * + * * As serviceA is annotated with maxRetries = 5, serviceA should be executed 6 times. */ @Test @@ -164,7 +164,7 @@ public void testRetryWithNoDelayAndJitter() { /** * Analogous to testRetryMaxRetries but using a Class level rather than method level annotation. - * + * * With maxRetries = 2, serviceA should be executed 3 times. */ @Test @@ -184,7 +184,7 @@ public void testClassLevelRetryMaxRetries() { /** * Analogous to testRetryMaxDuration, testing whether the {@code @Retry} annotation on method serviceB overrides the * Class level {@code @Retry} annotation. - * + * * Ensure that serviceB is executed more than the maxRetries of 2 specified at the Class level. */ @Test @@ -211,7 +211,7 @@ public void testClassLevelRetryMaxDuration() { /** * Analogous to testRetryMaxDurationSeconds, testing whether the {@code @Retry} annotation on method serviceB * overrides the Class level {@code @Retry} annotation. - * + * * Ensure that serviceB is executed more than the maxRetries of 2 specified at the Class level. */ @Test diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/RetryTimeoutTest.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/RetryTimeoutTest.java index e02ea7ea..52b4695d 100644 --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/RetryTimeoutTest.java +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/RetryTimeoutTest.java @@ -42,7 +42,7 @@ /** * Test the combination of the @Retry and @Timeout annotations. - * + * * @author Emily Jiang * @author Andrew Rouse * @@ -78,9 +78,9 @@ public static WebArchive deploy() { /** * Test that a Service is retried the expected number of times. - * + * * A timeout is configured for serviceA and in this case the service should generate Timeout exceptions. - * + * * The service should be retried. */ @Test @@ -100,10 +100,10 @@ public void testRetryTimeout() { /** * Test that a Service is retried the expected number of times. - * + * * A timeout is configured for serviceA but the service should fail before the timeout is reached and generate a * RuntimeException. - * + * * The service should be retried. */ @Test diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/TimeoutTest.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/TimeoutTest.java index 9d7d817d..d226c6e9 100644 --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/TimeoutTest.java +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/TimeoutTest.java @@ -37,7 +37,7 @@ /** * Tests to exercise Fault Tolerance Timeouts. - * + * * @author Neil Young * */ @@ -62,7 +62,7 @@ public static WebArchive deploy() { /** * A test to exercise the default timeout. The default Fault Tolerance timeout is 1 second but serviceA will attempt * to sleep for 20 seconds, so should throw a TimeoutException. - * + * */ @Test public void testTimeout() { @@ -80,7 +80,7 @@ public void testTimeout() { /** * A test that should not time out. The default Fault Tolerance timeout is 1 second but serviceA will attempt to * sleep for only 10 milliseconds before throwing a RuntimeException. There should be no Timeout. - * + * */ @Test public void testNoTimeout() { @@ -116,7 +116,7 @@ public void testGTDefaultTimeout() { * A test that should not time out. The Fault Tolerance timeout is set to 2 seconds but serviceB will attempt to * sleep for 1.5 seconds - so longer than a default timeout but shorter than the timeout that has been configured, * before throwing a RuntimeException. There should be no Timeout. - * + * */ @Test public void testGTDefaultNoTimeout() { @@ -152,7 +152,7 @@ public void testLTDefaultTimeout() { /** * A test that should not time out. The Fault Tolerance timeout is set to a (non-default) 0.5 seconds but serviceC * will attempt to sleep for only 10 milliseconds before throwing a RuntimeException. There should be no Timeout. - * + * */ @Test public void testLTDefaultNoTimeout() { @@ -190,7 +190,7 @@ public void testSecondsTimeout() { * A test that should not time out. The Fault Tolerance timeout is set to 2 seconds but serviceD will attempt to * sleep for 1.5 seconds - so longer than a default timeout but shorter than the timeout that has been configured, * before throwing a RuntimeException. There should be no Timeout. - * + * */ @Test public void testSecondsNoTimeout() { @@ -208,7 +208,7 @@ public void testSecondsNoTimeout() { /** * A parallel test to testTimeout with class level annotation. The default Fault Tolerance timeout is 1 second but * serviceA will attempt to sleep for 20 seconds, so should throw a TimeoutException. - * + * */ @Test public void testTimeoutClassLevel() { @@ -227,7 +227,7 @@ public void testTimeoutClassLevel() { * A parallel test to testNoTimeout with class level annotation. The default Fault Tolerance timeout is 1 second but * serviceA will attempt to sleep for only 10 milliseconds before throwing a RuntimeException. There should be no * Timeout. - * + * */ @Test public void testNoTimeoutClassLevel() { diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/TimeoutUninterruptableTest.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/TimeoutUninterruptableTest.java index d9ab439b..c5e264e8 100644 --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/TimeoutUninterruptableTest.java +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/TimeoutUninterruptableTest.java @@ -207,7 +207,7 @@ public void testTimeoutAsyncBulkhead() throws InterruptedException { /** * Test that the timeout timer is started when the execution is added to the queue - * + * * @throws InterruptedException * if the test is interrupted * @throws ExecutionException @@ -261,7 +261,7 @@ public void testTimeoutAsyncRetry() { /** * Test that the fallback is run as soon as the timeout occurs - * + * * @throws InterruptedException * if the test is interrupted */ @@ -290,7 +290,7 @@ public void testTimeoutAsyncFallback() throws InterruptedException { /** * Creates a waiting future and adds it to a list to be cleaned up at the end of the test - * + * * @return the waiting future */ private CompletableFuture newWaitingFuture() { diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/asynchronous/AsyncClassLevelClient.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/asynchronous/AsyncClassLevelClient.java index 69e8e155..c54b596e 100644 --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/asynchronous/AsyncClassLevelClient.java +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/asynchronous/AsyncClassLevelClient.java @@ -43,7 +43,7 @@ public class AsyncClassLevelClient { /** * Service an operation until waitCondition is completed or 1000 second timeout. - * + * * @param waitCondition * Execution of this method will delay until the condition is finished * @return the result as a Future. @@ -56,7 +56,7 @@ public Future service(Future waitCondition) { /** * Service an operation until waitCondition is completed or 1000 second timeout. NOTE: This 1000 second timeout is * to ensure test timeout kicks in before the operation timeout for a better test error to be displayed. - * + * * @param waitCondition * Execution of this method will delay until the condition is finished * @param throwException diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/asynchronous/AsyncClient.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/asynchronous/AsyncClient.java index fe06910d..b30b01b5 100644 --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/asynchronous/AsyncClient.java +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/asynchronous/AsyncClient.java @@ -42,7 +42,7 @@ public class AsyncClient { /** * Service an operation until waitCondition is completed or 1000 second timeout. - * + * * @param waitCondition * Execution of this method will delay until the condition is finished * @return the result as a Future. @@ -54,7 +54,7 @@ public Future service(Future waitCondition) { /** * Service an operation until waitCondition is completed or 1000 second timeout. - * + * * @param waitCondition * Execution of this method will delay until the condition is finished * @param throwException @@ -82,7 +82,7 @@ public CompletionStage serviceCS(Future waitCondition, * Helper method that allows to complete a future in an exceptional or a non exceptional way also simulates a * service processing waiting time. NOTE: This 1000 second timeout is to ensure test timeout kicks in before the * operation timeout for a better test error to be displayed. - * + * * @param waitCondition * Future that will simulate the services processing * @param throwException diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/asynchronous/CompletableFutureHelper.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/asynchronous/CompletableFutureHelper.java index 9b5c7d8d..3159f0fe 100644 --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/asynchronous/CompletableFutureHelper.java +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/asynchronous/CompletableFutureHelper.java @@ -34,7 +34,7 @@ private CompletableFutureHelper() { // this is a util class only for static meth /** * Creates a future completed with a supplied exception. Equivalent to * {@link CompletableFuture}{@code .failedFuture} available since Java 9 but not in Java 8. - * + * * @param * The type of the future result * @param ex @@ -51,7 +51,7 @@ public static CompletableFuture failedFuture(Throwable ex) { * Returns a future that is completed when the stage is completed and has the same value or exception as the * completed stage. It's supposed to be equivalent to calling {@link CompletionStage#toCompletableFuture()} but * works with any CompletionStage and doesn't throw {@link java.lang.UnsupportedOperationException}. - * + * * @param * The type of the future result * @param stage diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/asynctimeout/clientserver/AsyncClassLevelTimeoutClient.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/asynctimeout/clientserver/AsyncClassLevelTimeoutClient.java index 72278550..a5fde866 100644 --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/asynctimeout/clientserver/AsyncClassLevelTimeoutClient.java +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/asynctimeout/clientserver/AsyncClassLevelTimeoutClient.java @@ -31,7 +31,7 @@ /** * A client to demonstrate the combination of the @Retry and @Timeout annotations when applied at the Class level. - * + * * @author Neil Young * */ @@ -43,7 +43,7 @@ public class AsyncClassLevelTimeoutClient { /** * serviceA is a slow running service that will take 5 seconds in normal operation. Here it is configured to time * out after 2 seconds. - * + * * @return the result as a Future * @throws InterruptedException * the interrupted exception diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/asynctimeout/clientserver/AsyncTimeoutClient.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/asynctimeout/clientserver/AsyncTimeoutClient.java index e0471b2c..3a14a332 100644 --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/asynctimeout/clientserver/AsyncTimeoutClient.java +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/asynctimeout/clientserver/AsyncTimeoutClient.java @@ -31,7 +31,7 @@ /** * A client to demonstrate the combination of the @Retry and @Timeout annotations. - * + * * @author Neil Young * */ @@ -41,7 +41,7 @@ public class AsyncTimeoutClient { /** * serviceA is a slow running service that will take 5 seconds in normal operation. Here it is configured to time * out after 2 seconds. - * + * * @return the result as a Future * @throws InterruptedException * the interrupted exception @@ -67,7 +67,7 @@ public String getData() { /** * serviceB is a fast running service that will take 0.5 seconds in normal operation. That is considerably quicker * than its configured time out of 2 seconds. - * + * * @return the result as a Future * @throws InterruptedException * the interrupted exception diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/bulkhead/BulkheadAsynchRetryTest.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/bulkhead/BulkheadAsynchRetryTest.java index 207a9ca6..2ef7edba 100644 --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/bulkhead/BulkheadAsynchRetryTest.java +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/bulkhead/BulkheadAsynchRetryTest.java @@ -160,7 +160,7 @@ public void testBulkheadExceptionRetriedClassAsync() { *

    * This test fills the bulkhead and the queue, tries to run an additional task, empties the bulkhead and the queue * and checks that the additional task runs. - * + * * @param maxRunning * bulkhead size * @param maxQueued @@ -303,7 +303,7 @@ public void testNoRetriesWithoutRetryOn() throws InterruptedException { /** * Test that retries do not occur when BulkheadException is included in the abortOn attribute - * + * * @throws InterruptedException * if the test is interrupted */ diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/bulkhead/BulkheadAsynchTest.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/bulkhead/BulkheadAsynchTest.java index 414a689f..86d85633 100644 --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/bulkhead/BulkheadAsynchTest.java +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/bulkhead/BulkheadAsynchTest.java @@ -229,7 +229,7 @@ public void testBulkheadCompletionStage() throws InterruptedException, Execution *

    * The {@code bulkheadMethod} should be a reference to a method annotated with {@link Bulkhead} and * {@link Asynchronous} which accepts a {@code Barrier} and calls {@link Barrier#await()}. - * + * * @param maxRunning * expected number of tasks permitted to run * @param maxQueued diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/bulkhead/BulkheadSynchRetryTest.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/bulkhead/BulkheadSynchRetryTest.java index 029298f4..4c0fc4f6 100644 --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/bulkhead/BulkheadSynchRetryTest.java +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/bulkhead/BulkheadSynchRetryTest.java @@ -165,7 +165,7 @@ public void testRetryBulkheadExceptionClass() throws InterruptedException { * *

    * This second point is particularly important if Retry is used with a long delay. - * + * * @throws InterruptedException * if the test is interrupted */ @@ -209,7 +209,7 @@ public void testRetryTestExceptionClass() throws InterruptedException { * *

    * This second point is particularly important if Retry is used with a long delay. - * + * * @throws InterruptedException * if the test is interrupted */ @@ -271,7 +271,7 @@ public void testNoRetriesWithMaxRetriesZero() { * Tests that a Bulkhead + Retry configuration does not retry on BulkheadException *

    * The test method should be configured with {@code Bulkhead(1)} and a 1 second delay on Retry. - * + * * @param testMethod * the test method */ diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/bulkhead/BulkheadSynchTest.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/bulkhead/BulkheadSynchTest.java index 762a1923..617a074f 100644 --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/bulkhead/BulkheadSynchTest.java +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/bulkhead/BulkheadSynchTest.java @@ -74,7 +74,7 @@ public class BulkheadSynchTest extends Arquillian { /** * This is the Arquillian deploy method that controls the contents of the war that contains all the tests. - * + * * @return the test war "ftBulkheadSynchTest.war" */ @Deployment @@ -158,7 +158,7 @@ public void testSemaphoreWaitingTaskQueueIgnored() { *

    * The {@code bulkheadMethod} should be a reference to a method annotated with {@link Bulkhead} which accepts a * {@code Barrier} and calls {@link Barrier#await()}. - * + * * @param maxRunning * expected number of tasks permitted to run * @param bulkheadMethod diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/bulkhead/clientserver/Bulkhead10ClassSemaphoreBean.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/bulkhead/clientserver/Bulkhead10ClassSemaphoreBean.java index 0457ecbc..5a61f721 100644 --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/bulkhead/clientserver/Bulkhead10ClassSemaphoreBean.java +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/bulkhead/clientserver/Bulkhead10ClassSemaphoreBean.java @@ -26,7 +26,7 @@ /** * A simple class level Semaphore @Bulkhead(10) - * + * * @author Gordon Hutchison * @author Andrew Rouse */ diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/bulkhead/clientserver/Bulkhead10MethodSemaphoreBean.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/bulkhead/clientserver/Bulkhead10MethodSemaphoreBean.java index 525c140f..fc1595eb 100644 --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/bulkhead/clientserver/Bulkhead10MethodSemaphoreBean.java +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/bulkhead/clientserver/Bulkhead10MethodSemaphoreBean.java @@ -26,7 +26,7 @@ /** * A simple method level Semaphore @Bulkhead(10) - * + * * @author Gordon Hutchison * @author Andrew Rouse */ diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/bulkhead/clientserver/Bulkhead3ClassSemaphoreBean.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/bulkhead/clientserver/Bulkhead3ClassSemaphoreBean.java index 86f250e6..c9d33f4a 100644 --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/bulkhead/clientserver/Bulkhead3ClassSemaphoreBean.java +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/bulkhead/clientserver/Bulkhead3ClassSemaphoreBean.java @@ -26,7 +26,7 @@ /** * A simple class level Semaphore @Bulkhead - * + * * @author Gordon Hutchison * @author Andrew Rouse */ diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/bulkhead/clientserver/Bulkhead3MethodSemaphoreBean.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/bulkhead/clientserver/Bulkhead3MethodSemaphoreBean.java index fc13ae85..2fde022a 100644 --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/bulkhead/clientserver/Bulkhead3MethodSemaphoreBean.java +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/bulkhead/clientserver/Bulkhead3MethodSemaphoreBean.java @@ -26,7 +26,7 @@ /** * A simple method level Semaphore @Bulkhead(3) - * + * * @author Gordon Hutchison * @author Andrew Rouse */ diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/bulkhead/clientserver/BulkheadClassAsynchronousQueueingBean.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/bulkhead/clientserver/BulkheadClassAsynchronousQueueingBean.java index 631338bc..ffd1bb60 100644 --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/bulkhead/clientserver/BulkheadClassAsynchronousQueueingBean.java +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/bulkhead/clientserver/BulkheadClassAsynchronousQueueingBean.java @@ -30,7 +30,7 @@ /** * A class level {@code @Asynchronous @Bulkhead(value = 5, waitingTaskQueue = 5)} bean - * + * * @author Gordon Hutchison * @author Andrew Rouse */ diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/bulkhead/clientserver/BulkheadPressureBean.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/bulkhead/clientserver/BulkheadPressureBean.java index 5050d408..79f97583 100644 --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/bulkhead/clientserver/BulkheadPressureBean.java +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/bulkhead/clientserver/BulkheadPressureBean.java @@ -33,7 +33,7 @@ import jakarta.enterprise.context.ApplicationScoped; /** - * + * */ @ApplicationScoped public class BulkheadPressureBean { diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/circuitbreaker/clientserver/CircuitBreakerClassLevelClientWithDelay.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/circuitbreaker/clientserver/CircuitBreakerClassLevelClientWithDelay.java index 74a651d0..553a53a3 100644 --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/circuitbreaker/clientserver/CircuitBreakerClassLevelClientWithDelay.java +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/circuitbreaker/clientserver/CircuitBreakerClassLevelClientWithDelay.java @@ -31,7 +31,7 @@ * A client to exercise Circuit Breaker thresholds, with a SuccessThreshold of 2, a requestVolumeThreshold of 4, * failureRatio of 0.75 and a 50 second delay, so that, once opened, the Circuit Breaker remains open for the duration * of the test. - * + * * @author Neil Young * */ diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/circuitbreaker/clientserver/CircuitBreakerClassLevelClientWithRetry.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/circuitbreaker/clientserver/CircuitBreakerClassLevelClientWithRetry.java index d7e3f9ce..9a4932ee 100644 --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/circuitbreaker/clientserver/CircuitBreakerClassLevelClientWithRetry.java +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/circuitbreaker/clientserver/CircuitBreakerClassLevelClientWithRetry.java @@ -31,7 +31,7 @@ /** * A client to exercise Circuit Breaker thresholds using Retries. Annotations are specified at both the Class and Method * level. - * + * * @author Neil Young * */ diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/circuitbreaker/clientserver/CircuitBreakerClientDefaultSuccessThreshold.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/circuitbreaker/clientserver/CircuitBreakerClientDefaultSuccessThreshold.java index 7629647b..4d2cb511 100644 --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/circuitbreaker/clientserver/CircuitBreakerClientDefaultSuccessThreshold.java +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/circuitbreaker/clientserver/CircuitBreakerClientDefaultSuccessThreshold.java @@ -32,7 +32,7 @@ /** * A client to exercise Circuit Breaker thresholds, with a default SuccessThreshold of 1, a requestVolumeThreshold of 4, * failureRatio of 0.75 and a 1 second delay. - * + * * @author Neil Young * */ diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/circuitbreaker/clientserver/CircuitBreakerClientHigherSuccessThreshold.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/circuitbreaker/clientserver/CircuitBreakerClientHigherSuccessThreshold.java index 0e4a9528..40b2148a 100644 --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/circuitbreaker/clientserver/CircuitBreakerClientHigherSuccessThreshold.java +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/circuitbreaker/clientserver/CircuitBreakerClientHigherSuccessThreshold.java @@ -30,7 +30,7 @@ /** * A client to exercise Circuit Breaker thresholds, with a SuccessThreshold of 3, a requestVolumeThreshold of 4, * failureRatio of 0.75 and a 1 second delay. - * + * * @author Neil Young * */ diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/circuitbreaker/clientserver/CircuitBreakerClientWithDelay.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/circuitbreaker/clientserver/CircuitBreakerClientWithDelay.java index a4e956b6..46322f6e 100644 --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/circuitbreaker/clientserver/CircuitBreakerClientWithDelay.java +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/circuitbreaker/clientserver/CircuitBreakerClientWithDelay.java @@ -31,7 +31,7 @@ * A client to exercise Circuit Breaker thresholds, with a SuccessThreshold of 2, a requestVolumeThreshold of 4, * failureRatio of 0.75 and a 50 second delay, so that, once opened, the Circuit Breaker remains open for the duration * of the test. - * + * * @author Neil Young * */ diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/circuitbreaker/clientserver/CircuitBreakerClientWithRetry.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/circuitbreaker/clientserver/CircuitBreakerClientWithRetry.java index 94259d47..fd35508f 100644 --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/circuitbreaker/clientserver/CircuitBreakerClientWithRetry.java +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/circuitbreaker/clientserver/CircuitBreakerClientWithRetry.java @@ -34,7 +34,7 @@ /** * A client to exercise Circuit Breaker thresholds using Retries. - * + * * @author Neil Young * @author Andrew Rouse */ @@ -95,7 +95,7 @@ public Connection serviceC() { /** * Has a CircuitBreaker and Retries on CircuitBreakerOpenException - * + * * @param throwException * whether this method should throw a TestException to simulate an application failure * @return string "OK" @@ -115,7 +115,7 @@ public String serviceWithRetryOnCbOpen(boolean throwException) { * Has a CircuitBreaker and Retries on TimeoutException *

    * The method should never throw a TimeoutException so the retry should have no effect - * + * * @param throwException * whether this method should throw a TestException to simulate an application failure * @return string "OK" @@ -133,7 +133,7 @@ public String serviceWithRetryOnTimeout(boolean throwException) { /** * Has a CircuitBreaker and Retries on all exceptions except TestException and CircuitBreakerOpenException - * + * * @param throwException * whether this method should throw a TestException to simulate an application failure * @return string "OK" diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/circuitbreaker/clientserver/CircuitBreakerClientWithRetryAsync.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/circuitbreaker/clientserver/CircuitBreakerClientWithRetryAsync.java index 154f4193..104efeca 100644 --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/circuitbreaker/clientserver/CircuitBreakerClientWithRetryAsync.java +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/circuitbreaker/clientserver/CircuitBreakerClientWithRetryAsync.java @@ -38,9 +38,9 @@ /** * A client to exercise Circuit Breaker thresholds using Retries. - * + * * Analogous to {@link CircuitBreakerClientWithRetry} but methods are annotated with {@link Asynchronous} - * + * * @author Neil Young * @author Andrew Rouse */ @@ -104,7 +104,7 @@ public Future serviceC() { /** * Has a CircuitBreaker and Retries on CircuitBreakerOpenException - * + * * @param throwException * whether this method should throw a test exception to simulate an application failure * @return string "OK" @@ -125,7 +125,7 @@ public Future serviceWithRetryOnCbOpen(boolean throwException) { * Has a CircuitBreaker and Retries on TimeoutException *

    * The method should never throw a TimeoutException so the retry should have no effect - * + * * @param throwException * whether this method should throw a TestException to simulate an application failure * @return string "OK" @@ -144,7 +144,7 @@ public Future serviceWithRetryOnTimeout(boolean throwException) { /** * Has a CircuitBreaker and Retries on all exceptions except TestException and CircuitBreakerOpenException - * + * * @param throwException * whether this method should throw a TestException to simulate an application failure * @return string "OK" diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/circuitbreaker/clientserver/CircuitBreakerClientWithTimeout.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/circuitbreaker/clientserver/CircuitBreakerClientWithTimeout.java index 36da4364..9f99d8ec 100644 --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/circuitbreaker/clientserver/CircuitBreakerClientWithTimeout.java +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/circuitbreaker/clientserver/CircuitBreakerClientWithTimeout.java @@ -35,7 +35,7 @@ public class CircuitBreakerClientWithTimeout { * Sleeps for 1000ms, times out after 500ms *

    * CircuitBreaker opens after two failed requests - * + * * @return should always throw TimeoutException, unless CircuitBreaker prevents execution */ @CircuitBreaker(successThreshold = 2, requestVolumeThreshold = 2, failureRatio = 0.75, delay = 50000) @@ -56,7 +56,7 @@ public String serviceWithTimeout() { * CircuitBreaker opens after two BulkheadExceptions *

    * The method should never throw a BulkheadException so the CircuitBreaker should have no effect - * + * * @return should always throw TimeoutException */ @CircuitBreaker(successThreshold = 2, requestVolumeThreshold = 2, failureRatio = 0.75, delay = 50000, diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/config/ConfigAnnotationAsset.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/config/ConfigAnnotationAsset.java index e25f8c2a..b50aebbf 100644 --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/config/ConfigAnnotationAsset.java +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/config/ConfigAnnotationAsset.java @@ -68,7 +68,7 @@ public InputStream openStream() { *

  • Timeout.value
  • *
  • CircuitBreaker.delay
  • * - * + * * @return {@code this} */ public ConfigAnnotationAsset autoscaleMethod(Class clazz, final String method) { @@ -103,7 +103,7 @@ public ConfigAnnotationAsset autoscaleMethod(Class clazz, final String method *
  • Timeout.value
  • *
  • CircuitBreaker.delay
  • * - * + * * @return {@code this} */ public ConfigAnnotationAsset autoscaleClass(Class clazz) { @@ -116,7 +116,7 @@ public ConfigAnnotationAsset autoscaleClass(Class clazz) { *

    * If {@code method} is provided, then config will be generated for annotations on the method, otherwise config will * be generated for annotations on the class. - * + * * @param clazz * the class * @param method @@ -167,7 +167,7 @@ private void autoscaleElement(Class clazz, Method method) { /** * Configure the {@code value} parameter on an annotation applied to a method - * + * * @param clazz * the class which has the method * @param method @@ -186,7 +186,7 @@ public ConfigAnnotationAsset setValue(final Class clazz, final String method, /** * Configure a parameter on an annotation applied to a method - * + * * @param clazz * the class which has the method * @param method @@ -210,7 +210,7 @@ public ConfigAnnotationAsset set(final Class clazz, /** * Configure the parameter of an annotation globally - * + * * @param annotation * the annotation type which has the parameter * @param parameter diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/config/clientserver/ConfigClassLevelClient.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/config/clientserver/ConfigClassLevelClient.java index 0893d508..2fa5128f 100644 --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/config/clientserver/ConfigClassLevelClient.java +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/config/clientserver/ConfigClassLevelClient.java @@ -28,7 +28,7 @@ /** * A client to support Fault Tolerance Configuration tests. - * + * * @author Neil Young * */ diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/config/clientserver/ConfigClassLevelMaxDurationClient.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/config/clientserver/ConfigClassLevelMaxDurationClient.java index 6aedbddd..ca99df14 100644 --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/config/clientserver/ConfigClassLevelMaxDurationClient.java +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/config/clientserver/ConfigClassLevelMaxDurationClient.java @@ -26,7 +26,7 @@ /** * A client to support Fault Tolerance Configuration tests. - * + * * @author Neil Young * */ @@ -38,7 +38,7 @@ public class ConfigClassLevelMaxDurationClient { /** * Max retries is configured to 90 but the max duration is 3 seconds with a default durationUnit of milliseconds. - * + * * Once the duration is reached, no more retries should be performed. */ public void serviceA() { diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/config/clientserver/ConfigClient.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/config/clientserver/ConfigClient.java index b5272285..c77e481e 100644 --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/config/clientserver/ConfigClient.java +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/config/clientserver/ConfigClient.java @@ -28,7 +28,7 @@ /** * A client to support Fault Tolerance Configuration tests. - * + * * @author Neil Young * */ @@ -45,7 +45,7 @@ public Connection serviceA() { /** * Max retries is configured to 90 but the max duration is 3 seconds with a default durationUnit of milliseconds. - * + * * Once the duration is reached, no more retries should be performed. */ @Retry(maxRetries = 90, maxDuration = 3000) diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/disableEnv/DisableAnnotationClient.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/disableEnv/DisableAnnotationClient.java index d800c21e..b8d3d9cb 100644 --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/disableEnv/DisableAnnotationClient.java +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/disableEnv/DisableAnnotationClient.java @@ -40,7 +40,7 @@ * A client to determine the impact of disabling annotations via config *

    * Each method has an easy test to determine whether it's annotations are active or not. - * + * * @author Andrew Rouse * */ @@ -75,7 +75,7 @@ public int getFailAndRetryOnceCounter() { * Should return normally if Fallback is enabled or throw TestException if not *

    * Should increment counter by two if Retry is enabled or one if it is not - * + * * @return nothing, always throws TestException */ @Retry(maxRetries = 1) @@ -130,7 +130,7 @@ public void failWithTimeout() { * If passed an already completed {@link Future}, this method will return immediately. *

    * Should permit two simultaneous calls if bulkhead enabled, or more if bulkhead disabled. - * + * * @param waitingFuture * the future to wait for */ diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/disableEnv/DisableAnnotationGloballyEnableOnClassDisableOnMethod.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/disableEnv/DisableAnnotationGloballyEnableOnClassDisableOnMethod.java index 414ec4c2..d59d640e 100644 --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/disableEnv/DisableAnnotationGloballyEnableOnClassDisableOnMethod.java +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/disableEnv/DisableAnnotationGloballyEnableOnClassDisableOnMethod.java @@ -118,7 +118,7 @@ public void testRetryDisabled() { /** * Test that a Fallback service is ignored when service fails. - * + * * Retry is enabled at the class level and not disabled for this method so we expect to get two executions */ @Test diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/disableEnv/DisableAnnotationGloballyEnableOnClassTest.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/disableEnv/DisableAnnotationGloballyEnableOnClassTest.java index 47fe9ac5..7b929155 100644 --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/disableEnv/DisableAnnotationGloballyEnableOnClassTest.java +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/disableEnv/DisableAnnotationGloballyEnableOnClassTest.java @@ -50,7 +50,7 @@ /** * Test that annotations can be disabled globally and then re-enabled at the class level - * + * * @author Antoine Sabot-Durand * @author Neil Young * @author Andrew Rouse diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/disableEnv/DisableAnnotationGloballyEnableOnMethodTest.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/disableEnv/DisableAnnotationGloballyEnableOnMethodTest.java index 3286647a..7e87e25d 100644 --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/disableEnv/DisableAnnotationGloballyEnableOnMethodTest.java +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/disableEnv/DisableAnnotationGloballyEnableOnMethodTest.java @@ -50,7 +50,7 @@ /** * Test that annotations can be disabled at the class level and then re-enabled at the method level. - * + * * @author Antoine Sabot-Durand * @author Neil Young * @author Andrew Rouse diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/disableEnv/DisableAnnotationOnClassEnableOnMethodTest.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/disableEnv/DisableAnnotationOnClassEnableOnMethodTest.java index 904968a8..c5831b2a 100644 --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/disableEnv/DisableAnnotationOnClassEnableOnMethodTest.java +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/disableEnv/DisableAnnotationOnClassEnableOnMethodTest.java @@ -50,7 +50,7 @@ /** * Test that annotations can be disabled at the class level and then re-enabled at the method level. - * + * * @author Antoine Sabot-Durand * @author Neil Young * @author Andrew Rouse diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/disableEnv/DisableClient.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/disableEnv/DisableClient.java index d1b35322..d4a49de3 100644 --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/disableEnv/DisableClient.java +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/disableEnv/DisableClient.java @@ -32,7 +32,7 @@ /** * A client to determine the impact of the MP_Fault_Tolerance_NonFallback_Enabled environment variable - * + * * @author Neil Young * */ @@ -44,7 +44,7 @@ public class DisableClient { /** * Invokes connection service and increases the counter for invocations the connection service - * + * * @return Always throws exception */ @Retry(maxRetries = 1) @@ -59,7 +59,7 @@ public Connection serviceA() { /** * Invokes name service and increases the counter for invocations of serviceB - * + * * @return Always throws exception */ @Retry(maxRetries = 1) @@ -71,7 +71,7 @@ public String serviceB() { /** * Invokes connection service and increases the counter for invocations of serviceC and connection service - * + * * @return Always throws exception */ @CircuitBreaker(successThreshold = 2, requestVolumeThreshold = 4, failureRatio = 0.75, delay = 50000) @@ -85,7 +85,7 @@ public Connection serviceC() { /** * serviceD uses the default Fault Tolerance timeout of 1 second. - * + * * @param timeToSleep * How long should the execution take in millis * @return null or exception is raised diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/disableEnv/DisableTest.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/disableEnv/DisableTest.java index c0a219e1..6644e762 100644 --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/disableEnv/DisableTest.java +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/disableEnv/DisableTest.java @@ -36,11 +36,11 @@ /** * Test the impact of the MP_Fault_Tolerance_NonFallback_Enabled environment variable. - * + * * The test assumes that the container supports both the MicroProfile Configuration API and the MicroProfile Fault * Tolerance API. The MP_Fault_Tolerance_NonFallback_Enabled Variable is set to "false" in the manifest of the deployed * application. - * + * * @author Neil Young * */ @@ -66,7 +66,7 @@ public static WebArchive deploy() { /** * Test maxRetries on @Retry. - * + * * ServiceA is annotated with maxRetries = 1 so serviceA is expected to execute 2 times but if * MP_Fault_Tolerance_NonFallback_Enabled is set to false in the Container environment, then no retries should be * attempted. @@ -85,7 +85,7 @@ public void testRetryDisabled() { /** * Test that a Fallback service is driven when a Service fails. - * + * * ServiceB is annotated with maxRetries = 1 so serviceB is expected to execute 2 times but if * MP_Fault_Tolerance_NonFallback_Enabled is set to false in the Container environment, then no retries should be * attempted HOWEVER the Fallback should still be driven successfully, so the test checks that a Fallback was driven @@ -109,7 +109,7 @@ public void testFallbackSuccess() { /** * A test to exercise Circuit Breaker thresholds, with a default SuccessThreshold - * + * * If MP_Fault_Tolerance_NonFallback_Enabled is set to false in the Container environment, then the CircuitBreaker * will not operate, no CircuitBreakerOpenExceptions will be thrown and execution will fail 7 times. */ @@ -134,12 +134,12 @@ public void testCircuitClosedThenOpen() { /** * A test to exercise the default timeout. - * + * * In normal operation, the default Fault Tolerance timeout is 1 second but serviceD will attempt to sleep for 3 * seconds, so would be expected to throw a TimeoutException. However, if MP_Fault_Tolerance_NonFallback_Enabled is * set to false in the Container environment, then no Timeout will occur and a RuntimeException will be thrown after * 3 seconds. - * + * */ @Test public void testTimeout() { diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/exception/hierarchy/package-info.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/exception/hierarchy/package-info.java index 3872c227..0120e548 100644 --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/exception/hierarchy/package-info.java +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/exception/hierarchy/package-info.java @@ -22,11 +22,11 @@ * A hierarchy of test exceptions *

    * Exceptions in this package: - * + * *

      * The <: symbol denotes the subtyping relation (Foo <: Bar means "Foo is a subtype of Bar")
      * Note that subtyping is reflexive (Foo <: Foo)
    - * 
    + *
      * E0  <: Exception
      * E1  <: E0
      * E2  <: E1
    diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/extension/AwaitilityArchiveAppender.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/extension/AwaitilityArchiveAppender.java
    index 349453cc..d23b583c 100644
    --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/extension/AwaitilityArchiveAppender.java
    +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/extension/AwaitilityArchiveAppender.java
    @@ -32,7 +32,7 @@ public class AwaitilityArchiveAppender extends CachedAuxilliaryArchiveAppender {
     
         /*
          * (non-Javadoc)
    -     * 
    +     *
          * @see org.jboss.arquillian.container.test.spi.client.deployment.CachedAuxilliaryArchiveAppender#buildArchive()
          */
         @Override
    diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/extension/HamcrestArchiveAppender.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/extension/HamcrestArchiveAppender.java
    index dd3b2ab0..9b23e42f 100644
    --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/extension/HamcrestArchiveAppender.java
    +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/extension/HamcrestArchiveAppender.java
    @@ -32,7 +32,7 @@ public class HamcrestArchiveAppender extends CachedAuxilliaryArchiveAppender {
     
         /*
          * (non-Javadoc)
    -     * 
    +     *
          * @see org.jboss.arquillian.container.test.spi.client.deployment.CachedAuxilliaryArchiveAppender#buildArchive()
          */
         @Override
    diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/extension/TckLoadableExtension.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/extension/TckLoadableExtension.java
    index 83b5c411..2db1aa6b 100644
    --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/extension/TckLoadableExtension.java
    +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/extension/TckLoadableExtension.java
    @@ -30,7 +30,7 @@ public class TckLoadableExtension implements LoadableExtension {
     
         /*
          * (non-Javadoc)
    -     * 
    +     *
          * @see org.jboss.arquillian.core.spi.LoadableExtension#register(org.jboss.arquillian.core.spi.LoadableExtension.
          * ExtensionBuilder)
          */
    diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/fallback/clientserver/FallbackClassLevelClient.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/fallback/clientserver/FallbackClassLevelClient.java
    index 01e0e835..f699f5a0 100644
    --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/fallback/clientserver/FallbackClassLevelClient.java
    +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/fallback/clientserver/FallbackClassLevelClient.java
    @@ -27,7 +27,7 @@
     
     /**
      * A client to demonstrate the fallback after doing the maximum retries
    - * 
    + *
      * @author Emily Jiang
      *
      */
    diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/fallback/clientserver/FallbackClient.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/fallback/clientserver/FallbackClient.java
    index 01b6c737..b26a5d4c 100644
    --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/fallback/clientserver/FallbackClient.java
    +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/fallback/clientserver/FallbackClient.java
    @@ -28,7 +28,7 @@
     
     /**
      * A client to demonstrate the fallback after doing the maximum retries
    - * 
    + *
      * @author Neil Young
      *
      */
    diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/fallback/clientserver/FallbackWithBeanClient.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/fallback/clientserver/FallbackWithBeanClient.java
    index ce03b681..71882a13 100644
    --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/fallback/clientserver/FallbackWithBeanClient.java
    +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/fallback/clientserver/FallbackWithBeanClient.java
    @@ -27,7 +27,7 @@
     
     /**
      * A client to demonstrate the fallback after doing the maximum retries
    - * 
    + *
      * @author Emily Jiang
      *
      */
    diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/fallback/clientserver/SecondStringFallbackHandler.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/fallback/clientserver/SecondStringFallbackHandler.java
    index 23db1dd8..2a471f64 100644
    --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/fallback/clientserver/SecondStringFallbackHandler.java
    +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/fallback/clientserver/SecondStringFallbackHandler.java
    @@ -27,7 +27,7 @@
     
     /**
      * A fallback handler to recover and return a string object.
    - * 
    + *
      * @author Emily Jiang
      *
      */
    diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/fallback/clientserver/StringFallbackHandler.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/fallback/clientserver/StringFallbackHandler.java
    index 82e5e56f..0f3e8dd9 100644
    --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/fallback/clientserver/StringFallbackHandler.java
    +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/fallback/clientserver/StringFallbackHandler.java
    @@ -27,7 +27,7 @@
     
     /**
      * A fallback handler to recover and return a string object.
    - * 
    + *
      * @author Emily Jiang
      *
      */
    diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/fallback/clientserver/StringFallbackHandlerWithBean.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/fallback/clientserver/StringFallbackHandlerWithBean.java
    index 84cc12b6..a9003d54 100644
    --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/fallback/clientserver/StringFallbackHandlerWithBean.java
    +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/fallback/clientserver/StringFallbackHandlerWithBean.java
    @@ -28,7 +28,7 @@
     
     /**
      * A fallback handler to recover and return a string object.
    - * 
    + *
      * @author Emily Jiang
      *
      */
    diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/illegalConfig/FallbackClient.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/illegalConfig/FallbackClient.java
    index 79646293..1f8d596a 100644
    --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/illegalConfig/FallbackClient.java
    +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/illegalConfig/FallbackClient.java
    @@ -26,7 +26,7 @@
     
     /**
      * A client to demonstrate the fallback after doing the maximum retries
    - * 
    + *
      * @author Emily Jiang
      * @author John D. Ament
      *
    @@ -37,7 +37,7 @@ public class FallbackClient {
     
         /**
          * Retry 5 times and then fallback
    -     * 
    +     *
          * @return a dummy number
          */
         @Retry(maxRetries = 4)
    diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/illegalConfig/FallbackClientWithBothFallbacks.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/illegalConfig/FallbackClientWithBothFallbacks.java
    index 0adf833d..a9f49552 100644
    --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/illegalConfig/FallbackClientWithBothFallbacks.java
    +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/illegalConfig/FallbackClientWithBothFallbacks.java
    @@ -26,7 +26,7 @@
     
     /**
      * A client to demonstrate the fallback after doing the maximum retries
    - * 
    + *
      * @author Emily Jiang
      * @author John D. Ament
      *
    @@ -36,7 +36,7 @@ public class FallbackClientWithBothFallbacks {
     
         /**
          * Retry 5 times and then fallback
    -     * 
    +     *
          * @return a dummy number
          */
         @Retry(maxRetries = 4)
    diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/illegalConfig/FallbackMethodClient.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/illegalConfig/FallbackMethodClient.java
    index 75fc0d65..c9c8a6f7 100644
    --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/illegalConfig/FallbackMethodClient.java
    +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/illegalConfig/FallbackMethodClient.java
    @@ -26,7 +26,7 @@
     
     /**
      * A client to demonstrate the fallback after doing retries
    - * 
    + *
      * @author Neil Young
      *
      */
    @@ -35,7 +35,7 @@ public class FallbackMethodClient {
     
         /**
          * Retry 5 times and then fallback
    -     * 
    +     *
          * @return a dummy number
          */
         @Retry(maxRetries = 4)
    @@ -46,7 +46,7 @@ public Integer serviceB() {
     
         /**
          * Fallback method with incompatible signature, different return type
    -     * 
    +     *
          * @return dummy string
          */
         public String fallbackForServiceB() {
    diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/illegalConfig/FallbackMethodWithArgsClient.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/illegalConfig/FallbackMethodWithArgsClient.java
    index 56fbcfd2..30487834 100644
    --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/illegalConfig/FallbackMethodWithArgsClient.java
    +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/illegalConfig/FallbackMethodWithArgsClient.java
    @@ -26,7 +26,7 @@
     
     /**
      * A client to demonstrate the fallback after doing retries
    - * 
    + *
      * @author Neil Young
      *
      */
    @@ -35,7 +35,7 @@ public class FallbackMethodWithArgsClient {
     
         /**
          * Retry 5 times and then fallback
    -     * 
    +     *
          * @param name
          *            a string
          * @param type
    @@ -50,7 +50,7 @@ public Integer serviceB(String name, Integer type) {
     
         /**
          * Fallback method with incompatible signature, only one parameter
    -     * 
    +     *
          * @param name
          *            a string
          * @return a dummy number
    diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/illegalConfig/IncompatibleFallbackHandler.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/illegalConfig/IncompatibleFallbackHandler.java
    index 5795d9ef..d44f7c88 100644
    --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/illegalConfig/IncompatibleFallbackHandler.java
    +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/illegalConfig/IncompatibleFallbackHandler.java
    @@ -27,7 +27,7 @@
     
     /**
      * A fallback handler to recover and return a string object.
    - * 
    + *
      * @author Emily Jiang
      * @author John D. Ament
      *
    diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/illegalConfig/IncompatibleFallbackMethodTest.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/illegalConfig/IncompatibleFallbackMethodTest.java
    index 0e1fb3dc..b195a7a8 100644
    --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/illegalConfig/IncompatibleFallbackMethodTest.java
    +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/illegalConfig/IncompatibleFallbackMethodTest.java
    @@ -51,7 +51,7 @@ public static WebArchive deployAnotherApp() {
     
         /**
          * Test that the deployment of a FallbackHandler with an invalid Fallback Method leads to a DeploymentException.
    -     * 
    +     *
          * A Service is annotated with the IncompatibleFallbackMethodHandler. While the Service returns an Integer, the
          * IncompatibleFallbackMethodHandler's Fallback Method returns a String.
          */
    diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/illegalConfig/IncompatibleFallbackMethodWithArgsTest.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/illegalConfig/IncompatibleFallbackMethodWithArgsTest.java
    index 0b75ff91..dba4d5e1 100644
    --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/illegalConfig/IncompatibleFallbackMethodWithArgsTest.java
    +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/illegalConfig/IncompatibleFallbackMethodWithArgsTest.java
    @@ -51,7 +51,7 @@ public static WebArchive deployAnotherApp() {
     
         /**
          * Test that the deployment of a FallbackHandler with an invalid Fallback Method leads to a DeploymentException.
    -     * 
    +     *
          * A Service is annotated with the IncompatibleFallbackMethodHandler. While the Service returns an Integer, the
          * IncompatibleFallbackMethodHandler's Fallback Method returns a String.
          */
    diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/illegalConfig/IncompatibleFallbackTest.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/illegalConfig/IncompatibleFallbackTest.java
    index 975a6619..5e5b97ed 100644
    --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/illegalConfig/IncompatibleFallbackTest.java
    +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/illegalConfig/IncompatibleFallbackTest.java
    @@ -50,7 +50,7 @@ public static WebArchive deploy() {
     
         /**
          * Test that the deployment of an invalid FallbackHandler leads to a DeploymentException.
    -     * 
    +     *
          * A Service is annotated with the IncompatibleFallbackHandler. While the Service returns an Integer, the
          * IncompatibleFallbackHandler returns a String.
          */
    diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/interceptor/EarlyFtInterceptor.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/interceptor/EarlyFtInterceptor.java
    index 987ee76a..ca003c6f 100644
    --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/interceptor/EarlyFtInterceptor.java
    +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/interceptor/EarlyFtInterceptor.java
    @@ -37,7 +37,7 @@
     
     /**
      * An interceptor that is called before the FT interceptor in the chain and count the invocation.
    - * 
    + *
      * @author carlosdlr
      */
     @Interceptor
    diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/interceptor/FaultToleranceInterceptorTest.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/interceptor/FaultToleranceInterceptorTest.java
    index a3ee8925..32a6b94e 100644
    --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/interceptor/FaultToleranceInterceptorTest.java
    +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/interceptor/FaultToleranceInterceptorTest.java
    @@ -38,7 +38,7 @@
     
     /**
      * A Client to demonstrate the interceptors ordering behavior of FT and CDI annotations
    - * 
    + *
      * @author carlosdlr
      */
     public class FaultToleranceInterceptorTest extends Arquillian {
    @@ -66,7 +66,7 @@ public static WebArchive deploy() {
          * This test validates the interceptors execution order after call a method annotated with Asynchronous FT
          * annotation, using a queue type FIFO (first-in-first-out). The head of the queue is that element that has been on
          * the queue the longest time. In this case is validating that the early interceptor is executed at first.
    -     * 
    +     *
          * @throws InterruptedException
          *             if the current thread was interrupted while waiting
          * @throws ExecutionException
    diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/interceptor/InterceptorComponent.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/interceptor/InterceptorComponent.java
    index 243609e6..53c99d71 100644
    --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/interceptor/InterceptorComponent.java
    +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/interceptor/InterceptorComponent.java
    @@ -33,7 +33,7 @@
     
     /**
      * Component to show the CDI interceptor ordering with FT annotations
    - * 
    + *
      * @author carlosdlr
      */
     @ApplicationScoped
    diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/interceptor/LateFtInterceptor.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/interceptor/LateFtInterceptor.java
    index 5e2fe745..e5088ada 100644
    --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/interceptor/LateFtInterceptor.java
    +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/interceptor/LateFtInterceptor.java
    @@ -37,7 +37,7 @@
     
     /**
      * An interceptor that is called after the FT interceptor in the chain and count the invocation.
    - * 
    + *
      * @author carlosdlr
      */
     @Interceptor
    diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/interceptor/OrderQueueProducer.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/interceptor/OrderQueueProducer.java
    index 250675c5..2c783095 100644
    --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/interceptor/OrderQueueProducer.java
    +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/interceptor/OrderQueueProducer.java
    @@ -27,7 +27,7 @@
     /**
      * Creates the order queue that will be used by the interceptors and the test bean to store the order in which this
      * components are called.
    - * 
    + *
      * @author carlosdlr
      */
     
    @@ -38,7 +38,7 @@ public class OrderQueueProducer {
     
         /**
          * get the order queue that stores the interceptors call order.
    -     * 
    +     *
          * @return order queue
          */
         public Queue getOrderQueue() {
    diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/interceptor/ftPriorityChange/EarlyFtInterceptor.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/interceptor/ftPriorityChange/EarlyFtInterceptor.java
    index 7575fc84..29f6f16c 100644
    --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/interceptor/ftPriorityChange/EarlyFtInterceptor.java
    +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/interceptor/ftPriorityChange/EarlyFtInterceptor.java
    @@ -38,7 +38,7 @@
     
     /**
      * An interceptor that is called before the FT interceptor in the chain and count the invocation.
    - * 
    + *
      * @author carlosdlr
      */
     @Interceptor
    diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/interceptor/ftPriorityChange/FaultToleranceInterceptorPriorityChangeAnnotationConfTest.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/interceptor/ftPriorityChange/FaultToleranceInterceptorPriorityChangeAnnotationConfTest.java
    index ef2de21b..82092008 100644
    --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/interceptor/ftPriorityChange/FaultToleranceInterceptorPriorityChangeAnnotationConfTest.java
    +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/interceptor/ftPriorityChange/FaultToleranceInterceptorPriorityChangeAnnotationConfTest.java
    @@ -40,7 +40,7 @@
     
     /**
      * A Client to demonstrate the interceptors ordering behavior of FT and CDI annotations
    - * 
    + *
      * @author carlosdlr
      */
     public class FaultToleranceInterceptorPriorityChangeAnnotationConfTest extends Arquillian {
    @@ -70,7 +70,7 @@ public static WebArchive deploy() {
          * This test validates the interceptors execution order after call a method annotated with Asynchronous FT
          * annotation, using a queue type FIFO (first-in-first-out). The head of the queue is that element that has been on
          * the queue the longest time. In this case is validating that the early interceptor is executed at first.
    -     * 
    +     *
          * @throws InterruptedException
          *             if the current thread was interrupted while waiting
          * @throws ExecutionException
    diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/interceptor/ftPriorityChange/InterceptorComponent.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/interceptor/ftPriorityChange/InterceptorComponent.java
    index e13eb59b..a73671b6 100644
    --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/interceptor/ftPriorityChange/InterceptorComponent.java
    +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/interceptor/ftPriorityChange/InterceptorComponent.java
    @@ -34,7 +34,7 @@
     
     /**
      * Component to show the CDI interceptor ordering with FT annotations
    - * 
    + *
      * @author carlosdlr
      */
     @ApplicationScoped
    diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/interceptor/ftPriorityChange/LateFtInterceptor.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/interceptor/ftPriorityChange/LateFtInterceptor.java
    index 9df80230..9eb281f5 100644
    --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/interceptor/ftPriorityChange/LateFtInterceptor.java
    +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/interceptor/ftPriorityChange/LateFtInterceptor.java
    @@ -38,7 +38,7 @@
     
     /**
      * An interceptor that is called after the FT interceptor in the chain and count the invocation.
    - * 
    + *
      * @author carlosdlr
      */
     @Interceptor
    diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/AsynchronousClientForValidationClass.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/AsynchronousClientForValidationClass.java
    index 2141aaba..f2a73b8b 100644
    --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/AsynchronousClientForValidationClass.java
    +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/AsynchronousClientForValidationClass.java
    @@ -32,7 +32,7 @@ public class AsynchronousClientForValidationClass {
     
         /**
          * Valid
    -     * 
    +     *
          * @return Future("foo")
          */
         public Future getStringAsync() {
    @@ -42,7 +42,7 @@ public Future getStringAsync() {
         /**
          * Invalid because the class is annotated with {@link Asynchronous} but the method does not return Future or
          * CompletionStage.
    -     * 
    +     *
          * @return "foo"
          */
         public String getString() {
    diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/AsynchronousClientForValidationMethod.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/AsynchronousClientForValidationMethod.java
    index ed704007..08f09054 100644
    --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/AsynchronousClientForValidationMethod.java
    +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/AsynchronousClientForValidationMethod.java
    @@ -28,7 +28,7 @@ public class AsynchronousClientForValidationMethod {
     
         /**
          * Invalid because it's annotated with {@link Asynchronous} but does not return Future or CompletionStage
    -     * 
    +     *
          * @return "foo"
          */
         @Asynchronous
    diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/BulkheadClientForValidation.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/BulkheadClientForValidation.java
    index e34712b1..2e57ce21 100644
    --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/BulkheadClientForValidation.java
    +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/BulkheadClientForValidation.java
    @@ -27,7 +27,7 @@
     
     /**
      * A client to demonstrate the validation of the value on @Bulkhead
    - * 
    + *
      * @author Neil Young
      *
      */
    diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/BulkheadClientForValidationAsynchQueue.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/BulkheadClientForValidationAsynchQueue.java
    index 12727abb..eb2229aa 100644
    --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/BulkheadClientForValidationAsynchQueue.java
    +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/BulkheadClientForValidationAsynchQueue.java
    @@ -28,7 +28,7 @@
     
     /**
      * A client to demonstrate the validation of the waitingTaskQueue on @Bulkhead
    - * 
    + *
      * @author Neil Young
      *
      */
    diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/CircuitBreakerClientForValidationDelay.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/CircuitBreakerClientForValidationDelay.java
    index fede109a..f5052558 100644
    --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/CircuitBreakerClientForValidationDelay.java
    +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/CircuitBreakerClientForValidationDelay.java
    @@ -27,7 +27,7 @@
     
     /**
      * A client to demonstrate the validation of the failureRatio attribute on @CircuitBreaker
    - * 
    + *
      * @author Neil Young
      *
      */
    diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/CircuitBreakerClientForValidationFailureRatioNeg.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/CircuitBreakerClientForValidationFailureRatioNeg.java
    index d8edf779..1c7d662b 100644
    --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/CircuitBreakerClientForValidationFailureRatioNeg.java
    +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/CircuitBreakerClientForValidationFailureRatioNeg.java
    @@ -27,7 +27,7 @@
     
     /**
      * A client to demonstrate the validation of the failureRatio attribute on @CircuitBreaker
    - * 
    + *
      * @author Neil Young
      *
      */
    diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/CircuitBreakerClientForValidationFailureRatioPos.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/CircuitBreakerClientForValidationFailureRatioPos.java
    index bd400ca2..b2cfbfa4 100644
    --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/CircuitBreakerClientForValidationFailureRatioPos.java
    +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/CircuitBreakerClientForValidationFailureRatioPos.java
    @@ -27,7 +27,7 @@
     
     /**
      * A client to demonstrate the validation of the failureRatio attribute on @CircuitBreaker
    - * 
    + *
      * @author Neil Young
      *
      */
    diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/CircuitBreakerClientForValidationReqVol0.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/CircuitBreakerClientForValidationReqVol0.java
    index 9c7b5833..c3495d3d 100644
    --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/CircuitBreakerClientForValidationReqVol0.java
    +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/CircuitBreakerClientForValidationReqVol0.java
    @@ -27,7 +27,7 @@
     
     /**
      * A client to demonstrate the validation of the requestVolumeThreshold attribute on @CircuitBreaker
    - * 
    + *
      * @author Neil Young
      *
      */
    diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/CircuitBreakerClientForValidationReqVolNeg.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/CircuitBreakerClientForValidationReqVolNeg.java
    index 7ec7d1db..143e237b 100644
    --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/CircuitBreakerClientForValidationReqVolNeg.java
    +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/CircuitBreakerClientForValidationReqVolNeg.java
    @@ -27,7 +27,7 @@
     
     /**
      * A client to demonstrate the validation of the requestVolumeThreshold attribute on @CircuitBreaker
    - * 
    + *
      * @author Neil Young
      *
      */
    diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/CircuitBreakerClientForValidationSuccess0.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/CircuitBreakerClientForValidationSuccess0.java
    index d9f53018..e3cca796 100644
    --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/CircuitBreakerClientForValidationSuccess0.java
    +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/CircuitBreakerClientForValidationSuccess0.java
    @@ -27,7 +27,7 @@
     
     /**
      * A client to demonstrate the validation of the successThreshold attribute on @CircuitBreaker
    - * 
    + *
      * @author Neil Young
      *
      */
    diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/CircuitBreakerClientForValidationSuccessNeg.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/CircuitBreakerClientForValidationSuccessNeg.java
    index db323fc5..76ff7515 100644
    --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/CircuitBreakerClientForValidationSuccessNeg.java
    +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/CircuitBreakerClientForValidationSuccessNeg.java
    @@ -27,7 +27,7 @@
     
     /**
      * A client to demonstrate the validation of the successThreshold attribute on @CircuitBreaker
    - * 
    + *
      * @author Neil Young
      *
      */
    diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/InvalidBulkheadAsynchQueueTest.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/InvalidBulkheadAsynchQueueTest.java
    index b2a1beae..6cb0b4fe 100644
    --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/InvalidBulkheadAsynchQueueTest.java
    +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/InvalidBulkheadAsynchQueueTest.java
    @@ -47,7 +47,7 @@ public static WebArchive deploy() {
     
         /**
          * Test that the deployment of an invalid @Bulkhead parameter leads to a DeploymentException.
    -     * 
    +     *
          * A Service is annotated with a @Bulkhead annotation with a negative waitingTaskQueue attribute.
          */
         @Test
    diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/InvalidBulkheadValueTest.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/InvalidBulkheadValueTest.java
    index 6878ec22..40c5dc4c 100644
    --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/InvalidBulkheadValueTest.java
    +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/InvalidBulkheadValueTest.java
    @@ -47,7 +47,7 @@ public static WebArchive deploy() {
     
         /**
          * Test that the deployment of an invalid @Bulkhead parameter leads to a DeploymentException.
    -     * 
    +     *
          * A Service is annotated with a @Bulkhead annotation with a negative value.
          */
         @Test
    diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/InvalidCircuitBreakerDelayTest.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/InvalidCircuitBreakerDelayTest.java
    index afbd0124..41e5cff7 100644
    --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/InvalidCircuitBreakerDelayTest.java
    +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/InvalidCircuitBreakerDelayTest.java
    @@ -46,7 +46,7 @@ public static WebArchive deploy() {
         }
         /**
          * Test that the deployment of an invalid @CircuitBreaker parameter leads to a DeploymentException.
    -     * 
    +     *
          * A Service is annotated with a @CircuitBreaker annotation with a negative delay.
          */
         @Test
    diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/InvalidCircuitBreakerFailureRatioNegTest.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/InvalidCircuitBreakerFailureRatioNegTest.java
    index 88490b91..e1198f52 100644
    --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/InvalidCircuitBreakerFailureRatioNegTest.java
    +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/InvalidCircuitBreakerFailureRatioNegTest.java
    @@ -46,7 +46,7 @@ public static WebArchive deploy() {
         }
         /**
          * Test that the deployment of an invalid @CircuitBreaker parameter leads to a DeploymentException.
    -     * 
    +     *
          * A Service is annotated with a @CircuitBreaker annotation with a negative failureRatio.
          */
         @Test
    diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/InvalidCircuitBreakerFailureRatioPosTest.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/InvalidCircuitBreakerFailureRatioPosTest.java
    index 5f23b02f..c7a57f1b 100644
    --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/InvalidCircuitBreakerFailureRatioPosTest.java
    +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/InvalidCircuitBreakerFailureRatioPosTest.java
    @@ -46,7 +46,7 @@ public static WebArchive deploy() {
         }
         /**
          * Test that the deployment of an invalid @CircuitBreaker parameter leads to a DeploymentException.
    -     * 
    +     *
          * A Service is annotated with a @CircuitBreaker annotation with a failureRatio greater than 1.
          */
         @Test
    diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/InvalidCircuitBreakerFailureReqVol0Test.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/InvalidCircuitBreakerFailureReqVol0Test.java
    index 2f81d3cd..13317545 100644
    --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/InvalidCircuitBreakerFailureReqVol0Test.java
    +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/InvalidCircuitBreakerFailureReqVol0Test.java
    @@ -46,7 +46,7 @@ public static WebArchive deploy() {
         }
         /**
          * Test that the deployment of an invalid @CircuitBreaker parameter leads to a DeploymentException.
    -     * 
    +     *
          * A Service is annotated with a @CircuitBreaker annotation with a requestVolumeThreshold of 0.
          */
         @Test
    diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/InvalidCircuitBreakerFailureReqVolNegTest.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/InvalidCircuitBreakerFailureReqVolNegTest.java
    index d69bcfa6..19062d5c 100644
    --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/InvalidCircuitBreakerFailureReqVolNegTest.java
    +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/InvalidCircuitBreakerFailureReqVolNegTest.java
    @@ -46,7 +46,7 @@ public static WebArchive deploy() {
         }
         /**
          * Test that the deployment of an invalid @CircuitBreaker parameter leads to a DeploymentException.
    -     * 
    +     *
          * A Service is annotated with a @CircuitBreaker annotation with a negative requestVolumeThreshold.
          */
         @Test
    diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/InvalidCircuitBreakerFailureSuccess0Test.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/InvalidCircuitBreakerFailureSuccess0Test.java
    index 900ea604..859b0990 100644
    --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/InvalidCircuitBreakerFailureSuccess0Test.java
    +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/InvalidCircuitBreakerFailureSuccess0Test.java
    @@ -46,7 +46,7 @@ public static WebArchive deploy() {
         }
         /**
          * Test that the deployment of an invalid @CircuitBreaker parameter leads to a DeploymentException.
    -     * 
    +     *
          * A Service is annotated with a @CircuitBreaker annotation with a successThreshold of 0.
          */
         @Test
    diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/InvalidCircuitBreakerFailureSuccessNegTest.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/InvalidCircuitBreakerFailureSuccessNegTest.java
    index d26fd3b5..21d4d6d8 100644
    --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/InvalidCircuitBreakerFailureSuccessNegTest.java
    +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/InvalidCircuitBreakerFailureSuccessNegTest.java
    @@ -46,7 +46,7 @@ public static WebArchive deploy() {
         }
         /**
          * Test that the deployment of an invalid @CircuitBreaker parameter leads to a DeploymentException.
    -     * 
    +     *
          * A Service is annotated with a @CircuitBreaker annotation with a negative successThreshold.
          */
         @Test
    diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/InvalidRetryDelayDurationTest.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/InvalidRetryDelayDurationTest.java
    index d9f2042a..b7c111cd 100644
    --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/InvalidRetryDelayDurationTest.java
    +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/InvalidRetryDelayDurationTest.java
    @@ -47,7 +47,7 @@ public static WebArchive deploy2() {
     
         /**
          * Test that the deployment of an invalid @Retry parameter leads to a DeploymentException.
    -     * 
    +     *
          * A Service is annotated with a @Retry annotation with a maxDuration that is less than the delay.
          */
         @Test
    diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/InvalidRetryDelayTest.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/InvalidRetryDelayTest.java
    index 87d17786..9dec293d 100644
    --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/InvalidRetryDelayTest.java
    +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/InvalidRetryDelayTest.java
    @@ -46,7 +46,7 @@ public static WebArchive deploy() {
         }
         /**
          * Test that the deployment of an invalid @Retry parameter leads to a DeploymentException.
    -     * 
    +     *
          * A Service is annotated with a @Retry annotation with a negative delay.
          */
         @Test
    diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/InvalidRetryJitterTest.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/InvalidRetryJitterTest.java
    index b7edcdaa..72222618 100644
    --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/InvalidRetryJitterTest.java
    +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/InvalidRetryJitterTest.java
    @@ -46,7 +46,7 @@ public static WebArchive deploy() {
         }
         /**
          * Test that the deployment of an invalid @Retry parameter leads to a DeploymentException.
    -     * 
    +     *
          * A Service is annotated with a @Retry annotation with a negative jitter.
          */
         @Test
    diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/InvalidRetryMaxRetriesTest.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/InvalidRetryMaxRetriesTest.java
    index 28a11f09..5570fdee 100644
    --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/InvalidRetryMaxRetriesTest.java
    +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/InvalidRetryMaxRetriesTest.java
    @@ -47,7 +47,7 @@ public static WebArchive deploy() {
     
         /**
          * Test that the deployment of an invalid @Retry parameter leads to a DeploymentException.
    -     * 
    +     *
          * A Service is annotated with a @Retry annotation with a negative maxRetries.
          */
         @Test
    diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/InvalidTimeoutValueTest.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/InvalidTimeoutValueTest.java
    index 919a1861..b9aaf827 100644
    --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/InvalidTimeoutValueTest.java
    +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/InvalidTimeoutValueTest.java
    @@ -47,7 +47,7 @@ public static WebArchive deploy() {
     
         /**
          * Test that the deployment of an invalid @Timeout parameter leads to a DeploymentException.
    -     * 
    +     *
          * A Service is annotated with a @Timeout annotation with a negative value.
          */
         @Test
    diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/RetryClientForValidationDelay.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/RetryClientForValidationDelay.java
    index c62ab427..a0321e4c 100644
    --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/RetryClientForValidationDelay.java
    +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/RetryClientForValidationDelay.java
    @@ -27,7 +27,7 @@
     
     /**
      * A client to demonstrate the validation of the delay attribute on @Retry
    - * 
    + *
      * @author Neil Young
      *
      */
    diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/RetryClientForValidationDelayDuration.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/RetryClientForValidationDelayDuration.java
    index 1920b598..a4f93a09 100644
    --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/RetryClientForValidationDelayDuration.java
    +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/RetryClientForValidationDelayDuration.java
    @@ -27,7 +27,7 @@
     
     /**
      * A client to demonstrate the validation of the combination of the delay and maxDuration attributes on @Retry
    - * 
    + *
      * @author Neil Young
      *
      */
    diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/RetryClientForValidationJitter.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/RetryClientForValidationJitter.java
    index 8cd11ad5..6edb0141 100644
    --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/RetryClientForValidationJitter.java
    +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/RetryClientForValidationJitter.java
    @@ -27,7 +27,7 @@
     
     /**
      * A client to demonstrate the validation of the jitter attribute on @Retry
    - * 
    + *
      * @author Neil Young
      *
      */
    diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/RetryClientForValidationMaxRetries.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/RetryClientForValidationMaxRetries.java
    index 53ac0155..283b592f 100644
    --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/RetryClientForValidationMaxRetries.java
    +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/RetryClientForValidationMaxRetries.java
    @@ -27,7 +27,7 @@
     
     /**
      * A client to demonstrate the validation of the maxRetries attribute on @Retry
    - * 
    + *
      * @author Neil Young
      *
      */
    diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/TimeoutClientForValidation.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/TimeoutClientForValidation.java
    index 6f1a9606..75267522 100644
    --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/TimeoutClientForValidation.java
    +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/invalidParameters/TimeoutClientForValidation.java
    @@ -27,7 +27,7 @@
     
     /**
      * A client to demonstrate the validation of the value on @Timeout
    - * 
    + *
      * @author Neil Young
      *
      */
    diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/metrics/util/CounterMetric.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/metrics/util/CounterMetric.java
    index 6fab9b4f..82f60ad5 100644
    --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/metrics/util/CounterMetric.java
    +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/metrics/util/CounterMetric.java
    @@ -49,7 +49,7 @@ public CounterMetric(MetricRegistryProxy registry, MetricID metricId) {
          * Get the counter value, or zero if the metric doesn't exist
          * 

    * This method will not create the metric if it does not exist. - * + * * @return the counter value, or zero if the metric doesn't exist */ public long value() { @@ -67,7 +67,7 @@ public void baseline() { /** * Return the difference between the current value of the metric and the value when {@link #baseline} was called. - * + * * @return the difference between the metric value and the baseline */ public long delta() { @@ -76,7 +76,7 @@ public long delta() { /** * Return the actual {@link Counter} object for the metric, if it exists. - * + * * @return an {@code Optional} containing the {@code Counter}, or an empty {@code Optional} if the metric does not * exist. */ diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/metrics/util/GaugeMetric.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/metrics/util/GaugeMetric.java index 6e2ac36f..92bca15c 100644 --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/metrics/util/GaugeMetric.java +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/metrics/util/GaugeMetric.java @@ -65,7 +65,7 @@ public GaugeMetric(MetricRegistryProxy registry, MetricID metricId) { * Get the counter value, or zero if the metric doesn't exist *

    * This method will not create the metric if it does not exist. - * + * * @return the counter value, or zero if the metric doesn't exist */ public long value() { @@ -83,7 +83,7 @@ public void baseline() { /** * Return the difference between the current value of the metric and the value when {@link #baseline} was called. - * + * * @return the difference between the metric value and the baseline */ public long delta() { @@ -92,7 +92,7 @@ public long delta() { /** * Return the actual {@link Counter} object for the metric, if it exists. - * + * * @return an {@code Optional} containing the {@code Counter}, or an empty {@code Optional} if the metric does not * exist. */ @@ -109,7 +109,7 @@ public Optional> gauge() { /** * Reflectively call `getValue()` to account for different signature in MP Metrics 4.0 vs 5.0 - * + * * @param * the gauge type * @param gauge diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/metrics/util/MetricGetter.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/metrics/util/MetricGetter.java index cef093dd..29d97d50 100644 --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/metrics/util/MetricGetter.java +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/metrics/util/MetricGetter.java @@ -158,7 +158,7 @@ public void baselineMetrics() { * Given an array of TagValue enums, this method find every combination of values from across this set of tags. *

    * For example, if we had two tags {@code foo=[a|b]} and {@code bar=[x|y]}, this method would return - * + * *

          * [[foo=a, bar=x],
          *  [foo=a, bar=y],
    @@ -171,7 +171,7 @@ public void baselineMetrics() {
          * 

    * If called with no arguments, this method returns an array containing an empty array (indicating the only possible * combination the the one with no tag values at all). - * + * * @param tagValueClazzes * the set of tags * @return every possible combination when taking one value for each of the given tags @@ -215,7 +215,7 @@ private static List> getTagCombinations(List * This method will check that the {@code TagValue}s passed in match the value of * {@link MetricDefinition#getTagClasses()}. - * + * * @param metricDefinition * the definition of the metric * @param metricTags @@ -249,7 +249,7 @@ private MetricID getMetricId(MetricDefinition metricDefinition, TagValue... metr *

    * Each created {@code CounterMetric} will be stored and calling this method twice with the same {@code MetricID} * will return the same {@code CounterMetric}. - * + * * @param metricId * the {@code MetricID} * @return the {@code CounterMetric} for {@code metricId} @@ -263,7 +263,7 @@ private CounterMetric getCounterMetric(MetricID metricId) { *

    * Each created {@code GaugeMetric} will be stored and calling this method twice with the same {@code MetricID} will * return the same {@code GaugeMetric}. - * + * * @param metricId * the {@code MetricID} * @return the {@code GaugeMetric} for {@code metricId} diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/retry/clientserver/RetryClassLevelClientAbortOn.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/retry/clientserver/RetryClassLevelClientAbortOn.java index c9449934..176db5a0 100644 --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/retry/clientserver/RetryClassLevelClientAbortOn.java +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/retry/clientserver/RetryClassLevelClientAbortOn.java @@ -29,7 +29,7 @@ /** * A client to demonstrate the specification of abortOn conditions at the Class level. - * + * * @author Emily Jiang * */ diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/retry/clientserver/RetryClassLevelClientForMaxRetries.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/retry/clientserver/RetryClassLevelClientForMaxRetries.java index c24f4eae..49408133 100644 --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/retry/clientserver/RetryClassLevelClientForMaxRetries.java +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/retry/clientserver/RetryClassLevelClientForMaxRetries.java @@ -29,7 +29,7 @@ /** * A client to demonstrate the maxRetries and max duration configuration - * + * * @author Emily Jiang * */ @@ -58,7 +58,7 @@ public int getRetryCountForConnectionService() { /** * Max retries is configured to 90 but the max duration is 1 second with a default durationUnit of milliseconds. - * + * * Once the duration is reached, no more retries should be performed. */ @Retry(maxRetries = 90, maxDuration = 1000) @@ -69,7 +69,7 @@ public void serviceB() { /** * Max retries is configured to 90 but the max duration is 1 second with a durationUnit of seconds specified. - * + * * Once the duration is reached, no more retries should be performed. */ @Retry(maxRetries = 90, maxDuration = 1, durationUnit = ChronoUnit.SECONDS) diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/retry/clientserver/RetryClassLevelClientRetryOn.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/retry/clientserver/RetryClassLevelClientRetryOn.java index 960d5913..0d3a83dc 100644 --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/retry/clientserver/RetryClassLevelClientRetryOn.java +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/retry/clientserver/RetryClassLevelClientRetryOn.java @@ -29,7 +29,7 @@ /** * A client to demonstrate the specification of retryOn conditions at the Class level. - * + * * @author Emily Jiang * */ diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/retry/clientserver/RetryClientAbortOn.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/retry/clientserver/RetryClientAbortOn.java index d761a61b..f7ff21d0 100644 --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/retry/clientserver/RetryClientAbortOn.java +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/retry/clientserver/RetryClientAbortOn.java @@ -29,7 +29,7 @@ /** * A client to demonstrate abortOn conditions - * + * * @author Emily Jiang * */ diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/retry/clientserver/RetryClientForMaxRetries.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/retry/clientserver/RetryClientForMaxRetries.java index b34f1e7e..bf06e388 100644 --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/retry/clientserver/RetryClientForMaxRetries.java +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/retry/clientserver/RetryClientForMaxRetries.java @@ -29,7 +29,7 @@ /** * A client to demonstrate the maxRetries and max duration configuration - * + * * @author Emily Jiang * */ @@ -58,7 +58,7 @@ public int getRetryCountForConnectionService() { /** * Max retries is configured to 90 but the max duration is 1 second with a default durationUnit of milliseconds. - * + * * Once the duration is reached, no more retries should be performed. */ @Retry(maxRetries = 90, maxDuration = 1000) @@ -69,7 +69,7 @@ public void serviceB() { /** * Max retries is configured to 90 but the max duration is 1 second with a durationUnit of seconds specified. - * + * * Once the duration is reached, no more retries should be performed. */ @Retry(maxRetries = 90, maxDuration = 1, durationUnit = ChronoUnit.SECONDS) diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/retry/clientserver/RetryClientForZeroJitter.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/retry/clientserver/RetryClientForZeroJitter.java index 34bca8f6..a444a130 100644 --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/retry/clientserver/RetryClientForZeroJitter.java +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/retry/clientserver/RetryClientForZeroJitter.java @@ -25,7 +25,7 @@ /** * A client to check for proper processing of jitter = 0 on @Retry - * + * * @author Doychin Bondzhev * */ diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/retry/clientserver/RetryClientRetryOn.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/retry/clientserver/RetryClientRetryOn.java index b6cc6511..8370f9d4 100644 --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/retry/clientserver/RetryClientRetryOn.java +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/retry/clientserver/RetryClientRetryOn.java @@ -31,7 +31,7 @@ /** * A client to demonstrate the retryOn conditions - * + * * @author Emily Jiang * */ @@ -52,7 +52,7 @@ private Connection connectionService() { /** * Service that throws a child custom exception but in the retry on list is configured child's parent custom * exception - * + * * @return Connection */ @Retry(retryOn = {RetryParentException.class}) @@ -64,7 +64,7 @@ public Connection serviceC() { /** * Service that throws a child custom exception but in the retry on list is configured child's parent custom * exception and is configured in the abort on list the child custom exception - * + * * @return Connection */ @Retry(retryOn = {RetryParentException.class}, abortOn = {RetryChildException.class}) diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/retry/clientserver/RetryClientWithDelay.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/retry/clientserver/RetryClientWithDelay.java index c0337cc0..8a104b76 100644 --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/retry/clientserver/RetryClientWithDelay.java +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/retry/clientserver/RetryClientWithDelay.java @@ -36,7 +36,7 @@ /** * A client to demonstrate the delay configurations - * + * * @author Emily Jiang * */ diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/retry/clientserver/RetryClientWithNoDelayAndJitter.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/retry/clientserver/RetryClientWithNoDelayAndJitter.java index d58ef7b6..ce5713ab 100644 --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/retry/clientserver/RetryClientWithNoDelayAndJitter.java +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/retry/clientserver/RetryClientWithNoDelayAndJitter.java @@ -31,7 +31,7 @@ /** * A client to demonstrate the delay configurations - * + * * @author Bruno Baptista * */ diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/retrytimeout/clientserver/RetryTimeoutClient.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/retrytimeout/clientserver/RetryTimeoutClient.java index afecb72c..db8da097 100644 --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/retrytimeout/clientserver/RetryTimeoutClient.java +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/retrytimeout/clientserver/RetryTimeoutClient.java @@ -32,7 +32,7 @@ /** * A client to demonstrate the combination of the @Retry and @Timeout annotations. - * + * * @author Neil Young * */ @@ -58,7 +58,7 @@ public int getCounterForInvokingServiceWithAbortOn() { /** * Times out after 500ms, retries once - * + * * @param timeToSleep * time this method should sleep for in ms * @return {@code null} @@ -80,7 +80,7 @@ public String serviceA(long timeToSleep) { * Sleeps for 1000ms, times out after 500ms, retries once on BulkheadException *

    * Method will never throw a BulkheadException so the Retry annotation should have no effect - * + * * @return {@code null} */ @Timeout(500) @@ -98,7 +98,7 @@ public String serviceWithoutRetryOn() { /** * Sleeps for 1000ms, times out after 500ms, retries once on anything but TimeoutException - * + * * @return {@code null} */ @Timeout(500) diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/telemetryMetrics/util/TelemetryGaugeMetric.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/telemetryMetrics/util/TelemetryGaugeMetric.java index d3e1966c..5dd1ce9a 100644 --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/telemetryMetrics/util/TelemetryGaugeMetric.java +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/telemetryMetrics/util/TelemetryGaugeMetric.java @@ -46,7 +46,7 @@ public TelemetryGaugeMetric(TelemetryMetricID metricId) { * Get the counter value, or zero if the metric doesn't exist *

    * This method will not create the metric if it does not exist. - * + * * @return the counter value, or zero if the metric doesn't exist */ public long value() { @@ -75,7 +75,7 @@ public void baseline() { /** * Return the difference between the current value of the metric and the value when {@link #baseline} was called. - * + * * @return the difference between the metric value and the baseline */ public long delta() { diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/timeout/clientserver/DefaultTimeoutClient.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/timeout/clientserver/DefaultTimeoutClient.java index a6618d33..b45adf0c 100644 --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/timeout/clientserver/DefaultTimeoutClient.java +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/timeout/clientserver/DefaultTimeoutClient.java @@ -28,7 +28,7 @@ /** * A client to test Timeouts - * + * * @author Neil Young * */ @@ -38,7 +38,7 @@ public class DefaultTimeoutClient { /** * serviceA uses the default Fault Tolerance timeout of 1 second. - * + * * @param timeToSleep * How long should the execution take in millis * @return null or exception is raised @@ -55,7 +55,7 @@ public Connection serviceA(long timeToSleep) { /** * serviceB specifies a an overriding Timeout longer than the default, at 2 seconds - * + * * @param timeToSleep * How long should the execution take in millis * @return null or exception is raised diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/timeout/clientserver/ShorterTimeoutClient.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/timeout/clientserver/ShorterTimeoutClient.java index e0097253..058d2494 100644 --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/timeout/clientserver/ShorterTimeoutClient.java +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/timeout/clientserver/ShorterTimeoutClient.java @@ -28,7 +28,7 @@ /** * A client to test Timeouts - * + * * @author Neil Young * */ @@ -38,7 +38,7 @@ public class ShorterTimeoutClient { /** * serviceA uses the class scoped Fault Tolerance timeout of 0.5 seconds. - * + * * @param timeToSleep * How long should the execution take in millis * @return null or exception is raised @@ -55,7 +55,7 @@ public Connection serviceA(long timeToSleep) { /** * serviceB specifies a an overriding Timeout longer than the default, at 2 seconds - * + * * @param timeToSleep * How long should the execution take in millis * @return null or exception is raised diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/timeout/clientserver/TimeoutClient.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/timeout/clientserver/TimeoutClient.java index e762b5c2..505055e2 100644 --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/timeout/clientserver/TimeoutClient.java +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/timeout/clientserver/TimeoutClient.java @@ -29,7 +29,7 @@ /** * A client to test Timeouts - * + * * @author Neil Young * */ @@ -38,7 +38,7 @@ public class TimeoutClient { /** * serviceA uses the default Fault Tolerance timeout of 1 second. - * + * * @param timeToSleep * How long should the execution take in millis * @return null or exception is raised @@ -56,7 +56,7 @@ public Connection serviceA(long timeToSleep) { /** * serviceB specifies a Timeout longer than the default, at 2 seconds - * + * * @param timeToSleep * How long should the execution take in millis * @return null or exception is raised @@ -74,7 +74,7 @@ public Connection serviceB(long timeToSleep) { /** * serviceC specifies a Timeout shorter than the default, at .5 seconds - * + * * @param timeToSleep * How long should the execution take in millis * @return null or exception is raised @@ -92,7 +92,7 @@ public Connection serviceC(long timeToSleep) { /** * serviceD specifies a Timeout longer than the default, at 2 seconds. - * + * * @param timeToSleepInMillis * How long should the execution take in millis * @return null or exception is raised diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/timeout/clientserver/UninterruptableTimeoutClient.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/timeout/clientserver/UninterruptableTimeoutClient.java index 79c88dca..62037ee5 100644 --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/timeout/clientserver/UninterruptableTimeoutClient.java +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/timeout/clientserver/UninterruptableTimeoutClient.java @@ -54,7 +54,7 @@ public class UninterruptableTimeoutClient { * Does not respect thread interruption. *

    * Uses a tight loop so the thread interrupted flag should be set when the method returns - * + * * @param waitMs * the time to wait */ @@ -78,7 +78,7 @@ public void serviceTimeout(long waitMs) { * Runs asynchronously. *

    * Does not respect thread interruption. - * + * * @param waitingFuture * future to wait for * @param completion @@ -113,7 +113,7 @@ public Future serviceTimeoutAsync(Future waitingFuture, CompletableFutu * Does not respect thread interruption. *

    * Uses a tight loop so the thread interrupted flag should be set when the method returns - * + * * @param waitMs * the time to wait * @return a completed CompletionStage @@ -143,7 +143,7 @@ public CompletionStage serviceTimeoutAsyncCS(long waitMs) { * Has a bulkhead with capacity of 1, queue size of 1. *

    * Increments timeoutAsyncBulkheadCounter. - * + * * @param waitingFuture * future to wait for * @return a completed future @@ -183,7 +183,7 @@ public int getTimeoutAsyncBulkheadCounter() { * Does not respect thread interruption. *

    * Has a bulkhead with capacity of 1, queue size of 1. - * + * * @param waitingFuture * future to wait for * @return a completed Future @@ -218,7 +218,7 @@ public Future serviceTimeoutAsyncBulkheadQueueTimed(Future waitingFutur * Will do 2 retries with no delay. *

    * Increments timeoutAsyncRetryCounter. - * + * * @param waitingFuture * future to wait for * @return a completed Future @@ -261,7 +261,7 @@ public int getTimeoutAsyncRetryCounter() { * Does not respect thread interruption. *

    * Will run the fallback method on exception - * + * * @param waitingFuture * future to wait for * @return Future completed with "OK", or completed with "FALLBACK" if the fallback ran diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/util/AsyncCaller.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/util/AsyncCaller.java index 0e5691dd..0702f32c 100644 --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/util/AsyncCaller.java +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/util/AsyncCaller.java @@ -45,7 +45,7 @@ public Future run(Runnable runnable) { /** * Run a callable asynchronously - * + * * @param callable * the callable to run * @param diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/util/AsyncTaskManager.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/util/AsyncTaskManager.java index 4438ffb1..59b094fa 100644 --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/util/AsyncTaskManager.java +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/util/AsyncTaskManager.java @@ -58,7 +58,7 @@ * ensure everything from your test is cleaned up. *

    * Example: - * + * *

      * 
      * try (AsyncTaskManager taskManager = new AsyncTaskManager()) {
    @@ -71,7 +71,7 @@
      * 
    *

    * Example test method: - * + * *

      * 
      * public void testMethod(Barrier barrier) {
    @@ -93,7 +93,7 @@ public class AsyncTaskManager implements AutoCloseable {
          * call the task asynchronously.
          * 

    * The returned {@link BarrierTask} can be used to release the barrier and assert the result of the task. - * + * * @param task * the task to run * @return the BarrierTask @@ -116,7 +116,7 @@ public BarrierTask runBarrierTask(Consumer task) { * annotated with {@link Asynchronous} or by some other means. *

    * The returned {@link BarrierTask} can be used to release the barrier and assert the result of the task. - * + * * @param * the return type of the task * @param task @@ -139,7 +139,7 @@ public BarrierTask runAsyncBarrierTask(Function * The returned {@link BarrierTask} can be used to release the barrier and assert the result of the task. - * + * * @param * the return type of the task * @param task @@ -160,7 +160,7 @@ public BarrierTask runAsyncCsBarrierTask(Function * The AsyncTaskManager will ensure that {@link Barrier#open()} is called when {@link AsyncTaskManager#close()} is * called. - * + * * @return the newly created {@code Barrier} */ public Barrier newBarrier() { @@ -212,7 +212,7 @@ public static void assertAllNotAwaiting(Collection> tas * A task which runs using a barrier *

    * Use this interface to check that the task waits on the barrier and completes as expected - * + * * @param * the return type of the task */ @@ -294,7 +294,7 @@ public void assertSuccess() { /** * Assert that the task completes, throwing an exception of the specified class within WAIT_TIME_MS - * + * * @param exceptionClass * the class of the expected exception */ @@ -310,7 +310,7 @@ public void assertThrows(Class exceptionClass) { /** * Assert that the task completes without exception within WAIT_TIME_MS and that the value returned is matched * by the provided matcher - * + * * @param matcher * the {@link Matcher} used to assert the returned value */ @@ -327,7 +327,7 @@ public void assertResult(Matcher matcher) { * Get the result of the task *

    * Asserts that the task completes within WAIT_TIME_MS. - * + * * @return the task result * @throws ExecutionException * if the task threw an exception instead of returning @@ -340,7 +340,7 @@ public T getResult() throws ExecutionException { * Get the result of the task *

    * Asserts that the task completes within the given time - * + * * @param time * the time to wait for the task to complete * @param unit @@ -363,7 +363,7 @@ public T getResult(long time, TimeUnit unit) throws ExecutionException { * Whether this task is awaiting its barrier right now *

    * This method returns immediately. - * + * * @return {@code true} if this task is currently waiting on its barrier, otherwise {@code false} */ public boolean isAwaiting() { diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/util/Barrier.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/util/Barrier.java index 77271171..a9f98347 100644 --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/util/Barrier.java +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/util/Barrier.java @@ -112,7 +112,7 @@ public void assertNotAwaiting() { /** * Assert that no task waits on any of a set of barriers within EXPECTED_FAIL_TIME_MS - * + * * @param barriers * the barriers to check */ diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/util/ConcurrentExecutionTracker.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/util/ConcurrentExecutionTracker.java index dd9a656f..2fee418f 100644 --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/util/ConcurrentExecutionTracker.java +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/util/ConcurrentExecutionTracker.java @@ -28,7 +28,7 @@ *

    * The method being tracked needs to call {@link #executionStarted()} when it starts and {@link #executionEnded()} when * it's about to end. - * + * *

      * try {
      *     tracker.executionStarted();
    diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/util/DurationMatcher.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/util/DurationMatcher.java
    index 04c532dc..3ed42af0 100644
    --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/util/DurationMatcher.java
    +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/util/DurationMatcher.java
    @@ -56,7 +56,7 @@ protected boolean matchesSafely(Duration item, Description mismatchDescription)
     
         /**
          * Matcher that asserts that a duration is within {@code margin} of {@code target}
    -     * 
    +     *
          * @param target
          *            the target duration
          * @param margin
    @@ -69,7 +69,7 @@ public static DurationMatcher closeTo(Duration target, Duration margin) {
     
         /**
          * Matcher that asserts that a duration is within 100ms of {@code target}
    -     * 
    +     *
          * @param target
          *            the target duration
          * @return the matcher
    diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/util/Exceptions.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/util/Exceptions.java
    index 3ee24e7a..5c004d2a 100644
    --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/util/Exceptions.java
    +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/util/Exceptions.java
    @@ -90,7 +90,7 @@ public static void expectBulkheadException(Future future) {
     
         /**
          * Call {@code future.get()} and check that it throws an ExecutionException wrapping the {@code expectedException}
    -     * 
    +     *
          * @param expectedException
          *            the expected exception type
          * @param future
    diff --git a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/visibility/retry/RetryVisibilityTest.java b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/visibility/retry/RetryVisibilityTest.java
    index d7a93dc8..7f43e31d 100644
    --- a/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/visibility/retry/RetryVisibilityTest.java
    +++ b/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/visibility/retry/RetryVisibilityTest.java
    @@ -33,7 +33,7 @@
     
     /**
      * Test for annotations discovering rules in the contexts of class inheritance, method override, etc.
    - * 
    + *
      * @author Matthieu Brouillard
      */
     public class RetryVisibilityTest extends Arquillian {